/* ============================================
   DEALONS - Futuristic Neon Blue Theme
   ============================================ */

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

/* ---- CSS Variables (Dark Mode - Default) ---- */
:root {
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Neon Blue Palette */
    --neon-primary: #00d4ff;
    --neon-secondary: #0099ff;
    --neon-accent: #00ffaa;
    --neon-hot: #ff3366;
    --neon-warm: #ff9500;
    --neon-cold: #00aaff;
    --neon-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --neon-glow-strong: 0 0 30px rgba(0, 212, 255, 0.5);

    /* Backgrounds */
    --bg-body: #060b18;
    --bg-surface: #0d1525;
    --bg-card: #111b2e;
    --bg-card-hover: #162240;
    --bg-input: #0d1525;
    --bg-header: rgba(6, 11, 24, 0.92);
    --bg-dropdown: #0d1525;
    --bg-badge: rgba(0, 212, 255, 0.12);
    --bg-modal: rgba(6, 11, 24, 0.95);

    /* Borders */
    --border-color: rgba(0, 212, 255, 0.12);
    --border-hover: rgba(0, 212, 255, 0.3);
    --border-active: var(--neon-primary);

    /* Text */
    --text-primary: #e8edf5;
    --text-secondary: #8899b4;
    --text-muted: #556688;
    --text-link: var(--neon-primary);
    --text-on-primary: #060b18;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(0, 212, 255, 0.05);

    /* Misc */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.2s ease;
    --header-height: 64px;
}

/* ---- Light Mode (soft / low contrast) ---- */
body.light-theme {
    --bg-body: #e4e8ee;
    --bg-surface: #eaecf1;
    --bg-card: #eff1f5;
    --bg-card-hover: #e8eaf0;
    --bg-input: #e4e8ee;
    --bg-header: rgba(228, 232, 238, 0.95);
    --bg-dropdown: #eaecf1;
    --bg-badge: rgba(0, 130, 200, 0.08);
    --bg-modal: rgba(228, 232, 238, 0.98);

    --border-color: rgba(0, 40, 80, 0.1);
    --border-hover: rgba(0, 130, 200, 0.25);

    --text-primary: #2a3545;
    --text-secondary: #5a6878;
    --text-muted: #8393a5;

    --neon-primary: #0088cc;
    --neon-secondary: #006faa;
    --neon-glow: 0 0 12px rgba(0, 136, 204, 0.1);
    --neon-glow-strong: 0 0 20px rgba(0, 136, 204, 0.18);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 3px 10px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 6px 24px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    width: 100%;
}

body {
    font-family: var(--font-main);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    transition: background var(--transition), color var(--transition);
    scrollbar-gutter: stable;
    overflow-x: hidden;
}

/* Deal expiré : mode monochrome (sauf header) */
body.deal-expired-page > *:not(.header) {
    filter: grayscale(100%) opacity(0.7);
}

body.deal-expired-page .header {
    filter: none;
}

a { color: var(--text-link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--neon-secondary); }

img { max-width: 100%; height: auto; }

/* Prevent horizontal overflow on common elements */
table, pre, code, iframe, embed, object, video {
    max-width: 100%;
    overflow-x: auto;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-primary); }

/* ============================================
   HEADER
   ============================================ */
/* ---- Scroll Progress Bar ---- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-primary), var(--neon-accent));
    box-shadow: var(--neon-glow);
    z-index: 100;
    transition: width 0.05s linear;
}

.scroll-progress.hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Masquer la barre quand le filtre panel est ouvert */
body.filter-panel-open .scroll-progress {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Masquer la piste de prix du slider quand le filtre panel est ouvert */
body.filter-panel-open .price-track {
    display: none !important;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5px 24px 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--neon-primary);
    letter-spacing: -0.5px;
    text-shadow: var(--neon-glow);
    flex-shrink: 0;
}

/* .logo span colors are now defined per-class (.logo-vraiment, .logo-pascher, .logo-fr) */

/* Logo Radar-Promos */
.logo-radar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
}


.logo-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
    white-space: nowrap;
}

.logo-vraiment {
    color: #1e40af;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(30, 64, 175, 0.3);
}

.logo-pascher {
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.logo-fr {
    color: #dc2626;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

.logo-slogan {
    font-size: 0.45em;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
    text-shadow: none;
    opacity: 0.8;
    line-height: 1.2;
    white-space: nowrap;
}

.slogan-highlight {
    color: var(--neon-primary) !important;
    text-shadow: var(--neon-glow) !important;
    opacity: 1 !important;
}

.logo-deal-count {
    font-size: 0.55em;
    font-weight: 700;
    color: var(--neon-primary);
    margin-left: 2px;
    vertical-align: super;
    animation: led-breathe 3s ease-in-out infinite;
}

@keyframes led-breathe {
    0%, 100% { opacity: 0.35; text-shadow: none; }
    50% { opacity: 1; text-shadow: 0 0 6px var(--neon-primary), 0 0 14px rgba(0, 212, 255, 0.4); }
}

/* ========================================
   SEARCH BAR
   ======================================== */

.search-bar-wrap {
    position: relative;
    margin: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Badge de compteur à droite de la loupe avec effet LED pulsante */
.search-deal-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--neon-primary);
    flex-shrink: 0;
    animation: breathe 2s ease-in-out infinite;
}

/* Animation de respiration LED */
@keyframes breathe {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 8px var(--neon-primary);
    }
    50% {
        opacity: 0.5;
        text-shadow: 0 0 4px var(--neon-primary);
    }
}

/* Barre de recherche - commence comme un cercle */
.search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    height: 40px;
    width: 40px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    flex-shrink: 0;
}

.search-bar:hover {
    border-color: var(--neon-primary);
    box-shadow: var(--neon-glow);
}

/* État ouvert */
.search-bar.active {
    width: 380px;
    cursor: text;
    justify-content: flex-start;
    padding: 0 12px;
}

.search-bar.active:focus-within {
    border-color: var(--neon-primary);
    box-shadow: var(--neon-glow-strong);
}

/* Icône de loupe - parfaitement centrée */
.search-icon {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: all 0.3s;
    transform: translateX(8px);
}

.search-bar:hover .search-icon,
.search-bar.active .search-icon {
    color: var(--neon-primary);
}

.search-bar.active .search-icon {
    margin-right: 10px;
}

/* Input de recherche */
.search-input {
    flex: 1;
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-main);
    outline: none;
    padding: 0;
    padding-left: 3px;
    width: 0;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.search-bar.active .search-input {
    width: 100%;
    opacity: 1;
    pointer-events: all;
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* Bouton clear */
.search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: var(--bg-surface);
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
    margin-left: 8px;
    opacity: 0;
    pointer-events: none;
}

.search-bar.active .search-clear {
    opacity: 1;
    pointer-events: all;
}

.search-clear:hover {
    background: var(--neon-primary);
    color: var(--text-on-primary);
}


/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 380px;
    background: var(--bg-dropdown);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 600px;
    overflow-y: auto;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: var(--bg-dropdown);
    z-index: 1;
}

.search-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.search-view-all,
.search-clear-history {
    font-size: 0.8rem;
    color: var(--neon-primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    font-family: var(--font-main);
}

.search-view-all:hover,
.search-clear-history:hover {
    background: var(--bg-badge);
}

/* Search Result Items */
.search-results-list {
    padding: 8px;
}

.search-result-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
    cursor: pointer;
}

.search-result-item:hover {
    background: var(--bg-card-hover);
}

.result-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-image-placeholder {
    font-size: 1.5rem;
}

.result-content {
    flex: 1;
    min-width: 0;
}

.result-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.result-title mark {
    background: rgba(0, 212, 255, 0.2);
    color: var(--neon-primary);
    padding: 0 2px;
    border-radius: 2px;
}

.result-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.result-vendor,
.result-brand,
.result-category {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.result-vendor {
    font-weight: 600;
}

.result-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.result-price-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.result-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon-accent);
}

.result-old-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--neon-hot);
    background: rgba(255, 51, 102, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.result-badges {
    display: flex;
    align-items: center;
    gap: 6px;
}

.temp-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

.temp-hot {
    background: rgba(255, 51, 102, 0.15);
    color: var(--neon-hot);
}

.temp-warm {
    background: rgba(255, 149, 0, 0.15);
    color: var(--neon-warm);
}

.temp-cold {
    background: rgba(0, 170, 255, 0.15);
    color: var(--neon-cold);
}

/* Search Loading */
.search-loading,
.search-error,
.search-no-results {
    padding: 40px 20px;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    border: 3px solid var(--border-color);
    border-top-color: var(--neon-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text,
.error-text,
.no-results-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.error-icon,
.no-results-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.no-results-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* Search Suggestions */
.search-suggestions {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
}

.suggestions-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-main);
}

.suggestion-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--neon-primary);
}

.suggestion-type {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

/* Recent Searches */
.search-recent-list {
    padding: 8px;
}

.recent-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    padding: 10px 12px;
    background: none;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-main);
    cursor: pointer;
    text-align: left;
    transition: all var(--transition);
}

.recent-search-item:hover {
    background: var(--bg-card-hover);
}

.recent-search-item svg {
    color: var(--text-muted);
}

.recent-search-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 4px 8px;
    margin: 2px 0;
    border-radius: var(--radius-md);
    transition: background 0.15s ease;
}

.recent-search-wrapper:hover {
    background: rgba(0, 212, 255, 0.05);
}

.recent-search-delete {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
    opacity: 0.5;
    padding: 4px;
}

.recent-search-wrapper:hover .recent-search-delete {
    opacity: 1;
    color: #ff3366;
    background: rgba(255, 51, 102, 0.15);
}

.recent-search-delete:hover {
    background: rgba(255, 51, 102, 0.25) !important;
    box-shadow: 0 0 12px rgba(255, 51, 102, 0.3);
    color: #ff3366 !important;
}

.recent-search-delete svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* ========================================
   SEARCH MODAL (Mobile)
   ======================================== */

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
}

.search-modal.active {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

.search-modal.closing {
    animation: fadeOut 0.3s ease;
}

/* Container principal avec layout colonne inversée */
.search-modal.active {
    justify-content: flex-end;
}

/* Résultats de recherche - scrollable, en haut */
.search-modal-results {
    flex: 1;
    overflow-y: auto;
    background: var(--bg-body);
    max-height: calc(100vh - 140px);
    -webkit-overflow-scrolling: touch;
}

/* Barre de saisie - fixe en bas */
.search-modal-footer {
    background: var(--bg-header);
    border-top: 1px solid var(--border-color);
    padding: 12px 16px;
    padding-bottom: 16px;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-modal.closing .search-modal-footer {
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-modal-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    transition: all var(--transition);
}

.search-modal-input-wrap:focus-within {
    border-color: var(--neon-primary);
    box-shadow: var(--neon-glow-strong);
}

.search-modal-icon {
    width: 20px;
    height: 20px;
    color: var(--neon-primary);
    flex-shrink: 0;
}

.search-modal-input {
    flex: 1;
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-main);
    outline: none;
}

.search-modal-input::placeholder {
    color: var(--text-muted);
}

.search-modal-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
    padding: 4px;
}

.search-modal-clear:hover {
    background: rgba(0, 212, 255, 0.15);
    color: var(--neon-primary);
}

.search-modal-clear:hover svg {
    stroke: var(--neon-primary);
    color: var(--neon-primary);
}

.search-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
    padding: 4px;
}

.search-modal-close:hover {
    background: rgba(0, 212, 255, 0.15);
    color: var(--neon-primary);
}

.search-modal-close:hover svg {
    stroke: var(--neon-primary);
    color: var(--neon-primary);
}

/* ============================================
   HEADER CATEGORIES MENU (Desktop)
   ============================================ */
.header-categories {
    display: none;
    position: relative;
}

.header-categories-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.header-categories-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--neon-primary);
    color: var(--neon-primary);
}

.header-categories-btn svg {
    transition: transform var(--transition);
}

.header-categories-btn.open svg {
    transform: rotate(180deg);
}

.header-categories-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: 380px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    margin-top: 4px;
    flex-direction: column;
    padding: 8px 0;
}

.header-categories-menu.open {
    display: flex;
}

.header-cat-group {
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    padding: 0;
}

.header-cat-group:last-child {
    border-bottom: none;
}

.header-cat-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    cursor: pointer;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(0, 212, 255, 0.08);
}

.header-cat-group-header:hover {
    background: rgba(0, 212, 255, 0.08);
}

.header-cat-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    cursor: pointer;
}

.header-cat-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.header-cat-name-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.header-cat-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-cat-count {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-decoration: none;
    background: rgba(0, 212, 255, 0.08);
    padding: 2px 5px;
    border-radius: 2px;
    transition: all var(--transition);
}

.header-cat-count:hover {
    background: rgba(0, 212, 255, 0.2);
    color: var(--neon-accent);
}

.header-cat-chevron-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.header-cat-chevron {
    color: var(--text-muted);
    transition: transform var(--transition);
}

.header-cat-group.open .header-cat-chevron {
    transform: rotate(90deg);
    color: var(--neon-primary);
}

.header-cat-subcategories-grid {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 6px 12px 10px 12px;
    background: rgba(0, 212, 255, 0.03);
}

.header-cat-group.open .header-cat-subcategories-grid {
    display: grid;
}

.header-subcat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 3px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 3px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.65rem;
    text-align: center;
    transition: all var(--transition);
    min-height: 50px;
    gap: 2px;
}

.header-subcat-card:hover {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--neon-primary);
}

.header-subcat-name {
    font-weight: 400;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.header-subcat-count {
    font-size: 0.6rem;
    color: var(--text-muted);
    background: rgba(0, 212, 255, 0.08);
    padding: 1px 3px;
    border-radius: 2px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* ============================================
   GLOBAL: Masquer le menu mobile par défaut
   ============================================ */
.mobile-menu-modal,
#mobileMenuModal {
    display: none !important;
    visibility: hidden !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 0 !important;
    z-index: -9999 !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

.mobile-menu-content,
#mobileMenuContent {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Responsive search */
@media (max-width: 768px) {
    .search-deal-count { font-size: 0.7rem; }
    .search-icon { width: 18px; height: 18px; }
    .search-results { min-width: 280px; max-height: 400px; }
    .search-input::placeholder { font-size: 0.85rem; }
    .result-image { width: 50px; height: 50px; }
}

/* ---- Nav Center ---- */
.nav-center {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

/* ---- Nav Tabs ---- */
.nav-tabs {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Boutons d'onglets en forme de cercle (comme les autres boutons) */
.nav-tab-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.nav-tab-icon:hover {
    background: var(--bg-card-hover);
    border-color: var(--neon-primary);
    transform: translateY(-2px);
    box-shadow: var(--neon-glow);
}

.nav-tab-icon.active {
    border-color: var(--neon-primary);
    box-shadow: var(--neon-glow-strong);
}

.nav-tab-icon svg {
    width: 24px;
    height: 24px;
}

/* GIF Flamme animé */
.flame-gif {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255, 140, 0, 0.5));
}

.nav-tab-icon.active .flame-gif {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) brightness(1.2);
}

/* Texte "NEW" - sans animation */
.new-text-icon {
    color: #00ff88;
}

.nav-tab-icon.active .new-text-icon {
    color: white;
}

/* Coupe - sans animation */
.trophy-icon {
    color: #ffa500;
}

.nav-tab-icon.active .trophy-icon {
    color: white;
}

/* ---- Header Actions (droite de la ligne 1) ---- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    font-size: 1.1rem;
}

.btn-icon:hover {
    border-color: var(--neon-primary);
    color: var(--neon-primary);
    box-shadow: var(--neon-glow);
}

.btn-primary {
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    border: none;
    background: var(--neon-primary);
    color: var(--text-on-primary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-main);
}

.btn-primary:hover {
    background: var(--neon-secondary);
    box-shadow: var(--neon-glow-strong);
}

/* ============================================
   CONTROLS BAR (Categories + View Toggle)
   ============================================ */
.controls-bar {
    max-width: 1400px;
    margin: 16px auto 0;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* ---- Category Dropdown ---- */
.category-dropdown-wrap {
    position: relative;
}

.category-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-main);
}

