/**
 * TOUTHOME - STYLES UNIFIÉS COMPLETS
 * Version: 2.0.0
 * Ce fichier contient TOUS les styles du site
 * Avec lisibilité maximale des boutons au survol
 */

/* ============================================================
   TABLE DES MATIÈRES
   ============================================================
   1.  BASE & RESET
   2.  TOP BAR
   3.  MENU PRINCIPAL
   4.  HERO BANNER
   5.  FILTER BAR & SIDEBAR
   6.  GRILLE DE PRODUITS
   7.  CARTE PRODUIT
   8.  PRIX ET BADGES
   9.  PAGINATION
   10. VUE RAPIDE (POPUP)
   11. PAGE PRODUIT
   12. PANIER & COMMANDE
   13. TABLEAU DE BORD
   14. PORTEFEUILLE
   15. PIED DE PAGE
   16. BOUTONS - LISIBILITÉ MAXIMALE ⭐
   17. RESPONSIVE
   ============================================================ */

/* ============================================================
   1. BASE & RESET
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1e293b;
    background: #f8fafc;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

a:hover {
    color: #1a3a6a;
}

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

button {
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
}

ul, ol {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* ============================================================
   2. TOP BAR
   ============================================================ */

.bricome-top-bar {
    background: linear-gradient(135deg, #f8faf8 0%, #e8f0e8 100%);
    border-bottom: 2px solid #e0e8e0;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
    width: 100%;
}

.bricome-top-bar-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.top-bar-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 15px;
    width: 100%;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid transparent;
}

.top-bar-item:hover {
    background: #fff;
    border-color: #4a8ad6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 138, 214, 0.15);
}

.top-bar-icon { font-size: 16px; }
.top-bar-text strong { color: #1a3a6a; }
.top-bar-text { color: #555; }

/* ============================================================
   3. MENU PRINCIPAL
   ============================================================ */

.bricome-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border-bottom: 2px solid #e8e8e8;
    transition: all 0.3s ease;
}

.bricome-nav {
    padding: 0 20px;
    height: 70px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.bricome-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}

/* Logo */
.bricome-logo { flex-shrink: 0; }

.bricome-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bricome-logo-link:hover { transform: scale(1.02); }

.bricome-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1a3a6a, #4a8ad6);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(74, 138, 214, 0.25);
    transition: all 0.3s ease;
}

.logo-icon {
    font-size: 26px;
    position: relative;
    z-index: 1;
}

.bricome-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-brand {
    font-size: 24px;
    font-weight: 900;
    color: #1a3a6a;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.bricome-logo-link:hover .logo-brand {
    color: #4a8ad6;
}

.logo-tagline {
    font-size: 10px;
    color: #999;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

/* Menu */
.bricome-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none !important;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.bricome-menu .menu-item {
    position: relative;
    list-style: none !important;
}

.bricome-menu .menu-item::before {
    display: none !important;
}

.bricome-menu .menu-item a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.bricome-menu .menu-item a:hover {
    color: #1a3a6a;
    background: #e8f0f8;
}

.bricome-menu .menu-item a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #4a8ad6;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.bricome-menu .menu-item a:hover::after { width: 60%; }

/* Sous-menu */
.bricome-menu .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    z-index: 100;
    border: 1px solid #e8e8e8;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 1s;
    list-style: none !important;
    margin: 0;
}

.bricome-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s;
}

.bricome-menu .sub-menu .menu-item a {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 0;
    color: #555;
}

.bricome-menu .sub-menu .menu-item a:hover {
    background: #e8f0f8;
    color: #1a3a6a;
}

/* Élément Boutique */
.bricome-menu .menu-item-highlight a {
    background: linear-gradient(135deg, #1a3a6a, #4a8ad6);
    color: #fff !important;
    border-radius: 30px;
    padding: 8px 22px;
    box-shadow: 0 4px 15px rgba(74, 138, 214, 0.25);
}

.bricome-menu .menu-item-highlight a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(74, 138, 214, 0.4);
    background: linear-gradient(135deg, #2a4a7a, #5a9ae6);
    color: #fff !important;
}

.bricome-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 100;
    margin-left: 4px;
}

.bricome-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.bricome-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.bricome-menu-toggle.active span:nth-child(2) { opacity: 0; }
.bricome-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================================
   4. HERO BANNER
   ============================================================ */

.at-hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1a3a6a 50%, #2a4a7a 100%);
    padding: 50px 30px;
    margin-bottom: 0;
    overflow: hidden;
    border-bottom: 4px solid #69d97f;
}

.at-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.at-hero-badge {
    display: inline-block;
    background: rgba(105, 217, 127, 0.15);
    color: #69d97f;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    border: 1px solid rgba(105, 217, 127, 0.2);
}

