/* ============================================================
   MAXIKDO - Premium Stylesheet
   African Coupon & Discount Aggregation Platform
   Complete rewrite - Mobile-first responsive design
   ============================================================ */


/* ==========================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================== */
:root {
    /* Brand Colors */
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8A5C;
    --secondary: #1B7A3D;
    --secondary-dark: #145C2E;
    --secondary-light: #2E9E50;
    --accent: #FFC425;
    --accent-dark: #E6B000;
    --success: #2ECC71;
    --success-dark: #27AE60;
    --danger: #E74C3C;
    --warning: #F39C12;
    --info: #3498DB;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F5F7FA;
    --gray-100: #EDF0F5;
    --gray-200: #D5DAE3;
    --gray-300: #B8C0CC;
    --gray-400: #8E97A6;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Semantic */
    --bg-body: #F5F7FA;
    --bg-card: #FFFFFF;
    --bg-footer: #111827;
    --color-text: #1F2937;
    --color-text-light: #6B7280;
    --color-text-muted: #8E97A6;

    /* Legacy aliases (used in HTML inline styles & page-level <style>) */
    --color-accent: #FFC425;
    --color-primary: #FF6B35;
    --color-secondary: #1B7A3D;
    --color-danger: #E74C3C;
    --color-success: #2ECC71;
    --color-warning: #F39C12;
    --color-info: #3498DB;
    --color-text: #1F2937;
    --color-text-light: #6B7280;
    --color-text-muted: #8E97A6;
    --color-bg: #F5F7FA;
    --color-bg-dark: #D5DAE3;
    --color-white: #FFFFFF;

    /* Font-size aliases */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 1.875rem;
    --fs-3xl: 2.25rem;
    --fs-4xl: 3rem;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8A5C 100%);
    --gradient-secondary: linear-gradient(135deg, #1B7A3D 0%, #2E9E50 100%);
    --gradient-accent: linear-gradient(135deg, #FFC425 0%, #FFA500 100%);
    --gradient-hero: linear-gradient(135deg, #FF6B35 0%, #E55A2B 30%, #1B7A3D 100%);
    --gradient-dark: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    --gradient-cta: linear-gradient(135deg, #1F2937 0%, #1B7A3D 100%);
    --gradient-newsletter: linear-gradient(135deg, #1B7A3D 0%, #2E9E50 50%, #48BB78 100%);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.14);
    --shadow-navbar: 0 2px 20px rgba(0, 0, 0, 0.06);
    --shadow-primary: 0 4px 14px rgba(255, 107, 53, 0.3);
    --shadow-accent: 0 4px 14px rgba(255, 196, 37, 0.3);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-navbar: 1000;
    --z-modal: 1500;
    --z-toast: 1700;
    --z-top: 9999;
}


/* ==========================================================
   2. RESET & BASE STYLES
   ========================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--gray-900);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--space-md);
}

/* Selection */
::selection {
    background-color: var(--primary);
    color: var(--white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}


/* ==========================================================
   3. CONTAINER
   ========================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}


/* ==========================================================
   4. PROMO TICKER
   ========================================================== */
.promo-ticker {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: var(--z-sticky);
    font-size: var(--text-sm);
    font-weight: 500;
}

.promo-ticker-content {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.promo-ticker-content span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.promo-ticker:hover .promo-ticker-content {
    animation-play-state: paused;
}


/* ==========================================================
   5. NAVBAR
   ========================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-navbar);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-navbar);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: var(--space-lg);
}

/* Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--gray-900);
    text-decoration: none;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.navbar-brand:hover {
    color: var(--gray-900);
    transform: scale(1.02);
}

.navbar-brand img {
    height: 36px;
    width: auto;
}

.brand-logo-img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.brand-logo-r {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.brand-icon {
    color: var(--primary);
    font-size: var(--text-2xl);
}

.brand-dot {
    color: var(--accent);
}

/* Nav Links */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.navbar-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 16px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--primary);
    background-color: rgba(255, 107, 53, 0.07);
}

.navbar-nav a i {
    font-size: var(--text-base);
    width: 18px;
    text-align: center;
}

/* Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.navbar-actions .btn {
    font-size: var(--text-sm);
    padding: 8px 20px;
}

/* Hamburger Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: transparent;
    cursor: pointer;
    gap: 5px;
    transition: background var(--transition-fast);
}

.navbar-toggle:hover {
    background: var(--gray-100);
}

.navbar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- User Dropdown ---------- */
.user-dropdown {
    position: relative;
}

.user-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 5px 14px 5px 5px;
    border: 1.5px solid var(--gray-200);
    border-radius: 50px;
    background: var(--white);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
    font-size: var(--text-sm);
    color: var(--gray-700);
}

.user-dropdown-trigger:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-sm);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    font-family: var(--font-heading);
    flex-shrink: 0;
    overflow: hidden;
    line-height: 1;
}

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

.user-avatar--lg {
    width: 44px;
    height: 44px;
    font-size: 15px;
}

.user-dropdown-name {
    font-weight: 600;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-chevron {
    font-size: 10px;
    color: var(--gray-400);
    transition: transform var(--transition-fast);
}

.user-dropdown.open .user-dropdown-chevron {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    z-index: calc(var(--z-navbar) + 10);
    overflow: hidden;
    animation: userDropdownFade 0.2s ease;
}

.user-dropdown.open .user-dropdown-menu {
    display: block;
}

@keyframes userDropdownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.user-dropdown-fullname {
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--gray-800);
    font-family: var(--font-heading);
}

.user-dropdown-email {
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 2px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-divider {
    height: 1px;
    background: var(--gray-100);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 11px 16px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.user-dropdown-item:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.user-dropdown-item i {
    width: 18px;
    text-align: center;
    font-size: 14px;
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.user-dropdown-item:hover i {
    color: var(--primary);
}

.user-dropdown-item--danger {
    color: var(--danger);
}

.user-dropdown-item--danger:hover {
    background: rgba(231, 76, 60, 0.06);
    color: var(--danger);
}

.user-dropdown-item--danger i,
.user-dropdown-item--danger:hover i {
    color: var(--danger);
}


/* ==========================================================
   6. HERO SECTION
   ========================================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 40%, #0F3460 70%, #533483 100%);
    overflow: hidden;
    padding: 120px 0 100px;
}

/* Animated gradient shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}
.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -10%;
    right: -5%;
    animation: hero-blob 8s ease-in-out infinite;
}
.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: #533483;
    bottom: -15%;
    left: -10%;
    animation: hero-blob 10s ease-in-out infinite reverse;
}
.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 40%;
    left: 30%;
    opacity: 0.15;
    animation: hero-blob 12s ease-in-out infinite;
}
@keyframes hero-blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Curved bottom */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-body);
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 2;
}

/* Hero Grid */
.hero-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(8px);
}
.hero-badge i {
    color: var(--accent);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: var(--space-lg);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #FFC425, #FF6B35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-2xl);
    font-weight: 400;
    line-height: 1.7;
    max-width: 500px;
}
@media (max-width: 900px) {
    .hero-subtitle { margin-left: auto; margin-right: auto; }
}

/* Hero Showcase (floating product cards) */
.hero-showcase {
    position: relative;
    height: 400px;
}
@media (max-width: 900px) {
    .hero-showcase { display: none; }
}
.hero-card {
    position: absolute;
    width: 220px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
    color: inherit;
}
.hero-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.hero-card-1 { top: 5%; left: 5%; animation: hero-float 6s ease-in-out infinite; z-index: 3; }
.hero-card-2 { top: 15%; right: 0; animation: hero-float 7s ease-in-out 1s infinite; z-index: 2; }
.hero-card-3 { bottom: 5%; left: 15%; animation: hero-float 8s ease-in-out 2s infinite; z-index: 1; }
@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.hero-card:hover { animation-play-state: paused; }
.hero-card-img {
    width: 100%;
    height: 130px;
    overflow: hidden;
}
.hero-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
.hero-card-info {
    padding: 12px 16px;
}
.hero-card-discount {
    display: inline-block;
    background: var(--danger);
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--text-xs);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 6px;
}
.hero-card-title {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.3;
}