.category-dropdown-btn:hover,
.category-dropdown-btn.open {
    border-color: var(--neon-primary);
    box-shadow: var(--neon-glow);
}

.category-dropdown-btn .arrow {
    font-size: 0.7rem;
    transition: transform var(--transition);
}

.category-dropdown-btn.open .arrow { transform: rotate(180deg); }

.category-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 380px;
    max-height: 70vh;
    overflow-y: auto;
    background: var(--bg-dropdown);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
}

.category-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.cat-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    cursor: pointer;
}

.cat-header-left:hover .cat-name-text {
    color: var(--neon-primary);
}

.cat-group-header .cat-icon {
    font-size: 1.2rem;
}

.cat-name-text {
    color: var(--text-primary);
    font-weight: 600;
    transition: color var(--transition);
}

.cat-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-group-header .cat-count {
    font-size: 0.7rem;
    color: var(--text-muted);
    background: var(--bg-badge);
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}

.cat-count:hover {
    color: var(--neon-primary);
    background: var(--bg-card);
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.cat-chevron-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: 4px;
}

.cat-chevron-btn:hover {
    background: var(--bg-card);
}

.cat-chevron {
    color: var(--text-muted);
    transition: transform var(--transition), color var(--transition);
    flex-shrink: 0;
    pointer-events: none;
}

.cat-group.expanded .cat-chevron {
    transform: rotate(180deg);
}

.cat-chevron-btn:hover .cat-chevron {
    color: var(--neon-primary);
}

/* Grille de sous-catégories avec icônes */
/* Menu cascade des catégories */
.categories-menu-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 4px;
    color: var(--neon-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.95rem;
}

.categories-menu-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--neon-primary);
}

.categories-chevron {
    transition: transform var(--transition);
}

.categories-menu-btn.open .categories-chevron {
    transform: rotate(90deg);
}

/* Menu principal des catégories */
.categories-submenu {
    display: none;
    position: fixed;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: 240px;
    max-height: 350px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.categories-submenu.open {
    display: flex;
    flex-direction: column;
}

.category-item {
    position: relative;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all var(--transition);
    justify-content: space-between;
}

.category-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--neon-primary);
}

.category-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.category-name {
    flex: 1;
}

.category-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(0, 212, 255, 0.1);
    padding: 2px 6px;
    border-radius: 2px;
    flex-shrink: 0;
}

.category-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
}

/* Menu des sous-catégories */
.subcategories-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    z-index: 101;
    flex-direction: column;
    box-shadow: none;
    margin-top: 0;
    gap: 0;
}

/* Afficher les sous-catégories quand le parent est expanded */
.category-item.expanded .subcategories-submenu {
    display: flex;
}


.subcategory-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: transparent;
    border: none;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: all var(--transition);
    cursor: pointer;
    border-left: 2px solid transparent;
}

.subcategory-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-left-color: var(--neon-primary);
    color: var(--neon-primary);
}

.subcat-badge {
    font-size: 0.7rem;
    color: var(--text-muted);
    background: rgba(0, 212, 255, 0.1);
    padding: 1px 4px;
    border-radius: 2px;
    flex-shrink: 0;
}

.subcat-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.subcat-name {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2em;
}

.subcat-card:hover .subcat-name {
    color: var(--text-primary);
}

.subcat-count {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--neon-primary);
    background: var(--bg-badge);
    padding: 2px 6px;
    border-radius: 8px;
}

/* ---- View Toggle ---- */
.view-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-toggle {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.view-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--bg-surface);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-main);
}

.view-btn:hover { color: var(--text-primary); }
.view-btn.active {
    background: var(--neon-primary);
    color: var(--text-on-primary);
}

.sort-select {
    padding: 8px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all var(--transition);
}

.sort-select:hover { border-color: var(--neon-primary); }
.sort-select:focus { outline: none; border-color: var(--neon-primary); box-shadow: var(--neon-glow); }

/* ============================================
   DEALS GRID
   ============================================ */
/* ============================================
   DEALS LAYOUT - DESKTOP SIDEBAR + CONTENT
   ============================================ */
.deals-layout-wrapper {
    max-width: 1600px;
    margin: 20px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

.deals-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 150px);
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0;
}

/* Scrollbar fin et discret */
.deals-sidebar::-webkit-scrollbar {
    width: 6px;
}

.deals-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.deals-sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.2);
    border-radius: 3px;
}

.deals-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.4);
}

/* Les sections de la sidebar */
.sidebar-section {
    margin-bottom: 24px;
    padding: 0 16px;
    flex-shrink: 0;
    box-sizing: border-box;
    min-width: 0;
    overflow-x: hidden;
    position: relative;
}

/* La section des catégories - overflow-x pour clipper horizontalement seulement */
.sidebar-section:first-child {
    padding-top: 16px;
}

.sidebar-section:last-of-type {
    margin-bottom: 0;
}

.sidebar-section-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin: 0 0 12px 0;
    padding: 0 0 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-section-divider {
    height: 1px;
    background: var(--border-color);
    margin: 24px 16px;
}

.filter-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.filter-sidebar-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.filter-sidebar-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.filter-sidebar-close:hover {
    color: var(--neon-primary);
}

.filter-sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filter-sidebar-footer {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding: 16px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
    position: sticky;
    bottom: 0;
    flex-shrink: 0;
}

.filter-sidebar-footer .btn-filter-reset {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.85rem;
}

.filter-sidebar-footer .btn-filter-apply {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.85rem;
}

/* ============================================
   SIDEBAR CATEGORIES - STYLE MOBILE
   ============================================ */

/* Bouton catégorie — style identique à .mobile-category-btn */
.sidebar-cat-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.05), transparent);
    border: none;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
}

.sidebar-cat-btn:hover {
    border-left-color: var(--neon-primary);
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.1), transparent);
    color: var(--neon-primary);
    padding-left: 20px;
}

/* Label et icône */
.sidebar-cat-label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.sidebar-cat-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Badge compteur catégorie */
.sidebar-cat-count {
    background: rgba(0, 212, 255, 0.2);
    color: var(--neon-primary);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 8px;
}

/* Chevron */
.sidebar-cat-chevron {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    stroke: currentColor;
    stroke-width: 2.5;
}

.sidebar-cat-btn.open .sidebar-cat-chevron {
    transform: rotate(90deg);
}

/* Sous-catégories — masquées par défaut */
.sidebar-subcats {
    display: none;
}

.sidebar-cat-btn.open + .sidebar-subcats {
    display: block;
}

/* Lien sous-catégorie — style identique à .mobile-subcategory */
.sidebar-subcat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px 10px 28px;
    border-left: 2px solid transparent;
    border-bottom: 1px solid rgba(0, 212, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-subcat:hover {
    background: rgba(255, 51, 102, 0.1);
    border-left-color: var(--neon-hot);
    color: var(--neon-hot);
    padding-left: 32px;
}

.sidebar-subcat-name {
    flex: 1;
}

/* Badge compteur sous-catégorie */
.sidebar-subcat-count {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 255, 170, 0.2));
    color: var(--neon-accent);
    border: 1px solid rgba(0, 255, 170, 0.3);
    border-radius: 10px;
    padding: 2px 7px;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.deals-container {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Search Results Banner */
.search-results-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.search-banner-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.search-banner-content {
    flex: 1;
}

.search-banner-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.search-banner-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.search-banner-clear {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
    flex-shrink: 0;
}

.search-banner-clear:hover {
    background: var(--bg-card-hover);
    border-color: var(--neon-primary);
    color: var(--neon-primary);
}

@media (max-width: 768px) {
    .search-results-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }

    .search-banner-clear {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   FILTERS RESULTS BANNER
   ============================================ */
.filters-results-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg,
        rgba(0, 212, 255, 0.08) 0%,
        rgba(138, 43, 226, 0.05) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    margin-bottom: 24px;
}

.filters-results-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.filters-results-content {
    flex: 1;
}

.filters-results-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-primary);
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
}

#dealsCountDisplay {
    font-weight: 900;
    color: var(--neon-primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.filters-results-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .filters-results-banner {
        padding: 12px 16px;
    }

    .filters-results-title {
        font-size: 1rem;
    }

    .filters-results-subtitle {
        font-size: 0.8rem;
    }
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.deals-grid.list-view {
    grid-template-columns: 1fr;
    gap: 12px;
}

/* ============================================
   DEAL CARD (Grid Mode)
   ============================================ */
.deal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.deal-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md), var(--neon-glow);
    transform: translateY(-2px);
}

/* Reorder flex items for desktop (non-mobile) */
.deal-card-image { order: 1; }
.deal-card-body { order: 2; }
.deal-pricing { order: 3; display: flex; align-items: baseline; gap: 10px; }
.deal-actions-row { order: 4; display: flex; gap: 12px; align-items: center; padding: 8px 0; }

/* PC Mode: Photo + Coeur/Durée/Commentaires + Réduction/Icône */
@media (min-width: 1024px) {
    .deal-card {
        display: grid !important;
        grid-template-columns: 180px 1fr 1fr;
        grid-template-rows: 180px auto auto auto;
        position: relative;
        padding: 0 !important;
        margin: 0 !important;
        gap: 0 !important;
        row-gap: 0 !important;
        column-gap: 0 !important;
        flex-direction: unset !important;
        line-height: normal !important;
    }

    .deal-card-image {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 180px !important;
        height: 180px !important;
        position: static !important;
        margin: -1px 0 0 0 !important;
        padding: 0 !important;
        border-radius: var(--radius-lg) 0 0 0;
        overflow: hidden !important;
        line-height: 0 !important;
        font-size: 0 !important;
        display: block !important;
    }

    .deal-card-image img {
        padding: 0 !important;
        margin: 0 !important;
        line-height: 1 !important;
        font-size: 1rem !important;
        display: block !important;
    }

    /* Cacher le pourcentage sur la photo */
    .deal-card-image .deal-reduction {
        display: none !important;
    }

    /* Colonne 2: Coeur, Durée, Commentaires */
    .deal-actions-row {
        grid-column: 2 !important;
        grid-row: 1 !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 8px 20px;
        padding: 12px 16px !important;
        align-items: center;
        justify-items: center;
    }

    /* Coeur (ligne 1, col 1) */
    .deal-actions-row .deal-actions-heart {
        position: static !important;
        top: auto !important;
        right: auto !important;
        width: 25px !important;
        height: 25px !important;
        grid-column: 1;
        grid-row: 1;
        background: none !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .deal-actions-row .deal-actions-heart svg {
        width: 25px !important;
        height: 25px !important;
    }

    /* Nombre favoris (ligne 2, col 1) */
    .deal-actions-row .favorite-count {
        position: static !important;
        top: auto !important;
        right: auto !important;
        font-size: 0.8rem !important;
        grid-column: 1;
        grid-row: 2;
    }

    /* Durée (col 2, lignes 1-2) */
    .deal-actions-row .deal-time-elapsed {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 4px !important;
        grid-column: 2;
        grid-row: 1 / 3;
        padding: 0 !important;
    }

    .deal-actions-row .deal-time-elapsed svg {
        width: 25px !important;
        height: 25px !important;
    }

    .deal-actions-row .deal-time-elapsed .time-elapsed {
        font-size: 0.8rem !important;
    }

    /* Commentaires (col 3, lignes 1-2) */
    .deal-actions-row .deal-comments-count {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 4px !important;
        grid-column: 3;
        grid-row: 1 / 3;
        text-decoration: none !important;
    }

    .deal-actions-row .deal-comments-count svg {
        width: 25px !important;
        height: 25px !important;
    }

    .deal-actions-row .deal-comments-count .comments-count {
        font-size: 0.8rem !important;
    }

    /* Colonne 3: Réduction + Icône */
    .deal-pricing {
        grid-column: 3 !important;
        grid-row: 1 !important;
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-end;
        padding: 12px 16px 0 0 !important;
        margin: 0 !important;
        gap: 12px;
        height: 180px !important;
    }

    .deal-pricing-top {
        display: flex;
        gap: 8px;
        align-items: center;
        padding: 0;
        margin: 0 !important;
    }

    .deal-reduction-inline {
        display: inline-block !important;
        background: var(--neon-hot);
        color: #fff;
        padding: 4px 10px;
        border-radius: var(--radius-sm);
        font-size: 0.75rem;
        font-weight: 700;
    }

    /* Icône sous le pourcentage */
    .deal-image-exit-btn {
        position: absolute !important;
        top: 78px !important;
        right: 20px !important;
        transform: none !important;
        width: 25px !important;
        height: 25px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .deal-image-exit-btn svg {
        width: 25px !important;
        height: 25px !important;
    }

    .deal-card-body {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        padding: 16px !important;
        margin: 0 !important;
    }

    .deal-body-bottom {
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
    }
}



/* Bandeau "fin de section" */
.deal-end-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    padding: 24px 20px;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
}

.deal-card-end-icon {
    font-size: 2rem;
    animation: led-breathe 3s ease-in-out infinite;
}

.deal-card-end-text {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.deal-end-top-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--neon-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    opacity: 1;
    pointer-events: auto;
}

.deal-end-top-btn:hover {
    border-color: var(--neon-primary);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

/* Masquer le chevron et la bannière quand la modale des filtres est ouverte */
body.filter-panel-open .deal-end-banner {
    display: none !important;
}

.deal-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-surface);
    padding: 0;
    margin: 0;
}

.deal-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease;
}

.deal-card:hover .deal-card-image img { transform: scale(1.03); }

.deal-image-exit-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: transparent;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.deal-image-exit-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.deal-image-exit-btn svg {
    width: 58px;
    height: 58px;
    color: currentColor;
}

.deal-badge {
    position: absolute;
    top: 50px;
    right: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deal-badge.hot {
    background: var(--neon-hot);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.4);
}

.deal-badge.new {
    background: var(--neon-accent);
    color: #060b18;
}

.deal-badge.promo {
    background: var(--neon-warm);
    color: #060b18;
}

/* Badge dans le pricing (mobile) */
.deal-pricing-top .deal-badge {
    position: static;
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.7rem;
    order: 2;
}

.deal-reduction {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--neon-hot);
    color: #fff;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 800;
}