.at-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    letter-spacing: -1px;
    line-height: 1.1;
}

.at-hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 20px 0;
    line-height: 1.7;
    max-width: 550px;
}

.at-hero-trust {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.at-trust-item {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.at-trust-item:hover {
    background: rgba(105, 217, 127, 0.15);
    color: #ffffff;
    border-color: #69d97f;
}

/* ============================================================
   5. FILTER BAR & SIDEBAR
   ============================================================ */

.at-filter-bar {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e9edf2;
    position: sticky;
    top: 0;
    z-index: 50;
    flex-wrap: wrap;
}

.at-filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f1f5f9;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    color: #1e293b;
}

.at-filter-toggle:hover {
    background: #e2e8f0;
    color: #1a3a6a;
}

.at-filter-search {
    flex: 1;
    display: flex;
    min-width: 160px;
}

.at-filter-search input {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 50px 0 0 50px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    background: #ffffff;
}

.at-filter-search input:focus {
    border-color: #69d97f;
}

.at-filter-search button {
    padding: 10px 20px;
    background: #1a3a6a;
    border: 2px solid #1a3a6a;
    border-left: none;
    border-radius: 0 50px 50px 0;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
}

.at-filter-search button:hover {
    background: #2a4a7a;
}

.at-sort-select {
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 14px;
    background: #ffffff;
    cursor: pointer;
    font-family: inherit;
    outline: none;
    color: #1e293b;
    font-weight: 500;
}

.at-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.at-sidebar {
    background: #ffffff;
    border-right: 1px solid #e9edf2;
    padding: 24px 20px 40px;
    position: sticky;
    top: 30px;
    max-height: calc(100vh - 30px);
    overflow-y: auto;
    align-self: start;
}

.at-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 20px;
}

.at-sidebar-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.at-sidebar-close {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: #94a3b8;
    cursor: pointer;
}

.at-filter-group {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

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

.at-filter-group h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.at-cat-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.at-cat-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.at-cat-link:hover {
    background: #f1f5f9;
    color: #1a3a6a;
    border-left-color: #1a3a6a;
}

.at-cat-link.active {
    background: #f1f5f9;
    color: #1a3a6a;
    font-weight: 600;
    border-left-color: #1a3a6a;
}

.at-cat-children {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}

.at-cat-child {
    padding: 5px 14px;
    border-radius: 6px;
    text-decoration: none;
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.15s;
    border-left: 2px solid transparent;
}

.at-cat-child:hover {
    background: #f1f5f9;
    color: #1a3a6a;
    border-left-color: #1a3a6a;
}

.at-cat-child.active {
    background: #f1f5f9;
    color: #1a3a6a;
    font-weight: 500;
    border-left-color: #1a3a6a;
}

/* ============================================================
   6. GRILLE DE PRODUITS
   ============================================================ */

.at-products {
    padding: 0 0 40px 30px;
    width: 100%;
}

.at-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.at-products-grid.list-view {
    grid-template-columns: 1fr;
    gap: 16px;
}

.at-products-grid.list-view .at-product {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 16px;
    border-radius: 12px;
}

.at-products-grid.list-view .at-product-image {
    width: 160px;
    min-width: 160px;
    aspect-ratio: 1/1;
    border-radius: 10px;
}

.at-products-grid.list-view .at-product-info {
    padding: 0;
}

/* ============================================================
   7. CARTE PRODUIT
   ============================================================ */

.at-product {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e9edf2;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    position: relative;
}

.at-product:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.08);
    border-color: #1a3a6a;
}

.at-product-image {
    position: relative;
    aspect-ratio: 1/1;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.at-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.at-product:hover .at-product-image img {
    transform: scale(1.05);
}

.at-badge {
    position: absolute;
    top: 12px;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.at-badge-sale {
    right: 12px;
    background: #e74c3c;
    color: #ffffff;
}

.at-badge-out {
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
}

.at-product-info {
    padding: 16px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.at-product-cats {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.at-product-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 40px;
}

.at-product-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.at-product-title a:hover {
    color: #1a3a6a;
}

.at-product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.at-star {
    font-size: 14px;
    color: #e2e8f0;
}

.at-star.filled {
    color: #f59e0b;
}

.at-reviews {
    font-size: 12px;
    color: #94a3b8;
    margin-left: 4px;
}

/* ============================================================
   8. PRIX ET BADGES
   ============================================================ */

.at-product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 4px 0 2px;
}

.at-price-sale {
    color: #e74c3c !important;
    font-size: 20px;
    font-weight: 800;
}

.at-price-regular {
    font-size: 14px;
    color: #94a3b8 !important;
    text-decoration: line-through;
    font-weight: 500;
}

.at-price-current {
    color: #1a3a6a !important;
    font-size: 20px;
    font-weight: 800;
}

.at-product-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #22c55e;
    font-weight: 500;
    margin-top: 2px;
}

.at-stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================================
   9. PAGINATION
   ============================================================ */

.at-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 20px 0 12px;
    border-top: 2px solid #e9edf2;
    flex-wrap: wrap;
}