/* Filter Bar */
.filter-bar-section {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: var(--space-md) 0;
    position: sticky;
    top: 64px;
    z-index: 90;
    box-shadow: var(--shadow-sm);
}
.filter-bar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}
.filter-bar-scroll {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    flex: 1;
    padding: 4px 0;
    scrollbar-width: none;
}
.filter-bar-scroll::-webkit-scrollbar { display: none; }
.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    background: var(--white);
    color: var(--gray-600);
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.filter-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.filter-pill.active i {
    color: var(--white) !important;
}
.filter-control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.filter-control-btn:hover,
.filter-control-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Advanced Filters */
.filter-advanced {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-100);
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.filter-advanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
}
.filter-advanced-item label {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 4px;
}
.filter-advanced-item label i {
    color: var(--primary);
    width: 16px;
}
.filter-advanced-item select {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--gray-700);
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.filter-advanced-item select:focus {
    border-color: var(--primary);
    outline: none;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    display: block;
}

.hero-stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--space-xs);
    font-weight: 500;
    display: block;
}

/* Hero Tags */
.hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.hero-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
    transform: translateY(-2px);
}


/* ==========================================================
   7. SEARCH BAR
   ========================================================== */
.search-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-full);
    padding: 6px 6px 6px 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    transition: all var(--transition-base);
    gap: var(--space-sm);
}

.search-bar:focus-within {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-xl), 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.search-bar-hero {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

.search-bar-hero:focus-within {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(255, 215, 0, 0.2);
}

.search-icon {
    color: var(--gray-400);
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.search-bar input[type="text"],
.search-bar input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 8px;
    font-size: var(--text-base);
    color: var(--gray-800);
    min-width: 0;
    box-shadow: none;
}

.search-bar input[type="text"]:focus,
.search-bar input[type="search"]:focus {
    box-shadow: none;
}

.search-bar input::placeholder {
    color: var(--gray-400);
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-primary);
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    display: none;
    max-height: 360px;
    overflow-y: auto;
    z-index: 9999;
    border: 1px solid var(--gray-100);
}
.search-dropdown.active {
    display: block;
}
.search-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--gray-800);
    border-bottom: 1px solid var(--gray-50);
    transition: background 0.15s;
}
.search-dropdown-item:hover {
    background: var(--gray-50);
}
.search-dropdown-info {
    flex: 1;
    min-width: 0;
}
.search-dropdown-info strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-dropdown-price {
    font-size: var(--text-xs);
    color: var(--gray-500);
}
.search-dropdown-price em {
    color: var(--success);
    font-style: normal;
    font-weight: 700;
}
.search-dropdown-empty {
    padding: 20px 16px;
    text-align: center;
    color: var(--gray-400);
    font-size: var(--text-sm);
}


/* ==========================================================
   8. SECTIONS
   ========================================================== */
.section {
    padding: var(--space-3xl) 0;
}

.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
    gap: var(--space-md);
    flex-wrap: wrap;
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    margin-top: 8px;
}

/* When the title is inside a flex header row, remove the pseudo-element */
.section-header-row .section-title::after {
    display: none;
}

/* Centered section titles keep the underline */
.section-title.text-center {
    flex-direction: column;
}

.section-title i {
    font-size: 0.85em;
    color: var(--primary);
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    transition: all var(--transition-fast);
}

.section-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

.section-link i {
    font-size: var(--text-xs);
    transition: transform var(--transition-fast);
}

.section-link:hover i {
    transform: translateX(3px);
}


/* ==========================================================
   9. CATEGORY CARDS
   ========================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-md);
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-xl) var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    text-decoration: none;
    color: var(--gray-700);
    transition: all var(--transition-base);
    cursor: pointer;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    color: var(--primary);
}

.category-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
    font-size: 1.6rem;
    transition: all var(--transition-base);
}

.category-card:hover .category-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1);
}

.category-name {
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.3;
}


/* ==========================================================
   10. OFFER CARDS
   ========================================================== */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.offer-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
    border-left: 4px solid transparent;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-left-color: var(--primary);
}

