/* ============================================
   STYLE PRINCIPAL - MEDISHOP TOGO
   Avec Google Fonts et Font Awesome
   ============================================ */

/* ---------- IMPORTS GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&display=swap');

/* Font Awesome est inclus via CDN dans le header */

/* ---------- VARIABLES ---------- */
:root {
    /* Couleurs principales */
    --primary-color: #2C7BE5;
    --primary-dark: #1A5BB5;
    --primary-light: #E8F0FE;
    --primary-gradient: linear-gradient(135deg, #2C7BE5 0%, #00C9A7 100%);
    
    --secondary-color: #00C9A7;
    --secondary-dark: #00A88A;
    --secondary-light: #E6F9F5;
    
    --accent-color: #FF6B6B;
    --accent-dark: #E55555;
    
    --success-color: #00B894;
    --warning-color: #FDCB6E;
    --danger-color: #E17055;
    --info-color: #74B9FF;
    
    /* Texte */
    --text-primary: #2D3436;
    --text-secondary: #636E72;
    --text-light: #B2BEC3;
    --text-white: #FFFFFF;
    --text-dark: #1A1A2E;
    
    /* Arrière-plans */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #F0F2F5;
    --bg-dark: #1A1A2E;
    --bg-gradient: linear-gradient(135deg, #F8F9FA 0%, #E8F0FE 100%);
    
    /* Ombres */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-2xl: 0 30px 80px rgba(0,0,0,0.20);
    
    /* Bordures */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --border-radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typographie */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Layout */
    --max-width: 1280px;
    --header-height: 80px;
    --container-padding: 20px;
    
    /* Z-index */
    --z-header: 1000;
    --z-modal: 2000;
    --z-toast: 3000;
    --z-loader: 9999;
}

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- TYPOGRAPHIE ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.3rem;
    font-weight: 600;
}

p {
    font-family: var(--font-secondary);
    font-weight: 400;
}

/* ---------- LIENS ---------- */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* ---------- IMAGES ---------- */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------- LISTES ---------- */
ul, ol {
    list-style: none;
}

/* ---------- SCROLLBAR PERSONNALISÉE ---------- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ---------- SÉLECTION ---------- */
::selection {
    background: var(--primary-color);
    color: white;
}

/* ---------- UTILITAIRES ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-padding {
    padding: 80px 0;
}

.section-padding-sm {
    padding: 50px 0;
}

.section-padding-lg {
    padding: 120px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    font-family: var(--font-secondary);
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

/* ---------- BOUTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-height: 48px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(44, 123, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 123, 229, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 201, 167, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 201, 167, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #009B7D;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    min-height: 40px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
    min-height: 56px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- HEADER / NAVIGATION ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: var(--z-header);
    transition: all var(--transition-medium);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.logo span {
    color: var(--text-primary);
}

.logo .highlight {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 5px 0;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-actions .icon-btn {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-secondary);
    transition: var(--transition-fast);
    font-size: 1.2rem;
    color: var(--text-secondary);
    border: none;
    cursor: pointer;
}

.header-actions .icon-btn:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    transform: scale(1.05);
}

.badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- HERO SECTION ---------- */
.hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(44, 123, 229, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.hero-content h1 .highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-content h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(44, 123, 229, 0.2);
    border-radius: 4px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
    font-family: var(--font-secondary);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    animation: float 6s ease-in-out infinite;
}

.hero-image .floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 4s ease-in-out infinite;
    border: 1px solid rgba(255,255,255,0.3);
}

.floating-card:nth-child(2) {
    top: 10%;
    right: -10%;
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    bottom: 15%;
    left: -10%;
    animation-delay: 2s;
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.floating-card .info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.floating-card .info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ---------- STATS ---------- */
.stats-section {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 123, 229, 0.1) 0%, rgba(0, 201, 167, 0.1) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    font-family: var(--font-display);
}

.stat-item p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-top: 5px;
    font-family: var(--font-secondary);
}