.deal-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.deal-merchant {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.deal-merchant-name {
    font-weight: 500;
    color: var(--neon-primary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.deal-merchant-name:hover {
    text-decoration: underline;
    filter: brightness(1.2);
}

.deal-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-title a { color: inherit; }
.deal-title a:hover { color: var(--neon-primary); }

.deal-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.deal-pricing {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.deal-price-current {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--neon-primary);
    text-shadow: var(--neon-glow);
}

.deal-price-original {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.deal-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
}

/* ---- Temperature Badge ---- */
.temperature-badge {
    display: flex;
    align-items: center;
    gap: 4px;
}

.temperature-display {
    display: flex;
    align-items: center;
    justify-content: center;
}

.temp-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all var(--transition);
}

.temp-btn:hover {
    border-color: var(--neon-primary);
    background: var(--bg-card-hover);
}

.temp-btn.vote-cold:hover { border-color: var(--neon-cold); color: var(--neon-cold); }
.temp-btn.vote-hot:hover { border-color: var(--neon-hot); color: var(--neon-hot); }

.temp-btn.voted-cold {
    background: rgba(0, 170, 255, 0.15);
    border-color: var(--neon-cold);
    color: var(--neon-cold);
}

.temp-btn.voted-hot {
    background: rgba(255, 51, 102, 0.15);
    border-color: var(--neon-hot);
    color: var(--neon-hot);
}

.temp-value {
    font-size: 0.95rem;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
    padding: 0 4px;
}

.temp-value.hot { color: var(--neon-hot); }
.temp-value.warm { color: var(--neon-warm); }
.temp-value.cold { color: var(--neon-cold); }

/* ---- Deal Meta ---- */
.deal-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.deal-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Icône de commentaire */
.comment-icon {
    flex-shrink: 0;
    animation: commentPulse 2s ease-in-out infinite;
}

/* Icône rouge quand pas de commentaires */
.comment-icon.no-comments {
    stroke: #ef4444;
    filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.5));
}

/* Icône verte quand il y a des commentaires */
.comment-icon.has-comments {
    stroke: #10b981;
    filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.5));
}

@keyframes commentPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

.deal-comments {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Icône d'horloge pour la date */
.clock-icon {
    flex-shrink: 0;
    stroke: var(--neon-primary);
    filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.4));
    animation: clockPulse 2s ease-in-out infinite;
}

@keyframes clockPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

.deal-time {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: help;
}

.deal-go-btn {
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--neon-primary);
    background: transparent;
    color: var(--neon-primary);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-main);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.deal-go-btn:hover {
    background: var(--neon-primary);
    color: var(--text-on-primary);
    box-shadow: var(--neon-glow-strong);
}

/* ============================================
   DEAL CARD (List Mode)
   ============================================ */
.deals-grid.list-view .deal-card {
    flex-direction: row;
    height: auto;
}

.deals-grid.list-view .deal-card-image {
    width: 200px;
    min-width: 200px;
    height: auto;
    min-height: 160px;
}

.deals-grid.list-view .deal-card-body {
    flex: 1;
    position: relative;
}

.deals-grid.list-view .deal-card-footer {
    border-top: none;
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-width: 160px;
    padding: 16px;
}

/* Badge de réduction inline (pour le mode liste) */
.deal-reduction-inline {
    display: none;
}

.deals-grid.list-view .deal-reduction-inline {
    display: inline-block;
    background: var(--neon-hot);
    color: #fff;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 800;
}

/* Cacher le badge de réduction de l'image en mode liste */
.deals-grid.list-view .deal-card-image .deal-reduction {
    display: none;
}

.deals-grid.list-view .deal-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Affichage de la température en mode liste (desktop uniquement) */
@media (min-width: 769px) {
    /* Cacher complètement la température de l'image en mode liste */
    .deals-grid.list-view .deal-card-image .temperature-display,
    .deals-grid.list-view .deal-card-image .temperature-display-image {
        display: none !important;
    }

    /* Afficher la température dans le footer en mode liste */
    .deals-grid.list-view .temperature-display-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 8px;
    }

    .deals-grid.list-view .temperature-display-footer .temp-value {
        font-size: 1.1rem;
        font-weight: 700;
    }
}

/* En mode grille, afficher la température à côté des actions */
.deals-grid:not(.list-view) .temperature-display-footer {
    order: -1;
}


/* ============================================
   SPONSOR CARD (Encart publicitaire)
   ============================================ */
.sponsor-card {
    position: relative;
    background: linear-gradient(135deg,
        rgba(0, 212, 255, 0.08) 0%,
        rgba(138, 43, 226, 0.12) 50%,
        rgba(255, 51, 102, 0.08) 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Effet de lueur animée en arrière-plan */
.sponsor-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,
        rgba(0, 212, 255, 0.2) 0%,
        rgba(138, 43, 226, 0.15) 40%,
        transparent 70%);
    animation: sponsorPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sponsorPulse {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.sponsor-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow:
        0 20px 60px rgba(0, 212, 255, 0.25),
        0 0 80px rgba(138, 43, 226, 0.2),
        inset 0 0 60px rgba(0, 212, 255, 0.08);
}

/* Contenu centré */
.sponsor-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 24px 32px;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Badge "Sponsorisé" */
.sponsor-badge {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(0, 212, 255, 1);
    background: rgba(0, 212, 255, 0.15);
    border: 1.5px solid rgba(0, 212, 255, 0.4);
    padding: 4px 12px;
    border-radius: 24px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Icône avec animation */
.sponsor-icon {
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 12px;
    display: block;
    animation: sponsorFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

@keyframes sponsorFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Titre avec gradient */
.sponsor-title {
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg,
        #00d4ff 0%,
        #a855f7 50%,
        #ff3366 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Description */
.sponsor-description {
    font-family: var(--font-main);
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 0 14px 0;
    max-width: 520px;
}

/* Bouton CTA */
.sponsor-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 28px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 24px rgba(0, 212, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

/* Effet de brillance sur le bouton */
.sponsor-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent);
    transition: left 0.6s;
}

.sponsor-btn:hover::before {
    left: 150%;
}

.sponsor-btn::after {
    content: '→';
    font-size: 1.3rem;
    line-height: 1;
    transition: transform 0.3s;
}

.sponsor-btn:hover {
    background: linear-gradient(135deg, #a855f7 0%, #ff3366 100%);
    box-shadow:
        0 12px 36px rgba(255, 51, 102, 0.5),
        0 0 60px rgba(168, 85, 247, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.sponsor-btn:hover::after {
    transform: translateX(6px);
}

.sponsor-btn:active {
    transform: translateY(-1px);
}

/* Sponsor card en mode liste */
.deals-grid.list-view .sponsor-card {
    min-height: 160px;
}

.deals-grid.list-view .sponsor-content {
    padding: 20px 28px;
}

.deals-grid.list-view .sponsor-icon {
    font-size: 2rem;
}

.deals-grid.list-view .sponsor-title {
    font-size: 1.2rem;
}

.deals-grid.list-view .sponsor-description {
    font-size: 0.85rem;
}

/* Responsive mobile */
@media (max-width: 640px) {
    .deals-grid:not(.list-view) .sponsor-card {
        flex-direction: row;
        align-items: stretch;
        min-height: auto;
    }

    .deals-grid:not(.list-view) .sponsor-content {
        padding: 8px;
        justify-content: center;
    }

    .deals-grid:not(.list-view) .sponsor-icon {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .deals-grid:not(.list-view) .sponsor-title {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .deals-grid:not(.list-view) .sponsor-description {
        display: none;
    }

    .deals-grid:not(.list-view) .sponsor-btn {
        display: none;
    }

    .deals-grid.list-view .sponsor-card {
        min-height: 120px;
    }

    .deals-grid.list-view .sponsor-content {
        padding: 16px 16px;
    }

    .deals-grid.list-view .sponsor-icon {
        font-size: 1.8rem;
    }

    .deals-grid.list-view .sponsor-title {
        font-size: 1.1rem;
    }

    .deals-grid.list-view .sponsor-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .deals-grid.list-view .sponsor-btn {
        padding: 10px 24px;
        font-size: 0.85rem;
    }
}

/* ============================================
   CATEGORY PAGE HEADER
   ============================================ */
.category-hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px 20px;
}

.category-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.category-hero h1 .cat-icon-hero { margin-right: 12px; }
.category-hero h1 .neon { color: var(--neon-primary); text-shadow: var(--neon-glow); }

.category-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.category-hero .breadcrumb a { color: var(--text-secondary); }
.category-hero .breadcrumb a:hover { color: var(--neon-primary); }
.category-hero .breadcrumb .sep { color: var(--text-muted); }

.category-sub-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.sub-tab {
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-main);
    text-decoration: none;
}

.sub-tab:hover {
    border-color: var(--neon-primary);
    color: var(--neon-primary);
}

.sub-tab.active {
    background: var(--neon-primary);
    border-color: var(--neon-primary);
    color: var(--text-on-primary);
}

.deals-count-info {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.deals-count-info strong { color: var(--neon-primary); }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-muted);
}

.empty-state .empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    max-width: 1400px;
    margin: 60px auto 0;
    padding: 40px 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer .neon { color: var(--neon-primary); font-weight: 600; }

/* ============================================
   CODE PROMO TAG
   ============================================ */
.promo-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--neon-accent);
    background: rgba(0, 255, 170, 0.06);
    color: var(--neon-accent);
    font-size: 0.78rem;
    font-weight: 600;
    font-family: monospace;
    margin-bottom: 8px;
}

.promo-tag .copy-promo {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition);
}

.promo-tag .copy-promo:hover { opacity: 1; }

/* ============================================
   LIVRAISON GRATUITE TAG
   ============================================ */
/* PC Mode: deal-body-bottom restructured */
.deal-body-bottom {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 8px 0;
}

.shipping-promo-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 0;
}

.shipping-promo-left:empty {
    flex: 0;
}

.shipping-promo-left .temperature-display {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-top: 2px;
}

.shipping-promo-left .temp-vote-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    transition: transform 0.2s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shipping-promo-left .temp-vote-btn:hover {
    transform: scale(1.15);
}

.prices-right {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.prices-right .deal-price-current {
    font-weight: 600;
    color: var(--neon-primary);
}

.prices-right .deal-price-original {
    text-decoration: line-through;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.free-shipping {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--neon-accent);
    font-weight: 500;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--neon-primary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.85rem;
    box-shadow: var(--neon-glow-strong);
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* ============================================
   AUTH MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    transition: all 0.35s ease;
}

.modal-overlay.show {
    visibility: visible;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.modal-box {
    position: relative;
    width: 440px;
    max-width: 94vw;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), var(--neon-glow);
    padding: 32px;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.show .modal-box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.modal-close {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border: none;
    background: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    line-height: 1;
    flex-shrink: 0;
}

.auth-form-footer .modal-close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    aspect-ratio: 1;
}

.modal-close:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

/* ---- Modal Tabs ---- */
.modal-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 4px;
    margin-bottom: 24px;
}

.modal-tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-xl);
    background: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all var(--transition);
}

.modal-tab:hover { color: var(--text-primary); }

.modal-tab.active {
    background: var(--neon-primary);
    color: var(--text-on-primary);
    box-shadow: var(--neon-glow);
}

/* ---- Social Buttons ---- */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 500;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all var(--transition);
}

.social-btn:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.social-btn svg { flex-shrink: 0; }

.social-btn.google:hover { border-color: #4285F4; }
.social-btn.apple:hover { border-color: var(--text-primary); }
.social-btn.facebook:hover { border-color: #1877F2; }

/* ---- Separator ---- */
.auth-separator {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* ---- Auth Form ---- */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-form-footer {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-main);
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder { color: var(--text-muted); }

.form-group input:focus {
    border-color: var(--neon-primary);
    box-shadow: var(--neon-glow);
}

.forgot-link {
    font-size: 0.8rem;
    color: var(--neon-primary);
    text-align: right;
    margin-top: -6px;
}

.forgot-link:hover { color: var(--neon-secondary); }

.auth-submit-btn {
    padding: 12px 20px;
    border-radius: var(--radius-md);
    border: none;
    background: var(--neon-primary);
    color: var(--text-on-primary);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 4px;
    flex: 1;
}

.auth-submit-btn:hover {
    background: var(--neon-secondary);
    box-shadow: var(--neon-glow-strong);
    transform: translateY(-1px);
}

.auth-legal {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 4px;
}

.auth-legal a { color: var(--neon-primary); }

/* ============================================
   USER HEADER (logged in)
   ============================================ */
.user-greeting {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neon-primary);
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-avatar-icon {
    color: var(--neon-primary);
    border-color: var(--neon-primary);
    background: rgba(0, 212, 255, 0.08);
    cursor: pointer;
}

.user-avatar-icon:hover {
    background: var(--neon-primary);
    color: var(--text-on-primary);
    box-shadow: var(--neon-glow-strong);
}

.header-avatar-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.user-avatar-icon:has(.header-avatar-img) {
    padding: 2px;
    border: 2px solid var(--neon-primary);
    border-radius: 50%;
    overflow: hidden;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar-icon:has(.header-avatar-img):hover {
    border-color: #fff;
    box-shadow: var(--neon-glow-strong);
}

.btn-logout {
    color: var(--text-muted);
}

.btn-logout:hover {
    border-color: var(--neon-hot);
    color: var(--neon-hot);
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.3);
    background: rgba(255, 51, 102, 0.08);
}

.btn-login {
    color: var(--text-muted);
}

.btn-login:hover {
    border-color: #4caf50;
    color: #4caf50;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
    background: rgba(76, 175, 80, 0.08);
}

/* ============================================
   VERIFY PAGE
   ============================================ */
.verify-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.verify-box {
    text-align: center;
    max-width: 480px;
    padding: 48px 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), var(--neon-glow);
}

.verify-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.verify-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.verify-message {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.verify-box .detail-cta-btn {
    display: inline-flex;
    text-decoration: none;
}

/* ============================================
   RESET PASSWORD PAGE
   ============================================ */
.reset-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 70px);
    padding: 24px;
}

.reset-container .verify-box {
    max-width: 440px;
    width: 100%;
}

.reset-container .auth-form .form-group label {
    color: var(--text-secondary);
}

/* ============================================
   PROFIL PAGE
   ============================================ */

/* ---- Tabs Bar ---- */
.profil-tabs-bar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    border-bottom: 1px solid var(--border-color);
}

.profil-tab {
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all var(--transition);
}

.profil-tab:hover {
    color: var(--text-primary);
    border-bottom-color: var(--border-hover);
}

.profil-tab.active {
    color: var(--neon-primary);
    border-bottom-color: var(--neon-primary);
}

.tab-count {
    font-size: 0.72rem;
    background: var(--bg-badge);
    color: var(--neon-primary);
    padding: 1px 7px;
    border-radius: 10px;
    margin-left: 4px;
    font-weight: 600;
}

/* ---- Container ---- */
.profil-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 24px 40px;
}

.profil-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profil-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.profil-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.profil-empty {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.profil-empty a { color: var(--neon-primary); }

/* ---- Avatar ---- */
.profil-avatar-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.profil-avatar-current {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--neon-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--neon-primary);
    box-shadow: var(--neon-glow);
    flex-shrink: 0;
}

.profil-avatar-current img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profil-avatar-current .avatar-letter {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-on-primary);
}

.avatar-gallery {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0 0;
    margin-top: 8px;
    border-top: 1px solid var(--border-color);
}

.avatar-gallery.show {
    display: flex;
}

/* Avatar category tabs */
.avatar-category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.avatar-cat-tab {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all var(--transition);
}

.avatar-cat-tab:hover {
    border-color: var(--neon-primary);
    color: var(--neon-primary);
    background: rgba(0, 212, 255, 0.05);
}

.avatar-cat-tab.active {
    background: var(--neon-primary);
    color: #fff;
    border-color: var(--neon-primary);
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

/* Avatar grid */
.avatar-cat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    padding: 4px 0;
}