/* Card Image */
.offer-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
}

.offer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.offer-card:hover .offer-card-image img {
    transform: scale(1.05);
}

.offer-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    font-size: 3.5rem;
    position: relative;
}
.offer-card-placeholder i {
    opacity: 0.7;
    transition: var(--transition-base);
}
.offer-card:hover .offer-card-placeholder i {
    opacity: 1;
    transform: scale(1.15);
}

/* Badges */
.offer-badge-reduction {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    z-index: 3;
    box-shadow: var(--shadow-primary);
    letter-spacing: 0.02em;
}

.offer-badge-vedette {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gradient-accent);
    color: var(--gray-900);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    z-index: 3;
    box-shadow: var(--shadow-accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.offer-badge-sponso {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    z-index: 3;
}

.offer-badge-urgent {
    position: absolute;
    bottom: 48px;
    left: 12px;
    background: var(--danger);
    color: var(--white);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.03); }
}

/* Favorite Heart Button */
.offer-favorite {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    color: var(--gray-400);
    font-size: var(--text-lg);
    cursor: pointer;
    z-index: 3;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.offer-favorite:hover {
    color: var(--danger);
    background: var(--white);
    transform: scale(1.15);
}

.offer-favorite.active {
    color: var(--danger);
    background: var(--white);
    animation: heart-pop 0.4s ease;
}

@keyframes heart-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1.15); }
}

/* Card Body */
.offer-card-body {
    padding: var(--space-md) var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.offer-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.offer-card-category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--secondary);
    background: rgba(0, 78, 137, 0.07);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.offer-card-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    color: var(--gray-400);
    font-weight: 500;
}

.offer-card-views i {
    font-size: 0.7rem;
}

.offer-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1.4;
    color: var(--gray-900);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.offer-card-title a:hover {
    color: var(--primary);
}

/* Merchant */
.offer-card-marchand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.offer-card-marchand i {
    font-size: var(--text-sm);
    color: var(--gray-400);
}

.offer-card-marchand a {
    color: var(--gray-600);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.offer-card-marchand a:hover {
    color: var(--primary);
}

.marchand-mini-logo {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gray-200);
    flex-shrink: 0;
}

/* Prices */
.offer-card-prices {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    margin-top: auto;
    padding-top: var(--space-sm);
}

.price-original {
    font-size: var(--text-sm);
    color: var(--gray-400);
    text-decoration: line-through;
    font-weight: 400;
}

.price-reduit {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

/* Card Footer */
.offer-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-lg) var(--space-md);
    border-top: 1px solid var(--gray-100);
    gap: var(--space-xs);
}

.offer-card-footer .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.offer-card-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    color: var(--gray-500);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.offer-card-location i {
    color: var(--primary);
    font-size: var(--text-sm);
}


/* ==========================================================
   11. CTA BANNER
   ========================================================== */
.cta-banner {
    background: var(--gradient-cta);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl) var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cta-text {
    margin-bottom: var(--space-lg);
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-base);
    line-height: 1.6;
}

.cta-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md) var(--space-xl);
    margin-bottom: var(--space-xl);
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-sm);
}

.cta-features span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.cta-features i {
    color: var(--accent);
}


/* ==========================================================
   12. HOW IT WORKS / STEPS
   ========================================================== */
.how-it-works {
    background: var(--white);
    padding: var(--space-4xl) 0;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-2xl);
}

.step-card {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-primary);
}

.step-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(0, 78, 137, 0.05));
    font-size: 1.8rem;
    color: var(--primary);
    transition: transform var(--transition-base);
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(-5deg);
}

.step-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--gray-900);
}

.step-card p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.7;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    color: var(--gray-300);
    font-size: var(--text-xl);
    flex-shrink: 0;
}


/* ==========================================================
   13. NEWSLETTER
   ========================================================== */
.newsletter-section {
    background: var(--gradient-newsletter);
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-card {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content {
    margin-bottom: var(--space-xl);
}

.newsletter-content h2 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.newsletter-content h2 i {
    color: var(--accent);
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-lg);
}

.newsletter-form-inline {
    display: flex;
    gap: var(--space-sm);
    max-width: 520px;
    margin: 0 auto;
}

.newsletter-form-inline input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    min-width: 0;
}

.newsletter-form-inline input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form-inline input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.newsletter-form-inline .btn {
    flex-shrink: 0;
}

/* Footer newsletter (simpler layout) */
.newsletter-form {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    min-width: 0;
}

.newsletter-form input::placeholder {
    color: var(--gray-500);
}

.newsletter-form input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.newsletter-form .btn {
    flex-shrink: 0;
    padding: 10px 16px;
}


/* ==========================================================
   14. BUTTONS
   ========================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.5;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-align: center;
}

.btn:active {
    transform: scale(0.97);
}

/* Primary - Orange Gradient */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: var(--white);
}

/* Secondary */
.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    border-color: transparent;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 78, 137, 0.35);
    color: var(--white);
}

/* Outline */
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Accent - Gold */
.btn-accent {
    background: var(--gradient-accent);
    color: var(--gray-900);
    border-color: transparent;
    font-weight: 700;
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    color: var(--gray-900);
}

/* WhatsApp */
.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: transparent;
}

.btn-whatsapp:hover {
    background: #1EBE5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    color: var(--white);
}

/* Size Variants */
.btn-sm {
    padding: 6px 16px;
    font-size: var(--text-xs);
}

.btn-lg {
    padding: 14px 36px;
    font-size: var(--text-base);
}


/* ==========================================================
   15. PAGE HEADERS
   ========================================================== */
.page-header {
    background: var(--gradient-hero);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.08), transparent 60%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--bg-body);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.page-title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--white);
    position: relative;
    z-index: 2;
    margin-bottom: var(--space-sm);
}

