/* ============================================================
   BoaTech CI - CSS Principal
   Colors: Violet #7C3AED | Orange #F97316 | Grey #6B7280
   Fonts: Syne (titres) + DM Sans (corps)
============================================================ */

/* --- VARIABLES --- */
:root {
    --violet: #5B21B6;
    --violet-dark: #4C1D95;
    --violet-light: #EDE9FE;
    --orange: #EA580C;
    --orange-dark: #C2410C;
    --orange-light: #FFF7ED;
    --green: #16A34A;
    --green-light: #DCFCE7;
    --grey: #6B7280;
    --grey-light: #F9FAFB;
    --grey-dark: #374151;
    --white: #FFFFFF;
    --dark: #111827;
    --dark-2: #1F2937;
    --text: #111827;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --border-dark: #D1D5DB;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
    --radius: 8px;
    --radius-sm: 6px;
    --radius-lg: 12px;
    --transition: all 0.2s ease;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: #FAFAFA; line-height: 1.6; overflow-x: clip; max-width: 100vw; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font-body); }

/* --- CONTAINER --- */
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

/* ============================================================
   TOPBAR
============================================================ */
.topbar {
    background: var(--dark-2);
    color: rgba(255,255,255,0.75);
    padding: 7px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar span, .topbar a {
    display: flex; align-items: center; gap: 5px;
    color: rgba(255,255,255,0.75);
}
.topbar a:hover { color: #FCD34D; }
.topbar i { color: #FCD34D; font-size: 0.78rem; }

/* Barre de promesse livraison */
.delivery-bar {
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 6px 0;
    font-size: 0.78rem;
    overflow: hidden;
}
.delivery-bar .container {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    overflow: hidden;
}
.delivery-bar-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
}
.delivery-bar-item i { color: #FCD34D; font-size: 0.82rem; }

/* ============================================================
   HEADER
============================================================ */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}
.main-header.scrolled {
    box-shadow: var(--shadow);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
}

/* Logo */
.logo-link { flex-shrink: 0; }
.logo-img { height: 56px; width: auto; object-fit: contain; }

/* Search */
.search-bar {
    flex: 1;
    display: flex;
    max-width: 600px;
    border: 2px solid var(--border-dark);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    background: var(--grey-light);
}
.search-bar:focus-within {
    border-color: var(--violet);
    background: white;
    box-shadow: 0 0 0 3px rgba(91,33,182,0.08);
}
.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 11px 16px;
    font-size: 0.92rem;
    background: transparent;
    color: var(--text);
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar button {
    background: var(--violet);
    color: white;
    padding: 11px 22px;
    font-size: 0.95rem;
    transition: var(--transition);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.search-bar button:hover { background: var(--violet-dark); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 14px;
    color: var(--grey-dark);
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
    font-size: 0.78rem;
}
.btn-icon i { font-size: 1.3rem; }
.btn-icon:hover { color: var(--violet); background: var(--violet-light); }
.btn-icon-label { font-family: var(--font-body); }

.cart-btn { position: relative; }
.cart-badge {
    position: absolute;
    top: 4px;
    right: 8px;
    background: var(--orange);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Burger */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 4px;
    transition: var(--transition);
}
.burger-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Navigation */
.main-nav {
    background: var(--dark);
    border-top: none;
}
.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 16px;
    border-radius: 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.88);
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
    color: white;
    background: rgba(255,255,255,0.08);
    border-bottom-color: #FCD34D;
}
.dropdown-arrow { font-size: 0.6rem !important; opacity: 0.7; }

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-md);
    min-width: 240px;
    padding: 6px;
    z-index: 100;
    border: 1px solid var(--border);
    border-top: 2px solid var(--violet);
}
.has-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--grey-dark);
    transition: var(--transition);
}
.dropdown-menu a:hover { background: var(--violet-light); color: var(--violet); }
.dropdown-menu a i { color: var(--violet); width: 18px; font-size: 0.88rem; }