/* ---------- CATEGORIES ---------- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.category-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-medium);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: white;
}

.category-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.category-card:hover .icon {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

.category-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: var(--font-secondary);
}

/* ---------- PRODUITS ---------- */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card .image {
    position: relative;
    padding-top: 75%;
    background: var(--bg-secondary);
    overflow: hidden;
}

.product-card .image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.product-card:hover .image img {
    transform: scale(1.05);
}

.product-card .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.badge-promo {
    background: var(--danger-color);
    color: white;
}

.badge-new {
    background: var(--secondary-color);
    color: white;
}

.badge-stock {
    background: var(--warning-color);
    color: var(--text-primary);
}

.product-card .actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: all var(--transition-fast);
}

.product-card:hover .actions {
    opacity: 1;
    transform: translateX(0);
}

.product-card .actions button,
.product-card .actions a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .actions button:hover,
.product-card .actions a:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.product-card .info {
    padding: 20px;
}

.product-card .info .category {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card .info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-primary);
}

.product-card .info .price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
}

.product-card .info .price .current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-card .info .price .old {
    font-size: 0.95rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-card .info .stock {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: var(--font-secondary);
}

.product-card .info .stock.in-stock {
    color: var(--success-color);
}

.product-card .info .stock.out-stock {
    color: var(--danger-color);
}

.product-card .btn-whatsapp {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

/* ---------- FORMULAIRES ---------- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95rem;
    font-family: var(--font-primary);
}

.form-group .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E8ECF0;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background: var(--bg-secondary);
}

.form-group .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(44, 123, 229, 0.1);
    background: white;
}

.form-group .form-control.error {
    border-color: var(--danger-color);
}

.form-group .form-control.success {
    border-color: var(--success-color);
}

.form-group textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-group select.form-control {
    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='%23636E72' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

/* ---------- CONTACT / DEMANDE ---------- */
.contact-section {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info .info-item .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-info .info-item h4 {
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 1rem;
}

.contact-info .info-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-family: var(--font-secondary);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 15px;
}

.footer-brand .logo span {
    color: var(--secondary-color);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    max-width: 300px;
    font-family: var(--font-secondary);
}

.footer h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
    font-family: var(--font-secondary);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    font-family: var(--font-secondary);
}

.footer-bottom a:hover {
    color: white;
}

/* ---------- ANIMATIONS ---------- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-2deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* ---------- TOAST NOTIFICATIONS ---------- */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 15px 25px;
    border-radius: var(--border-radius-md);
    background: white;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 500px;
    animation: slideInRight 0.4s ease;
    border-left: 4px solid var(--primary-color);
    font-family: var(--font-primary);
}

.toast.success { border-left-color: var(--success-color); }
.toast.error { border-left-color: var(--danger-color); }
.toast.warning { border-left-color: var(--warning-color); }

.toast i {
    font-size: 1.5rem;
}

.toast.success i { color: var(--success-color); }
.toast.error i { color: var(--danger-color); }
.toast.warning i { color: var(--warning-color); }

.toast .toast-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0 5px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---------- LOADER ---------- */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: var(--z-loader);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-secondary);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- PANIER ---------- */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.cart-table th {
    text-align: left;
    padding: 15px 10px;
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cart-table td {
    padding: 15px 10px;
    border-bottom: 1px solid var(--bg-secondary);
    vertical-align: middle;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-quantity button {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: var(--bg-secondary);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.cart-quantity button:hover {
    background: var(--primary-color);
    color: white;
}

.cart-quantity input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    padding: 5px;
    font-family: var(--font-primary);
}

.cart-total {
    text-align: right;
    margin-top: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-md);
}

.cart-total h3 {
    font-size: 1.3rem;
}

.cart-total .amount {
    color: var(--primary-color);
    font-weight: 700;
}

/* ---------- BACK TO TOP ---------- */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    background: var(--primary-gradient);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

#back-to-top.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

#back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero .container {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image .floating-card {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 30px 20px;
        gap: 15px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-medium);
        z-index: var(--z-header);
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cart-table {
        font-size: 0.9rem;
    }
    
    .cart-table th,
    .cart-table td {
        padding: 10px 8px;
    }
    
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 20px) 0 60px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .product-card .info {
        padding: 15px;
    }
    
    .product-card .info h3 {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 0.95rem;
        min-height: 48px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .header-actions .icon-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .toast {
        min-width: auto;
        width: 90%;
        margin: 0 auto;
    }
}