.page-title i {
    margin-right: var(--space-sm);
    opacity: 0.9;
}

.page-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 auto;
}


/* ==========================================================
   16. OFFRES PAGE LAYOUT
   ========================================================== */
.offres-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.offres-content {
    min-width: 0;
}

/* Toolbar */
.offres-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding: var(--space-md) var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.offres-toolbar-info {
    font-size: var(--text-sm);
    color: var(--gray-500);
    font-weight: 500;
}

.offres-toolbar-info strong {
    color: var(--gray-900);
    font-weight: 700;
}

.offres-toolbar-sort {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.offres-toolbar-sort label {
    font-weight: 600;
    white-space: nowrap;
}

.offres-toolbar-sort select {
    padding: 8px 32px 8px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: var(--gray-700);
    background: var(--white);
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.offres-toolbar-sort select:focus {
    border-color: var(--primary);
}

/* Sidebar Filters */
.sidebar-filters {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: var(--space-xl);
    position: sticky;
    top: 90px;
}

.sidebar-filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.sidebar-filters-header h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
}

.sidebar-filters-header h3 i {
    color: var(--primary);
}

.btn-reset-filters {
    font-size: var(--text-xs);
    color: var(--gray-500);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.btn-reset-filters:hover {
    color: var(--primary);
    background: rgba(255, 107, 53, 0.06);
}

/* Filter Groups */
.filter-group {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--gray-100);
}

.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-title {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-sm);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 250px;
    overflow-y: auto;
}

.filter-select {
    width: 100%;
    padding: 10px 36px 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: var(--gray-700);
    background: var(--white);
    transition: border-color var(--transition-fast);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.filter-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.08);
}

/* Custom Checkboxes */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 7px 8px;
    font-size: var(--text-sm);
    color: var(--gray-600);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
    user-select: none;
}

.filter-checkbox:hover {
    background: var(--gray-50);
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.filter-checkbox-mark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: all var(--transition-fast);
}

.filter-checkbox input[type="checkbox"]:checked + .filter-checkbox-mark {
    background: var(--primary);
    border-color: var(--primary);
}

.filter-checkbox input[type="checkbox"]:checked + .filter-checkbox-mark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox i {
    font-size: var(--text-sm);
    width: 18px;
    text-align: center;
}

/* Range Slider */
.filter-range {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.filter-range input[type="range"] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--gray-200);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.filter-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
    border: 3px solid var(--white);
    transition: transform var(--transition-fast);
}

.filter-range input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.filter-range input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid var(--white);
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
}

.range-value {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--primary);
    min-width: 36px;
    text-align: right;
}

/* Filter Toggle (mobile) */
.btn-filter-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    margin-bottom: var(--space-md);
    transition: all var(--transition-fast);
    order: -1;
}

.btn-filter-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-400);
    font-size: 2rem;
}

.empty-state h3 {
    font-size: var(--text-xl);
    color: var(--gray-800);
    margin-bottom: var(--space-sm);
}

.empty-state p {
    color: var(--gray-500);
    margin-bottom: var(--space-xl);
}


/* ==========================================================
   17. FOOTER
   ========================================================== */
.footer {
    background: var(--bg-footer);
    color: var(--gray-300);
    padding-top: var(--space-4xl);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col {
    min-width: 0;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-md);
    text-decoration: none;
}

.footer-brand:hover {
    color: var(--white);
}

.footer-desc {
    font-size: var(--text-sm);
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

/* Footer Column Headings (h4 in HTML) */
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Footer Links (ul/li structure) */
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-col ul li a {
    font-size: var(--text-sm);
    color: var(--gray-400);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 3px 0;
}

.footer-col ul li a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* .footer-links class (if used) */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--gray-400);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 3px 0;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* Footer Paragraphs */
.footer-col p {
    font-size: var(--text-sm);
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

/* Footer Social Icons */
.footer-social,
.footer-socials {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

.footer-social a,
.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--gray-400);
    font-size: var(--text-base);
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social a:hover,
.footer-socials a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    border-color: var(--primary);
}

/* Footer WhatsApp */
.footer-whatsapp {
    margin-top: var(--space-sm);
}

.footer-whatsapp a {
    display: inline-flex;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-xl) 0;
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.footer-bottom-links a {
    color: var(--gray-500);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}


/* ==========================================================
   18. FLASH MESSAGES
   ========================================================== */
.flash-message {
    position: relative;
    z-index: var(--z-toast);
    border-left: 4px solid;
    animation: flash-slide-in 0.4s ease;
}

.flash-message .container {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

.flash-message .container i:first-child {
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.flash-message .container span {
    flex: 1;
    font-size: var(--text-sm);
    font-weight: 500;
}

@keyframes flash-slide-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flash-success {
    background: #ecfdf5;
    color: #065f46;
    border-left-color: var(--success);
}

.flash-error {
    background: #fef2f2;
    color: #991b1b;
    border-left-color: var(--danger);
}

.flash-warning {
    background: #fffbeb;
    color: #92400e;
    border-left-color: var(--warning);
}

.flash-info {
    background: #eff6ff;
    color: #1e40af;
    border-left-color: var(--info);
}

.flash-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: inherit;
    font-size: var(--text-base);
    cursor: pointer;
    transition: background var(--transition-fast);
    flex-shrink: 0;
    margin-left: auto;
}

.flash-close:hover {
    background: rgba(0, 0, 0, 0.1);
}


/* ==========================================================
   19. FORMS
   ========================================================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-sm);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    color: var(--gray-800);
    background: var(--white);
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

/* Generic input styling */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="date"],
select,
textarea {
    width: 100%;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    color: var(--gray-800);
    background: var(--white);
    transition: all var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}


/* ==========================================================
   20. PAGINATION
   ========================================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-600);
    background: var(--white);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.pagination-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 107, 53, 0.04);
}

.pagination-link.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.pagination-link.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-size: var(--text-sm);
    color: var(--gray-400);
    user-select: none;
}


/* ==========================================================
   21. AUTH PAGES
   ========================================================== */