.avatar-option {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    background: var(--bg-surface);
    cursor: pointer;
    overflow: hidden;
    padding: 4px;
    transition: all var(--transition);
    flex-shrink: 0;
}

.avatar-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-option:hover {
    border-color: var(--neon-primary);
    transform: scale(1.15);
    box-shadow: var(--neon-glow);
}

.avatar-option.selected {
    border-color: var(--neon-primary);
    box-shadow: var(--neon-glow-strong);
    background: rgba(0, 212, 255, 0.1);
}

/* ---- Avatar Upload Zone ---- */
.avatar-upload-zone {
    width: 100%;
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--bg-surface);
}

.avatar-upload-zone:hover {
    border-color: var(--neon-primary);
    background: rgba(0, 212, 255, 0.03);
}

.avatar-upload-zone.dragover {
    border-color: var(--neon-primary);
    background: rgba(0, 212, 255, 0.06);
    box-shadow: var(--neon-glow);
}

.avatar-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.avatar-upload-content svg {
    opacity: 0.5;
}

.avatar-upload-text {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.avatar-upload-hint {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.avatar-upload-preview-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.avatar-upload-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--neon-primary);
    box-shadow: var(--neon-glow);
}

/* ---- Info Grid ---- */
.profil-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.profil-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
}

.profil-info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profil-info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.profil-info-value.neon {
    color: var(--neon-primary);
}

/* ---- Forms ---- */
.profil-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profil-form select,
.profil-form textarea {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-main);
    transition: all var(--transition);
    outline: none;
}

.profil-form select:focus,
.profil-form textarea:focus {
    border-color: var(--neon-primary);
    box-shadow: var(--neon-glow);
}

.profil-form textarea { resize: vertical; min-height: 100px; }

.form-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--neon-primary);
}

.form-error {
    padding: 12px 16px;
    background: rgba(255, 51, 102, 0.08);
    border: 1px solid rgba(255, 51, 102, 0.2);
    border-radius: var(--radius-md);
    color: var(--neon-hot);
    font-size: 0.88rem;
    margin-bottom: 16px;
}

/* ---- List Items ---- */
.profil-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profil-list-item {
    padding: 14px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: border-color var(--transition);
}

.profil-list-item:hover {
    border-color: var(--border-hover);
}

.profil-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.profil-list-deal {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--neon-primary);
    text-decoration: none;
}

.profil-list-deal:hover { color: var(--neon-secondary); }

.profil-list-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.profil-list-body {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
}

.profil-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.profil-list-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.profil-list-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.profil-list-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--neon-primary);
}

/* ---- Replies ---- */
.reply-context {
    background: var(--bg-card);
    border-left: 3px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 10px;
}

.reply-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reply-parent {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
    font-style: italic;
}

.reply-new {
    margin-bottom: 8px;
}

.reply-author {
    font-weight: 600;
    color: var(--neon-primary);
    font-size: 0.85rem;
}

/* ---- Alerts ---- */
.alert-criteria {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.alert-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-xl);
    background: var(--bg-badge);
    color: var(--neon-primary);
    font-size: 0.78rem;
    font-weight: 500;
}

.alert-actions {
    display: flex;
    gap: 8px;
}

/* ---- Status Badges ---- */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active, .status-publie {
    background: rgba(0, 255, 170, 0.1);
    color: var(--neon-accent);
}

.status-inactive {
    background: var(--bg-badge);
    color: var(--text-muted);
}

.status-en_attente {
    background: rgba(255, 149, 0, 0.1);
    color: var(--neon-warm);
}

.status-expire, .status-supprime {
    background: rgba(255, 51, 102, 0.08);
    color: var(--text-muted);
}

.status-modere {
    background: rgba(255, 51, 102, 0.1);
    color: var(--neon-hot);
}

.status-en_erreur {
    background: rgba(255, 82, 82, 0.15);
    color: #ff5252;
    font-weight: 700;
}

.status-refuse {
    background: rgba(239, 83, 80, 0.15);
    color: #ef5350;
    font-weight: 700;
}

.profil-refuse-motif {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(239, 83, 80, 0.1);
    border-left: 3px solid #ef5350;
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.profil-refuse-motif strong {
    color: #ef5350;
    display: block;
    margin-bottom: 0.5rem;
}

/* ---- Buttons Small ---- */
.btn-sm {
    padding: 5px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--neon-primary);
    color: var(--neon-primary);
}

.btn-outline:hover {
    background: var(--neon-primary);
    color: var(--text-on-primary);
}

.btn-danger {
    background: rgba(255, 51, 102, 0.1);
    color: var(--neon-hot);
    border: 1px solid rgba(255, 51, 102, 0.2);
}

.btn-danger:hover {
    background: var(--neon-hot);
    color: #fff;
}

/* ---- Deals Header ---- */
.profil-deals-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.profil-deals-header .profil-section-title {
    margin-bottom: 0;
}

/* ---- Deal Submit Success ---- */
.deal-success {
    text-align: center;
    padding: 32px 20px;
}

.deal-success h2 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 16px 0 8px;
}