/* ============================================================
   FLASH MESSAGES
============================================================ */
.flash {
    padding: 12px 0;
    border-bottom: 2px solid transparent;
    position: relative;
}
.flash .container { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.flash-success { background: #D1FAE5; border-color: #10B981; color: #065F46; }
.flash-error { background: #FEE2E2; border-color: #EF4444; color: #991B1B; }
.flash-info { background: #DBEAFE; border-color: #3B82F6; color: #1E40AF; }
.flash-warning { background: #FEF3C7; border-color: #F59E0B; color: #92400E; }
.flash-close { margin-left: auto; background: none; border: none; cursor: pointer; opacity: 0.7; font-size: 1.1rem; }

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
    background: linear-gradient(160deg, #0F172A 0%, #1E1B4B 50%, #1E0D3A 100%);
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    min-height: 520px;
    display: flex;
    align-items: center;
}
.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(91,33,182,0.25) 0%, transparent 70%);
    top: -150px;
    right: -80px;
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(234,88,12,0.15) 0%, transparent 70%);
    bottom: -80px;
    left: -40px;
    border-radius: 50%;
}
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 20px;
}
.hero-label i { color: #FCD34D; font-size: 0.75rem; }
.hero-text h1 {
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
}
.hero-text h1 span { color: #FCD34D; }
.hero-text p {
    color: rgba(255,255,255,0.72);
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.75;
    max-width: 520px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
    display: flex;
    gap: 20px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.hero-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
}
.hero-trust i { color: #FCD34D; font-size: 0.78rem; }
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    max-height: 380px;
    object-fit: cover;
    width: 100%;
}
.hero-badge {
    position: absolute;
    background: var(--orange);
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    bottom: -10px;
    right: -10px;
    box-shadow: 0 4px 20px rgba(249,115,22,0.4);
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: var(--violet);
    color: white;
    border-color: var(--violet-dark);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover {
    background: var(--violet-dark);
    border-color: var(--violet-dark);
    box-shadow: var(--shadow);
}
.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: white;
    border-color: rgba(255,255,255,0.3);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.5);
}
.btn-orange {
    background: var(--orange);
    color: white;
    border-color: var(--orange-dark);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-orange:hover {
    background: var(--orange-dark);
    box-shadow: var(--shadow);
}
.btn-outline {
    background: transparent;
    color: var(--violet);
    border-color: var(--violet);
}
.btn-outline:hover {
    background: var(--violet);
    color: white;
}
.btn-sm { padding: 7px 16px; font-size: 0.82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   SECTION STYLES
============================================================ */
.section { padding: 80px 0; }
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-tag {
    display: inline-block;
    background: var(--violet-light);
    color: var(--violet);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.section-header h2 { color: var(--dark); margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ============================================================
   CATEGORIES SECTION
============================================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.cat-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
    border: 2px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--violet-light) 0%, var(--orange-light) 100%);
    opacity: 0;
    transition: var(--transition);
}
.cat-card:hover {
    border-color: var(--violet);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.cat-card:hover::before { opacity: 1; }
.cat-card > * { position: relative; z-index: 1; }
.cat-icon {
    width: 64px;
    height: 64px;
    background: var(--violet-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: var(--transition);
}
.cat-icon i { font-size: 1.6rem; color: var(--violet); }
.cat-card:hover .cat-icon { background: var(--violet); }
.cat-card:hover .cat-icon i { color: white; }
.cat-card h3 { font-size: 1rem; color: var(--dark); margin-bottom: 6px; }
.cat-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ============================================================
   PRODUITS GRID
============================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.product-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-dark);
}
.product-img-wrap {
    position: relative;
    overflow: hidden;
    background: #F8F8F8;
    aspect-ratio: 4/3;
    border-bottom: 1px solid var(--border);
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.3s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.badge-new { background: var(--violet); color: white; }
.badge-promo { background: var(--orange); color: white; }
.badge-star { background: #D97706; color: white; }
.badge-success { background: var(--green); color: white; }
.badge-warning { background: #D97706; color: white; }
.badge-danger { background: #DC2626; color: white; }
.badge-info { background: #2563EB; color: white; }
.badge-purple { background: var(--violet); color: white; }
.badge-blue { background: #1D4ED8; color: white; }
.badge-secondary { background: var(--grey); color: white; }

/* Badge remise % sur l'image */
.badge-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--orange);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1;
}

.product-actions-overlay {
    position: absolute;
    bottom: -56px;
    left: 0;
    right: 0;
    background: rgba(15,23,42,0.88);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    transition: bottom 0.25s ease;
}
.product-card:hover .product-actions-overlay { bottom: 0; }
.btn-overlay {
    background: white;
    color: var(--dark);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.btn-overlay:hover { background: var(--violet); color: white; }

.product-info { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.product-brand {
    font-size: 0.72rem;
    color: var(--grey);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.product-name {
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.35;
}
.product-name a:hover { color: var(--violet); }

/* Notes étoiles */
.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
}
.stars { color: #D97706; letter-spacing: 1px; font-size: 0.82rem; }
.rating-count { color: var(--text-muted); }

.product-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    flex: 1;
    line-height: 1.5;
}

/* Stock / livraison */
.product-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    margin-top: 2px;
}
.in-stock { color: var(--green); font-weight: 600; }
.out-stock { color: #DC2626; font-weight: 600; }
.delivery-note { color: var(--text-muted); }
.delivery-note i { color: var(--violet); }

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.price-main {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.01em;
}
.price-old {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: line-through;
    display: block;
    line-height: 1;
}
.price-economy {
    font-size: 0.75rem;
    color: var(--orange);
    font-weight: 700;
}
.btn-add-cart {
    background: var(--violet);
    color: white;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.btn-add-cart:hover { background: var(--violet-dark); }

/* ============================================================
   PROMOTIONS BANNER
============================================================ */
.promo-banner {
    background: linear-gradient(135deg, #7C2D12 0%, var(--orange) 100%);
    border-radius: var(--radius-lg);
    padding: 44px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 56px 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.promo-banner::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    right: -60px; top: -100px;
}
.promo-banner::after {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    left: -40px; bottom: -80px;
}
.promo-banner-text h2 { color: white; font-size: 1.9rem; }
.promo-banner-text p { color: rgba(255,255,255,0.85); font-size: 1rem; margin-top: 8px; }
.promo-badge-big {
    background: white;
    color: var(--orange);
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    padding: 18px 28px;
    border-radius: var(--radius);
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    position: relative;
    z-index: 1;
}
.promo-badge-big span { display: block; font-size: 0.8rem; font-weight: 500; color: var(--grey); }

/* ============================================================
   WHY US SECTION
============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.why-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}
.why-card:hover { box-shadow: var(--shadow); border-color: var(--border-dark); }
.why-icon {
    width: 60px; height: 60px;
    background: var(--violet-light);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.why-icon i { font-size: 1.5rem; color: var(--violet); }
.why-card h3 { font-size: 0.95rem; margin-bottom: 8px; color: var(--dark); }
.why-card p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials { background: var(--grey-light); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testi-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.testi-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 24px;
    font-size: 5rem;
    color: var(--violet);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.3;
}
.testi-stars { color: #F59E0B; margin-bottom: 14px; font-size: 1rem; }
.testi-text { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
    width: 44px; height: 44px;
    background: var(--violet-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--violet);
    font-size: 1.1rem;
}
.testi-name { font-weight: 600; font-size: 0.9rem; }
.testi-location { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   NEWSLETTER
============================================================ */
.newsletter-section {
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-dark) 100%);
    padding: 60px 0;
}
.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.newsletter-text h3 { color: white; font-size: 1.5rem; margin-bottom: 8px; }
.newsletter-text p { color: rgba(255,255,255,0.75); }
.newsletter-form {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 520px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.newsletter-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 22px;
    font-size: 0.95rem;
}
.newsletter-form button {
    background: var(--orange);
    color: white;
    padding: 14px 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.newsletter-form button:hover { background: var(--orange-dark); }

/* ============================================================
   FOOTER
============================================================ */
.main-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
    padding: 70px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { height: 60px; width: auto; margin-bottom: 20px; filter: brightness(1.1); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}
.social-links a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}
.social-links a:hover { background: var(--violet); color: white; }

.footer-col h4 {
    color: white;
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--orange);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.footer-col ul li a i { font-size: 0.7rem; color: var(--orange); }
.footer-col ul li a:hover { color: var(--orange); padding-left: 4px; }

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.65);
}
.contact-list li i { color: var(--orange); margin-top: 3px; flex-shrink: 0; }
.contact-list li a { color: rgba(255,255,255,0.65); }
.contact-list li a:hover { color: var(--orange); }

.payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.payment-badges span {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    gap: 20px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
}
.footer-bottom-left { flex: 1 0 auto; }
.footer-bottom-left p { margin: 0; }
.footer-bottom-links { display: flex; align-items: center; gap: 8px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.footer-links { display: flex; gap: 12px 24px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-legal-link { color: rgba(255,255,255,0.5); font-size: 0.82rem; padding: 0 6px; transition: color 0.2s; white-space: nowrap; }
.footer-legal-link:hover { color: #fff; }
.footer-sep { color: rgba(255,255,255,0.2); font-size: 0.9rem; user-select: none; margin: 0 2px; }
.footer-admin-dot {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 6px 8px;
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.2s;
    cursor: pointer;
}
.footer-admin-dot:hover {
    background: var(--orange);
    color: white;
}

/* ============================================================
   BOUTIQUE PAGE
============================================================ */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    padding: 48px 0;
}
.shop-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}
.filter-box {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 20px;
}
.filter-box h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--violet-light);
}
.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--grey-dark);
    transition: var(--transition);
}
.filter-item:hover { color: var(--violet); }
.filter-item input[type="checkbox"], .filter-item input[type="radio"] { accent-color: var(--violet); }
.filter-count {
    margin-left: auto;
    background: var(--grey-light);
    color: var(--grey);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.75rem;
}
.price-range-inputs { display: flex; gap: 10px; align-items: center; }
.price-range-inputs input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    font-size: 0.85rem;
    outline: none;
}
.price-range-inputs input:focus { border-color: var(--violet); }

.shop-main {}
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}
.shop-results {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.shop-results strong { color: var(--violet); }
.shop-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}
.shop-sort select {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 0.88rem;
    outline: none;
    background: white;
    cursor: pointer;
}
.shop-sort select:focus { border-color: var(--violet); }

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}
.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--grey-dark);
    transition: var(--transition);
}
.pagination a:hover { border-color: var(--violet); color: var(--violet); }
.pagination .current { background: var(--violet); border-color: var(--violet); color: white; font-weight: 700; }