.auth-card {
    max-width: 460px;
    margin: 40px auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--gray-100);
}

.auth-card h2 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-sm);
    color: var(--gray-900);
}

.auth-card p {
    text-align: center;
    color: var(--gray-500);
    font-size: var(--text-sm);
    margin-bottom: var(--space-xl);
}

.auth-card .btn {
    width: 100%;
}

.auth-card .auth-links {
    text-align: center;
    margin-top: var(--space-lg);
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.auth-card .auth-links a {
    color: var(--primary);
    font-weight: 600;
}

.auth-card .auth-links a:hover {
    text-decoration: underline;
}


/* ==========================================================
   22. UTILITY CLASSES
   ========================================================== */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-accent  { color: var(--accent) !important; }
.text-primary { color: var(--primary) !important; }
.text-muted   { color: var(--gray-500) !important; }
.text-white   { color: var(--white) !important; }
.text-success { color: var(--success) !important; }
.text-danger  { color: var(--danger) !important; }

.fw-bold   { font-weight: 700; }
.fw-semi   { font-weight: 600; }
.fw-normal { font-weight: 400; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.d-flex  { display: flex; }
.d-none  { display: none; }
.d-block { display: block; }
.gap-1 { gap: var(--space-sm); }
.gap-2 { gap: var(--space-md); }
.gap-3 { gap: var(--space-lg); }

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================
   23. BACK TO TOP
   ========================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: var(--text-lg);
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: var(--z-sticky);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.45);
}


/* ==========================================================
   24. BREADCRUMBS
   ========================================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .separator {
    color: var(--gray-300);
    font-size: var(--text-xs);
}

.breadcrumb .current {
    color: var(--gray-800);
    font-weight: 600;
}


/* ==========================================================
   25. BADGES
   ========================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    font-size: var(--text-xs);
    font-weight: 600;
    line-height: 1.5;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.badge-primary {
    background: rgba(255, 107, 53, 0.12);
    color: var(--primary);
}

.badge-secondary {
    background: rgba(0, 78, 137, 0.1);
    color: var(--secondary);
}

.badge-success {
    background: rgba(46, 204, 113, 0.12);
    color: var(--success-dark);
}

.badge-danger {
    background: rgba(231, 76, 60, 0.12);
    color: var(--danger);
}

.badge-warning {
    background: rgba(243, 156, 18, 0.12);
    color: var(--warning);
}

.badge-info {
    background: rgba(52, 152, 219, 0.12);
    color: var(--info);
}

.badge-accent {
    background: rgba(255, 215, 0, 0.15);
    color: #B8860B;
}

.badge-dark {
    background: var(--gray-800);
    color: var(--white);
}


/* ==========================================================
   26. TOAST NOTIFICATIONS
   ========================================================== */
#toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}


/* ==========================================================
   27. RESPONSIVE - BREAKPOINTS
   ========================================================== */

/* ---- Small (576px+) ---- */
@media (min-width: 576px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: var(--text-4xl);
    }
}