/* ============================================
   RESPONSIVE - CORRIGÉ POUR MENU MOBILE
   ============================================ */

/* Tablettes */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image .floating-card {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Mobiles - CORRIGÉ */
@media (max-width: 768px) {
    /* ===== MENU MOBILE ===== */
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-200%);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        border-bottom: 3px solid var(--primary-color);
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links a {
        padding: 12px 15px;
        font-size: 1rem;
        border-bottom: 1px solid var(--bg-secondary);
        width: 100%;
        text-align: left;
        color: var(--text-primary);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: var(--primary-light);
        color: var(--primary-color);
        border-radius: var(--border-radius-sm);
        padding-left: 20px;
    }
    
    .mobile-toggle {
        display: flex !important;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 1000;
    }
    
    .mobile-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* ===== AUTRES STYLES MOBILE ===== */
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cart-table {
        font-size: 0.8rem;
    }
    
    .cart-table th,
    .cart-table td {
        padding: 8px 5px;
    }
    
    .cart-item-img {
        width: 50px;
        height: 50px;
    }
    
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 20px) 0 50px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .header-actions .btn-sm {
        padding: 5px 12px;
        font-size: 0.75rem;
        min-height: 32px;
    }
    
    .header-actions .icon-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .badge-count {
        width: 18px;
        height: 18px;
        font-size: 0.55rem;
        top: -4px;
        right: -4px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
}

/* Petits mobiles */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .product-card .info {
        padding: 12px;
    }
    
    .product-card .info h3 {
        font-size: 0.85rem;
    }
    
    .product-card .info .price .current {
        font-size: 1rem;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 0.8rem;
        min-height: 36px;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .header-actions .btn-sm {
        display: none;
    }
    
    .header-actions .icon-btn {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .stat-item p {
        font-size: 0.75rem;
    }
    
    .toast {
        min-width: auto;
        width: 90%;
        margin: 0 auto;
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-card {
        padding: 20px 15px;
    }
    
    .category-card .icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .category-card h4 {
        font-size: 0.85rem;
    }
    
    .cart-total {
        padding: 15px;
    }
    
    .cart-quantity input {
        width: 40px;
    }
}

/* Menu mobile pour admin aussi */
@media (max-width: 768px) {
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        background: var(--bg-dark);
        padding-top: 80px;
        transform: translateX(-100%);
        transition: var(--transition-medium);
        z-index: 999;
    }
    
    .admin-sidebar.open {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
        padding: 15px;
    }
    
    .admin-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--primary-gradient);
        color: white;
        border: none;
        cursor: pointer;
        box-shadow: var(--shadow-md);
    }
}

/* Correction pour le body quand le menu est ouvert */
body.menu-open {
    overflow: hidden;
}

/* ============================================
   STYLES SPÉCIFIQUES - CATALOGUE & PAGES
   ============================================ */

/* ---------- FILTRES CATALOGUE ---------- */
.filter-section {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.filter-section .filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.filter-section .filter-group {
    flex: 1;
    min-width: 150px;
}

.filter-section .filter-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-section .filter-group .form-control {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background: var(--bg-secondary);
}

.filter-section .filter-group .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(44, 123, 229, 0.1);
    background: white;
}

.filter-section .filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-section .filter-actions .btn {
    min-height: 44px;
}

/* ---------- RÉSULTATS CATALOGUE ---------- */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px 0;
    border-bottom: 2px solid var(--bg-secondary);
}