/* ============================================================
   PRODUCT DETAIL PAGE
============================================================ */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 48px 0;
}
.product-gallery {
    position: sticky;
    top: 120px;
    align-self: start;
}
.gallery-main {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--grey-light);
    aspect-ratio: 1;
    margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumb {
    width: 80px; height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--violet); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-info {}
.product-detail-brand { color: var(--violet); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; margin-bottom: 10px; }
.product-detail-name { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; color: var(--dark); }
.product-detail-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.star { color: #F59E0B; }
.star.empty { color: var(--border); }
.rating-count { font-size: 0.85rem; color: var(--text-muted); }
.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}
.detail-price-main {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--violet);
}
.detail-price-old {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.detail-price-economy {
    background: var(--orange-light);
    color: var(--orange);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
}
.product-detail-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.qty-controls {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
}
.qty-btn {
    padding: 10px 16px;
    background: var(--grey-light);
    color: var(--dark);
    font-size: 1.2rem;
    transition: var(--transition);
}
.qty-btn:hover { background: var(--violet); color: white; }
.qty-input {
    width: 60px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
}
.product-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product-specs {
    margin-top: 32px;
    background: var(--grey-light);
    border-radius: var(--radius);
    padding: 24px;
}
.product-specs h4 { font-size: 1rem; margin-bottom: 16px; color: var(--dark); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.spec-table tr:not(:last-child) td { border-bottom: 1px solid var(--border); }
.spec-table td { padding: 10px 0; }
.spec-table td:first-child { color: var(--text-muted); width: 45%; }
.spec-table td:last-child { font-weight: 500; color: var(--dark); }

/* ============================================================
   PANIER PAGE
============================================================ */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 36px;
    padding: 48px 0;
}
.cart-table { background: white; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; max-width: 100%; }
.cart-table table { width: 100%; border-collapse: collapse; }
.cart-table th {
    background: var(--grey-light);
    padding: 14px 20px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--grey-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cart-table td { padding: 20px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-product-info { display: flex; align-items: center; gap: 16px; }
.cart-product-img {
    width: 70px; height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border);
}
.cart-product-name { font-weight: 600; font-size: 0.95rem; color: var(--dark); margin-bottom: 4px; }
.cart-product-brand { font-size: 0.8rem; color: var(--violet); }
.cart-qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    width: fit-content;
}
.cart-qty-btn { padding: 6px 12px; background: var(--grey-light); transition: var(--transition); }
.cart-qty-btn:hover { background: var(--violet); color: white; }
.cart-qty-val { padding: 6px 14px; font-weight: 600; min-width: 40px; text-align: center; }
.cart-price { font-family: var(--font-display); font-weight: 700; color: var(--violet); font-size: 1rem; }
.cart-remove { color: #EF4444; padding: 6px; transition: var(--transition); }
.cart-remove:hover { transform: scale(1.2); }

.cart-summary {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 28px;
    position: sticky;
    top: 120px;
    align-self: start;
}
.cart-summary h3 { font-size: 1.2rem; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.92rem;
    color: var(--grey-dark);
}
.summary-line.total {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--dark);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid var(--dark);
}
.summary-line.total span:last-child { color: var(--violet); font-size: 1.3rem; }
.promo-code-form {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}
.promo-code-form input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.88rem;
    outline: none;
}
.promo-code-form input:focus { border-color: var(--violet); }
.promo-code-form button { 
    background: var(--violet); color: white; 
    padding: 10px 16px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600;
}