/* ---- Tablet (768px+) ---- */
@media (min-width: 768px) {
    .container {
        padding-left: var(--space-xl);
        padding-right: var(--space-xl);
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section {
        padding: var(--space-4xl) 0;
    }

    .hero {
        padding: 140px 0 100px;
    }

    .hero-title {
        font-size: var(--text-5xl);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- Desktop (992px+) ---- */
@media (min-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .offres-layout {
        grid-template-columns: 280px 1fr;
    }

    .sidebar-filters {
        display: block;
    }

    .btn-filter-toggle {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
    }

    .step-arrow {
        display: flex;
    }
}

/* ---- Wide (1200px+) ---- */
@media (min-width: 1200px) {
    .container {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }

    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .offers-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}


/* ---- Tablet & Mobile (below 992px) — collapse navbar ---- */
@media (max-width: 991px) {
    .navbar .container {
        height: 60px;
    }

    .navbar-brand {
        font-size: var(--text-base);
    }

    .navbar-brand .brand-logo-img {
        height: 32px;
    }

    /* Collapse nav */
    .navbar-nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100vh - 60px);
        background: var(--white);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-xs);
        overflow-y: auto;
        z-index: var(--z-navbar);
        animation: nav-slide-down 0.3s ease;
    }

    .navbar-nav.active {
        display: flex;
    }

    @keyframes nav-slide-down {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .navbar-nav a {
        padding: 14px 16px;
        font-size: var(--text-base);
        border-radius: var(--radius-md);
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-actions {
        gap: var(--space-xs);
    }

    .navbar-actions .btn {
        padding: 6px 12px;
        font-size: var(--text-xs);
    }

    /* User dropdown mobile */
    .user-dropdown-name,
    .user-dropdown-chevron {
        display: none;
    }

    .user-dropdown-trigger {
        padding: 4px;
        border: 2px solid var(--gray-200);
    }

    .user-dropdown-menu {
        position: fixed;
        top: 60px;
        right: 8px;
        left: 8px;
        width: auto;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        border-radius: var(--radius-lg);
    }
}

@media (max-width: 480px) {
    .navbar-brand span:last-child {
        display: none;
    }

    .navbar-actions .btn span {
        display: none;
    }
}

/* ---- Mobile-only (below 768px) ---- */
@media (max-width: 767px) {
    /* Hero responsive */
    .hero {
        min-height: auto;
        padding: 100px 0 80px;
    }

    .hero-stats {
        gap: var(--space-lg);
    }

    .hero-stat-value {
        font-size: var(--text-2xl);
    }

    .hero-badge {
        font-size: var(--text-xs);
    }

    .search-btn-text {
        display: none;
    }

    /* Search responsive */
    .search-bar {
        flex-direction: column;
        padding: 8px;
        border-radius: var(--radius-lg);
    }

    .search-bar input[type="text"],
    .search-bar input[type="search"] {
        width: 100%;
        text-align: center;
    }

    .search-btn {
        width: 100%;
        border-radius: var(--radius-md);
        justify-content: center;
    }

    .search-icon {
        display: none;
    }

    /* Offres layout */
    .offres-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-filters {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: var(--z-modal);
        border-radius: 0;
        overflow-y: auto;
        padding: var(--space-xl);
    }

    .sidebar-filters.open {
        display: block;
    }

    .btn-filter-toggle {
        display: flex;
    }

    .offers-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-banner {
        padding: var(--space-2xl) var(--space-lg);
        border-radius: var(--radius-lg);
    }

    .cta-text h2 {
        font-size: var(--text-xl);
    }

    .cta-features {
        flex-direction: column;
        gap: var(--space-sm);
    }

    /* Newsletter */
    .newsletter-form-inline {
        flex-direction: column;
    }

    .newsletter-form-inline input {
        text-align: center;
    }

    .newsletter-content h2 {
        font-size: var(--text-2xl);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    /* Page header */
    .page-header {
        padding: 100px 0 40px;
    }

    .page-title {
        font-size: var(--text-2xl);
    }

    .page-subtitle {
        font-size: var(--text-base);
    }

    /* Section headers */
    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .section-title {
        font-size: var(--text-xl);
    }

    /* Steps */
    .step-arrow {
        display: none;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-card {
        max-width: 100%;
    }

    /* Toolbar */
    .offres-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .offres-toolbar-sort {
        width: 100%;
    }

    .offres-toolbar-sort select {
        flex: 1;
    }

    /* Auth */
    .auth-card {
        margin: 20px var(--space-md);
        padding: var(--space-xl);
    }

    /* Back to top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    /* Ticker */
    .promo-ticker {
        font-size: var(--text-xs);
        padding: 6px 0;
    }
}

/* ---- Small mobile (below 576px) ---- */
@media (max-width: 575px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .category-card {
        padding: var(--space-md) var(--space-sm);
    }

    .category-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .offer-card-image {
        height: 170px;
    }

    .pagination {
        gap: 4px;
    }

    .pagination-link {
        min-width: 36px;
        height: 36px;
        font-size: var(--text-xs);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .btn-lg {
        padding: 12px 28px;
        font-size: var(--text-sm);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
    }
}


/* ==========================================================
   28. OFFER DETAIL PAGE
   ========================================================== */

/* Breadcrumb */
.breadcrumb-section {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: var(--space-md) 0;
}
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--gray-500);
}
.breadcrumb a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: var(--primary);
}
.breadcrumb-sep {
    font-size: 0.65rem;
    color: var(--gray-300);
}
.breadcrumb-current {
    color: var(--gray-800);
    font-weight: 600;
}

/* Layout */
.offre-detail-section {
    padding: var(--space-2xl) 0 var(--space-3xl);
    background: var(--bg-body);
}
.offre-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}
/* Gallery */
.offre-detail-gallery {
    position: sticky;
    top: 100px;
}
.gallery-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}
.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-main:hover .gallery-main-img {
    transform: scale(1.03);
}
.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.gallery-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255,255,255,0.03) 20px,
        rgba(255,255,255,0.03) 40px
    );
}
.gallery-main .offer-badge-reduction {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    right: auto;
    background: var(--danger);
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--text-lg);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    z-index: 3;
    box-shadow: 0 2px 8px rgba(231,76,60,0.4);
}

/* Gallery Thumbs */
.gallery-thumbs {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    overflow-x: auto;
    padding-bottom: var(--space-xs);
}
.gallery-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--white);
    padding: 0;
    box-shadow: var(--shadow-xs);
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-thumb:hover {
    border-color: var(--gray-300);
    transform: translateY(-2px);
}
.gallery-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255,107,53,0.2);
}

/* Video Section */
.offre-detail-video {
    margin-top: var(--space-lg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #000;
}
.offre-detail-video video {
    width: 100%;
    display: block;
    border-radius: var(--radius-xl);
}
.offre-detail-video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: none;
}
.video-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}
.video-label i {
    color: var(--danger);
    font-size: var(--text-lg);
}

/* Right Panel - Info */
.offre-detail-info {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    min-width: 0;
}

/* Category Badge */
.offre-detail-category {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-sm);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 2px solid;
    background: transparent;
    transition: all 0.2s;
}
.offre-detail-category:hover {
    transform: translateY(-1px);
}

/* Title */
.offre-detail-title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin: var(--space-md) 0 var(--space-lg);
}
@media (max-width: 768px) {
    .offre-detail-title {
        font-size: var(--text-2xl);
    }
}

/* Prices */
.offre-detail-prices {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFF1E6 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(255,107,53,0.12);
    position: relative;
    overflow: hidden;
}
.offre-detail-prices::before {
    content: '💰';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    opacity: 0.12;
}
.price-original-lg {
    display: block;
    font-size: var(--text-lg);
    color: var(--gray-400);
    text-decoration: line-through;
    font-weight: 500;
    margin-bottom: 4px;
}
.price-reduit-lg {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
}
.price-economy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--success);
    background: rgba(46,204,113,0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}
.price-economy i {
    font-size: 0.7rem;
}

/* Countdown */
.offre-detail-countdown {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 100%);
    border: 1px solid rgba(243,156,18,0.2);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
    color: var(--gray-700);
}
.offre-detail-countdown i {
    color: var(--warning);
    font-size: var(--text-lg);
    animation: pulse-icon 2s ease-in-out infinite;
}
@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
.countdown-timer {
    color: var(--danger);
    font-family: var(--font-heading);
    font-weight: 700;
}
.offre-detail-expired {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: #FFF5F5;
    border: 1px solid rgba(231,76,60,0.2);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
    color: var(--danger);
    font-weight: 600;
}

/* Description */
.offre-detail-description {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--gray-100);
}