.deal-success p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.deal-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ---- Profil Responsive ---- */
@media (max-width: 768px) {
    .profil-tabs-bar {
        padding: 0 16px;
        gap: 0;
    }
    .profil-tab {
        padding: 10px 14px;
        font-size: 0.78rem;
    }
    .profil-container {
        padding: 0 16px 30px;
    }
    .profil-info-grid {
        grid-template-columns: 1fr;
    }
    .avatar-cat-grid {
        gap: 8px;
    }
    .avatar-cat-tab {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    .avatar-option {
        width: 52px;
        height: 52px;
    }
    .profil-deals-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .profil-avatar-row { flex-direction: column; align-items: flex-start; }
    .profil-avatar-current { width: 64px; height: 64px; }
    .deal-success-actions { flex-direction: column; }
}

/* ---- Modal Responsive ---- */
@media (max-width: 480px) {
    .modal-box { padding: 24px 18px; }
    .form-row { grid-template-columns: 1fr; }
    .social-btn { font-size: 0.82rem; padding: 10px 14px; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .deals-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
    /* Force full width on mobile */
    /* Ensure all containers respect mobile width */
    .header,
    .header-inner,
    .deals-container,
    .main-container,
    .category-container,
    .profil-container,
    .admin-container {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    /* Footer padding pour éviter la bottom nav bar */
    .footer {
        padding-bottom: 100px;
    }

    .header {
        position: sticky;
        top: 0;
        z-index: 100;
        height: 44px;
        min-height: 44px;
    }
    .header-inner {
        position: relative;
        padding: 6px 12px;
        gap: 8px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        height: 100%;
    }
    .header-inner::-webkit-scrollbar { display: none; }

    /* Protéger la search-bar des contraintes mobiles */
    .search-bar-wrap {
        position: relative !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 20px !important;
    }
    .search-results {
        position: absolute !important;
        width: auto !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
    }

    /* Logo centré sur mobile */
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        order: 0;
        font-size: 1.1rem;
        margin: 0;
    }

    /* Simplifier le header - uniquement logo + theme + account */
    .btn-icon { flex-shrink: 0; width: 32px; height: 32px; }
    .mobile-search-btn { order: 1; display: none !important; }
    #categoriesToggleBtn { order: 2; display: none !important; }
    #filterToggleBtn { order: 3; display: none !important; }
    .search-bar-wrap { display: none !important; }

    /* Nav center on mobile - hidden */
    .nav-center {
        display: none !important;
    }

    /* Header actions - keep only theme toggle and account */
    .header-actions {
        order: 5;
        margin-left: auto;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* Masquer le lien favoris et le greeting sur mobile */
    .header-actions a[href="favoris.php"] { display: none; }
    .header-actions .btn-login { display: none; }
    .user-greeting { display: none; }
    .logo-slogan { display: none; }
    .category-dropdown { min-width: 320px; left: -10px; }
    .deals-container { padding: 0 16px; }

    /* 1 colonne verticale pour deals on mobile */
    .deals-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Grid 2 colonnes / 2 lignes pour mobile */
    .deals-grid .deal-card {
        display: grid;
        grid-template-columns: 100px 1fr;
        grid-template-rows: auto auto;
        gap: 6px 10px;
        padding: 0 10px 10px 0;
        align-items: start;
    }

    /* Col 1 Ligne 1 : Image carrée - offset de 1px pour voir la bordure */
    .deals-grid .deal-card-image {
        grid-column: 1;
        grid-row: 1;
        width: 100px;
        height: 100px;
        border-radius: 8px;
        overflow: hidden;
        padding: 0 !important;
        margin: 1px 0 0 1px !important;
    }

    .deals-grid .deal-card-image img {
        padding: 0 !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: left top !important;
        border-radius: 8px 0 0 0;
        width: 100% !important;
        height: 100% !important;
        display: block !important;
    }

    /* Masquer le pourcentage de réduction sur l'image (affichage en prix à la place) */
    .deals-grid .deal-card-image .deal-reduction {
        display: none;
    }

    /* Col 2 Ligne 1 : Prix + Température (dans le bon ordre) */
    .deals-grid .deal-pricing {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
        font-size: 0.8rem;
        margin: 0;
        padding: 0;
    }

    /* Force l'ordre des éléments dans deal-pricing (réduction → prix remisé → prix barré → temp) */
    .deals-grid .deal-reduction-inline { order: 1; }
    .deals-grid .deal-price-current { order: 2; }
    .deals-grid .deal-price-original { order: 3; }
    .deals-grid .deal-pricing .temperature-display-footer { order: 4; }
    .deals-grid .deal-pricing .deal-comments-count { order: 5; }

    /* Col 2 Ligne 1 (droite) : Actions */
    .deals-grid .deal-actions {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        justify-content: flex-start;
        height: 100%;
        margin-left: auto;
        padding-left: 8px;
    }

    /* Espacer les éléments */
    .deals-grid .deal-actions > * {
        flex: 0 0 auto;
    }

    /* Température avec boutons de vote (maintenant dans col 2) */
    .deals-grid .temperature-display-footer {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        margin: 0;
        flex-shrink: 0;
        white-space: nowrap;
        margin-top: 2px;
        width: auto;
        align-self: flex-start;
    }

    /* Boutons de vote: largeur fixe et égale */
    .deals-grid .temperature-display-footer .temp-vote-btn {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Gel (flocon) en premier */
    .deals-grid .temperature-display-footer .temp-vote-down {
        order: 1;
    }

    /* Flamme en deuxième */
    .deals-grid .temperature-display-footer .temp-vote-up {
        order: 2;
    }

    /* Température en troisième */
    .deals-grid .temperature-display-footer .temp-value {
        flex: 0 0 auto;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        order: 3;
        margin-left: -10px;
    }

    /* Livraison */
    .deals-grid .deal-shipping {
        font-size: 0.75rem;
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 2px;
    }

    .deals-grid .shipping-info {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Icônes 2x plus grandes (44px) et affichées verticalement */
    .deals-grid .deal-actions .btn-details-deal,
    .deals-grid .deal-actions .btn-view-deal,
    .deals-grid .deal-actions .btn-favorite-deal {
        display: inline-flex;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
    }

    /* Décaler loupe et oeil pour éviter que le hover soit coupé par la bordure */
    .deals-grid .deal-actions .btn-details-deal,
    .deals-grid .deal-actions .btn-view-deal {
        margin-top: 2px;
    }

    .deals-grid .temp-value {
        display: flex;
        align-items: center;
        font-size: 0.8rem !important;
        font-weight: bold !important;
        white-space: nowrap;
    }

    .deals-grid .temp-vote-btn {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
        padding: 0;
        font-size: 0.65rem;
        border: 1px solid var(--neon-primary);
        background: rgba(0, 212, 255, 0.1);
        color: var(--neon-primary);
        cursor: pointer;
        border-radius: 2px;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .deals-grid .temp-vote-btn:hover {
        background: rgba(0, 212, 255, 0.25);
    }

    /* Icônes (loupe, oeil, coeur) */
    .deals-grid .btn-details-deal,
    .deals-grid .btn-view-deal,
    .deals-grid .btn-favorite-deal {
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        padding: 2px;
        border: none;
        background: none;
        cursor: pointer;
        transition: all 0.2s ease;
        color: var(--text-secondary);
    }

    .deals-grid .btn-details-deal:hover,
    .deals-grid .btn-view-deal:hover,
    .deals-grid .btn-favorite-deal:hover {
        color: var(--neon-primary);
    }

    .deals-grid .btn-favorite-deal.is-favorite {
        color: #ff3366;
    }

    .deals-grid .btn-favorite-deal.is-favorite svg {
        fill: currentColor;
    }

    /* Coeur dans deal-actions (50% plus grand) */
    .deals-grid .deal-actions-heart {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        background: none;
        cursor: pointer;
        padding: 0;
        color: var(--text-secondary);
        transition: all 0.2s ease;
        margin: 0 auto;
    }

    .deals-grid .deal-actions-heart:hover {
        color: var(--neon-primary);
    }

    .deals-grid .deal-actions-heart svg {
        width: 18px;
        height: 18px;
        stroke-width: 2;
    }

    .deals-grid .deal-actions-heart.is-favorite {
        color: #ff3366;
    }

    .deals-grid .deal-actions-heart.is-favorite svg {
        fill: currentColor;
    }

    /* Espace vide après nombre pour séparer favoris du reste */
    .deals-grid .favorite-spacer {
        height: 9px;
        flex-shrink: 0;
    }

    /* Nombre de favoris - centré et rapproché du coeur */
    .deals-grid .favorite-count {
        font-weight: 600;
        color: var(--text-secondary);
        font-size: 0.65rem;
        text-align: center;
        width: 100%;
        flex-shrink: 0;
        line-height: 1;
        margin-top: -6px;
    }

    /* Ligne 2 : Body fusionné sur 3 colonnes */
    .deals-grid .deal-card-body {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding: 0;
    }

    .deals-grid .deal-merchant-name {
        font-size: 0.85rem;
        color: var(--neon-primary);
        font-weight: 500;
    }

    .deals-grid .deal-title {
        font-size: 0.94rem;
        font-weight: 700;
        line-height: 1.3;
        margin: 0;
        color: var(--text-primary);
    }

    .deals-grid .deal-title a {
        color: inherit;
    }

    /* Description 2 lignes max */
    .deals-grid .deal-description {
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.78rem;
        color: var(--text-secondary);
        line-height: 1.2;
        margin: 0;
    }

    .deals-grid .deal-prices {
        display: flex;
        gap: 6px;
        align-items: center;
    }

    .deals-grid .deal-price-current {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--neon-primary);
        align-self: flex-start;
    }

    .deals-grid .deal-price-original {
        font-size: 0.7rem;
        text-decoration: line-through;
        color: var(--text-muted);
        align-self: flex-start;
    }

    /* Wrapper pour réduction + commentaires */
    .deals-grid .deal-pricing-top {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 100%;
        align-self: stretch;
        margin-top: 5px;
        margin-bottom: 2px;
    }

    /* Réduction au-dessus du prix (étiquette rouge) */
    .deals-grid .deal-reduction-inline {
        display: inline-block;
        font-size: 0.8rem;
        font-weight: 700;
        background-color: var(--neon-hot);
        color: white;
        padding: 2px 6px;
        border-radius: 4px;
        margin: 0;
        flex-shrink: 0;
    }

    /* Icône et temps écoulé (1ère ligne) */
    .deals-grid .deal-time-elapsed {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 0.75rem;
        color: var(--text-secondary);
        text-decoration: none;
        transition: color 0.2s ease;
        flex-shrink: 0;
        order: 1;
    }

    .deals-grid .deal-time-elapsed:hover {
        color: var(--neon-primary);
    }

    .deals-grid .deal-time-elapsed svg {
        width: 14px;
        height: 14px;
        stroke-width: 2.5;
    }

    .deals-grid .time-elapsed {
        font-weight: 600;
        color: var(--text-secondary);
    }

    /* Icône et compteur de commentaires (2ème ligne) */
    .deals-grid .deal-comments-count {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 0.75rem;
        color: var(--text-secondary);
        text-decoration: none;
        transition: color 0.2s ease;
        flex-shrink: 0;
        order: 2;
    }

    .deals-grid .deal-comments-count:hover {
        color: var(--neon-primary);
    }

    .deals-grid .deal-comments-count svg {
        width: 14px;
        height: 14px;
        stroke-width: 2.5;
    }

    .deals-grid .comments-count {
        font-weight: 600;
        color: var(--text-secondary);
    }

    /* Masquer livraison gratuite pour gagner de la place */
    .deals-grid .free-shipping {
        display: none;
    }

    /* Masquer le badge promo pour gagner de la place */
    .deals-grid .promo-tag {
        display: none;
    }

    /* ===== NEW 2-COLUMN FOOTER LAYOUT ===== */
    .deals-grid .deal-body-wrapper {
        display: flex;
        gap: 6px;
        align-items: center;
        width: 100%;
        padding-right: 0;
    }

    .deals-grid .deal-body-left {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2px;
        justify-content: center;
        color: inherit;
        text-decoration: none;
        padding-left: 5px;
    }

    .deals-grid .deal-body-left:hover {
        text-decoration: none;
    }

    .deals-grid .deal-merchant-info {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .deals-grid .deal-merchant-small {
        font-size: 0.75rem;
        color: var(--neon-primary);
        font-weight: 500;
        margin: 0;
    }

    .deals-grid .deal-merchant-divider {
        font-size: 0.75rem;
        color: #999;
        opacity: 0.5;
        margin: 0 2px;
    }

    .deals-grid .deal-author-small {
        font-size: 0.75rem;
        color: var(--text-secondary);
        font-weight: 400;
        margin: 0;
    }

    .deals-grid .deal-body-left .deal-title {
        font-size: 0.75rem;
        line-height: 1.2;
        margin: 0;
        flex: 0 0 auto;
        font-weight: 700;
    }

    .deals-grid .deal-body-left .deal-description {
        font-size: 0.7rem;
        line-height: 1.15;
        margin: 0;
        color: var(--text-secondary);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .deals-grid .deal-body-icon {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-secondary);
        text-decoration: none;
        border-radius: 4px;
        transition: all 0.2s ease;
        background-color: transparent;
        padding: 0;
        width: 44px;
        height: 44px;
    }

    .deals-grid .deal-body-icon:hover {
        color: var(--neon-primary);
        filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
    }

    .deals-grid .deal-body-icon svg {
        width: 24px;
        height: 24px;
        stroke-width: 2;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }

    /* Réduire la taille du coeur dans deal-body-wrapper */
    .deals-grid .deal-body-wrapper .btn-favorite-deal svg {
        width: 16px;
        height: 16px;
        transition: filter 0.2s ease;
    }

    .deals-grid .deal-icon-magnifier svg {
        width: 20px;
        height: 20px;
    }

    .deals-grid .deal-icon-exit {
        margin-left: 0;
    }

    .deals-grid .deal-icon-exit svg {
        width: 40px;
        height: 40px;
    }

    .deals-grid .deal-body-bottom {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Réduction badge sur image */
    .deals-grid .deal-reduction {
        font-size: 0.7rem;
        padding: 4px 6px;
    }

    /* Masquer les métadonnées pour gagner de la place */
    .deals-grid .deal-meta {
        display: none;
    }

    .deals-grid .deal-meta-item {
        display: flex;
        align-items: center;
        gap: 2px;
        color: var(--text-muted);
    }


    /* Sponsor card vertical layout on mobile - Independent styles */
    .deals-grid .sponsor-card {
        min-height: auto;
        display: flex;
        flex-direction: column !important;
    }

    .sponsor-content {
        padding: 12px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
    }

    .sponsor-badge {
        font-size: 0.65rem;
        font-weight: 600;
    }

    .sponsor-icon {
        font-size: 2rem;
        margin: 0;
    }

    .sponsor-title-with-icon {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .sponsor-title {
        font-size: 0.95rem;
        font-weight: 700;
        margin: 0;
    }

    .sponsor-description {
        display: block !important;
        font-size: 0.8rem;
        line-height: 1.3;
        color: rgba(255, 255, 255, 0.8);
        margin: 0 !important;
    }

    .sponsor-btn {
        display: block !important;
        font-size: 0.8rem;
        padding: 8px 16px;
        margin-top: 4px;
    }

    .category-hero { padding: 24px 16px 16px; }
    .category-hero h1 { font-size: 1.4rem; }
    .category-hero .breadcrumb { display: none; }

    /* Add padding-bottom to avoid content hidden by bottom nav */
    .deals-container {
        padding-bottom: 80px;
    }

    /* ===== MODAL SLIDE-UP ON MOBILE ===== */
    /* Modal overlay: remplit l'écran sauf la bottom nav (60px) */
    .modal-overlay {
        inset: 0 0 60px 0;
        align-items: flex-end;
        background: rgba(0, 0, 0, 0);
        backdrop-filter: blur(0px);
    }

    .modal-overlay.show {
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
    }

    /* Modal box: slide-up depuis le bas */
    .modal-box {
        width: 100%;
        max-width: 100vw;
        max-height: 85vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        padding: 24px 16px;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        opacity: 1;
    }

    .modal-overlay.show .modal-box {
        transform: translateY(0);
    }
}

/* ============================================
   MOBILE BOTTOM NAVIGATION
   ============================================ */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: rgba(17, 27, 46, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid var(--border-color);
        justify-content: space-around;
        align-items: stretch;
        z-index: 200;
    }

    body.light-theme .mobile-bottom-nav {
        background: rgba(239, 241, 245, 0.95);
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        flex: 1;
        color: var(--text-muted);
        text-decoration: none;
        border: none;
        background: none;
        cursor: pointer;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 4px 0;
        position: relative;
        min-height: 60px;
    }

    .mobile-nav-item .nav-icon {
        width: 22px;
        height: 22px;
        transition: transform 0.25s ease, color 0.25s ease;
    }

    .mobile-nav-item .nav-label {
        font-size: 0.65rem;
        font-weight: 500;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 60px;
        transition: color 0.25s ease;
    }

    .mobile-nav-item:hover {
        color: var(--neon-primary);
    }

    .mobile-nav-item:hover .nav-icon {
        transform: scale(1.1);
    }

    .mobile-nav-item.active {
        color: var(--neon-primary);
    }

    .mobile-nav-item.active::after {
        content: '';
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 2px;
        background: var(--neon-primary);
        border-radius: 1px;
    }

    /* ---- Avatar in Mobile Nav ---- */
    .mobile-nav-avatar {
        padding: 4px;
    }

    .nav-avatar-img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--neon-primary);
        transition: transform 0.25s ease, border-color 0.25s ease;
    }

    .mobile-nav-avatar:hover .nav-avatar-img {
        transform: scale(1.1);
        border-color: var(--neon-accent);
    }

    .mobile-nav-avatar.active {
        color: inherit;
    }

    /* ---- Mobile Menu Modal (Lateral) ---- */
    .mobile-menu-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 250;
        background: rgba(0, 0, 0, 0);
        visibility: hidden !important;
        display: none !important;
        transition: background 0.3s ease;
        pointer-events: none;
    }

    .mobile-menu-modal.active {
        visibility: visible !important;
        display: flex !important;
        background: rgba(0, 0, 0, 0.5);
        pointer-events: auto;
    }

    .mobile-menu-modal.active .mobile-menu-content {
        display: block !important;
    }

    .mobile-menu-modal.closing {
        background: rgba(0, 0, 0, 0);
    }

    .mobile-menu-content {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 60px;
        width: 75vw;
        max-width: 320px;
        background: linear-gradient(135deg, rgba(0, 20, 40, 0.95), rgba(0, 30, 60, 0.95));
        border-right: 2px solid var(--neon-primary);
        border-right-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
        z-index: 251;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 212, 255, 0.2);
        display: none !important;
        visibility: hidden !important;
    }

    .mobile-menu-modal.active .mobile-menu-content {
        display: block !important;
        visibility: visible !important;
    }

    .mobile-menu-modal.active .mobile-menu-content {
        transform: translateX(0);
    }

    .mobile-menu-modal.closing .mobile-menu-content {
        transform: translateX(-100%);
    }

    .mobile-menu-header {
        display: none !important;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        border-bottom: 2px solid rgba(0, 212, 255, 0.3);
        background: linear-gradient(90deg, rgba(0, 30, 60, 0.8), rgba(0, 60, 120, 0.5));
        position: sticky;
        top: 0;
        z-index: 10;
        box-shadow: 0 2px 15px rgba(0, 212, 255, 0.2);
    }

    .mobile-menu-modal.active .mobile-menu-header {
        display: flex !important;
    }

    .mobile-menu-header h2 {
        font-size: 1.2rem;
        margin: 0;
        color: var(--neon-primary);
        font-weight: 800;
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
        letter-spacing: 0.05em;
    }

    .mobile-menu-close {
        background: none;
        border: none;
        color: var(--neon-primary);
        cursor: pointer;
        padding: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.25s ease;
        font-size: 1.3rem;
        filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.4));
    }

    .mobile-menu-close:hover {
        color: var(--neon-hot);
        filter: drop-shadow(0 0 12px rgba(255, 51, 102, 0.6));
        transform: rotate(90deg) scale(1.1);
    }

    /* Menu Levels */
    .menu-level {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: none !important;
        flex-direction: column;
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .mobile-menu-modal.active .menu-level {
        display: flex !important;
    }

    .menu-level-0 {
        transform: translateX(0);
        display: none !important;
    }

    .mobile-menu-modal.active .menu-level-0 {
        display: flex !important;
    }

    .menu-level-0.slide-out {
        transform: translateX(-100%);
    }

    .menu-level-1 {
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        display: none !important;
    }

    .menu-level-1.slide-in {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
        display: flex !important;
    }

    .mobile-menu-modal:not(.active) .menu-level-1.slide-in {
        display: none !important;
    }

    .menu-level-1.slide-out {
        transform: translateX(-100%);
        visibility: hidden;
        pointer-events: none;
    }

    .menu-level-2 {
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        display: none !important;
    }

    .menu-level-2.slide-in {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
        display: flex !important;
    }

    .mobile-menu-modal:not(.active) .menu-level-2.slide-in {
        display: none !important;
    }

    .mobile-menu-back {
        display: flex;
        align-items: center;
        gap: 8px;
        background: none;
        border: none;
        color: var(--neon-primary);
        cursor: pointer;
        padding: 0;
        font-size: 0.95rem;
        transition: color 0.25s ease;
    }

    .mobile-menu-back:hover {
        color: #00ffaa;
    }

    .mobile-menu-items {
        padding: 8px 0;
        flex: 1;
        overflow-y: auto;
        display: none !important;
    }

    .mobile-menu-modal.active .mobile-menu-items {
        display: flex !important;
        flex-direction: column;
    }

    .mobile-menu-main-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 16px;
        background: linear-gradient(90deg, rgba(0, 212, 255, 0.05), transparent);
        border: none;
        border-left: 3px solid transparent;
        color: var(--text-secondary);
        cursor: pointer;
        font-size: 1rem;
        font-weight: 500;
        text-align: left;
        text-decoration: none;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    }

    .mobile-menu-main-item:hover {
        background: linear-gradient(90deg, rgba(0, 212, 255, 0.15), rgba(255, 51, 102, 0.05));
        color: var(--neon-primary);
        border-left-color: var(--neon-primary);
        padding-left: 20px;
        text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
    }

    .mobile-menu-categories {
        padding: 8px 0;
        flex: 1;
        overflow-y: auto;
        display: none !important;
    }

    .mobile-menu-modal.active .mobile-menu-categories {
        display: flex !important;
        flex-direction: column;
    }

    .mobile-category-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 16px;
        background: linear-gradient(90deg, rgba(0, 212, 255, 0.08), transparent);
        border: none;
        border-left: 3px solid transparent;
        color: var(--text-secondary);
        cursor: pointer;
        font-size: 1rem;
        font-weight: 500;
        text-align: left;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    }

    .mobile-category-btn:hover {
        background: linear-gradient(90deg, rgba(0, 212, 255, 0.2), rgba(0, 255, 170, 0.05));
        color: var(--neon-accent);
        border-left-color: var(--neon-accent);
        padding-left: 20px;
        text-shadow: 0 0 8px rgba(0, 255, 170, 0.3);
    }

    .mobile-category-btn .category-count {
        font-size: 0.85rem;
        color: var(--neon-primary);
        margin: 0 8px;
        background: rgba(0, 212, 255, 0.2);
        padding: 2px 8px;
        border-radius: 12px;
        font-weight: 600;
    }

    .mobile-category-btn svg {
        transition: all 0.3s ease;
        color: var(--neon-primary);
        filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.3));
    }

    .mobile-category-btn:hover svg {
        transform: translateX(4px);
        color: var(--neon-accent);
        filter: drop-shadow(0 0 8px rgba(0, 255, 170, 0.5));
    }

    .mobile-menu-subcategories {
        padding: 8px 0;
        flex: 1;
        overflow-y: auto;
        display: none !important;
    }

    .mobile-menu-modal.active .mobile-menu-subcategories {
        display: flex !important;
        flex-direction: column;
    }

    .mobile-subcategory {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        border-left: 2px solid transparent;
        border-bottom: 1px solid rgba(0, 212, 255, 0.1);
        animation: slideInSubcat 0.3s ease forwards;
    }

    .mobile-subcategory:nth-child(1) { animation-delay: 0.05s; }
    .mobile-subcategory:nth-child(2) { animation-delay: 0.1s; }
    .mobile-subcategory:nth-child(3) { animation-delay: 0.15s; }
    .mobile-subcategory:nth-child(4) { animation-delay: 0.2s; }
    .mobile-subcategory:nth-child(5) { animation-delay: 0.25s; }
    .mobile-subcategory:nth-child(6) { animation-delay: 0.3s; }

    .mobile-subcategory:hover {
        background: linear-gradient(90deg, rgba(255, 51, 102, 0.15), transparent);
        color: var(--neon-hot);
        border-left-color: var(--neon-hot);
        padding-left: 20px;
        text-shadow: 0 0 8px rgba(255, 51, 102, 0.4);
    }

    .mobile-subcategory span:last-child {
        font-size: 0.8rem;
        background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 255, 170, 0.2));
        color: var(--neon-accent);
        padding: 3px 10px;
        border-radius: 12px;
        border: 1px solid rgba(0, 255, 170, 0.3);
        font-weight: 600;
        text-shadow: 0 0 4px rgba(0, 255, 170, 0.2);
    }

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