/* ============================================================
   AUTH PAGES
============================================================ */
.auth-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: var(--grey-light);
}
.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}
.auth-header { text-align: center; margin-bottom: 36px; }
.auth-header img { height: 60px; margin: 0 auto 20px; }
.auth-header h2 { font-size: 1.6rem; color: var(--dark); margin-bottom: 8px; }
.auth-header p { color: var(--text-muted); font-size: 0.92rem; }

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--grey-dark);
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: var(--transition);
    outline: none;
    background: white;
}
.form-control:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.form-control.error { border-color: #EF4444; }
.form-error { font-size: 0.8rem; color: #EF4444; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
textarea.form-control { resize: vertical; min-height: 120px; }

.auth-footer { text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--text-muted); }
.auth-footer a { color: var(--violet); font-weight: 600; }

/* ============================================================
   DASHBOARD COMMUN
============================================================ */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}
.dash-sidebar {
    width: 260px;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 200;
    transition: var(--transition);
}
.dash-sidebar.collapsed { width: 72px; }
.dash-logo {
    padding: 28px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}
.dash-logo img { height: 40px; flex-shrink: 0; }
.dash-logo-text {
    color: white;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}
.dash-logo-text small {
    display: block;
    color: var(--orange);
    font-size: 0.72rem;
    font-weight: 500;
}