/* Conditions */
.offre-detail-conditions {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    border-left: 4px solid var(--info);
}
.offre-detail-conditions h4 {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--info);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.offre-detail-conditions p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* Stats */
.offre-detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}
.offre-detail-stats span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    color: var(--gray-500);
    background: var(--gray-50);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-weight: 500;
}
.offre-detail-stats span i {
    color: var(--gray-400);
}

/* CTA Button */
.btn-cta-veux {
    width: 100%;
    padding: 18px 32px;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 800;
    color: white;
    background: var(--gradient-cta);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(0,78,137,0.3);
}
.btn-cta-veux:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,78,137,0.4);
}
.btn-cta-veux:active {
    transform: translateY(-1px);
}
.btn-cta-veux::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: cta-shine 3s ease-in-out infinite;
}
@keyframes cta-shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}
.btn-confetti-particles {
    display: none;
}

/* Actions row */
.offre-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-100);
}
.offre-detail-actions .btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
}
.offre-detail-actions .btn.active {
    color: var(--danger);
    border-color: var(--danger);
}
.offre-detail-actions .btn.active i {
    color: var(--danger);
}

/* Marchand Card */
.offre-detail-marchand {
    margin-top: var(--space-xl);
}
.marchand-card-mini {
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    background: var(--gray-50);
    transition: all 0.3s;
}
.marchand-card-mini:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.marchand-card-mini-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}
.marchand-mini-logo-lg {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--gray-200);
}
.marchand-mini-logo-lg.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.4rem;
    border: none;
}
.marchand-card-mini-header h4 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 4px;
}
.marchand-card-mini-header h4 a {
    color: inherit;
    text-decoration: none;
}
.marchand-card-mini-header h4 a:hover {
    color: var(--primary);
}
.marchand-card-mini-header h4 .fa-check-circle {
    color: var(--info);
    font-size: var(--text-sm);
    margin-left: 4px;
}
.marchand-address {
    font-size: var(--text-sm);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 4px;
    word-break: break-word;
}
.marchand-address i {
    color: var(--danger);
    font-size: 0.7rem;
}

/* Marchand Contact Buttons */
.marchand-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}
.marchand-contacts .btn {
    flex: 1;
    min-width: 0;
    font-size: var(--text-xs);
    padding: 8px 12px;
    justify-content: center;
}
.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
}
.btn-whatsapp:hover {
    background: #1FAF57;
    color: white;
}

/* Marchand Map */
.marchand-map-container {
    margin-top: var(--space-md);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--gray-100);
}
.marchand-map {
    width: 100%;
    height: 200px;
}

/* Marchand details grid */
.marchand-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}
.marchand-detail-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-xs);
    color: var(--gray-600);
    padding: 6px 10px;
    background: var(--white);
    border-radius: var(--radius-sm);
}
.marchand-detail-item i {
    color: var(--primary);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}
.marchand-detail-item a {
    color: var(--primary);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.marchand-detail-item a:hover {
    text-decoration: underline;
}
.marchand-note-stars {
    color: var(--accent);
    font-size: var(--text-xs);
}

/* ==========================================================
   28b. OFFRE DETAIL - RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
    .offre-detail-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    .offre-detail-gallery {
        position: relative;
        top: auto;
    }
    .offre-detail-title {
        font-size: var(--text-2xl);
    }
    .price-reduit-lg {
        font-size: 2rem;
    }
    .marchand-details-grid {
        grid-template-columns: 1fr;
    }
    .marchand-contacts {
        flex-direction: column;
    }
    .marchand-contacts .btn {
        width: 100%;
    }
}
@media (max-width: 576px) {
    .offre-detail-section {
        padding: var(--space-lg) 0 var(--space-xl);
    }
    .offre-detail-info {
        padding: var(--space-lg);
    }
    .offre-detail-title {
        font-size: var(--text-xl);
        word-break: break-word;
    }
    .price-reduit-lg {
        font-size: 1.6rem;
    }
    .price-economy {
        font-size: var(--text-xs);
    }
    .offre-detail-prices {
        padding: var(--space-md);
    }
    .offre-detail-prices::before {
        display: none;
    }
    .offre-detail-countdown {
        font-size: var(--text-xs);
        padding: var(--space-sm) var(--space-md);
    }
    .offre-detail-description {
        font-size: var(--text-sm);
    }
    .offre-detail-stats {
        gap: var(--space-xs);
    }
    .offre-detail-stats span {
        font-size: var(--text-xs);
        padding: 4px 10px;
    }
    .btn-cta-veux {
        padding: 14px 24px;
        font-size: var(--text-lg);
    }
    .offre-detail-actions {
        flex-direction: column;
    }
    .offre-detail-actions .btn {
        width: 100%;
        flex: none;
    }
    .gallery-thumb {
        width: 56px;
        height: 56px;
    }
    .gallery-main .offer-badge-reduction {
        font-size: var(--text-sm);
        padding: 6px 14px;
    }
    .marchand-card-mini {
        padding: var(--space-md);
    }
    .marchand-card-mini-header {
        flex-direction: column;
        text-align: center;
    }
    .marchand-mini-logo-lg {
        margin: 0 auto;
    }
    .breadcrumb {
        font-size: var(--text-xs);
        flex-wrap: wrap;
    }
}

/* ==========================================================
   29. MARCHAND PROFILE PAGE
   ========================================================== */

/* Banner */
.marchand-banner-section {
    position: relative;
    height: 320px;
    overflow: hidden;
}
.marchand-banner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--secondary);
}
.marchand-banner-default {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 40%, #0F3460 70%, #533483 100%);
}
.marchand-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, var(--bg-body));
}
@media (max-width: 768px) {
    .marchand-banner-section { height: 200px; }
}

/* Profile Header */
.marchand-profil-section {
    padding-top: 0 !important;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}
.marchand-profil-header {
    display: flex;
    gap: var(--space-2xl);
    align-items: flex-start;
}
@media (max-width: 768px) {
    .marchand-profil-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Logo */
.marchand-profil-logo {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background: var(--white);
}
.marchand-profil-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.marchand-profil-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    font-size: 3rem;
}