@keyframes menuSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes menuBackdropIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .header {
        position: sticky;
        top: 0;
        z-index: 100;
        height: 48px;
        min-height: 48px;
        width: 100%;
        max-width: 100vw;
    }
    .header-inner {
        gap: 6px;
        padding: 6px 10px;
        width: 100%;
        max-width: 100vw;
    }
    .logo {
        font-size: 1rem;
        margin-right: 5px;
    }
    .btn-icon { width: 30px; height: 30px; }
    .nav-tab-icon { width: 30px; height: 30px; }
    .nav-tab-icon svg { width: 16px; height: 16px; }
    .view-btn { width: 26px; height: 26px; }
    .view-btn svg { width: 13px; height: 13px; }
    .header-avatar-img { width: 24px; height: 24px; }
    .user-avatar-icon:has(.header-avatar-img) { width: 28px; height: 28px; }
    .header-actions { gap: 6px; }
    .category-dropdown-btn { padding: 6px 12px; font-size: 0.8rem; }
    .category-dropdown { min-width: calc(100vw - 24px); left: 0; }
}

@media (max-width: 480px) {
    .header {
        position: sticky;
        top: 0;
        z-index: 100;
        height: 46px;
        min-height: 46px;
        width: 100%;
        max-width: 100vw;
    }
    .header-inner {
        gap: 4px;
        padding: 6px 8px;
        width: 100% !important;
        max-width: 100vw !important;
    }
    .logo {
        font-size: 0.95rem;
        margin-right: 4px;
    }
    .btn-primary { padding: 6px 14px; font-size: 0.8rem; }
    .deal-card-image { height: 120px; }
    .deal-price-current { font-size: 1.2rem; }
    .btn-icon { width: 29px; height: 29px; }
    .nav-tab-icon { width: 29px; height: 29px; }
    .nav-tab-icon svg { width: 15px; height: 15px; }
    .view-btn { width: 25px; height: 25px; }
    .view-btn svg { width: 12px; height: 12px; }
    .header-actions { gap: 4px; }
    .category-dropdown-btn { padding: 5px 10px; font-size: 0.78rem; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse-neon {
    0%, 100% { box-shadow: var(--neon-glow); }
    50% { box-shadow: var(--neon-glow-strong); }
}

.deal-card.highlight { animation: pulse-neon 2s ease-in-out; }

/* ============================================
   DEAL DETAIL PAGE
   ============================================ */

/* ---- Breadcrumb ---- */
.detail-breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.detail-breadcrumb a { color: var(--text-secondary); }
.detail-breadcrumb a:hover { color: var(--neon-primary); }
.detail-breadcrumb .sep { color: var(--text-muted); font-size: 0.75rem; }
.detail-breadcrumb .current { color: var(--text-primary); }

/* ---- Main 2-column layout ---- */
.detail-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ---- Gallery ---- */
.detail-gallery {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.gallery-main {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.gallery-main .deal-reduction {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
    transition: all var(--transition);
    flex-shrink: 0;
    padding: 0;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb:hover { border-color: var(--border-hover); }
.gallery-thumb.active {
    border-color: var(--neon-primary);
    box-shadow: var(--neon-glow);
}

.gallery-thumb-publish {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(0, 200, 80, 0.1);
    border-color: rgba(0, 200, 80, 0.4);
    color: #00c850;
    cursor: pointer;
    transition: all var(--transition);
}

.gallery-thumb-publish span {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-thumb-publish:hover {
    border-color: #00c850;
    background: rgba(0, 200, 80, 0.2);
    box-shadow: 0 0 12px rgba(0, 200, 80, 0.4);
    transform: scale(1.05);
}

/* ---- Detail Info Panel ---- */
.detail-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Temperature */
.detail-temperature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.detail-temperature .temp-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
}

.detail-temp-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.detail-temp-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.detail-temp-value.hot { color: var(--neon-hot); text-shadow: 0 0 20px rgba(255, 51, 102, 0.4); }
.detail-temp-value.warm { color: var(--neon-warm); text-shadow: 0 0 20px rgba(255, 149, 0, 0.3); }
.detail-temp-value.cold { color: var(--neon-cold); }

.detail-temp-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Merchant */
.detail-merchant {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.detail-merchant-name {
    color: var(--neon-primary);
    font-weight: 600;
}

.detail-merchant-sep { color: var(--text-muted); }

/* Title */
.detail-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

/* Pricing */
.detail-pricing {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.detail-price-current {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--neon-primary);
    text-shadow: var(--neon-glow);
}

.detail-price-original {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.detail-savings {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neon-accent);
    background: rgba(0, 255, 170, 0.08);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

/* Promo Code */
.detail-promo {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-promo-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-promo-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 2px dashed var(--neon-accent);
    border-radius: var(--radius-md);
    background: rgba(0, 255, 170, 0.04);
    cursor: pointer;
    transition: all var(--transition);
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-accent);
}

.detail-promo-code:hover {
    background: rgba(0, 255, 170, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 170, 0.2);
}

.detail-promo-code .copy-icon {
    font-size: 0.8rem;
    font-weight: 500;
    font-family: var(--font-main);
    opacity: 0.7;
}

/* CTA Button */
.detail-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    background: var(--neon-primary);
    color: var(--text-on-primary);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.detail-cta-btn:hover {
    background: var(--neon-secondary);
    box-shadow: var(--neon-glow-strong);
    color: var(--text-on-primary);
    transform: translateY(-1px);
}

.detail-cta-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Shipping Info */
.detail-shipping {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Info Tags */
.detail-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-secondary);
}

.detail-tag.tag-shipping { color: var(--neon-accent); border-color: rgba(0, 255, 170, 0.2); }
.detail-tag.tag-hot { color: var(--neon-hot); border-color: rgba(255, 51, 102, 0.2); }
.detail-tag.tag-expire { color: var(--neon-warm); border-color: rgba(255, 149, 0, 0.2); }

/* Meta row */
.detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.detail-meta-row strong { color: var(--neon-primary); }

/* ---- Deal Report Buttons ---- */
.deal-report-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    margin-top: 12px;
}

.deal-report-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.deal-report-expire:hover {
    border-color: #f0a030;
    color: #f0a030;
    background: rgba(240, 160, 48, 0.08);
}

.deal-report-error:hover {
    border-color: #e04050;
    color: #e04050;
    background: rgba(224, 64, 80, 0.08);
}

.deal-report-done {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ---- Detail Content Sections ---- */
.detail-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.detail-section {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-section:last-child { border-bottom: none; }

.detail-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.detail-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.detail-description-extra {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--border-color);
}

/* Specs Table */
.detail-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.detail-specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.detail-specs-table tr:last-child { border-bottom: none; }

.detail-specs-table td {
    padding: 10px 16px;
    font-size: 0.9rem;
}

.spec-label {
    color: var(--text-muted);
    font-weight: 500;
    width: 40%;
    text-transform: capitalize;
}

.spec-value {
    color: var(--text-primary);
    font-weight: 500;
}

.detail-specs-table tr:hover {
    background: var(--bg-card);
}

/* Inclus list */
.detail-inclus-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-inclus-list li {
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.detail-inclus-list li::before {
    content: '✓ ';
    color: var(--neon-accent);
    font-weight: 700;
}

/* Vendor Card */
.detail-vendor-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    gap: 20px;
}

.vendor-info { flex: 1; }

.vendor-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.vendor-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.vendor-details {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.vendor-detail {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.vendor-link {
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--neon-primary);
    color: var(--neon-primary);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition);
}

.vendor-link:hover {
    background: var(--neon-primary);
    color: var(--text-on-primary);
    box-shadow: var(--neon-glow);
}

/* Tags pills */
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 0;
}

.detail-tag-pill {
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    background: var(--bg-badge);
    color: var(--neon-primary);
    font-size: 0.8rem;
    font-weight: 500;
}

/* ---- Comments ---- */
.comments-empty {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment {
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--neon-primary);
    color: var(--text-on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.comment-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.comment-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-left: auto;
}

.comment-body {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.comment-actions {
    margin-top: 8px;
    display: flex;
    gap: 12px;
}

.comment-vote {
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition);
}

.comment-vote:hover { color: var(--neon-primary); }

/* ---- Comment Vote Buttons ---- */
.comment-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all var(--transition);
    font-family: inherit;
}

.comment-vote-up:hover {
    border-color: #4caf50;
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.comment-vote-down:hover {
    border-color: #f44336;
    color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.comment-vote-btn.comment-vote-up.voted {
    background: rgba(76, 175, 80, 0.15);
    border-color: #4caf50;
    color: #4caf50;
}

.comment-vote-btn.comment-vote-down.voted {
    background: rgba(244, 67, 54, 0.15);
    border-color: #f44336;
    color: #f44336;
}

.comment-vote-btn svg {
    flex-shrink: 0;
}

.vote-count {
    font-weight: 600;
    min-width: 8px;
    text-align: center;
}

/* ---- Comment Reply Button ---- */
.comment-reply-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all var(--transition);
    font-family: inherit;
}

.comment-reply-btn:hover {
    border-color: var(--neon-primary);
    color: var(--neon-primary);
    background: rgba(0, 212, 255, 0.08);
}

/* ---- Comment Replies (nested) ---- */
.comment-replies {
    margin-left: 32px;
    margin-top: 8px;
    border-left: 2px solid var(--border-color);
    padding-left: 16px;
}

.comment-reply {
    padding: 10px 0;
}

.comment-reply .comment-body {
    font-size: 0.88rem;
}

.comment-avatar-sm {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.7rem !important;
    line-height: 28px !important;
}

/* ---- Comment Report Button ---- */
.comment-report-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all var(--transition);
    font-family: inherit;
    margin-left: auto;
}

.comment-report-btn:hover {
    border-color: #ff9800;
    color: #ff9800;
    background: rgba(255, 152, 0, 0.08);
}

.comment-report-btn.reported {
    border-color: #ff9800;
    color: #ff9800;
    opacity: 0.6;
    cursor: default;
}

/* ---- Report Modal ---- */
.report-reasons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.report-reason-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.report-reason-option:hover {
    border-color: var(--neon-primary);
    background: rgba(0, 212, 255, 0.05);
}

.report-reason-option input[type="radio"] {
    accent-color: var(--neon-primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.report-details {
    width: 100%;
    padding: 10px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.88rem;
    resize: vertical;
    outline: none;
    margin-bottom: 16px;
    box-sizing: border-box;
    transition: border-color var(--transition);
}

.report-details:focus {
    border-color: var(--neon-primary);
}

.btn-report-submit {
    background: #ff9800;
    border-color: #ff9800;
}

.btn-report-submit:hover {
    background: #f57c00;
    border-color: #f57c00;
    box-shadow: 0 0 12px rgba(255, 152, 0, 0.4);
}

/* ---- Reply Form Inline ---- */
.reply-form-inline {
    margin-left: 32px;
    margin-top: 8px;
    padding: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.reply-input {
    width: 100%;
    padding: 10px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.88rem;
    resize: vertical;
    outline: none;
    transition: border-color var(--transition);
    box-sizing: border-box;
}

.reply-input:focus {
    border-color: var(--neon-primary);
}

.reply-form-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 8px;
}

/* ---- Comment Form ---- */
.comment-form-wrapper {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.comment-form-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.comment-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    flex-wrap: wrap;
}

.toolbar-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all var(--transition);
    font-family: inherit;
}

.toolbar-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--neon-primary);
    border-color: var(--neon-primary);
}

.toolbar-btn.active {
    background: var(--neon-primary);
    color: var(--text-on-primary);
}

.toolbar-preview {
    margin-left: auto;
    font-weight: 500;
}

.toolbar-sep {
    width: 1px;
    height: 20px;
    background: var(--border-color);
    margin: 0 4px;
}

.comment-input {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    outline: none;
    transition: border-color var(--transition);
    box-sizing: border-box;
}

.comment-input:focus {
    border-color: var(--neon-primary);
}

.comment-preview {
    padding: 12px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    min-height: 120px;
    line-height: 1.6;
}

.comment-preview a {
    color: var(--neon-primary);
    text-decoration: underline;
}

.comment-preview ul {
    padding-left: 20px;
    margin: 4px 0;
}

.comment-preview li {
    margin: 2px 0;
}

.comment-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.comment-char-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.comment-login-prompt {
    margin-top: 20px;
    padding: 16px;
    text-align: center;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
}

.comment-login-prompt a {
    color: var(--neon-primary);
    text-decoration: underline;
    font-weight: 500;
}

/* Animation nouveau commentaire */
.comment-new {
    animation: commentSlideIn 0.4s ease;
}

@keyframes commentSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Modale Confirmation Commentaire ---- */
.comment-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.comment-confirm-modal {
    background: var(--bg-card);
    border: 1px solid var(--neon-primary);
    border-radius: var(--radius-lg);
    padding: 28px;
    max-width: 560px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--neon-glow-strong);
}

.comment-confirm-modal h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neon-primary);
    margin-bottom: 4px;
}

.comment-confirm-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.comment-confirm-preview {
    padding: 16px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.comment-confirm-preview a {
    color: var(--neon-primary);
    text-decoration: underline;
}

.comment-confirm-preview ul {
    padding-left: 20px;
    margin: 4px 0;
}

.comment-confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* ---- Similar Deals ---- */
.similar-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.similar-deal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.similar-deal-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md), var(--neon-glow);
    transform: translateY(-2px);
}

.similar-deal-img {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: var(--bg-surface);
}

.similar-deal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-deal-img .deal-reduction {
    font-size: 0.75rem;
    padding: 4px 8px;
}

.similar-deal-info {
    padding: 12px;
}

.similar-deal-merchant {
    font-size: 0.75rem;
    color: var(--neon-primary);
    font-weight: 500;
}

.similar-deal-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 4px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.similar-deal-pricing {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.similar-deal-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon-primary);
}

.similar-deal-old {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.similar-deal-temp {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--bg-badge);
}

.similar-deal-temp.hot { color: var(--neon-hot); }
.similar-deal-temp.warm { color: var(--neon-warm); }
.similar-deal-temp.cold { color: var(--neon-cold); }

