/* ============================================================
   STYLE.CSS - Smart Swi9a (Version Finale)
   ============================================================ */

/* --- Variables et Reset --- */
:root {
    --bg: #0d0d1a;
    --bg-surface: #16162e;
    --bg-card: #1e1e3a;
    --bg-glass: rgba(13, 13, 26, 0.7);
    --gold: #d4a34b;
    --gold-light: #f0d080;
    --gold-rgb: 212, 163, 75;
    --text: #f0ece4;
    --text-muted: #a09b8f;
    --text-dim: #6b6560;
    --border: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 163, 75, 0.3);
    --success: #2ecc71;
    --danger: #e74c3c;
    --info: #3498db;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 4px 20px rgba(212, 163, 75, 0.25);
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --nav-height: 70px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s ease;
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --fs-xs: 0.7rem;
    --fs-sm: 0.8rem;
    --fs-base: 0.9rem;
    --fs-md: 1.1rem;
    --fs-lg: 1.4rem;
    --fs-xl: 1.6rem;
    --radius-pill: 999px;
    --text-primary: var(--text);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
    font-family: var(--font-primary);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 20px);
    overflow-x: hidden;
}

/* --- Thème clair --- */
.light-mode {
    --bg: #f8f6f2;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --text: #1a1a2e;
    --text-muted: #5c5c5c;
    --text-dim: #999;
    --border: rgba(0, 0, 0, 0.08);
    --border-gold: rgba(180, 130, 40, 0.25);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 4px 16px rgba(180, 130, 40, 0.2);
    --gold: #a57b2e;
    --gold-light: #c99f3e;
}

/* --- Utilitaires --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 1.5rem;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background var(--transition-smooth);
    flex-wrap: wrap;
}

.nav-left .logo {
    font-family: 'Cinzel', serif;
    font-size: var(--fs-lg);
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 0.2rem;
    list-style: none;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--fs-sm);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-pill);
    transition: all var(--transition-fast);
}
.nav-links a:hover { color: var(--gold); background: rgba(var(--gold-rgb), 0.08); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.theme-toggle, .btn-account {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: all var(--transition-fast);
}
.theme-toggle:hover, .btn-account:hover {
    border-color: var(--gold);
    color: var(--gold);
}

#langSelect {
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-pill);
    background: var(--bg-surface);
    color: var(--text);
    border: 1px solid var(--border);
    font-size: var(--fs-sm);
    cursor: pointer;
}

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.7rem; /* modifié de 0.35rem à 0.7rem */
}
.burger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 3px;
    transition: all var(--transition-spring);
}
.burger-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth), opacity var(--transition-smooth);
    opacity: 0;
}
.nav-mobile.open {
    max-height: 500px;
    opacity: 1;
}
.nav-mobile a {
    color: var(--text);
    text-decoration: none;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 0.3rem; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .burger-btn { display: flex; }
    .nav-mobile { display: flex; }
}

/* --- Toast --- */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    color: var(--text);
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-pill);
    font-size: var(--fs-base);
    font-weight: 600;
    z-index: 3000;
    opacity: 0;
    transition: all var(--transition-spring);
    pointer-events: none;
    box-shadow: var(--shadow-lg);
    max-width: 90vw;
    text-align: center;
    backdrop-filter: blur(8px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* --- Bouton Panier Flottant --- */
.cart-btn-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-spring);
    color: var(--gold);
}
.cart-btn-float:hover { transform: scale(1.1); box-shadow: var(--shadow-gold); }

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: var(--fs-xs);
    font-weight: 800;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
}
.cart-badge.show { display: flex; animation: badgePop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes badgePop { 0% { transform: scale(0); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }

@media (max-width: 480px) {
    .cart-btn-float { width: 56px; height: 56px; bottom: 1.5rem; right: 1rem; }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--bg);
    box-shadow: inset 0 0 0 2000px rgba(13, 13, 26, 0.7);
    text-align: center;
}
.hero h1 {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p {
    font-size: var(--fs-lg);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}
.hero-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary {
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--gold), #b8861f);
    color: #0a0a14;
    font-weight: 700;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-spring);
    box-shadow: var(--shadow-gold);
    cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(var(--gold-rgb), 0.5); }
.btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    border: 2px solid var(--border-gold);
    background: transparent;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-spring);
    cursor: pointer;
}
.btn-secondary:hover { background: var(--gold); color: #0a0a14; border-color: var(--gold); transform: translateY(-3px); }

.hero-badge {
    display: inline-block;
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-gold);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-pill);
    font-size: var(--fs-base);
    margin-bottom: 1rem;
}

/* --- Trust Bar --- */
.trust-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 1rem;
    flex-wrap: wrap;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-base);
    color: var(--text-muted);
}

/* --- Banners (Promos et Nouveautés) --- */
.banner-wrapper {
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}
.banner-title {
    font-family: var(--font-secondary);
    font-size: var(--fs-xl);
    color: var(--gold);
    margin-bottom: 1rem;
    text-align: center;
}
.banner-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    padding: 0.5rem;
}
.banner-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0;
    scrollbar-width: none;
}
.banner-track::-webkit-scrollbar { display: none; }
.banner-item {
    flex: 0 0 auto;
    width: 140px;
    scroll-snap-align: start;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition-fast);
}
.banner-item:hover { transform: scale(1.05); }
.banner-item img { width: 100%; height: 120px; object-fit: contain; border-radius: var(--radius-sm); }
.banner-item span { font-size: var(--fs-sm); font-weight: 600; display: block; margin-top: 0.3rem; }

/* --- Produits Grid --- */
.products-section { padding: 3rem 0; }
.section-header { text-align: center; margin-bottom: 2rem; }
.section-header h2 { font-family: var(--font-secondary); font-size: 2.5rem; margin-bottom: 0.5rem; }
.section-header p { color: var(--text-muted); }

.products-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.filter-btn {
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-muted);
    cursor: pointer;
    font-size: var(--fs-sm);
    font-weight: 600;
    transition: all var(--transition-fast);
}
.filter-btn.active { background: var(--gold); color: #0a0a14; border-color: var(--gold); }
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }

.search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.search-bar input {
    width: 100%;
    max-width: 400px;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text);
    font-size: var(--fs-base);
}
.search-bar input:focus { outline: 2px solid var(--gold); }

.sort-select {
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text);
}

/* ---- PRODUCTS GRID (3 colonnes sur grand écran) ---- */
.products-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 480px) and (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}
@media (max-width: 479px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- PRODUCT CARD ---- */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition-smooth);
    cursor: pointer;
}
.product-card:hover { transform: translateY(-5px); border-color: var(--border-gold); box-shadow: var(--shadow-md); }
.product-img {
    position: relative;
    aspect-ratio: 1/1;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 0.5rem; }
.favorite-btn {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--bg-glass);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--fs-md);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}
.favorite-btn.is-fav { color: var(--danger); }
.badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    font-size: var(--fs-xs);
    font-weight: 700;
    background: var(--gold);
    color: #0a0a14;
}