/* Info */
.marchand-profil-info {
    flex: 1;
    padding-top: var(--space-xl);
}
@media (max-width: 768px) {
    .marchand-profil-info { padding-top: var(--space-md); }
}
.marchand-profil-name {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .marchand-profil-name { justify-content: center; }
}
.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 14px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: var(--radius-full);
    color: var(--success);
    font-size: var(--text-xs);
    font-weight: 700;
}
.marchand-profil-rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .marchand-profil-rating { justify-content: center; }
}
.stars-display i { font-size: 1.1rem; }
.star-filled { color: #f59e0b; }
.star-empty { color: var(--gray-200); }
.rating-value {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gray-800);
    font-size: var(--text-base);
}
.rating-count {
    color: var(--gray-400);
    font-size: var(--text-sm);
}

/* Stats Row */
.marchand-stats-row {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .marchand-stats-row { justify-content: center; }
}
.marchand-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}
.marchand-stat-item i {
    color: var(--primary);
    font-size: 1.2rem;
}
.marchand-stat-item .stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--gray-800);
    font-size: var(--text-lg);
}
.marchand-stat-item .stat-label {
    font-size: var(--text-xs);
    color: var(--gray-400);
    font-weight: 500;
}

/* Details */
.marchand-profil-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}
.marchand-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-sm);
    color: var(--gray-600);
}
@media (max-width: 768px) {
    .marchand-detail-item { justify-content: center; }
}
.marchand-detail-item i {
    color: var(--primary);
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}
.marchand-detail-item a {
    color: var(--primary);
    text-decoration: none;
}
.marchand-detail-item a:hover {
    text-decoration: underline;
}

/* Actions */
.marchand-profil-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .marchand-profil-actions { justify-content: center; }
}
.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
}
.btn-whatsapp:hover {
    background: #1da851;
    color: white;
}

/* About / Description Card */
.marchand-profil-about {
    margin-top: var(--space-2xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}
@media (max-width: 768px) {
    .marchand-profil-about { grid-template-columns: 1fr; }
}
.marchand-about-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}
.marchand-about-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 8px;
}
.marchand-about-card h3 i {
    color: var(--primary);
}
.marchand-about-card p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: var(--text-sm);
}

/* Gallery */
.marchand-gallery {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}
.marchand-gallery-track {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px;
}
.marchand-gallery-track::-webkit-scrollbar { display: none; }
.marchand-gallery-item {
    flex: 0 0 280px;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    scroll-snap-align: start;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}
.marchand-gallery-item:hover {
    transform: scale(1.03);
}
.marchand-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.marchand-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    font-size: 1rem;
    z-index: 5;
    transition: all 0.2s;
}
.marchand-gallery-nav:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}
.marchand-gallery-nav.prev { left: 12px; }
.marchand-gallery-nav.next { right: 12px; }

/* Map Card */
.marchand-map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 220px;
    margin-top: var(--space-md);
    border: 1px solid var(--gray-100);
}
.marchand-map-container #marchand-map {
    width: 100%;
    height: 100%;
}

/* Avis Section */
.avis-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-lg);
}
.avis-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: box-shadow 0.3s;
}
.avis-card:hover {
    box-shadow: var(--shadow-md);
}
.avis-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}
.avis-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.avis-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avis-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}
.avis-meta {
    flex: 1;
}
.avis-author {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gray-800);
    font-size: var(--text-sm);
}
.avis-date {
    display: block;
    font-size: var(--text-xs);
    color: var(--gray-400);
}
.avis-stars i {
    font-size: 0.85rem;
}
.avis-text {
    color: var(--gray-600);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* Lightbox for gallery */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}

/* ==========================================================
   30. PRINT STYLES
   ========================================================== */
@media print {
    .navbar,
    .promo-ticker,
    .back-to-top,
    .footer,
    .newsletter-section,
    .cta-banner,
    .btn-filter-toggle,
    #toast-container {
        display: none !important;
    }

    body {
        background: white;
        color: black;
        font-size: 12pt;
    }

    .offer-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }

    .hero {
        background: none;
        min-height: auto;
        padding: 20px 0;
    }

    .hero-title,
    .hero-title .highlight {
        color: black;
        -webkit-text-fill-color: black;
    }
}

/* ==========================================================
   31. PWA INSTALL BANNER
   ========================================================== */
.pwa-install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pwa-install-banner.visible {
    transform: translateY(0);
}

.pwa-install-banner .pwa-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.pwa-install-banner .pwa-text {
    flex: 1;
    min-width: 0;
}

.pwa-install-banner .pwa-text strong {
    display: block;
    font-size: var(--text-base);
    margin-bottom: 2px;
}

.pwa-install-banner .pwa-text span {
    font-size: var(--text-sm);
    opacity: 0.9;
}

.pwa-install-banner .pwa-actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.pwa-install-banner .btn-pwa-install {
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pwa-install-banner .btn-pwa-install:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pwa-install-banner .btn-pwa-close {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.pwa-install-banner .btn-pwa-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 480px) {
    .pwa-install-banner {
        flex-wrap: wrap;
        padding: var(--space-sm) var(--space-md);
        gap: var(--space-sm);
    }
    .pwa-install-banner .pwa-actions {
        width: 100%;
        justify-content: stretch;
    }
    .pwa-install-banner .btn-pwa-install {
        flex: 1;
    }

    /* Toast notifications */
    #toast-container {
        top: 70px;
        left: 8px;
        right: 8px;
        width: auto;
    }

    /* Back to top */
    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    /* Auth pages */
    .auth-form-wrapper {
        padding: var(--space-lg) var(--space-md);
    }
    .auth-panel-left .promo-icon {
        font-size: 3rem;
    }

    /* Wizard stepper */
    .wizard-step-circle {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .wizard-step-label {
        font-size: 9px;
    }
    .wizard-container {
        padding: var(--space-md);
    }

    /* Offers grid single column on small screens */
    .offers-grid {
        grid-template-columns: 1fr !important;
    }
}