.results-header .results-count {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-family: var(--font-secondary);
}

.results-header .results-count strong {
    color: var(--text-primary);
    font-weight: 700;
}

.results-header .results-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-header .results-sort label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.results-header .results-sort select {
    padding: 8px 35px 8px 15px;
    border: 2px solid var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    background: white;
    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='%23636E72' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: var(--transition-fast);
}

.results-header .results-sort select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ---------- VUE GRILLE / LISTE ---------- */
.view-toggle {
    display: flex;
    gap: 5px;
}

.view-toggle button {
    padding: 8px 12px;
    border: 2px solid var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    background: white;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.view-toggle button:hover,
.view-toggle button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ---------- PRODUITS EN GRILLE ---------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 10px;
}

/* ---------- PRODUITS EN LISTE ---------- */
.products-list .product-card {
    display: flex;
    gap: 25px;
    padding: 20px;
    align-items: flex-start;
}

.products-list .product-card .image {
    flex: 0 0 200px;
    padding-top: 0;
    height: 200px;
    border-radius: var(--border-radius-sm);
}

.products-list .product-card .image img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-list .product-card .info {
    flex: 1;
    padding: 0;
}

.products-list .product-card .info .description {
    margin: 10px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-list .product-card .info .actions-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* ---------- PAGINATION ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border: 2px solid var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    background: white;
    text-decoration: none;
}

.pagination .page-link:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary-color);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb .separator {
    color: var(--text-light);
}

.breadcrumb .current {
    color: var(--text-primary);
    font-weight: 500;
}

/* ---------- PAGE PRODUIT - GALERIE ---------- */
.product-gallery {
    position: sticky;
    top: 100px;
}