/* ---- Detail Responsive ---- */
@media (max-width: 1000px) {
    .detail-main {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .detail-gallery {
        position: static;
    }

    .detail-title { font-size: 1.3rem; }
    .detail-price-current { font-size: 1.8rem; }

    .detail-vendor-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .similar-deals-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .detail-info {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .detail-breadcrumb {
        padding: 12px 8px;
        font-size: 0.78rem;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box;
        min-width: 0 !important;
    }
    .detail-main {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    .detail-gallery {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 16px !important;
        min-width: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box;
    }
    .gallery-main {
        aspect-ratio: 1/1;
        padding: 12px 16px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        overflow: hidden !important;
    }
    .gallery-main img {
        padding: 12px;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
    }
    .gallery-thumbs { gap: 6px; margin-top: 8px; }
    .gallery-thumb { width: 50px; height: 50px; }
    .gallery-thumb img { width: 100%; height: 100%; }
    .detail-info {
        width: 100% !important;
        max-width: 100% !important;
        gap: 10px;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
        min-width: 0 !important;
    }
    .detail-content {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
        min-width: 0 !important;
    }
    .detail-temperature {
        padding: 6px 16px 6px 24px !important;
        gap: 3px !important;
        flex-wrap: nowrap;
        justify-content: center;
        border-radius: 4px;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .detail-temperature .temp-btn {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.7rem !important;
        flex: 0 0 auto;
        padding: 0 !important;
        min-width: 24px;
    }
    .detail-temp-display {
        flex: 0 0 auto;
        gap: 0 !important;
    }
    .detail-temp-value { font-size: 0.95rem !important; }
    .detail-temp-label { font-size: 0.55rem !important; }
    .detail-merchant { padding: 0 16px; font-size: 0.8rem; min-width: 0; overflow: hidden; word-break: break-word; }
    .detail-title { padding: 0 16px; font-size: 1.3rem; min-width: 0; overflow: hidden; word-break: break-word; }
    .detail-pricing { padding: 0 16px; gap: 8px; min-width: 0; overflow: hidden; }
    .detail-price-current { font-size: 1.8rem; }
    .detail-price-original { font-size: 0.9rem; }
    .detail-savings { font-size: 0.75rem; padding: 3px 8px; }
    .detail-shipping { padding: 0 16px; }
    .detail-promo { padding: 0 16px; }
    .detail-cta-wrapper {
        gap: 0.5rem !important;
        flex-wrap: wrap;
        padding: 0 16px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .detail-cta-btn {
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
        flex: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    .detail-tags-row { gap: 8px; padding: 0 16px; min-width: 0; }
    .detail-section { padding: 0 16px !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box; min-width: 0 !important; }
    .detail-section-title { min-width: 0; overflow: hidden; word-break: break-word; }
    .detail-description { min-width: 0; overflow: hidden; word-break: break-word; }
    .detail-tag { font-size: 0.8rem; }
    .detail-share-section {
        gap: 6px !important;
        flex-wrap: wrap;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 16px 0 24px !important;
        margin: 0 !important;
        box-sizing: border-box;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .detail-share-label {
        font-size: 0.75rem !important;
        flex: 1 0 100%;
    }
    .detail-share-buttons {
        gap: 4px !important;
        flex-wrap: wrap;
        width: 100%;
    }
    .share-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.65rem !important;
        padding: 0 !important;
        flex: 0 0 auto;
    }
}

/* ---- Infinite Scroll Loader (Futuristic) ---- */
.scroll-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
}

.loader-neon {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.loader-ring:nth-child(1) {
    width: 80px;
    height: 80px;
    border-top-color: var(--neon-primary);
    border-right-color: var(--neon-primary);
    animation: spin 1s linear infinite;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3), inset 0 0 15px rgba(0, 212, 255, 0.05);
}

.loader-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    border-bottom-color: var(--neon-accent);
    border-left-color: var(--neon-accent);
    animation: spin-reverse 0.8s linear infinite;
    box-shadow: 0 0 15px rgba(0, 255, 170, 0.3), inset 0 0 15px rgba(0, 255, 170, 0.05);
}

.loader-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    border-top-color: var(--neon-hot);
    border-right-color: var(--neon-hot);
    animation: spin 1.2s linear infinite;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.3), inset 0 0 15px rgba(255, 51, 102, 0.05);
}

.loader-text {
    position: absolute;
    bottom: -28px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--neon-primary);
    animation: pulse-text 1.5s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    to { transform: rotate(-360deg); }
}

@keyframes pulse-text {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ---- Admin tab in profil ---- */
.profil-tab-admin {
    color: var(--neon-hot) !important;
    border-color: rgba(255, 51, 102, 0.3) !important;
}

.profil-tab-admin:hover {
    background: rgba(255, 51, 102, 0.1) !important;
    border-color: var(--neon-hot) !important;
}

/* ==============================================================
   ADMIN PAGE
   ============================================================== */

/* ---- Stats Bar ---- */
.admin-stats {
    display: flex;
    gap: 12px;
    padding: 0 24px;
    margin: 24px auto;
    max-width: 1200px;
    flex-wrap: wrap;
}

.admin-stat-card {
    flex: 1;
    min-width: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    transition: all var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.admin-stat-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.admin-stat-card.active {
    border-color: var(--neon-primary);
    box-shadow: var(--neon-glow);
}

.admin-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.admin-stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-stat-card.stat-en_attente .admin-stat-value { color: var(--neon-warm); }
.admin-stat-card.stat-publie .admin-stat-value { color: var(--neon-accent); }
.admin-stat-card.stat-expire .admin-stat-value { color: var(--text-muted); }
.admin-stat-card.stat-modere .admin-stat-value { color: var(--neon-hot); }
.admin-stat-card.stat-supprime .admin-stat-value { color: var(--text-muted); }
.admin-stat-card.stat-en_erreur .admin-stat-value { color: #ff5252; }

/* ---- Filters Bar ---- */
.admin-filters {
    max-width: 1200px;
    margin: 0 auto 16px;
    padding: 0 24px;
}

.admin-filters-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-filters-form select {
    padding: 8px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: var(--font-main);
    cursor: pointer;
    transition: border-color var(--transition);
}

.admin-filters-form select:hover,
.admin-filters-form select:focus {
    border-color: var(--border-hover);
    outline: none;
}

/* ---- Bulk Actions Bar ---- */
.admin-bulk-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto 12px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--neon-primary);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: var(--neon-glow);
}

/* ---- Table ---- */
.admin-table-wrapper {
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0 24px;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    font-size: 0.85rem;
}

.admin-table thead {
    background: var(--bg-surface);
}

.admin-table th {
    padding: 12px 14px;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.admin-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    color: var(--text-primary);
}

.admin-table tbody tr:nth-child(even) {
    background: rgba(0, 212, 255, 0.12);
}

.admin-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.admin-deal-link {
    color: var(--text-link);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
}

.admin-deal-link:hover {
    color: var(--neon-secondary);
}

.admin-report-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(240, 160, 48, 0.15);
    color: #f0a030;
    font-size: 0.7rem;
    font-weight: 600;
    vertical-align: middle;
}

.admin-price-cell {
    white-space: nowrap;
}

.admin-price {
    font-weight: 700;
    color: var(--neon-primary);
}

.admin-price-original {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 6px;
}

.admin-reduction {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--neon-hot);
    margin-left: 6px;
}

.admin-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 110px;
}
.admin-actions .btn-sm {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap;
}

.admin-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px !important;
    font-style: italic;
}

.text-muted {
    color: var(--text-secondary);
}

/* ---- btn-sm & btn-outline (shared) ---- */
.btn-sm {
    padding: 5px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
    transition: all var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

/* ---- Pagination ---- */
.admin-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 24px 40px;
}

.admin-page-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-xl);
    background: var(--neon-primary);
    color: var(--text-on-primary);
    font-size: 0.8rem;
    font-weight: 700;
}

/* ---- Admin Tabs ---- */
.admin-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 0 0 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.admin-tab {
    padding: 12px 28px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-tab:hover {
    color: var(--text-primary);
    background: rgba(0, 212, 255, 0.05);
}

.admin-tab.active {
    color: var(--neon-primary);
    border-bottom-color: var(--neon-primary);
}

/* ---- Scrape Panel ---- */
.scrape-panel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 40px 24px;
}

.scrape-panel-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* ---- Scrape Progress ---- */
.scrape-progress {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg, 12px);
    padding: 20px 24px;
    margin-top: 20px;
}

.scrape-progress-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--neon-primary);
    margin-bottom: 12px;
}

.scrape-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid var(--border-color);
    border-top-color: var(--neon-primary);
    border-radius: 50%;
    animation: scrape-spin 0.8s linear infinite;
}

@keyframes scrape-spin {
    to { transform: rotate(360deg); }
}

.scrape-progress-bar-wrapper {
    width: 100%;
    height: 8px;
    background: var(--bg-surface);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.scrape-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-primary), var(--neon-accent));
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.scrape-progress-percent {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--neon-primary);
    margin-bottom: 12px;
}

.scrape-progress-details {
    display: flex;
    gap: 24px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.scrape-progress-details strong {
    color: var(--text-primary);
}

.scrape-meta {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---- Admin Responsive ---- */
@media (max-width: 768px) {
    .admin-stats {
        padding: 0 16px;
        gap: 8px;
    }

    .admin-stat-card {
        min-width: 70px;
        padding: 10px 8px;
    }

    .admin-stat-value {
        font-size: 1.1rem;
    }

    .admin-filters {
        padding: 0 16px;
    }

    .admin-table-wrapper {
        padding: 0 8px;
    }

    .admin-table {
        font-size: 0.78rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 8px 8px;
    }

    .admin-bulk-bar {
        margin: 0 16px 12px;
        padding: 10px 16px;
        flex-wrap: wrap;
    }

    .admin-tabs {
        padding: 0 16px;
    }

    .admin-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .scrape-panel {
        padding: 0 16px 30px;
    }

    .scrape-progress-details {
        flex-direction: column;
        gap: 8px;
    }
}

/* ========================================
   SYSTÈME DE FAVORIS
   ======================================== */

/* Actions de la carte (boutons voir + favori) */
.deal-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* Actions row: heart + time + comments (NEW) */
.deal-actions-row {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    font-size: 0.85rem;
}

.deal-actions-row .favorite-count,
.deal-actions-row .comments-count {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.deal-actions-row .deal-time-elapsed {
    display: flex;
    gap: 4px;
    align-items: center;
    color: var(--text-secondary);
}

.deal-actions-row .deal-time-elapsed svg {
    flex-shrink: 0;
}

.deal-actions-row .deal-comments-count {
    display: flex;
    gap: 4px;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.deal-actions-row .deal-comments-count:hover {
    color: var(--neon-primary);
}

.deal-actions-row .deal-actions-heart {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.deal-actions-row .deal-actions-heart:hover {
    color: var(--neon-primary);
}

.deal-actions-row .deal-actions-heart.is-favorite {
    color: #ff3366;
}

.deal-actions-row .deal-actions-heart.is-favorite svg {
    fill: currentColor;
}

.deal-actions-row .deal-actions-heart svg {
    width: 18px;
    height: 18px;
}

/* Bouton loupe : voir les détails du deal */
.btn-details-deal {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-details-deal svg {
    stroke: var(--neon-primary);
}

.btn-details-deal:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.6);
}

.btn-details-deal:hover svg {
    stroke: #22d3ee;
}

/* Bouton œil : voir le deal chez le vendeur (vert néon) */
.btn-view-deal {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-view-deal svg {
    stroke: #10b981;
}

.btn-view-deal:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.6);
}

.btn-view-deal:hover svg {
    stroke: #34d399;
}

/* Bouton favori (cœur) - repositionné à côté du bouton voir */
.btn-favorite {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.btn-favorite:hover {
    transform: scale(1.1);
    background: rgba(6, 11, 24, 0.95);
    border-color: var(--neon-hot);
}

.btn-favorite .heart-icon {
    transition: all 0.3s ease;
}

.btn-favorite:hover .heart-icon {
    stroke: var(--neon-hot);
}

/* État favoris actif */
.btn-favorite.is-favorite {
    background: var(--neon-hot);
    border-color: var(--neon-hot);
    color: white;
}

.btn-favorite.is-favorite .heart-icon {
    fill: white;
    stroke: white;
}

.btn-favorite.is-favorite:hover {
    background: #ff5577;
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.4);
}

/* Animation de clic */
.btn-favorite.animating {
    animation: favorite-pulse 0.3s ease;
}

@keyframes favorite-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

/* Cœurs flottants */
.floating-heart {
    position: fixed;
    font-size: 20px;
    pointer-events: none;
    z-index: 9999;
    animation: float-up 1.5s ease-out forwards;
    opacity: 1;
}

@keyframes float-up {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0;
    }
}

/* Notifications Toast */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    border-left: 4px solid var(--neon-accent);
}

.toast-error {
    border-left: 4px solid var(--neon-hot);
}

.toast-info {
    border-left: 4px solid var(--neon-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .btn-details-deal,
    .btn-view-deal,
    .btn-favorite {
        width: 32px;
        height: 32px;
    }

    .btn-details-deal svg,
    .btn-view-deal svg,
    .btn-favorite .heart-icon {
        width: 14px;
        height: 14px;
    }

    .deal-actions {
        gap: 5px;
    }

    .toast {
        bottom: 16px;
        right: 16px;
        left: 16px;
        text-align: center;
    }
}

/* ========================================
   PAGE FAVORIS
   ======================================== */

.favoris-header {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.favoris-header-content {
    flex: 1;
}

.favoris-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.favoris-title svg {
    color: var(--neon-hot);
}

.favoris-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.favoris-stats {
    display: flex;
    gap: 24px;
}

.favoris-stat-item {
    text-align: center;
    padding: 16px 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-width: 100px;
}

.favoris-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.favoris-stat-value.favoris-stat-success {
    color: var(--neon-accent);
}

.favoris-stat-value.favoris-stat-danger {
    color: var(--neon-hot);
}

.favoris-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.deal-expired {
    opacity: 0.6;
}

.deal-expired .deal-card-image {
    filter: grayscale(0.7);
}

.deal-badge.expired {
    background: var(--text-muted);
    color: var(--bg-body);
}

@media (max-width: 768px) {
    .favoris-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .favoris-title {
        font-size: 1.5rem;
    }

    .favoris-stats {
        width: 100%;
        justify-content: space-between;
    }

    .favoris-stat-item {
        flex: 1;
        padding: 12px 16px;
        min-width: 0;
    }

    .favoris-stat-value {
        font-size: 1.5rem;
    }
}

/* ========================================
   SYSTÈME DE FILTRES AVANCÉS
   ======================================== */

/* Bouton de filtre */
.btn-icon {
    position: relative;
}

/* Compteur de filtres actifs */
.filter-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: var(--neon-hot);
    color: white;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-badge 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Badge de compteur de deals actifs en exposant */
.deals-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--neon-primary);
    background: var(--bg-badge);
    padding: 2px 6px;
    border-radius: 10px;
    pointer-events: none;
    animation: breathe 2s ease-in-out infinite;
}

/* Modal Catégories (overlay + fenêtre centrée) */
.categories-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    pointer-events: none;
    visibility: hidden;
}

.categories-panel.open {
    display: flex !important;
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

.categories-panel-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    max-height: 85vh;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.categories-panel.open .categories-panel-container {
    transform: scale(1);
}

.categories-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-surface);
}

.categories-panel-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.categories-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.categories-close-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--neon-primary);
    color: var(--neon-primary);
}

.categories-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: none !important;
    height: 0;
    min-height: 0;
    overflow: hidden;
}

.categories-panel.open .categories-panel-content {
    display: block !important;
    height: auto;
}

/* Modal de filtres (overlay + fenêtre centrée) */
.filter-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 60px;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 1000;
    display: none !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 0;
    gap: 0;
    pointer-events: none;
    visibility: hidden;
}

.filter-panel.open {
    display: flex !important;
    opacity: 1;
    pointer-events: all;
    visibility: visible;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.filter-panel-container {
    position: relative;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 60px);
    background: var(--bg-card);
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s ease-out;
    user-select: none;
    -webkit-user-select: none;
    margin: 0;
    padding: 0;
}

.filter-panel.open .filter-panel-container {
    transform: translateY(0);
}

.filter-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.filter-panel-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.filter-panel-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.filter-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-close-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--neon-primary);
    color: var(--neon-primary);
}

.filter-panel-content {
    padding: 12px 16px 16px 16px;
    overflow-y: auto;
    display: none !important;
    flex: 1;
    flex-direction: column;
    height: auto !important;
    width: 100% !important;
    max-width: none !important;
}

.filter-panel.open .filter-panel-content {
    display: flex !important;
    flex-direction: column;
}

.filter-group {
    margin-bottom: 24px;
    margin-top: 0;
}

.filter-group:first-child {
    margin-top: 0;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.filter-input,
.filter-select {
    width: 100%;
    max-width: 100%;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-main);
    transition: all var(--transition);
    box-sizing: border-box;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--neon-primary);
    box-shadow: var(--neon-glow);
}