.dash-menu { flex: 1; padding: 20px 12px; }
.dash-menu-section { margin-bottom: 28px; }
.dash-menu-label {
    color: rgba(255,255,255,0.35);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0 8px;
    margin-bottom: 8px;
}
.dash-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: var(--transition);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
}
.dash-menu a i { width: 20px; font-size: 1.05rem; flex-shrink: 0; }
.dash-menu a:hover { background: rgba(255,255,255,0.08); color: white; }
.dash-menu a.active { background: var(--violet); color: white; }
.dash-menu .badge-count {
    margin-left: auto;
    background: var(--orange);
    color: white;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-user {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}
.dash-avatar {
    width: 38px; height: 38px;
    background: var(--violet);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.dash-user-info { flex: 1; }
.dash-user-name { color: white; font-size: 0.88rem; font-weight: 600; }
.dash-user-role { color: rgba(255,255,255,0.45); font-size: 0.75rem; }
.dash-logout {
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
    padding: 4px;
}
.dash-logout:hover { color: #EF4444; }

/* Dashboard main area */
.dash-main {
    margin-left: 260px;
    flex: 1;
    background: #F8F9FC;
    min-height: 100vh;
    transition: var(--transition);
}
.dash-topbar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.dash-page-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}
.dash-topbar-actions { display: flex; align-items: center; gap: 14px; }
.dash-notif-btn {
    position: relative;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--grey-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--grey-dark);
    transition: var(--transition);
}
.dash-notif-btn:hover { background: var(--violet-light); color: var(--violet); }
.notif-dot {
    position: absolute;
    top: 6px; right: 6px;
    width: 8px; height: 8px;
    background: var(--orange);
    border-radius: 50%;
}

.dash-content { padding: 32px; }

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.stat-icon.violet { background: var(--violet-light); color: var(--violet); }
.stat-icon.orange { background: var(--orange-light); color: var(--orange); }
.stat-icon.green { background: #D1FAE5; color: #10B981; }
.stat-icon.blue { background: #DBEAFE; color: #3B82F6; }
.stat-icon.red { background: #FEE2E2; color: #EF4444; }
.stat-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); }
.stat-change {
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 6px;
}
.stat-change.up { color: #10B981; }
.stat-change.down { color: #EF4444; }

/* Data table */
.data-table-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}
.data-table-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.data-table-header h3 { font-size: 1rem; font-weight: 700; color: var(--dark); }
.data-table-actions { display: flex; gap: 10px; align-items: center; }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
    background: var(--grey-light);
    padding: 12px 20px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--grey-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.data-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    color: var(--grey-dark);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(124,58,237,0.03); }

/* Charts */
.chart-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px;
}
.chart-card h3 { font-size: 1rem; margin-bottom: 20px; color: var(--dark); }

/* Forms in dashboard */
.dash-form-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 28px;
}
.dash-form-card h3 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--dark);
}
.form-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--violet);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 28px 0 16px;
}