.product-body {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}
.p-name { font-weight: 700; font-size: var(--fs-lg); margin-bottom: 0.2rem; }
.p-stats { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: 0.5rem; }
.p-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border);
}
.p-price { font-size: var(--fs-lg); font-weight: 700; color: var(--gold); }
.p-price small { color: var(--text-dim); font-size: var(--fs-base); text-decoration: line-through; margin-left: 0.5rem; }
.btn-add-to-cart {
    padding: 0.4rem 1rem;
    background: var(--gold);
    color: #0a0a14;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: var(--fs-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.btn-add-to-cart:hover { transform: scale(1.05); box-shadow: var(--shadow-gold); }

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.pagination button {
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.pagination button.active { background: var(--gold); color: #0a0a14; border-color: var(--gold); }
.pagination button:disabled { opacity: 0.4; pointer-events: none; }

/* --- Panier Sidebar --- */
.cart-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}
.cart-sidebar-overlay.open { opacity: 1; pointer-events: auto; }

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 95vw;
    height: 100vh;
    background: var(--bg-card);
    z-index: 2001;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-header h3 { font-size: var(--fs-lg); }
.cart-close {
    background: none;
    border: none;
    font-size: var(--fs-lg);
    cursor: pointer;
    color: var(--text);
    transition: color var(--transition-fast);
}
.cart-close:hover { color: var(--danger); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}
.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.cart-item img {
    width: 80px;
    min-width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; }
.cart-item-price { color: var(--gold); }
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
}
.cart-qty-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: var(--fs-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}
.cart-qty-btn:hover { border-color: var(--gold); }
.cart-remove-btn {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    margin-left: auto;
}
.cart-empty { text-align: center; color: var(--text-muted); padding: 2rem; }

.cart-footer {
    padding: 1.2rem;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}
.cart-footer label {
    display: block;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}
.cart-footer input, .cart-footer textarea {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text);
    margin-bottom: 0.8rem;
}
.cart-footer input:focus, .cart-footer textarea:focus { outline: 2px solid var(--gold); }
.cart-totals {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin: 0.5rem 0;
}
.cart-totals.total { color: var(--gold); font-size: var(--fs-lg); }
.cart-checkout {
    width: 100%;
    padding: 0.8rem;
    background: var(--gold);
    color: #0a0a14;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.cart-checkout:hover { transform: scale(1.02); box-shadow: var(--shadow-gold); }

/* --- City Search --- */
.city-search-wrapper { position: relative; }
.city-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 10;
}
.city-suggestions.active { display: block; }
.city-suggestion-item {
    padding: 0.6rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition-fast);
}
.city-suggestion-item:hover { background: rgba(var(--gold-rgb), 0.1); }
.city-suggestion-item .city-price { color: var(--gold); font-weight: 600; }

/* --- Sections Avantages, Avis, À propos --- */
.section-features, .section-reviews, .section-about {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}
.section-features h2, .section-reviews h2, .section-about h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    text-align: center;
    color: var(--gold);
    margin-bottom: 1rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}
.feature-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition-smooth);
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-md);
}
.feature-card .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.feature-card h4 { color: var(--gold); margin-bottom: 0.3rem; }
.feature-card p { color: var(--text-muted); font-size: var(--fs-sm); }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.review-card {
    background: var(--bg-card);
    padding: 1.2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.review-card .stars { color: var(--gold); }
.review-card .comment { color: var(--text-muted); font-size: var(--fs-sm); margin-top: 0.3rem; }
.review-card .author { font-weight: 600; margin-top: 0.5rem; }

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}
.about-content p { max-width: 600px; color: var(--text-muted); }

/* --- Footer --- */
footer {
    background: var(--bg-surface);
    padding: 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}
footer .logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
footer a {
    color: var(--gold);
    text-decoration: none;
}
footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 0.5rem 0;
    font-size: 0.8rem;
}
footer .footer-links a { color: var(--text-muted); }
footer .footer-links a:hover { color: var(--gold); }

/* --- Blog Grid --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.blog-body {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.blog-title {
    font-family: var(--font-secondary);
    font-size: var(--fs-lg);
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    flex: 1;
}

.blog-read-more {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

/* --- Admin Pagination --- */
.admin-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.btn-pagination {
    padding: 0.4rem 1rem;
    border-radius: 30px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}
.btn-pagination:hover:not(:disabled) {
    background: var(--gold);
    color: #0a0a14;
    border-color: var(--gold);
}
.btn-pagination:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.page-info {
    padding: 0 1rem;
    color: var(--text-muted);
}

/* --- Unification des boutons secondaires --- */
.btn-cancel-order, .btn-confirm-reception, .btn-review, .btn-download-invoice, .btn-add-address, .btn-mark-all-read, .btn-save-profile, .btn-save-address, .dispute-form .btn-submit-dispute, .account-dashboard .logout-btn, .edit-profile-btn {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition-spring);
    font-weight: 600;
}
.btn-cancel-order:hover, .btn-confirm-reception:hover, .btn-review:hover, .btn-download-invoice:hover, .btn-add-address:hover, .btn-mark-all-read:hover, .btn-save-profile:hover, .btn-save-address:hover, .dispute-form .btn-submit-dispute:hover, .account-dashboard .logout-btn:hover, .edit-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
    color: var(--gold);
}