.filter-separator {
    color: var(--text-muted);
    font-weight: 600;
}

/* Toggles */
.filter-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.filter-toggle input[type="checkbox"] {
    display: none;
}

.filter-toggle-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--transition);
    flex-shrink: 0;
}

.filter-toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-toggle input:checked + .filter-toggle-slider {
    background: var(--neon-primary);
    border-color: var(--neon-primary);
}

.filter-toggle input:checked + .filter-toggle-slider::before {
    left: 22px;
    background: white;
}

.filter-toggle-label {
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Footer */
.filter-panel-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
    align-items: center;
}

.btn-filter-reset {
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-footer-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
}

.btn-filter-apply {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-filter-reset {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-filter-reset:hover {
    background: var(--bg-card-hover);
    border-color: var(--neon-primary);
    color: var(--neon-primary);
}

.btn-filter-apply {
    background: var(--neon-primary);
    color: var(--text-on-primary);
    box-shadow: var(--neon-glow);
}

.btn-filter-apply:hover {
    background: var(--neon-secondary);
    box-shadow: var(--neon-glow-strong);
}

.filter-footer-actions .filter-close-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border: none;
    background: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    line-height: 1;
    flex-shrink: 0;
    aspect-ratio: 1;
}

.filter-footer-actions .filter-close-btn:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

/* Message de résultats filtrés */
.filter-results-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 255, 170, 0.08) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.filter-results-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.filter-results-text {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.filter-results-text strong {
    color: var(--text-primary);
    font-weight: 700;
}

.filter-results-clear {
    padding: 6px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-main);
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-results-clear:hover {
    background: var(--bg-card-hover);
    border-color: var(--neon-primary);
    color: var(--neon-primary);
}

/* Message "Aucun résultat" */
.filter-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    text-align: center;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
}

.no-results-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 0 30px 0;
}

.no-results-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-reset-filters,
.btn-adjust-filters {
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-reset-filters {
    background: var(--neon-primary);
    color: white;
    border-color: var(--neon-primary);
}

.btn-reset-filters:hover {
    background: var(--neon-secondary);
    transform: translateY(-2px);
    box-shadow: var(--neon-glow);
}

.btn-adjust-filters {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.btn-adjust-filters:hover {
    background: var(--bg-card-hover);
    border-color: var(--neon-primary);
}

/* Section suggestions */
.filter-suggestions-section {
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-surface);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
}

.suggestions-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.suggestions-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 24px 0;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.suggestion-deal {
    opacity: 0.85;
    position: relative;
}

.suggestion-deal::before {
    content: '💡';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1.5rem;
    z-index: 5;
}

.suggestion-deal:hover {
    opacity: 1;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .filter-results-message {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 16px;
    }

    .filter-results-clear {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .filter-panel-container {
        max-width: 100%;
        border-radius: var(--radius-md);
    }

    .filter-panel-header {
        padding: 16px 20px;
    }

    .filter-panel-title {
        font-size: 1rem;
    }
}

/* ========================================
   SYSTÈME DE PARTAGE SOCIAL
   ======================================== */

/* Section de partage dans la page détails */
.detail-share-section {
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.detail-share-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.share-btn-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.share-btn-twitter:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.share-btn-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: white;
}

.share-btn-telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
    color: white;
}

.share-btn-copy:hover {
    background: var(--neon-primary);
    border-color: var(--neon-primary);
    color: var(--text-on-primary);
}

/* Menu de partage (dropdown) */
.share-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-dropdown);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.share-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all var(--transition);
    text-align: left;
}

.share-menu-item:last-child {
    border-bottom: none;
}

.share-menu-item:hover {
    background: var(--bg-card-hover);
}

.share-menu-item svg {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.share-menu-item:hover svg {
    color: var(--neon-primary);
}

/* Bouton pour ouvrir le menu de partage (sur les cartes) */
.btn-share-menu {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-share-menu:hover {
    background: var(--bg-card-hover);
    border-color: var(--neon-primary);
    color: var(--neon-primary);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .detail-share-section {
        padding: 16px;
    }

    .detail-share-buttons {
        justify-content: center;
    }

    .share-btn {
        width: 40px;
        height: 40px;
    }

    .share-btn svg {
        width: 16px;
        height: 16px;
    }

    .share-menu {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }

    .share-menu.active {
        transform: translateX(-50%) translateY(0);
    }
}

/* ========================================
   LIGHTBOX POUR GALERIE D'IMAGES
   ======================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.lightbox-image-wrapper {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 212, 255, 0.8);
    border-color: var(--neon-primary);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
        height: 95%;
    }

    .lightbox-image {
        max-height: 75vh;
    }

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-counter {
        bottom: -35px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* ========================================
   SECTION "POURQUOI CE DEAL EST HOT?"
   ======================================== */

.deal-hot-section {
    padding: 24px;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.08) 0%, rgba(255, 149, 0, 0.08) 100%);
    border: 1px solid rgba(255, 51, 102, 0.2);
    border-radius: var(--radius-lg);
    margin-top: 24px;
}

.deal-hot-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.deal-hot-reasons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.deal-hot-reason {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.deal-hot-reason svg {
    color: var(--neon-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.deal-hot-reason strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .deal-hot-section {
        padding: 20px 16px;
    }

    .deal-hot-title {
        font-size: 1rem;
    }

    .deal-hot-reason {
        font-size: 0.85rem;
    }
}

/* ======================================
   VÉRIFICATION AUTOMATIQUE DES DEALS
   ====================================== */

.admin-verification-bar {
    display: flex;
    gap: 12px;
    margin: 20px auto 16px auto;
    flex-wrap: wrap;
    justify-content: center;
    max-width: fit-content;
}

.btn-verify-compact {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-verify-compact:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-verify-compact:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-verify-scrapable {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-verify-local {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.verification-log-compact {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0 auto 16px auto;
    max-width: 860px;
}

.verification-log-compact.is-loading {
    text-align: center;
    padding: 28px 20px;
}

/* Spinner de chargement */
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes pulse-bg {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.verify-spinner {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 3px solid rgba(102, 126, 234, 0.25);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}

.verify-loading-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    animation: pulse-bg 1.6s ease-in-out infinite;
}

.verify-loading-sub {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 4px;
    animation: none;
    opacity: 0.8;
}

.verification-log-compact p {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
}

.verification-log-compact p.success {
    color: #10b981;
    font-weight: 600;
}

.verification-log-compact p.error {
    color: #ef4444;
    font-weight: 600;
}

.verification-log-compact .log-content {
    background: #1a1a1a;
    color: #e5e5e5;
    padding: 10px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.4;
    white-space: pre-wrap;
    overflow-x: auto;
    max-height: 300px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .admin-verification-bar {
        flex-direction: column;
    }

    .btn-verify-compact {
        width: 100%;
    }
}

/* ======== BACK TO TOP BUTTON ======== */
.btn-back-to-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--neon-primary);
    border: 2px solid var(--neon-primary);
    color: var(--text-on-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: var(--neon-glow), 0 0 40px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.btn-back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.btn-back-to-top:hover {
    box-shadow: var(--neon-glow-strong), 0 0 60px rgba(0, 212, 255, 0.5);
    transform: translateY(-3px);
}

.btn-back-to-top:active {
    transform: translateY(-1px);
}

.btn-back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   PRICE SLIDER
   ============================================ */
.price-slider-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-range-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--neon-primary);
}

.price-value {
    min-width: 60px;
    text-align: center;
    padding: 4px 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 4px;
}

.price-separator {
    color: var(--text-muted);
}

.price-range-sliders {
    position: relative;
    height: 30px;
    display: flex;
    align-items: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 3px;
    padding: 0 8px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}


.price-slider {
    position: absolute;
    width: calc(100% - 20px);
    height: 6px;
    top: 12px;
    left: 10px;
    background: transparent;
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
}

/* Le min TRÈS au-dessus du max par défaut */
#priceMin {
    z-index: 999;
}

/* Le max très en dessous */
#priceMax {
    z-index: 1;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--neon-primary);
    border: 2px solid var(--bg-card);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
    transition: all 0.2s ease;
}

.price-slider::-webkit-slider-thumb:hover {
    background: var(--neon-accent);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    transform: scale(1.1);
}

.price-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--neon-primary);
    border: 2px solid var(--bg-card);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
    transition: all 0.2s ease;
}

.price-slider::-moz-range-thumb:hover {
    background: var(--neon-accent);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    transform: scale(1.1);
}

.price-track {
    position: absolute;
    height: 6px;
    background: linear-gradient(90deg, var(--neon-primary), var(--neon-accent));
    border-radius: 3px;
    top: 12px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .btn-back-to-top {
        bottom: 30px;
        right: 30px;
        width: 52px;
        height: 52px;
    }

    .btn-back-to-top svg {
        width: 22px;
        height: 22px;
    }

    /* Mobile Header */
    .mobile-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        background: var(--bg-header);
        border-bottom: 1px solid var(--border-color);
        position: sticky;
        top: 0;
        z-index: 99;
        gap: 12px;
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        color: var(--neon-primary);
        text-decoration: none;
        flex-shrink: 0;
    }

    .mobile-page-title {
        flex: 1;
        font-size: 1.1rem;
        font-weight: 600;
        margin: 0;
        color: var(--text-primary);
    }

    /* Back to Top Button (Mobile in nav) */
    /* Back to Top Button Icon (comme l'avatar) */
    .back-to-top-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 4px;
        border: none;
        background: none;
        cursor: pointer;
        border-radius: 50%;
        color: var(--text-muted);
        border: 1.5px solid var(--text-muted);
        box-sizing: border-box;
        transition: all 0.25s ease;
        align-self: center;
        margin: 0 auto;
    }

    .back-to-top-icon:hover {
        color: var(--text-muted);
    }

    /* Actif après scroll (pastille neon) */
    .back-to-top-icon.visible {
        color: white;
        background: var(--neon-primary);
        border: none;
    }

    .back-to-top-icon.visible:hover {
        color: white;
        filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.8));
    }
}

/* ========================================
   MOBILE - CLICKABLE PRODUCT IMAGES
   ======================================== */
@media (max-width: 768px) {
    .deal-card-image {
        cursor: pointer;
    }

    .deal-card-image:active {
        opacity: 0.85;
        transform: scale(0.98);
    }
}

/* ========================================
   ADMIN - MOBILE FOOTER NAVIGATION
   ======================================== */
.admin-mobile-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
    z-index: 100;
    gap: 0;
}

.footer-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.65rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
}

/* Effet hover uniquement pour l'avatar et le profil, pas pour Menu/Déco */
.footer-nav-item[href*="profil"]:hover,
a.footer-nav-item:hover {
    color: var(--neon-primary);
    background: rgba(0, 212, 255, 0.05);
}

/* Pas d'effet pour les boutons Menu et Déco */
.footer-nav-item[title="Menu"],
.footer-nav-item[title="Déconnexion"] {
    cursor: pointer;
}

.footer-nav-item.active {
    color: var(--neon-primary);
}

.footer-nav-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-user-section {
    display: flex;
    gap: 0;
    margin-left: auto;
}

.footer-user-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: none;
}

.footer-user-item:hover {
    color: var(--neon-primary);
    background: rgba(0, 212, 255, 0.05);
}

.footer-avatar-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .admin-mobile-footer {
        display: flex;
    }

    /* Ajouter du padding bottom au contenu principal pour ne pas être caché par le footer */
    main {
        padding-bottom: 50px;
    }

    /* Masquer les actions du header en mobile admin et les afficher dans le footer */
    .header-actions {
        display: none;
    }
}

/* ========================================
   FAVORIS PAGE - DEAL CARDS STYLING
   Keep structure from index.php but with favorites page appearance
   ======================================== */

#favorisGrid .deal-card {
    /* Maintain grid structure but with compact spacing */
    gap: 8px 10px;
    padding: 12px;
}

#favorisGrid .deal-card-image {
    width: 90px;
    height: 90px;
    border-radius: 6px;
}

#favorisGrid .deal-pricing {
    gap: 3px;
    flex-direction: column;
    align-items: flex-start;
}

#favorisGrid .deal-pricing-top {
    gap: 6px;
    align-items: center;
}

#favorisGrid .deal-reduction-inline {
    display: inline-block;
    background: var(--neon-hot);
    color: #fff;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 800;
}

#favorisGrid .deal-prices {
    gap: 4px;
    flex-direction: column;
}

#favorisGrid .deal-price-current {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

#favorisGrid .deal-price-original {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

#favorisGrid .temperature-display {
    gap: 4px;
    margin-top: 2px;
}

#favorisGrid .temp-vote-btn {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
}

#favorisGrid .temp-value {
    font-size: 0.85rem;
    font-weight: 600;
}

#favorisGrid .deal-shipping {
    margin-top: 2px;
}

#favorisGrid .shipping-info {
    font-size: 0.75rem;
    color: var(--text-muted);
}

#favorisGrid .deal-actions {
    gap: 4px;
}

#favorisGrid .deal-actions-heart {
    width: 20px;
    height: 20px;
}

#favorisGrid .deal-actions-heart svg {
    width: 16px;
    height: 16px;
}

#favorisGrid .favorite-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

#favorisGrid .favorite-spacer {
    height: 6px;
}

#favorisGrid .deal-time-elapsed {
    font-size: 0.75rem;
    color: var(--text-muted);
    gap: 2px;
    display: flex;
    align-items: center;
}

#favorisGrid .deal-time-elapsed svg {
    width: 12px;
    height: 12px;
}

#favorisGrid .deal-comments-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    gap: 2px;
    display: flex;
    align-items: center;
}

#favorisGrid .deal-comments-count svg {
    width: 12px;
    height: 12px;
}

#favorisGrid .deal-card-body {
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

#favorisGrid .deal-body-wrapper {
    gap: 8px;
}

#favorisGrid .deal-body-left {
    flex: 1;
}

#favorisGrid .deal-merchant-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

#favorisGrid .deal-merchant-small {
    font-weight: 500;
    color: var(--text-primary);
}

#favorisGrid .deal-merchant-divider {
    margin: 0 4px;
}

#favorisGrid .deal-body-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

#favorisGrid .deal-body-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.3;
}

#favorisGrid .deal-external-link {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#favorisGrid .deal-external-link svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   DESKTOP RESPONSIVE - SIDEBAR LAYOUT
   ============================================ */

/* Desktop (≥1024px) : Afficher la sidebar */
@media (min-width: 1024px) {
    .deals-layout-wrapper {
        display: grid;
        grid-template-columns: 280px 1fr;
    }

    .deals-sidebar {
        display: block;
    }

    /* Masquer les boutons de toggle des filtres/catégories en header */
    #categoriesToggleBtn,
    #filterToggleBtn {
        display: none !important;
    }

    /* Afficher le menu des catégories dans le header */
    .header-categories {
        display: flex;
    }

    /* Masquer la section des catégories de la sidebar en mode PC */
    .deals-sidebar .sidebar-section:first-child {
        display: none;
    }
}

/* Tablet / Mobile (≤1023px) : Masquer la sidebar, layout 1 colonne */
@media (max-width: 1023px) {
    .deals-layout-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .deals-sidebar {
        display: none;
    }

    #categoriesToggleBtn,
    #filterToggleBtn {
        display: flex !important;
    }
}

/* Mobile (≤768px) : Réduire hauteur de l'image (revert par rapport à desktop) */
@media (max-width: 768px) {
    .deal-card-image {
        height: 150px;
    }
}