/* ============================================================
   PAGE BREADCRUMB
============================================================ */
.breadcrumb-bar {
    background: var(--grey-light);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--violet); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: 0.65rem; }

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #3B1E6E 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(124,58,237,0.2) 0%, transparent 60%);
}
.about-content { max-width: 900px; margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-avatar {
    width: 90px; height: 90px;
    background: var(--violet-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--violet);
}
.team-name { font-size: 1.1rem; color: var(--dark); margin-bottom: 6px; }
.team-role { font-size: 0.85rem; color: var(--orange); font-weight: 600; }
.team-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; }

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; padding: 60px 0; }
.contact-info-card {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    color: white;
    position: relative;
    overflow: hidden;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}
.contact-info-icon {
    width: 48px; height: 48px;
    background: rgba(124,58,237,0.3);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-info-text h4 { color: white; font-size: 0.9rem; margin-bottom: 4px; }
.contact-info-text p, .contact-info-text a { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.contact-form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow);
}

/* ============================================================
   MON COMPTE
============================================================ */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; padding: 48px 0; }
.account-sidebar {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    align-self: start;
}
.account-sidebar-header {
    background: var(--violet);
    padding: 28px;
    text-align: center;
    color: white;
}
.account-avatar {
    width: 70px; height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
}
.account-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 0.9rem;
    color: var(--grey-dark);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.account-sidebar nav a:hover, .account-sidebar nav a.active { 
    color: var(--violet); background: var(--violet-light); 
    padding-left: 28px;
}
.account-sidebar nav a i { width: 20px; color: var(--violet); }

/* ============================================================
   RESPONSIVE
============================================================ */

/* Bouton recherche mobile caché sur desktop */
.search-toggle-btn { display: none; }

/* ── Boutique : bouton filtre + drawer ───────────────────────────────────── */
.btn-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}
.filter-badge {
    background: var(--orange);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.shop-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 600;
    backdrop-filter: blur(2px);
}
.shop-filter-overlay.open { display: block; }
.sidebar-mobile-header { display: none; }
.sort-label { font-size: 0.85rem; color: var(--text-muted); }

@media (max-width: 1280px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .hero { text-align: center; padding: 60px 0; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-detail-layout { grid-template-columns: 1fr; }
    .product-gallery { position: static; }
    .cart-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .account-layout { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .dash-sidebar { transform: translateX(-100%); }
    .dash-sidebar.open { transform: translateX(0); }
    .dash-main { margin-left: 0; }

    /* ── Boutique drawer ── */
    .shop-layout {
        grid-template-columns: 1fr;
        padding: 24px 0;
    }
    .shop-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        height: 100%;
        height: 100dvh;
        width: 300px;
        max-width: 85vw;
        background: white;
        z-index: 700;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        padding: 0;
        box-shadow: 4px 0 30px rgba(0,0,0,0.15);
        animation: slideInLeft 0.25s cubic-bezier(.4,0,.2,1);
    }
    .shop-sidebar.open { display: block; }
    @keyframes slideInLeft {
        from { transform: translateX(-100%); }
        to   { transform: translateX(0); }
    }
    .shop-sidebar .filter-box { border-radius: 0; border-left: none; border-right: none; border-top: none; }
    .shop-sidebar form { padding-bottom: 100px; }
    .sidebar-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        border-bottom: 1px solid var(--border);
        position: sticky;
        top: 0;
        background: white;
        z-index: 1;
    }
    .btn-filter-toggle { display: inline-flex; }
    .sort-label { display: none; }
}