.product-gallery .main-image {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 15px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery .thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.product-gallery .thumbnails .thumb {
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    height: 80px;
}

.product-gallery .thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery .thumbnails .thumb:hover {
    border-color: var(--primary-light);
}

.product-gallery .thumbnails .thumb.active {
    border-color: var(--primary-color);
}

/* ---------- PAGE PRODUIT - INFOS ---------- */
.product-info .product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.product-info .product-category {
    display: inline-block;
    padding: 4px 15px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.product-info .product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.product-info .product-rating .stars {
    color: #FDCB6E;
    font-size: 1.1rem;
}

.product-info .product-rating .reviews {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-info .product-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.product-info .product-price .current {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.product-info .product-price .old {
    font-size: 1.3rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-info .product-price .discount {
    padding: 4px 12px;
    background: var(--danger-color);
    color: white;
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info .product-stock {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    margin: 15px 0;
    border-top: 1px solid var(--bg-secondary);
    border-bottom: 1px solid var(--bg-secondary);
}

.product-info .product-stock .in-stock {
    color: var(--success-color);
    font-weight: 600;
}

.product-info .product-stock .out-stock {
    color: var(--danger-color);
    font-weight: 600;
}

.product-info .product-stock .stock-quantity {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-info .product-description {
    margin: 20px 0;
    line-height: 1.8;
    color: var(--text-secondary);
    font-family: var(--font-secondary);
}

.product-info .product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
}

.product-info .product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-info .product-features li i {
    color: var(--success-color);
}

.product-info .product-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.product-info .product-actions .btn {
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

.product-info .product-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--bg-secondary);
}

.product-info .product-meta .meta-item {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.product-info .product-meta .meta-item strong {
    color: var(--text-primary);
}

/* ---------- PAGE PANIER ---------- */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty .empty-icon {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.cart-empty h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.cart-empty p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.cart-summary {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: var(--border-radius-md);
    position: sticky;
    top: 100px;
}

.cart-summary .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-tertiary);
}

.cart-summary .summary-row:last-child {
    border-bottom: none;
    font-size: 1.3rem;
    font-weight: 700;
}

.cart-summary .summary-row .label {
    color: var(--text-secondary);
}

.cart-summary .summary-row .value {
    font-weight: 600;
}

.cart-summary .summary-row .value.total {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.cart-summary .free-shipping {
    margin: 15px 0;
    padding: 10px;
    background: var(--success-color);
    color: white;
    border-radius: var(--border-radius-sm);
    text-align: center;
    font-size: 0.9rem;
}

.cart-summary .free-shipping i {
    margin-right: 8px;
}

.cart-summary .progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
    margin: 10px 0;
}

.cart-summary .progress-bar .progress-fill {
    height: 100%;
    background: var(--success-color);
    border-radius: 3px;
    transition: width 0.8s ease;
}

/* ---------- PAGE CATÉGORIE ---------- */
.category-hero {
    background: var(--primary-light);
    padding: 40px 0;
    border-radius: var(--border-radius-md);
    margin-bottom: 30px;
}

.category-hero .category-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.category-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.category-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
}

/* ---------- PAGE PARTENAIRES ---------- */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.partner-card {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    border: 1px solid var(--bg-secondary);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.partner-card .partner-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    overflow: hidden;
}

.partner-card .partner-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.partner-card .partner-logo .no-logo {
    font-size: 3rem;
    color: var(--text-light);
}

.partner-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.partner-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: var(--font-secondary);
}

/* ---------- RESPONSIVE POUR CATALOGUE ---------- */
@media (max-width: 992px) {
    .products-list .product-card {
        flex-direction: column;
    }
    
    .products-list .product-card .image {
        flex: none;
        width: 100%;
        height: 250px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .product-gallery .main-image {
        height: 300px;
    }
    
    .product-info .product-title {
        font-size: 1.6rem;
    }
    
    .product-info .product-features {
        grid-template-columns: 1fr;
    }
    
    .product-info .product-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .filter-section .filter-row {
        flex-direction: column;
    }
    
    .filter-section .filter-group {
        min-width: 100%;
    }
    
    .results-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .results-header .results-sort {
        flex-wrap: wrap;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-gallery .main-image {
        height: 250px;
    }
    
    .product-gallery .thumbnails .thumb {
        height: 60px;
    }
    
    .product-info .product-price .current {
        font-size: 2rem;
    }
    
    .product-info .product-actions {
        flex-direction: column;
    }
    
    .product-info .product-actions .btn {
        min-width: 100%;
    }
    
    .cart-summary {
        position: static;
        margin-top: 20px;
    }
    
    .category-hero h1 {
        font-size: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pagination .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .product-gallery .main-image {
        height: 200px;
    }
    
    .product-gallery .thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }
    
    .product-gallery .thumbnails .thumb {
        height: 50px;
    }
    
    .product-info .product-title {
        font-size: 1.3rem;
    }
    
    .product-info .product-price .current {
        font-size: 1.6rem;
    }
    
    .product-info .product-features {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    
    .category-hero {
        padding: 25px 0;
    }
    
    .category-hero h1 {
        font-size: 1.5rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .partner-card {
        padding: 20px 15px;
    }
    
    .partner-card .partner-logo {
        width: 80px;
        height: 80px;
    }
    
    .results-header .results-count {
        font-size: 0.85rem;
    }
    
    .filter-section {
        padding: 15px;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
    }
}

/* ---------- ANIMATIONS POUR LES PRODUITS ---------- */
.product-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }
.product-card:nth-child(9) { animation-delay: 0.45s; }
.product-card:nth-child(10) { animation-delay: 0.5s; }
.product-card:nth-child(11) { animation-delay: 0.55s; }
.product-card:nth-child(12) { animation-delay: 0.6s; }

/* ---------- BOUTONS DE FILTRE ---------- */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.filter-buttons .filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--bg-secondary);
    border-radius: var(--border-radius-full);
    background: white;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-buttons .filter-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-buttons .filter-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary-color);
}

/* ---------- PRIX SLIDER ---------- */
.price-slider {
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-slider input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    outline: none;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.price-slider .price-range {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 120px;
}

/* ---------- NOTIFICATION FLASH ---------- */
.flash-message {
    padding: 15px 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.5s ease;
}

.flash-message.success {
    background: #E8F5E9;
    color: #2E7D32;
    border-left: 4px solid var(--success-color);
}

.flash-message.error {
    background: #FFEBEE;
    color: #C62828;
    border-left: 4px solid var(--danger-color);
}

.flash-message.warning {
    background: #FFF8E1;
    color: #F57F17;
    border-left: 4px solid var(--warning-color);
}

.flash-message i {
    font-size: 1.5rem;
}

.flash-message .flash-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: currentColor;
    opacity: 0.6;
    padding: 0 5px;
}

.flash-message .flash-close:hover {
    opacity: 1;
}

/* ---------- LOADING SPINNER ---------- */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.loading-spinner .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--bg-secondary);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ---------- EMPTY STATE ---------- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state .empty-icon {
    font-size: 5rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- VUE LISTE ---------- */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.products-list .product-card {
    display: flex;
    background: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}

.products-list .product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.products-list .product-card .product-image {
    flex: 0 0 250px;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.products-list .product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.products-list .product-card:hover .product-image img {
    transform: scale(1.05);
}

.products-list .product-card .product-image .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: var(--border-radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

.products-list .product-card .product-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.products-list .product-card .product-body .product-category {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.products-list .product-card .product-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 5px 0 10px;
}

.products-list .product-card .product-body .product-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-list .product-card .product-body .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--bg-secondary);
}

.products-list .product-card .product-body .product-footer .price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.products-list .product-card .product-body .product-footer .price .current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.products-list .product-card .product-body .product-footer .price .old {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.products-list .product-card .product-body .product-footer .actions {
    display: flex;
    gap: 10px;
}

/* Responsive liste */
@media (max-width: 768px) {
    .products-list .product-card {
        flex-direction: column;
    }
    
    .products-list .product-card .product-image {
        flex: none;
        height: 200px;
    }
    
    .products-list .product-card .product-body .product-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .products-list .product-card .product-body .product-footer .actions {
        flex-direction: column;
    }
    
    .products-list .product-card .product-body .product-footer .actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   STYLES RECHERCHE ET FILTRES MOBILE
   ============================================ */

/* ---------- BARRE DE RECHERCHE ---------- */
.search-bar {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar .search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--bg-secondary);
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background: white;
    min-height: 50px;
}

.search-bar .search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(44, 123, 229, 0.1);
}

.search-bar .search-input::placeholder {
    color: var(--text-light);
}

.search-bar .search-btn {
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius-md);
    background: var(--primary-gradient);
    color: white;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-bar .search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ---------- FILTRES MOBILE ---------- */
.filter-toggle {
    display: none;
    padding: 10px 20px;
    border: 2px solid var(--bg-secondary);
    border-radius: var(--border-radius-md);
    background: white;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.filter-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-toggle.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ---------- FILTRES MOBILE OVERLAY ---------- */
.filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.filter-overlay.active {
    display: block;
}

.filter-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: white;
    z-index: 1000;
    padding: 30px 20px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.filter-panel.active {
    right: 0;
}

.filter-panel .filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-secondary);
}

.filter-panel .filter-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.filter-panel .filter-header .close-filter {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--bg-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.filter-panel .filter-header .close-filter:hover {
    background: var(--danger-color);
    color: white;
}

.filter-panel .filter-group {
    margin-bottom: 25px;
}

.filter-panel .filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.filter-panel .filter-group .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background: var(--bg-secondary);
    appearance: none;
}

.filter-panel .filter-group .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(44, 123, 229, 0.1);
    background: white;
}

.filter-panel .filter-group select.form-control {
    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='%23636E72' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.filter-panel .filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.filter-panel .filter-actions .btn {
    flex: 1;
    justify-content: center;
}

/* ---------- RECHERCHE MOBILE HEADER ---------- */
.mobile-search {
    display: none;
    padding: 10px 0;
    background: white;
    border-bottom: 1px solid var(--bg-secondary);
}

.mobile-search .search-bar {
    max-width: 100%;
}

.mobile-search .search-bar .search-input {
    background: var(--bg-secondary);
    border-color: transparent;
    padding: 10px 15px;
    min-height: 44px;
}

.mobile-search .search-bar .search-input:focus {
    background: white;
    border-color: var(--primary-color);
}

.mobile-search .search-bar .search-btn {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ---------- SORT MOBILE ---------- */
.sort-mobile {
    display: none;
    padding: 10px 0;
}

.sort-mobile select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    background: white;
    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='%23636E72' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.sort-mobile select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ---------- FILTER TAGS ---------- */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.filter-tags .filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

.filter-tags .filter-tag .remove-tag {
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.6;
    transition: var(--transition-fast);
    background: none;
    border: none;
    color: var(--primary-color);
}

.filter-tags .filter-tag .remove-tag:hover {
    opacity: 1;
}

.filter-tags .clear-filters {
    padding: 5px 12px;
    background: var(--bg-secondary);
    border: none;
    border-radius: var(--border-radius-full);
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-tags .clear-filters:hover {
    background: var(--danger-color);
    color: white;
}

/* ============================================
   RESPONSIVE - RECHERCHE ET FILTRES
   ============================================ */

/* Tablettes */
@media (max-width: 992px) {
    .search-bar {
        max-width: 100%;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    /* Barre de recherche */
    .mobile-search {
        display: block;
    }
    
    .desktop-search {
        display: none;
    }
    
    /* Filtres */
    .filter-toggle {
        display: flex;
    }
    
    .desktop-filters {
        display: none !important;
    }
    
    .sort-mobile {
        display: block;
    }
    
    .desktop-sort {
        display: none !important;
    }
    
    /* Résultats */
    .results-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .results-header .results-count {
        text-align: center;
    }
    
    .filter-section {
        padding: 15px;
    }
    
    /* Tags de filtre */
    .filter-tags {
        justify-content: center;
    }
}

/* Petits mobiles */
@media (max-width: 480px) {
    .mobile-search .search-bar {
        flex-direction: row;
    }
    
    .mobile-search .search-bar .search-input {
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    .mobile-search .search-bar .search-btn {
        min-height: 40px;
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .filter-panel {
        width: 100%;
        max-width: 100%;
        padding: 20px 15px;
    }
    
    .filter-panel .filter-group .form-control {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    
    .filter-toggle {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    .filter-tags .filter-tag {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}

/* ============================================
   ANIMATIONS POUR LE PANIER FILTRES
   ============================================ */

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.filter-panel.active {
    animation: slideInRight 0.4s ease forwards;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.filter-overlay.active {
    animation: fadeInOverlay 0.3s ease forwards;
}

/* ============================================
   STYLES POUR LA RECHERCHE AVANCÉE
   ============================================ */

.search-advanced {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.search-advanced .search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.search-advanced .search-row .search-input {
    padding: 12px 18px;
    border: 2px solid var(--bg-secondary);
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background: white;
    width: 100%;
}

.search-advanced .search-row .search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(44, 123, 229, 0.1);
}

.search-advanced .search-row .search-btn {
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius-md);
    background: var(--primary-gradient);
    color: white;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.search-advanced .search-row .search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.search-advanced .search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--bg-secondary);
}

.search-advanced .search-filters .filter-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.search-advanced .search-filters .filter-group select,
.search-advanced .search-filters .filter-group input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    background: white;
}

.search-advanced .search-filters .filter-group select:focus,
.search-advanced .search-filters .filter-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Responsive recherche avancée */
@media (max-width: 768px) {
    .search-advanced .search-row {
        grid-template-columns: 1fr;
    }
    
    .search-advanced .search-row .search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .search-advanced .search-filters {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .search-advanced .search-filters {
        grid-template-columns: 1fr;
    }
}