.at-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 2px solid transparent;
    background: transparent;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.at-pagination .page-numbers:hover {
    border-color: #1a3a6a;
    background: #f1f5f9;
    color: #1a3a6a;
}

.at-pagination .page-numbers.current {
    border-color: #1a3a6a;
    background: #1a3a6a;
    color: #ffffff;
    cursor: default;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(26, 58, 106, 0.2);
}

.at-pagination .page-numbers.dots {
    display: none !important;
}

.at-pagination .page-numbers.prev,
.at-pagination .page-numbers.next {
    min-width: 90px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 600;
}

.at-pagination-info {
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    margin-top: 4px;
}

/* ============================================================
   10. VUE RAPIDE (POPUP)
   ============================================================ */

.at-quickview-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.at-quickview-overlay.active {
    display: flex;
    opacity: 1;
}

.at-quickview-modal {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    animation: atQuickViewIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes atQuickViewIn {
    from { opacity: 0; transform: scale(0.92) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.at-quickview-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 22px;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.at-quickview-close:hover {
    background: #e74c3c;
    color: #ffffff;
    transform: rotate(90deg);
}

.at-quickview-content {
    padding: 30px 35px 35px;
    min-height: 300px;
}

.at-quickview-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
    color: #94a3b8;
    font-size: 15px;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f1f5f9;
    border-top-color: #1a3a6a;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.at-qv-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.at-qv-gallery {
    position: sticky;
    top: 0;
    align-self: start;
}

.at-qv-gallery .at-qv-main-image {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e9edf2;
}

.at-qv-gallery .at-qv-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.at-qv-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.at-qv-thumbs .at-qv-thumb {
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.at-qv-thumbs .at-qv-thumb.active {
    border-color: #1a3a6a;
    box-shadow: 0 0 0 3px rgba(26, 58, 106, 0.15);
}

.at-qv-thumbs .at-qv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.at-qv-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.at-qv-info .at-qv-cats {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.at-qv-info .at-qv-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.at-qv-info .at-qv-title a {
    color: inherit;
    text-decoration: none;
}

.at-qv-info .at-qv-title a:hover {
    color: #1a3a6a;
}

.at-qv-info .at-qv-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.at-qv-info .at-qv-rating .at-stars {
    display: flex;
    gap: 2px;
    font-size: 16px;
}

.at-qv-info .at-qv-rating .at-stars .star-filled {
    color: #f59e0b;
}

.at-qv-info .at-qv-rating .at-stars .star-empty {
    color: #e2e8f0;
}

.at-qv-info .at-qv-rating .at-qv-reviews {
    font-size: 14px;
    color: #64748b;
}

.at-qv-info .at-qv-price {
    font-size: 28px;
    font-weight: 800;
    color: #1a3a6a;
    padding: 8px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.at-qv-info .at-qv-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

.at-qv-info .at-qv-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.at-qv-info .at-qv-actions .qv-qty {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.at-qv-info .at-qv-actions .qv-qty button {
    width: 40px;
    height: 40px;
    border: none;
    background: #f8fafc;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
    color: #1e293b;
}

.at-qv-info .at-qv-actions .qv-qty button:hover {
    background: #e2e8f0;
}

.at-qv-info .at-qv-actions .qv-qty input {
    width: 50px;
    height: 40px;
    border: none;
    border-left: 2px solid #e2e8f0;
    border-right: 2px solid #e2e8f0;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    font-family: inherit;
}

.at-qv-info .at-qv-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-size: 13px;
    color: #94a3b8;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.at-qv-info .at-qv-meta .qv-stock-in {
    color: #22c55e;
    font-weight: 600;
}

.at-qv-info .at-qv-meta .qv-stock-out {
    color: #e74c3c;
    font-weight: 600;
}

.at-qv-info .at-qv-view-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a3a6a;
    font-weight: 600;
    text-decoration: none;
    margin-top: 4px;
    transition: gap 0.3s;
}

.at-qv-info .at-qv-view-link:hover {
    gap: 12px;
}

/* ============================================================
   11. PAGE PRODUIT
   ============================================================ */

.product-page-nopopup {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px 50px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a1a;
    box-sizing: border-box;
    width: 100%;
}

.breadcrumb-nopopup {
    font-size: 13px;
    color: #999;
    margin-bottom: 25px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.breadcrumb-nopopup a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-nopopup a:hover {
    color: #69d97f;
}

.product-grid-nopopup {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: start;
}

.gallery-nopopup {
    position: sticky;
    top: 30px;
    align-self: start;
}

.gallery-main-nopopup {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f8faf8;
    border: 1px solid #e8e8e8;
    aspect-ratio: 1/1;
    max-height: 600px;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.gallery-slide.active {
    opacity: 1;
    position: relative;
}

.main-image-nopopup {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    box-sizing: border-box;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s ease;
    color: #1a1a1a;
}

.gallery-nav:hover {
    background: #69d97f;
    color: #fff;
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.gallery-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.gallery-dot.active {
    background: #69d97f;
    border-color: #69d97f;
    transform: scale(1.2);
}

.gallery-thumbs-nopopup {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.thumb-nopopup {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    aspect-ratio: 1/1;
    background: #f5f5f5;
}

.thumb-nopopup.active {
    border-color: #69d97f;
    box-shadow: 0 0 0 4px rgba(105, 217, 127, 0.15);
}

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

.info-nopopup {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 30px;
    align-self: start;
}

.title-nopopup {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.price-nopopup {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.price-display-nopopup {
    font-size: 38px !important;
    font-weight: 900 !important;
    color: #1a1a1a;
    line-height: 1;
}

.price-display-nopopup .amount {
    font-size: 38px !important;
    font-weight: 900 !important;
    color: #2D4A32;
}

.actions-nopopup {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin: 6px 0;
}

.quantity-nopopup {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
}

.qty-btn-nopopup {
    width: 44px;
    height: 44px;
    border: none;
    background: #f8faf8;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    color: #1a1a1a;
}

.qty-btn-nopopup:hover {
    background: #e8f5e8;
    color: #69d97f;
}

.qty-input-nopopup {
    width: 56px;
    height: 44px;
    border: none;
    border-left: 2px solid #e0e0e0;
    border-right: 2px solid #e0e0e0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    background: #fff;
    -moz-appearance: textfield;
}

/* ============================================================
   12. PANIER & COMMANDE
   ============================================================ */

.custom-cart-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 50px;
    font-family: 'Source Sans 3', sans-serif;
}

.cart-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: #69d97f;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}

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

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.cart-summary {
    background: #f8faf8;
    border-radius: 12px;
    padding: 25px;
    margin-top: 25px;
    max-width: 400px;
    margin-left: auto;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
    color: #4a4a4a;
}

.cart-summary-row.total {
    border-top: 2px solid #69d97f;
    padding-top: 15px;
    margin-top: 8px;
    font-weight: 800;
    font-size: 18px;
    color: #1a1a1a;
}

/* ============================================================
   13. TABLEAU DE BORD
   ============================================================ */

.custom-dashboard-complete {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a1a;
    box-sizing: border-box;
    width: 100%;
}

.dashboard-header-complete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2D4A32 100%);
    border-radius: 16px;
    margin-bottom: 28px;
}

.user-avatar-complete {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #69d97f;
    flex-shrink: 0;
    background: #2D4A32;
    box-shadow: 0 4px 20px rgba(105, 217, 127, 0.2);
}

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

.user-greeting-complete {
    color: #fff;
}

.greeting-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin-bottom: 2px;
}

.user-name-complete {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 4px 0;
    letter-spacing: -0.5px;
    color: #fff;
}

.dashboard-stats-complete {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.stat-card-complete {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.stat-card-complete:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border-color: #69d97f;
}

.stat-number-complete {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
}

.stat-label-complete {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.dashboard-nav-complete {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: #f5f5f5;
    border-radius: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.nav-tab-complete {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: none;
    border-radius: 10px;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    white-space: nowrap;
    position: relative;
}

.nav-tab-complete.active {
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.nav-tab-complete .nav-badge {
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 12px;
    line-height: 1.5;
}

/* ============================================================
   14. PORTEFEUILLE
   ============================================================ */

.wallet-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.wallet-header h1 {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
}

.wallet-balance {
    background: linear-gradient(135deg, #1a1a1a, #2D4A32);
    padding: 18px 30px;
    border-radius: 16px;
    text-align: center;
    min-width: 180px;
}

.wallet-balance .label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.wallet-balance .amount {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}

.wallet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.wallet-recharge,
.wallet-history {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #f0f0f0;
}

.wallet-recharge h2,
.wallet-history h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* ============================================================
   15. PIED DE PAGE
   ============================================================ */

.custom-footer {
    background: #0f0f0f;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 60px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.footer-container {
    max-width: 100%;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo-brand {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-logo-brand:hover {
    color: #4a8ad6;
}

.footer-logo-tagline {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 2px;
}

.footer-widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: 0.3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links li a:hover {
    color: #4a8ad6;
    transform: translateX(4px);
}

.footer-trust {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    border-color: rgba(74, 138, 214, 0.15);
}

.trust-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.trust-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.trust-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.footer-site-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.footer-site-link:hover {
    color: #4a8ad6;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #4a8ad6;
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.payment-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
    white-space: nowrap;
}

.footerSecureBox__list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
}

.footerSecureBox__list li {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    height: 32px;
    min-width: 38px;
}

.footerSecureBox__list li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(74, 138, 214, 0.15);
}

.col-footer-main-info__img {
    height: 20px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ============================================================
   16. BOUTONS - LISIBILITÉ MAXIMALE ⭐
   ============================================================ */

/* --- 16.1 TOUS LES BOUTONS - BASE --- */
button,
.button,
.btn,
input[type="submit"],
input[type="button"],
.wp-block-button__link,
.woocommerce-button,
.woocommerce-Button,
.wc-forward,
.wc-backward,
.add_to_cart_button,
.single_add_to_cart_button,
.product_type_simple,
.product_type_variable,
.woocommerce-cart .button,
.woocommerce-checkout .button,
.elementor-button,
.elementor-btn,
a.button,
a.btn,
.at-add-cart,
.at-quick-view-btn,
.quick-view-btn,
.at-price-apply,
.price-apply-btn,
.at-filter-toggle,
.at-btn-reset,
.reset-btn,
.cart-dropdown-btn,
.product-card-view,
.view-product-btn,
.at-btn-apply,
.at-btn-primary,
.at-checkout-btn,
.btn-checkout,
.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.woocommerce-EditAccountForm .button,
.woocommerce-address-fields .button,
.qv-add-cart,
.quickview-add-cart,
.at-quickview-close,
.quickview-close,
.qty-btn,
.qty-btn-nopopup,
.qv-qty button,
.quantity .minus,
.quantity .plus,
.remove-item,
.cart-dropdown-remove,
.wishlist-remove-complete,
.woocommerce-widget-layered-nav .button,
.woocommerce-widget-layered-nav .reset-btn,
.woocommerce-price-filter .button,
.wd-button,
.wd-btn,
.wd-tools-element,
.wd-toolbar-item {
    /* TEXTE - TOUJOURS LISIBLE ! */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
    line-height: 1.4 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    
    /* BOUTON */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 24px !important;
    min-height: 46px !important;
    min-width: 110px !important;
    border-radius: 10px !important;
    border: 2px solid transparent !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    
    /* OMBRE ET RENDERING */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

/* --- 16.2 SURVOL - TOUS LES BOUTONS --- */
button:hover,
.button:hover,
.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.wp-block-button__link:hover,
.woocommerce-button:hover,
.woocommerce-Button:hover,
.wc-forward:hover,
.wc-backward:hover,
.add_to_cart_button:hover,
.single_add_to_cart_button:hover,
.product_type_simple:hover,
.product_type_variable:hover,
.woocommerce-cart .button:hover,
.woocommerce-checkout .button:hover,
.elementor-button:hover,
.elementor-btn:hover,
a.button:hover,
a.btn:hover,
.at-add-cart:hover,
.at-price-apply:hover,
.at-btn-apply:hover,
.at-btn-primary:hover,
.at-checkout-btn:hover,
.btn-checkout:hover,
.qv-add-cart:hover,
.quickview-add-cart:hover {
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2) !important;
    color: #ffffff !important;
}

/* --- 16.3 BOUTON APERÇU RAPIDE --- */
.at-quick-view-btn,
.quick-view-btn {
    background: rgba(0, 0, 0, 0.85) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 30px !important;
    padding: 10px 20px !important;
    min-height: 44px !important;
    min-width: 130px !important;
    font-size: 13px !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3) !important;
    position: absolute !important;
    bottom: -60px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 5 !important;
}

.at-quick-view-btn .qv-text,
.quick-view-btn .qv-text {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.at-quick-view-btn .qv-icon,
.quick-view-btn .qv-icon {
    color: #ffffff !important;
    font-size: 16px !important;
}

.at-quick-view-btn:hover,
.quick-view-btn:hover {
    background: linear-gradient(135deg, #1a3a6a 0%, #4a8ad6 100%) !important;
    transform: translateX(-50%) translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 40px rgba(26, 58, 106, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.at-product:hover .at-quick-view-btn {
    bottom: 20px !important;
}

/* --- 16.4 BOUTON APPLIQUER (PRIX) --- */
.at-price-apply,
.price-apply-btn,
.woocommerce-price-filter .button {
    background: linear-gradient(135deg, #1a3a6a 0%, #2a4a7a 100%) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    padding: 12px 24px !important;
    min-height: 48px !important;
    min-width: 120px !important;
    border-radius: 10px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 4px 20px rgba(26, 58, 106, 0.25) !important;
}

.at-price-apply:hover,
.price-apply-btn:hover,
.woocommerce-price-filter .button:hover {
    background: linear-gradient(135deg, #2a4a7a 0%, #4a8ad6 100%) !important;
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 8px 40px rgba(26, 58, 106, 0.4) !important;
    color: #ffffff !important;
}

.at-price-apply span,
.price-apply-btn span {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* --- 16.5 BOUTON AJOUTER AU PANIER --- */
.at-add-cart,
.add_to_cart_button,
.single_add_to_cart_button,
.product_type_simple {
    background: linear-gradient(135deg, #1a3a6a 0%, #2a4a7a 100%) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    padding: 12px 24px !important;
    min-height: 48px !important;
    min-width: 140px !important;
    border-radius: 12px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 4px 20px rgba(26, 58, 106, 0.25) !important;
}

.at-add-cart .btn-text,
.add_to_cart_button .btn-text {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.at-add-cart:hover,
.add_to_cart_button:hover,
.single_add_to_cart_button:hover,
.product_type_simple:hover {
    background: linear-gradient(135deg, #2a4a7a 0%, #4a8ad6 100%) !important;
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 8px 40px rgba(26, 58, 106, 0.4) !important;
    color: #ffffff !important;
}

.at-add-cart:hover .btn-text {
    color: #ffffff !important;
}

/* --- 16.6 BOUTON FILTRER --- */
.at-filter-toggle,
.filter-toggle {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    min-height: 44px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.at-filter-toggle span,
.filter-toggle span {
    color: #1e293b !important;
    font-weight: 600 !important;
}

.at-filter-toggle:hover,
.filter-toggle:hover {
    background: #ffffff !important;
    color: #1a3a6a !important;
    border-color: #1a3a6a !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
}

.at-filter-toggle:hover span {
    color: #1a3a6a !important;
}

/* --- 16.7 BOUTON RÉINITIALISER --- */
.at-btn-reset,
.reset-btn {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    min-height: 44px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.at-btn-reset span,
.reset-btn span {
    color: #1e293b !important;
    font-weight: 600 !important;
}

.at-btn-reset:hover,
.reset-btn:hover {
    background: #ffffff !important;
    color: #1a3a6a !important;
    border-color: #1a3a6a !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
}

.at-btn-reset:hover span {
    color: #1a3a6a !important;
}

/* --- 16.8 BOUTON APPLIQUER (SIDEBAR) --- */
.at-btn-apply {
    background: linear-gradient(135deg, #1a3a6a 0%, #2a4a7a 100%) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    min-height: 44px !important;
    border-radius: 10px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 4px 20px rgba(26, 58, 106, 0.25) !important;
}

.at-btn-apply:hover {
    background: linear-gradient(135deg, #2a4a7a 0%, #4a8ad6 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 40px rgba(26, 58, 106, 0.4) !important;
    color: #ffffff !important;
}

/* --- 16.9 BOUTON FERMER POPUP --- */
.at-quickview-close,
.quickview-close {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #1e293b !important;
    font-size: 22px !important;
    font-weight: 300 !important;
    padding: 0 !important;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    min-width: 44px !important;
    border-radius: 50% !important;
    border: 2px solid transparent !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.at-quickview-close:hover,
.quickview-close:hover {
    background: #e74c3c !important;
    color: #ffffff !important;
    transform: rotate(90deg) scale(1.1) !important;
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.3) !important;
}

/* --- 16.10 BOUTONS QUANTITÉ (+/-) --- */
.qty-btn,
.qty-btn-nopopup,
.qv-qty button,
.quantity .minus,
.quantity .plus {
    background: #f8faf8 !important;
    color: #1e293b !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 0 !important;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    min-width: 44px !important;
    border-radius: 8px !important;
    border: 2px solid #e2e8f0 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.qty-btn:hover,
.qty-btn-nopopup:hover,
.qv-qty button:hover,
.quantity .minus:hover,
.quantity .plus:hover {
    background: #69d97f !important;
    color: #ffffff !important;
    border-color: #69d97f !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 30px rgba(105, 217, 127, 0.3) !important;
}

/* --- 16.11 BOUTONS SUPPRESSION (ROUGE) --- */
.remove-item,
.cart-dropdown-remove,
.wishlist-remove-complete {
    background: transparent !important;
    color: #94a3b8 !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 4px 8px !important;
    min-height: 30px !important;
    min-width: 30px !important;
    text-shadow: none !important;
    box-shadow: none !important;
    border-radius: 4px !important;
}

.remove-item:hover,
.cart-dropdown-remove:hover,
.wishlist-remove-complete:hover {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.15) !important;
}

/* --- 16.12 BOUTONS SUCCÈS (VERT) --- */
.btn-checkout,
.at-checkout-btn,
.woocommerce-Button {
    background: linear-gradient(135deg, #69d97f 0%, #3B8C4A 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 20px rgba(105, 217, 127, 0.3) !important;
}

.btn-checkout:hover,
.at-checkout-btn:hover,
.woocommerce-Button:hover {
    background: linear-gradient(135deg, #4a8a56 0%, #2d6a3a 100%) !important;
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 8px 35px rgba(105, 217, 127, 0.45) !important;
    color: #ffffff !important;
}

/* --- 16.13 BOUTON PRIMAIRE GÉNÉRIQUE --- */
.at-btn-primary {
    background: linear-gradient(135deg, #1a3a6a 0%, #2a4a7a 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 4px 20px rgba(26, 58, 106, 0.25) !important;
}

.at-btn-primary:hover {
    background: linear-gradient(135deg, #2a4a7a 0%, #4a8ad6 100%) !important;
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 8px 40px rgba(26, 58, 106, 0.4) !important;
    color: #ffffff !important;
}

/* --- 16.14 CORRECTION WOODMART --- */
.wd-button,
.wd-btn,
.wd-tools-element,
.wd-toolbar-item {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
}

.wd-button:hover,
.wd-btn:hover,
.wd-tools-element:hover,
.wd-toolbar-item:hover {
    transform: translateY(-2px) !important;
    text-decoration: none !important;
}

/* ============================================================
   17. RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
    .bricome-menu .menu-item a { font-size: 13px; padding: 6px 12px; }
    .bricome-logo-icon { width: 40px; height: 40px; }
    .logo-icon { font-size: 22px; }
    .logo-brand { font-size: 20px; }
}

@media (max-width: 992px) {
    .bricome-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        border-top: 2px solid #4a8ad6;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
        z-index: 100;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .bricome-menu.open { display: flex; }
    .bricome-menu .menu-item { width: 100%; }
    .bricome-menu .menu-item a {
        padding: 12px 16px;
        width: 100%;
        justify-content: center;
        font-size: 14px;
    }
    .bricome-menu .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: #f8faf8;
        padding: 4px 0;
        border-radius: 8px;
        margin-top: 4px;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .bricome-menu-toggle { display: flex; }
    .bricome-nav { height: 60px; padding: 0 16px; }
    
    .at-layout { grid-template-columns: 1fr; padding: 0 12px; }
    .at-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100%;
        max-height: 100vh;
        z-index: 9999;
        border-radius: 0;
        padding: 24px 20px;
        transition: right 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
        overflow-y: auto;
        background: #ffffff;
        border-right: none;
    }
    .at-sidebar.open { right: 0; }
    .at-sidebar-close { display: block; }
    .at-filter-bar { display: flex; }
    .at-products { padding: 20px 0 30px; }
    .at-products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
    .at-hero { padding: 40px 24px; }
    .at-hero-title { font-size: 32px; }
    
    .product-grid-nopopup { grid-template-columns: 1fr; gap: 30px; }
    .gallery-nopopup { position: relative !important; top: 0 !important; }
    .info-nopopup { position: relative !important; top: 0 !important; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .wallet-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .bricome-nav { padding: 0 12px; height: 56px; }
    .bricome-logo-icon { width: 36px; height: 36px; }
    .logo-icon { font-size: 18px; }
    .logo-brand { font-size: 17px; }
    .logo-tagline { display: none; }
    
    .at-hero { padding: 30px 20px; }
    .at-hero-title { font-size: 26px; }
    .at-products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .at-product-title { font-size: 14px; max-height: 36px; }
    .at-add-cart { font-size: 12px; padding: 8px; min-height: 38px; }
    
    /* Boutons responsive */
    button, .button, .btn, input[type="submit"], input[type="button"] {
        font-size: 13px !important;
        min-height: 40px !important;
        padding: 8px 18px !important;
    }
    
    .at-quick-view-btn {
        font-size: 11px !important;
        padding: 6px 14px !important;
        min-height: 36px !important;
        min-width: 100px !important;
    }
    .at-quick-view-btn .qv-text { font-size: 11px !important; }
    
    .at-price-apply {
        font-size: 13px !important;
        padding: 10px 18px !important;
        min-height: 40px !important;
        min-width: 100px !important;
    }
    
    .at-add-cart {
        font-size: 13px !important;
        padding: 10px 18px !important;
        min-height: 42px !important;
        min-width: 120px !important;
    }
    .at-add-cart .btn-text { font-size: 13px !important; }
    
    .at-filter-toggle {
        font-size: 13px !important;
        padding: 8px 16px !important;
        min-height: 38px !important;
        min-width: 80px !important;
    }
    
    .at-btn-reset {
        font-size: 12px !important;
        padding: 8px 16px !important;
        min-height: 38px !important;
        min-width: 80px !important;
    }
    
    .custom-dashboard-complete { padding: 20px 16px 40px; }
    .dashboard-header-complete { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
    .user-avatar-complete { width: 64px; height: 64px; }
    .user-name-complete { font-size: 24px; }
    .dashboard-stats-complete { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
    .dashboard-nav-complete { flex-wrap: nowrap; overflow-x: auto; }
    .nav-tab-complete { padding: 8px 16px; font-size: 13px; white-space: nowrap; }
    
    .wallet-header { flex-direction: column; align-items: stretch; }
    .wallet-balance .amount { font-size: 24px; }
    
    .footer-container { padding: 0 20px; }
    .footer-top { padding: 40px 0 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-col { text-align: center; align-items: center; }
    .footer-links { align-items: center; }
    .footer-bottom-grid { flex-direction: column; text-align: center; gap: 12px; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
    .bricome-nav { padding: 0 8px; height: 50px; }
    .bricome-logo-link { gap: 8px; }
    .bricome-logo-icon { width: 32px; height: 32px; border-radius: 8px; }
    .logo-icon { font-size: 16px; }
    .logo-brand { font-size: 14px; }
    
    .at-hero { padding: 20px 16px; }
    .at-hero-title { font-size: 22px; }
    .at-products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .at-product-info { padding: 12px 12px 14px; }
    .at-product-title { font-size: 13px; max-height: 32px; }
    .at-add-cart { font-size: 11px; padding: 7px; min-height: 34px; }
    .at-filter-bar { padding: 6px 8px; gap: 4px; flex-wrap: wrap; }
    .at-filter-toggle { font-size: 11px; padding: 6px 10px; min-height: 34px; min-width: 60px; }
    
    /* Boutons responsive mobile */
    button, .button, .btn, input[type="submit"], input[type="button"] {
        font-size: 12px !important;
        min-height: 36px !important;
        padding: 6px 14px !important;
        border-radius: 8px !important;
    }
    
    .at-quick-view-btn {
        font-size: 10px !important;
        padding: 4px 10px !important;
        min-height: 30px !important;
        min-width: 70px !important;
        gap: 4px !important;
        border-radius: 20px !important;
    }
    .at-quick-view-btn .qv-text { font-size: 10px !important; }
    .at-quick-view-btn .qv-icon { font-size: 12px !important; }
    
    .at-price-apply {
        font-size: 12px !important;
        padding: 8px 14px !important;
        min-height: 36px !important;
        min-width: 80px !important;
        border-radius: 8px !important;
    }
    
    .at-add-cart {
        font-size: 12px !important;
        padding: 8px 14px !important;
        min-height: 36px !important;
        min-width: 100px !important;
        border-radius: 8px !important;
    }
    .at-add-cart .btn-text { font-size: 12px !important; }
    .at-add-cart .btn-icon { font-size: 14px !important; }
    
    .at-filter-toggle {
        font-size: 11px !important;
        padding: 6px 12px !important;
        min-height: 34px !important;
        min-width: 60px !important;
    }
    
    .at-btn-reset {
        font-size: 11px !important;
        padding: 6px 12px !important;
        min-height: 34px !important;
        min-width: 60px !important;
    }
    
    .at-quickview-close {
        width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        min-width: 36px !important;
        font-size: 18px !important;
    }
    
    .qty-btn, .qty-btn-nopopup, .qv-qty button {
        width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        min-width: 36px !important;
        font-size: 16px !important;
    }
    
    .custom-dashboard-complete { padding: 15px 12px 30px; }
    .user-name-complete { font-size: 20px; }
    .user-avatar-complete { width: 54px; height: 54px; }
    .dashboard-stats-complete { grid-template-columns: 1fr 1fr; }
    
    .title-nopopup { font-size: 20px; }
    .price-display-nopopup { font-size: 24px !important; }
    .price-display-nopopup .amount { font-size: 24px !important; }
    
    .footer-container { padding: 0 12px; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .footer-logo-brand { font-size: 20px; }
    .footerSecureBox__list li { height: 24px; padding: 2px 6px; min-width: 28px; }
    .col-footer-main-info__img { height: 14px; }
}

@media (max-width: 380px) {
    .at-products-grid { grid-template-columns: 1fr; }
    .at-hero-title { font-size: 18px; }
    .at-filter-bar { flex-direction: column; align-items: stretch; }
    .at-filter-search { min-width: unset; }
    .at-sort-select { width: 100%; }
}