@media (max-width: 768px) {
    /* Topbar & delivery bar */
    .topbar { display: none; }
    .delivery-bar { display: none; }

    /* Header */
    .header-inner { position: relative; gap: 8px; padding: 10px 0; }
    .logo-img { height: 40px; max-width: 110px; object-fit: contain; }
    .search-bar { display: none; }
    .search-bar.mobile-show {
        display: flex;
        position: absolute;
        top: 100%; left: 0; right: 0;
        z-index: 50;
        border-radius: 0;
        border: none;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        max-width: 100%;
    }
    .search-toggle-btn { display: flex; }
    .burger-btn { display: flex; }
    /* Masquer les labels sous les icônes — trop larges sur mobile */
    .btn-icon-label { display: none; }
    .btn-icon { padding: 8px 10px; flex-direction: row; gap: 0; }
    .header-actions { gap: 4px; }

    /* Nav mobile */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--dark);
        box-shadow: 0 8px 30px rgba(0,0,0,0.3);
        z-index: 500;
        max-height: 80vh;
        overflow-y: auto;
    }
    .main-nav.open { display: block; }
    .main-nav > ul { flex-direction: column; padding: 8px; gap: 0; }
    .main-nav > ul > li > a { padding: 14px 16px; font-size: 0.92rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { background: rgba(255,255,255,0.08); border-bottom-color: transparent; }
    .dropdown-menu { position: static; box-shadow: none; border: none; background: rgba(255,255,255,0.05); border-radius: 0; }
    .dropdown-menu a { color: rgba(255,255,255,0.75); padding: 12px 28px; }
    .dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: white; }
    .dropdown-menu a i { color: #FCD34D; }
    .has-dropdown:hover .dropdown-menu { display: none; }
    .has-dropdown.open .dropdown-menu { display: block; }

    /* Grids */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .why-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }

    /* Boutique mobile */
    .shop-layout { padding: 16px 0; gap: 0; }
    .shop-toolbar { gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
    .shop-results { font-size: 0.82rem; }
    .shop-sort select { font-size: 0.82rem; padding: 7px 10px; }
    .product-card .product-desc { display: none; }
    .product-card .product-meta { display: none; }
    .product-info { padding: 10px 12px; }
    .product-name { font-size: 0.85rem; line-height: 1.3; }
    .price-main { font-size: 0.95rem; }
    .product-rating { font-size: 0.78rem; }

    /* Overlay hover désactivé sur mobile (touch) */
    .product-actions-overlay { display: none !important; }
    .product-card:hover .product-img-wrap img { transform: none; }

    /* Toute la carte devient cliquable (couvre l'image) via le lien du nom */
    .product-card { position: relative; }
    .product-name a::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
    }
    /* Le bouton panier reste au-dessus du lien carte */
    .btn-add-cart { position: relative; z-index: 2; }

    /* Prix compact + bouton icône seule */
    .price-main { font-size: 0.85rem; }
    .product-price-row { gap: 8px; align-items: center; }
    .btn-add-cart { padding: 9px 11px; flex-shrink: 0; width: 38px; height: 38px; font-size: 0; }
    .btn-add-cart i { font-size: 0.9rem; }

    /* Pagination mobile */
    .pagination { gap: 4px; margin-top: 32px; }
    .pagination a, .pagination span { width: 36px; height: 36px; font-size: 0.85rem; }

    /* Newsletter */
    .newsletter-form { min-width: unset; width: 100%; }
    .newsletter-inner { flex-direction: column; text-align: center; gap: 24px; }
    .newsletter-section { padding: 40px 0; }

    /* Promo banner */
    .promo-banner { flex-direction: column; text-align: center; padding: 32px 24px; gap: 20px; }
    .promo-banner-text h2 { font-size: 1.5rem; }
    .promo-badge-big { font-size: 1.8rem; padding: 16px 24px; }

    /* Hero */
    .hero { padding: 50px 0; min-height: auto; }
    .hero-text p { font-size: 1rem; }
    .hero-stats { gap: 20px; }
    .hero-stat .num { font-size: 1.5rem; }

    /* Section */
    .section { padding: 56px 0; }
    .section-header { margin-bottom: 36px; }

    /* Cards */
    .cat-card { padding: 24px 14px; }
    .cat-icon { width: 52px; height: 52px; }
    .cat-icon i { font-size: 1.3rem; }
    .why-card { padding: 24px 16px; }

    /* Forms */
    .form-row { grid-template-columns: 1fr; }
    .auth-card { padding: 28px 20px; }

    /* Cart */
    .cart-layout { padding: 24px 0; gap: 24px; }
    .cart-summary { position: static; padding: 20px 16px; }
    .cart-table { overflow-x: auto; }
    .summary-line.total span:last-child { font-size: 1.1rem; }

    /* Checkout */
    .checkout-layout { grid-template-columns: 1fr !important; }

    /* Account */
    .account-layout { padding: 24px 0; gap: 20px; }

    /* Contact */
    .contact-layout { gap: 24px; padding: 40px 0; }
    .contact-info-card { padding: 28px; }
    .contact-form-card { padding: 28px; }

    /* About */
    .about-hero { padding: 50px 0; }

    /* Data tables */
    .data-table-card { overflow-x: auto; }

    /* Dashboard */
    .dash-content { padding: 20px 16px; }
    .dash-topbar { padding: 14px 16px; }
}

@media (max-width: 640px) {
    /* Cart table → cards sur mobile */
    .cart-table { overflow: hidden; max-width: 100%; }
    .cart-table table { display: block; max-width: 100%; }
    .cart-table thead { display: none; }
    .cart-table tbody { display: block; }
    .cart-table tr {
        display: block;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        margin-bottom: 16px;
        padding: 16px;
        background: white;
    }
    .cart-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 4px;
        border-bottom: 1px solid var(--grey-light);
        font-size: 0.88rem;
        min-width: 0;
        max-width: 100%;
    }
    .cart-table td:first-child { border-top: none; }
    .cart-table td:last-child { border-bottom: none; justify-content: flex-end; }
    .cart-product-info { flex-direction: row; gap: 12px; min-width: 0; }
    .cart-product-info > div { min-width: 0; overflow: hidden; }
    .cart-product-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cart-product-img { width: 56px; height: 56px; flex-shrink: 0; }
}

@media (max-width: 480px) {
    /* Grids */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .categories-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stats-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }

    /* Boutique petits écrans */
    .shop-toolbar { gap: 8px; }
    .btn-filter-toggle { padding: 8px 12px; font-size: 0.82rem; }
    .shop-sort select { max-width: 130px; }
    .product-info { padding: 8px 10px 10px; }
    .product-name { font-size: 0.8rem; }
    .price-main { font-size: 0.88rem; }
    .btn-add-cart { width: 32px; height: 32px; font-size: 0; }
    .btn-add-cart i { font-size: 0.82rem; }
    .product-brand { font-size: 0.7rem; }

    /* Hero */
    .hero { padding: 40px 0; }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns .btn { width: 100%; justify-content: center; }

    /* Labels header */
    .btn-icon-label { display: none; }
    .btn-icon { padding: 8px 10px; }

    /* Sections */
    .section { padding: 44px 0; }
    .section-header { margin-bottom: 28px; }

    /* Product card */
    .product-info { padding: 12px; }
    .product-name { font-size: 0.9rem; }
    .price-main { font-size: 1rem; }

    /* Cat card */
    .cat-card { padding: 20px 10px; }
    .cat-card h3 { font-size: 0.85rem; }

    /* Auth */
    .auth-card { padding: 24px 16px; margin: 0 4px; }

    /* Dashboard */
    .dash-content { padding: 12px; }
    .dash-topbar { padding: 12px; }
    .stat-value { font-size: 1.4rem; }

    /* Footer */
    .footer-bottom { flex-direction: column; text-align: center; gap: 12px; align-items: center; }
    .footer-bottom-left { text-align: center; }
    .footer-bottom-left p { white-space: normal; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
    .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
    .footer-legal-link { padding: 0 6px; }
    .main-footer { padding: 50px 0 0; }
}

/* ============================================================
   UTILITAIRES
============================================================ */
.text-center { text-align: center; }
.text-violet { color: var(--violet); }
.text-orange { color: var(--orange); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.w-100 { width: 100%; }
.d-none { display: none; }
.hidden { display: none !important; }

/* Loading spinner */
.spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--violet-light);
    border-top-color: var(--violet);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 150;
    display: none;
}
.overlay.show { display: block; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}
.empty-state i { font-size: 4rem; opacity: 0.3; margin-bottom: 20px; }
.empty-state h3 { font-size: 1.3rem; color: var(--grey-dark); margin-bottom: 10px; }

/* Image placeholder */
.img-placeholder {
    background: linear-gradient(135deg, var(--violet-light) 0%, var(--orange-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--violet);
    font-size: 2rem;
}

/* Sticky sidebar */
@supports (position: sticky) {
    .sticky-top { position: sticky; top: 120px; }
}
