@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;600&display=swap');

:root {
    --primary: #C9A84C;
    --primary-dark: #a8843e;
    --primary-light: #f5e6c8;
    --bg-color: #F7F3ED;
    --bg-card: #FFFFFF;
    --bg-section: #EFE9DF;
    --text-color: #1C1612;
    --text-light: #6B5F52;
    --text-muted: #A0907E;
    --border-color: #DDD5C8;
    --border: #DDD5C8;
    --white: #FFFFFF;
    --danger: #dc3545;
    --success: #28a745;
    --font-title: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', 'Segoe UI', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 4px 12px rgba(180,150,100,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-title {
    font-family: var(--font-title);
    font-weight: 600;
    letter-spacing: 1px;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Ticker Promo */
.promo-ticker {
    background: var(--primary);
    color: var(--dark);
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.ticker-content {
    display: inline-block;
    animation: ticker 30s linear infinite;
}

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

/* Header & Nav */
header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(180,150,100,0.08);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.header-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.action-btn {
    position: relative;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: var(--dark);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: 700;
}

/* Navigation & Mega Menu */
.main-nav {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    max-height: 150px;
    opacity: 1;
    overflow: visible;
}

/* Hide navigation when scrolling down */
.site-header.nav-hidden .main-nav {
    max-height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden !important;
    pointer-events: none;
}


.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-title);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-item:hover .nav-link::after {
    width: 100%;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 90vw;
    max-width: 1200px;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown PLUS */
.dropdown-plus {
    position: fixed !important;
    top: 110px !important;
    right: 20px !important;
    left: auto !important;
    width: 95vw !important;
    max-width: 1100px !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
    background: #fff !important;
    border-top: 3px solid #C9A84C !important;
    border: 1px solid #DDD5C8 !important;
    box-shadow: 0 15px 60px rgba(28,22,18,0.18) !important;
    z-index: 999999 !important;
    display: none !important;
    padding: 30px !important;
    transform: translateX(0) !important;
}

.nav-item:hover .dropdown-plus {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
}

/* Chaque colonne catégorie dans Plus */
.dropdown-plus-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.dropdown-plus-col h4 {
    font-family: 'Playfair Display', serif !important;
    color: #C9A84C !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #EFE9DF !important;
}

.dropdown-plus-col h4 a {
    color: #C9A84C !important;
    text-decoration: none !important;
}

.dropdown-plus-col a {
    font-size: 0.82rem !important;
    color: #6B5F52 !important;
    text-decoration: none !important;
    padding: 4px 0 !important;
    transition: color 0.2s !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.dropdown-plus-col a:hover {
    color: #C9A84C !important;
    padding-left: 4px !important;
}

.dropdown-plus-col .sub-img {
    width: 28px !important;
    height: 28px !important;
    object-fit: cover !important;
    border-radius: 2px !important;
    flex-shrink: 0 !important;
}

.mega-col h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 5px;
}

.mega-links li {
    margin-bottom: 0.5rem;
}

.mega-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
    opacity: 1;
}

.hero-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 20;
}

.hero-arrow {
    width: 50px;
    height: 50px;
    background: rgba(28, 22, 18, 0.4);
    border: 1px solid rgba(221, 213, 200, 0.3);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.hero-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.hero-dot {
    width: 28px;
    height: 3px;
    background: rgba(28, 22, 18, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    width: 44px;
    background: var(--primary);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(28,22,18,0.7), rgba(28,22,18,0.2));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    transform: translateY(50px);
    transition: transform 1s ease-out;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #444;
}

/* Buttons - Luxury Redesign (Hollow / Ghost Style) */
.btn, .btn-primary, .btn-outline {
    display: inline-block !important;
    padding: 14px 34px !important;
    font-family: var(--font-title) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1) !important;
    border: 1.5px solid var(--primary) !important;
    background: transparent !important;
    color: var(--primary) !important;
    border-radius: 4px !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    text-align: center !important;
}

/* Effet de remplissage élégant au survol */
.btn::before, .btn-primary::before, .btn-outline::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: var(--primary) !important;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1) !important;
    z-index: -1 !important;
}

.btn:hover, .btn-primary:hover, .btn-outline:hover {
    color: #1C1612 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(201, 169, 110, 0.25) !important;
    border-color: var(--primary) !important;
}

.btn:hover::before, .btn-primary:hover::before, .btn-outline:hover::before {
    left: 0 !important;
}

/* MICRO-INTERACTIONS BOUTONS */
.btn, button, [class*="btn"] {
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1) !important;
}

.btn:active, button:active {
  transform: scale(0.97) !important;
  opacity: 0.9 !important;
}

.btn:hover, button:hover {
  transform: translateY(-1px) !important;
}

/* Désactivation des anciens effets pour éviter les conflits */
.btn::after, .btn-primary::after { display: none !important; }

/* Background Particles */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #0A0A08;
    letter-spacing: -0.01em;
    margin-top: 10px;
    line-height: 1.1;
}

.section-title .subtitle {
    font-family: 'Jost', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--primary);
    display: block;
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.product-img {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.product-img img, .product-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.product-card:hover .product-img img, .product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--dark);
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-card:hover .product-title a {
    color: var(--primary) !important;
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(5px);
    transition: var(--transition);
    border-top: 1px solid rgba(201,168,76,0.2);
}

.product-card:hover .product-actions {
    bottom: 0;
}

.action-item {
    flex: 1;
    padding: 16px 10px;
    text-align: center;
    border-right: 1px solid rgba(201,168,76,0.12);
    color: #1C1612;
    font-size: 1.05rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-item:last-child { border: none; }

.action-item:hover {
    background: rgba(201,168,76,0.06);
    color: var(--primary);
}

/* Tooltip Luxe pour les boutons d'action */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%; /* Placé au-dessus de l'icône */
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: #0A0A08;
    color: #C9A84C;
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 2px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border: 1px solid rgba(201,168,76,0.3);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    margin-bottom: 10px;
}

/* Petit triangle pour la bulle */
[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(201,168,76,0.3);
    margin-bottom: 0px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

[data-tooltip]:hover::after,
[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Alignement intelligent pour éviter les coupures aux bords */
.action-item:first-child[data-tooltip]::after,
.action-item:first-child[data-tooltip]::before {
    left: 10px;
    transform: translateX(0);
}
.action-item:first-child[data-tooltip]:hover::after,
.action-item:first-child[data-tooltip]:hover::before {
    transform: translateX(0) translateY(-5px);
}
.action-item:first-child[data-tooltip]::before {
    left: 25px; /* Aligné sur l'icône */
}

.action-item:last-child[data-tooltip]::after,
.action-item:last-child[data-tooltip]::before {
    left: auto;
    right: 10px;
    transform: translateX(0);
}
.action-item:last-child[data-tooltip]:hover::after,
.action-item:last-child[data-tooltip]:hover::before {
    transform: translateX(0) translateY(-5px);
}
.action-item:last-child[data-tooltip]::before {
    left: auto;
    right: 25px;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-category {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-weight: 500;
    letter-spacing: 0.015em;
    margin-bottom: 8px;
    line-height: 1.25;
}

.product-title a {
    color: #0A0A08;
    transition: color 0.3s ease;
}

.product-price {
    font-family: 'Jost', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--primary);
}

.old-price {
    text-decoration: line-through;
    color: #666;
    margin-right: 10px;
    font-size: 1rem;
}

/* Footer */
footer {
    background: #1C1612;
    color: #A0907E;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--primary);
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: #888;
}

/* Category Image Styling & Fallback */
.cat-img-container {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    background: linear-gradient(135deg, #EFE9DF 0%, #DDD5C8 100%);
}

.cat-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cat-img-container:hover img {
    transform: scale(1.05);
}

.cat-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    min-height: 150px;
}

@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .mega-menu { width: 95vw; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .container { padding: 0 1rem; }
}

.sidebar-filter { background:#fff; border:1px solid #DDD5C8; padding:24px; }
.sidebar-filter h3 { font-family:'Playfair Display',serif; color:#1C1612; font-size:1rem; margin-bottom:16px; padding-bottom:10px; border-bottom:2px solid #C9A96E; }
.sidebar-cat-link { display:flex; align-items:center; gap:8px; padding:10px 12px; color:#6B5F52; font-size:0.85rem; border-bottom:1px solid #F0EBE3; text-decoration:none; transition:all 0.2s; }
.sidebar-cat-link:hover { color:#C9A96E; padding-left:18px; background:#FAFAF8; }
.sidebar-cat-link.active { color:#C9A96E; font-weight:600; border-left:3px solid #C9A96E; }
.cat-icon-sm { font-size:1.1rem; }
.cat-count { margin-left:auto; background:#F0EBE3; color:#A0907E; font-size:0.72rem; padding:2px 7px; border-radius:10px; }

.mega-arrow {
    position:absolute;
    top:50%; transform:translateY(-50%);
    background:#C9A96E;
    color:#fff;
    border:none;
    width:28px; height:28px;
    border-radius:50%;
    cursor:pointer;
    z-index:10;
    font-size:0.75rem;
    display:flex; align-items:center; justify-content:center;
    transition:background 0.2s;
}
.mega-arrow:hover { background:#a8843e; }
.mega-arrow-left { left:-14px; }
.mega-arrow-right { right:-14px; }

.mega-sub-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 10px;
    transition: var(--transition);
    border: 1px solid transparent;
}
.mega-sub-item:hover {
    background: #fdfaf5;
    border-color: #eee;
}
.mega-sub-img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    background: linear-gradient(135deg, #EFE9DF 0%, #DDD5C8 100%);
}
.mega-sub-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mega-sub-item span {
    font-size: 0.8rem;
    color: var(--text-color);
    font-weight: 500;
}

.dropdown-plus {
    position: fixed !important;
    top: 110px !important;
    right: 10px !important;
    width: 95vw !important;
    max-width: 1100px !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
    background: #fff !important;
    border-top: 3px solid #C9A84C !important;
    border: 1px solid #DDD5C8 !important;
    box-shadow: 0 15px 60px rgba(28,22,18,0.18) !important;
    z-index: 999999 !important;
    display: none !important;
    padding: 30px !important;
}
.nav-item:hover .dropdown-plus {
    display: grid !important;
    grid-template-columns: repeat(4,1fr) !important;
    gap: 25px !important;
}
.dropdown-plus-col h4 a {
    font-family: 'Playfair Display',serif !important;
    color: #C9A96E !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #EFE9DF !important;
}
.dropdown-plus-col a {
    font-size: 0.82rem !important;
    color: #6B5F52 !important;
    text-decoration: none !important;
    padding: 4px 0 !important;
    display: block !important;
    transition: color 0.2s, padding-left 0.2s !important;
}
.dropdown-plus-col a:hover {
    color: #C9A96E !important;
    padding-left: 5px !important;
}

/* Animations globales */
@keyframes fadeInUp {
    from { opacity:0; transform:translateY(30px); }
    to { opacity:1; transform:translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity:0; transform:translateX(-30px); }
    to { opacity:1; transform:translateX(0); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.prod-placeholder, .cat-placeholder {
    background: linear-gradient(90deg, #1a1a16 25%, #2a2a22 50%, #1a1a16 75%) !important;
    background-size: 200% 100% !important;
    animation: shimmer 2s infinite linear !important;
}
@keyframes float {
    0%,100% { transform:translateY(0); }
    50% { transform:translateY(-8px); }
}
@keyframes pulse-gold {
    0%,100% { box-shadow: 0 0 0 0 rgba(201,169,110,0.4); }
    50% { box-shadow: 0 0 0 12px rgba(201,169,110,0); }
}

/* Logo animé */
.logo {
    background: linear-gradient(90deg, #C9A96E, #F5DFA0, #C9A96E, #a8843e);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

/* Header sticky avec effet glassmorphism */
header {
    backdrop-filter: blur(20px) !important;
    background: rgba(255,255,255,0.92) !important;
    border-bottom: 1px solid rgba(201,169,110,0.2) !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

/* Cartes catégories avec hover premium */
.category-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
}
.category-card::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(201,169,110,0.15), transparent) !important;
    opacity: 0 !important;
    transition: opacity 0.3s !important;
    z-index: 1 !important;
}
.category-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 60px rgba(201,169,110,0.25) !important;
    border-color: #C9A96E !important;
}
.category-card:hover::before {
    opacity: 1 !important;
}

/* Cartes produits premium */
.product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
}
.product-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 25px 60px rgba(28,22,18,0.15) !important;
}

/* Boutons avec effet brillant */
.btn, .btn-primary {
    position: relative !important;
    overflow: hidden !important;
}
.btn::after, .btn-primary::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -60% !important;
    width: 40% !important;
    height: 200% !important;
    background: rgba(255,255,255,0.3) !important;
    transform: skewX(-20deg) !important;
    transition: left 0.5s !important;
}
.btn:hover::after, .btn-primary:hover::after {
    left: 130% !important;
}

/* Boutons flottants avec animation pulse */
.float-whatsapp {
    animation: pulse-gold 2s infinite !important;
}

/* Ligne dorée animée sous les titres */
.section-title h2 {
    background: linear-gradient(135deg, #0A0A08 0%, #1C1612 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Playfair Display', serif;
}
.section-title h2 em {
    background: linear-gradient(135deg, #8B6914, #C9A84C, #F5DFA0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}
.section-title::after {
    content: '' !important;
    display: block !important;
    width: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, #C9A96E, #F5DFA0, #C9A96E) !important;
    margin: 12px auto 0 !important;
    animation: expandLine 1s ease forwards 0.5s !important;
}
@keyframes expandLine {
    from { width: 0; }
    to { width: 60px; }
}

/* Mega menu avec animation */
.mega-menu {
    animation: fadeInUp 0.25s ease !important;
}

/* Nav links avec underline doré */
.nav-link {
    position: relative !important;
}
.nav-link::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: #C9A96E !important;
    transition: width 0.3s ease !important;
}
.nav-link:hover::after {
    width: 100% !important;
}

/* Scrollbar personnalisée globale */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #F5F3EE; }
::-webkit-scrollbar-thumb { background: #C9A96E; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #a8843e; }

/* Sélection de texte en or */
::selection {
    background: rgba(201,169,110,0.3);
    color: #1C1612;
}

.search-trigger:hover {
    border-color: #C9A96E !important;
    color: #C9A96E !important;
    background: #fff !important;
}

#searchOverlay {
    animation: none;
}
#searchOverlay.open {
    display: flex !important;
    animation: fadeIn 0.3s ease !important;
}
@keyframes fadeIn {
    from { opacity:0; }
    to { opacity:1; }
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
    transition: background 0.2s;
    color: #fff;
}
.search-result-item:hover {
    background: rgba(201,169,110,0.1);
}
.search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 1px solid rgba(201,169,110,0.3);
}
.search-result-item .result-info .result-name {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 3px;
}
.search-result-item .result-info .result-price {
    font-size: 0.82rem;
    color: #C9A96E;
}
.search-result-item .result-info .result-cat {
    font-size: 0.75rem;
    color: #888;
}

@keyframes shimmerText {
    0% { background-position:0% center; }
    100% { background-position:200% center; }
}
@keyframes loadBar {
    0% { left:-100%; }
    100% { left:100%; }
}
@keyframes floatUp {
    0% { opacity:0; transform:translateY(40px); }
    100% { opacity:1; transform:translateY(0); }
}
@keyframes scaleIn {
    0% { opacity:0; transform:scale(0.9); }
    100% { opacity:1; transform:scale(1); }
}
@keyframes slideInLeft {
    0% { opacity:0; transform:translateX(-50px); }
    100% { opacity:1; transform:translateX(0); }
}
@keyframes slideInRight {
    0% { opacity:0; transform:translateX(50px); }
    100% { opacity:1; transform:translateX(0); }
}

/* Éléments animés au scroll — opacity toujours visible, animation via transform uniquement */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.1s !important; }
.animate-delay-2 { transition-delay: 0.2s !important; }
.animate-delay-3 { transition-delay: 0.3s !important; }
.animate-delay-4 { transition-delay: 0.4s !important; }

/* Curseur personnalisé */
.custom-cursor {
    width: 7px;
    height: 7px;
    background: #C9A96E;
    border: 1.5px solid transparent;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 999999;
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s, transform 0.2s;
    transform: translate(0, 0); /* Center correction done in JS now */
}
.custom-cursor.cursor-hover {
    width: 30px;
    height: 30px;
    background: transparent;
    border-color: #C9A96E;
    transform: translate(-11px, -11px); /* Keep it centered during expansion */
}
@media (max-width: 992px) {
    .custom-cursor { display: none; } /* Hide custom cursor on mobile */
}

/* Texte machine à écrire */
.typewriter::after {
    content: '|';
    animation: blink 0.8s infinite;
    color: #C9A96E;
}
@keyframes blink {
    0%,100% { opacity:1; }
    50% { opacity:0; }
}

/* Tooltips premium */
[title] {
    position: relative;
}
[title]:hover::before {
    content: attr(title);
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%);
    background: #1C1612;
    color: #C9A96E;
    padding: 6px 12px;
    font-size: 0.72rem;
    white-space: nowrap;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(201,169,110,0.3);
    z-index: 99999;
    pointer-events: none;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
}
[title]:hover::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: #1C1612;
    z-index: 99999;
    pointer-events: none;
}

/* Sauf sur les éléments nav qui ont déjà title */
.nav-link[title]:hover::before {
    display: none;
}
.nav-link[title]:hover::after {
    display: none;
}

/* Tooltip sur les boutons flottants */
.float-btn[title]:hover::before {
    bottom: auto;
    top: 50%;
    right: 65px;
    left: auto;
    transform: translateY(-50%);
}
.float-btn[title]:hover::after {
    bottom: auto;
    top: 50%;
    right: 57px;
    left: auto;
    transform: translateY(-50%) rotate(90deg);
    border-bottom-color: #1C1612;
}


.dropdown-plus {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
}
.nav-plus:hover .dropdown-plus {
    display: block !important;
}

/* Le nav doit avoir position relative */
.main-nav .nav-links {
    position: relative !important;
}
.nav-item {
    position: relative !important;
}

/* ═══ TICKER ═══ */
.ticker-wrapper {
    background: #1C1612;
    overflow: hidden;
    height: 36px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 900;
}
.ticker-track {
    display: inline-flex;
    align-items: center;
    animation: tickerMove 40s linear infinite;
    white-space: nowrap;
    backface-visibility: hidden;
    perspective: 1000;
    will-change: transform;
    transform: translate3d(0,0,0);
}
.ticker-item {
    color: #C9A96E;
    font-size: 0.73rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0 25px;
    font-weight: 600;
}
.ticker-item i { margin-right: 7px; }
.ticker-sep {
    color: rgba(201,169,110,0.35);
    font-size: 0.6rem;
}
@keyframes tickerMove {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-25%, 0, 0); }
}

/* ═══ HEADER PRINCIPAL ═══ */
.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1100;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
    backface-visibility: hidden;
    transform: translate3d(0,0,0);
    will-change: transform, box-shadow;
}
.site-header.scrolled {
    box-shadow: 0 4px 40px rgba(201,169,110,0.12);
    background: #fff;
    padding: 5px 0; /* Shrink header on scroll */
}
.site-header.scrolled .site-logo {
    transform: scale(0.9);
    transition: transform 0.4s ease;
}
.site-header.scrolled .header-inner {
    height: 65px; /* Compact height */
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 20px;
    height: 80px; /* Force consistent height for the top bar */
}

/* ═══ LOGO ═══ */
.site-logo {
    text-decoration: none;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}
.logo-prix {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 8px;
    background: linear-gradient(135deg, #8B6914, #C9A96E, #F5DFA0, #C9A96E, #8B6914);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerGold 4s linear infinite;
}
.logo-dor {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 8px;
    background: linear-gradient(135deg, #8B6914, #C9A96E, #F5DFA0, #C9A96E, #8B6914);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerGold 4s linear infinite;
}
.logo-tagline {
    font-size: 0.58rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #A0907E;
    margin-top: 3px;
    font-weight: 400;
}
@keyframes shimmerGold {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
}

/* ═══ RECHERCHE ═══ */
.search-trigger-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F7F3ED;
    border: 1.5px solid #E8E4DC;
    padding: 11px 18px;
    border-radius: 30px;
    cursor: pointer;
    color: #A0907E;
    font-size: 0.85rem;
    transition: all 0.3s;
    width: 260px;
    font-family: inherit;
}
.search-trigger-btn:hover {
    border-color: #C9A96E;
    box-shadow: 0 0 0 4px rgba(201,169,110,0.1);
    color: #1C1612;
}
.search-trigger-btn i { color: #C9A96E; }
.search-trigger-btn .search-btn-action {
    margin-left: auto;
    background: transparent !important;
    color: #C9A96E !important;
    padding: 7px 20px;
    border-radius: 30px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1.5px solid rgba(201, 169, 110, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.search-trigger-btn:hover .search-btn-action {
    background: #C9A96E !important;
    color: #1C1612 !important;
    transform: translateX(3px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
}

/* ═══ ACTIONS ═══ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}
.header-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1C1612;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    transition: all 0.3s;
    border: 1.5px solid transparent;
}
.header-action-btn:hover {
    background: linear-gradient(135deg, #C9A96E, #F5DFA0);
    color: #fff;
    border-color: #C9A96E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,169,110,0.35);
}
.cart-action-btn { position: relative; }
.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, #C9A96E, #F5DFA0);
    color: #1C1612;
    font-size: 0.58rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ═══ NAVIGATION ═══ */
.main-nav {
    border-top: 1px solid #F0EBE3;
    position: relative;
}
.main-nav::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C9A96E, transparent);
}
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 13px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #1C1612;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #C9A96E, #F5DFA0);
    transition: width 0.3s ease;
}
.nav-link:hover { color: #C9A96E; }
.nav-link:hover::after { width: 70%; }
.nav-arrow {
    font-size: 0.5rem;
    margin-left: 2px;
    transition: transform 0.3s;
    color: #C9A96E;
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); }
.nav-plus { margin-left: auto; }
.nav-plus .nav-link { color: #C9A96E; }



/* ═══ DROPDOWN PLUS ═══ */
.dropdown-plus {
    position: fixed;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    width: 95vw;
    max-width: 1200px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    background: #fff;
    border-top: 3px solid #C9A96E;
    border: 1px solid #E8E4DC;
    box-shadow: 0 20px 80px rgba(28,22,18,0.15);
    z-index: 99999;
    display: none;
    animation: megaFadeIn 0.25s ease;
}
.nav-plus:hover .dropdown-plus { display: block; }
.dropdown-plus-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 30px;
    gap: 30px;
}
.dropdown-plus-col h4 {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #F0EBE3;
}
.dropdown-plus-col h4 a {
    font-family: 'Playfair Display', serif;
    color: #C9A96E;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    transition: color 0.2s;
}
.dropdown-plus-col a {
    display: block;
    color: #6B5F52;
    text-decoration: none;
    font-size: 0.82rem;
    padding: 5px 0;
    border-bottom: 1px solid #FAF8F5;
    transition: all 0.2s;
}
.dropdown-plus-col a:hover {
    color: #C9A96E;
    padding-left: 8px;
}
.voir-tout-link {
    color: #C9A96E !important;
    font-weight: 700 !important;
    margin-top: 5px !important;
    font-size: 0.78rem !important;
}

/* Scrollbar mega menu */
.mega-menu::-webkit-scrollbar,
.dropdown-plus::-webkit-scrollbar { width: 3px; }
.mega-menu::-webkit-scrollbar-thumb,
.dropdown-plus::-webkit-scrollbar-thumb { background: #C9A96E; }

/* Correction Menu PLUS et visibilité */
.nav-plus { 
    margin-left: auto !important;
    display: block !important;
    visibility: visible !important;
}
.nav-plus > a {
    color: #C9A96E !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.dropdown-plus {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    width: 95vw !important;
    max-width: 1200px !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    border-top: 3px solid #C9A96E !important;
    border: 1px solid #E8E4DC !important;
    box-shadow: 0 20px 60px rgba(28,22,18,0.15) !important;
    z-index: 999999 !important;
    display: none !important;
    padding: 30px !important;
}
.nav-plus:hover .dropdown-plus {
    display: block !important;
}
.dropdown-plus-inner {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px !important;
}
.dropdown-plus-col h4 a {
    font-family: 'Playfair Display', serif !important;
    color: #C9A96E !important;
    text-decoration: none !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    display: block !important;
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #F0EBE3 !important;
}
.dropdown-plus-col a {
    display: block !important;
    color: #6B5F52 !important;
    text-decoration: none !important;
    font-size: 0.82rem !important;
    padding: 4px 0 !important;
    transition: all 0.2s !important;
}
.dropdown-plus-col a:hover {
    color: #C9A96E !important;
    padding-left: 6px !important;
}


/* Corrections de débordement du menu */
.nav-links {
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
}

.nav-link {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 14px 6px !important;
    white-space: nowrap !important;
    color: #1C1612 !important;
    text-decoration: none !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    transition: color 0.2s !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 1000001 !important; /* Pour passer au-dessus du pont invisible du méga-menu */
}
.nav-link:hover {
    color: #C9A96E !important;
}

.mega-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    margin-top: -10px !important; /* Remonte le menu pour coller à la catégorie */
    width: 520px !important;
    max-width: 95vw !important;
    max-height: 600px !important;
    overflow-y: visible !important;
    background: #fff !important;
    border-top: 2px solid #C9A96E !important;
    border: 1px solid #E8E4DC !important;
    box-shadow: 0 8px 25px rgba(28,22,18,0.12) !important;
    z-index: 999999 !important;
    display: none !important;
    grid-template-columns: 90px 1fr !important;
}
/* Pont large pour assurer la continuité du survol souris */
.mega-menu::before {
    content: "" !important;
    position: absolute !important;
    top: -30px !important;
    left: 0 !important;
    width: 100% !important;
    height: 30px !important;
    background: transparent !important;
}
.nav-item:hover .mega-menu {
    display: grid !important;
}
.mega-left { padding:10px !important; background:#FAFAF8 !important; }
.mega-left img { width:100% !important; height:70px !important; object-fit:cover !important; }
.mega-left h4 { font-size:0.75rem !important; color:#C9A96E !important; }
.mega-left p { display:none !important; }
.mega-right { padding:8px !important; display:grid !important; grid-template-columns:repeat(3,1fr) !important; gap:8px !important; }
.mega-sub-item { 
    cursor: pointer !important;
    padding:5px !important; 
    border:1px solid #F0EBE3 !important; 
    display:flex !important; 
    flex-direction:column !important; 
    align-items:center !important; 
    text-align:center !important; 
    text-decoration:none !important; 
    color:#1C1612 !important; 
}
.mega-sub-img { 
    width:45px !important; 
    height:45px !important; 
    overflow:hidden !important; 
    background:linear-gradient(135deg,#F5F0E6,#E8E2D5) !important; 
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
}
.mega-sub-img img { 
    width:100% !important; 
    height:100% !important; 
    object-fit:cover !important; 
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 2 !important;
}
.mega-sub-icon-placeholder {
    font-size: 1.2rem !important;
    z-index: 1 !important;
    opacity: 0.6 !important;
}
.mega-sub-item span { font-size:0.6rem !important; line-height:1.2 !important; cursor: pointer !important; }
.mega-left a { cursor: pointer !important; }
.voir-tout { cursor: pointer !important; }

/* ═══ CORRECTIFS OVERFLOW ═══ */
.site-header, .main-nav, .nav-links, .nav-item {
    overflow: visible !important;
}

.nav-item:nth-child(2) .mega-menu {
    left: 0 !important;
    right: auto !important;
}
.nav-item:nth-child(3) .mega-menu {
    left: 0 !important;
    right: auto !important;
}
.nav-item:nth-child(4) .mega-menu {
    left: 0 !important;
    right: auto !important;
}
.nav-item:nth-child(5) .mega-menu {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
}
.nav-item:nth-child(6) .mega-menu {
    left: auto !important;
    right: 0 !important;
    transform: none !important;
}
.nav-item:nth-child(7) .mega-menu {
    left: auto !important;
    right: 0 !important;
    transform: none !important;
}

/* =========================================================================
   RESPONSIVE MOBILE — POINT 1 : NAVIGATION
   ========================================================================= */

/* ---- Bouton hamburger (visible uniquement mobile) ---- */
.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 10002;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
}
.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #C9A84C;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: center;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Overlay sombre derrière le menu mobile ---- */
#mobileNavOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 10000;
    backdrop-filter: blur(4px);
}
#mobileNavOverlay.active { display: block; }

/* ---- Sidebar Mobile ---- */
#mobileNav {
    position: fixed;
    top: 0;
    left: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: #111;
    z-index: 10001;
    overflow-y: auto;
    transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border-right: 1px solid #2a2a2a;
}
#mobileNav.open { left: 0; }

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 22px;
    border-bottom: 1px solid #222;
    background: #0A0A0A;
}
.mobile-nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #D4AF37, #E6C57A, #C9A84C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
}
.mobile-nav-close {
    background: #222;
    border: 1px solid #333;
    color: #888;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.mobile-nav-close:hover { background: #C9A84C; color: #111; border-color: #C9A84C; }

/* ---- Items du menu mobile ---- */
.mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0 30px;
}
.mobile-nav-item {
    border-bottom: 1px solid #1a1a1a;
}
.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px;
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    font-family: 'Montserrat', 'Jost', sans-serif;
    transition: all 0.2s;
}
.mobile-nav-link:hover,
.mobile-nav-link.active-parent { color: #C9A84C; background: rgba(201,168,76,0.05); }
.mobile-nav-link i.chevron { font-size: 0.7rem; color: #555; transition: transform 0.3s; }
.mobile-nav-link.open i.chevron { transform: rotate(90deg); color: #C9A84C; }

/* ---- Sous-catégories (accordion) ---- */
.mobile-submenu {
    display: none;
    background: #0D0D0D;
    border-top: 1px solid #1a1a1a;
}
.mobile-submenu.open { display: block; }
.mobile-submenu a {
    display: block;
    padding: 11px 22px 11px 38px;
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    border-bottom: 1px solid #161616;
    transition: color 0.2s;
}
.mobile-submenu a:hover { color: #C9A84C; }

/* ---- Footer du menu mobile ---- */
.mobile-nav-footer {
    padding: 20px 22px;
    border-top: 1px solid #222;
    display: flex;
    gap: 12px;
}
.mobile-nav-footer a {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}
.mobile-nav-footer .btn-wa {
    background: rgba(37,211,102,0.1);
    border: 1px solid #25D366;
    color: #25D366;
}
.mobile-nav-footer .btn-acc {
    background: rgba(201,168,76,0.1);
    border: 1px solid #C9A84C;
    color: #C9A84C;
}

/* ---- Masquer/afficher selon écran ---- */
@media (max-width: 900px) {
    /* Masquer la nav desktop */
    .main-nav { display: none !important; }

    /* Afficher le hamburger */
    .hamburger-btn { display: flex !important; }

    /* Compacter le header */
    .header-inner {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 16px !important;
        gap: 0 !important;
    }
    .header-search { display: none !important; }
    .site-logo {
        font-size: 1.2rem !important;
    }
    .logo-tagline { display: none !important; }

    /* Réduire les actions header */
    .header-actions { gap: 6px !important; }
    .header-action-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
    }

    /* Masquer téléphone sur mobile */
    .header-actions a[href^="tel:"] { display: none !important; }
}

/* =========================================================================
   RESPONSIVE MOBILE — POINTS 2, 3, 4
   ========================================================================= */

@media (max-width: 768px) {

    /* ===== GLOBALS MOBILE ===== */
    .container { padding: 0 16px !important; }
    .section { padding: 40px 0 !important; }
    .section-title h2, .section-header h2 { font-size: 1.6rem !important; }

    /* ===== POINT 2 — PAGE D'ACCUEIL ===== */

    /* Hero / Carousel Banner */
    .hero-carousel, .hero, [class*="hero"] {
        min-height: 55vh !important;
        height: 55vh !important;
    }
    .hero-carousel .slide-content,
    .hero .hero-content,
    .slide-content {
        padding: 20px 20px !important;
        text-align: center !important;
    }
    .hero-carousel h1, .hero h1,
    .slide-content h1, .slide-content h2 {
        font-size: 1.7rem !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }
    .slide-content p { font-size: 0.9rem !important; margin-bottom: 20px !important; }
    .hero-buttons, .slide-buttons { flex-direction: column !important; gap: 10px !important; align-items: center !important; }
    .hero-buttons .btn, .slide-buttons .btn { width: 100% !important; max-width: 280px !important; text-align: center !important; }
    .carousel-nav { display: none !important; }

    /* Grille produits */
    .products-grid, .grid-products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .product-card { border-radius: 6px !important; }
    .product-card .product-name { font-size: 0.82rem !important; }
    .product-card .product-price { font-size: 1rem !important; }
    .product-card .product-image { height: 170px !important; }
    .product-card .product-image img { height: 170px !important; }

    /* Carrousel catégories */
    .categories-carousel, .cat-carousel { gap: 10px !important; }
    .category-card { min-width: 130px !important; width: 130px !important; }
    .category-card img { height: 130px !important; }
    .category-card h3 { font-size: 0.78rem !important; }

    /* Countdown / Ventes flash */
    .flash-grid, .ventes-flash-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .countdown { gap: 8px !important; }
    .countdown-box { padding: 10px 8px !important; min-width: 52px !important; }
    .countdown-box .number { font-size: 1.5rem !important; }
    .countdown-box .label { font-size: 0.6rem !important; }

    /* Stats / Chiffres */
    .stats-section .stats-grid,
    [class*="stats-grid"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    /* Avis clients / Testimonials */
    .reviews-grid, .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Footer mobile */
    footer > div > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    footer { padding: 40px 0 0 !important; }
    footer .container { padding: 0 20px !important; }
    footer div[style*="border-top"] {
        padding: 20px 0 !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }

    /* ===== POINT 3 — PAGE PRODUIT DÉTAIL ===== */

    /* Layout produit (2 colonnes → 1 colonne) */
    .product-detail-grid,
    .product-layout,
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Galerie images */
    .product-gallery, .product-images { order: 0 !important; }
    .product-main-img img,
    .product-gallery img:first-child,
    .main-product-image {
        width: 100% !important;
        height: 300px !important;
        object-fit: contain !important;
    }
    .product-thumbnails {
        display: flex !important;
        gap: 8px !important;
        overflow-x: auto !important;
        padding-bottom: 8px !important;
    }
    .product-thumbnails img {
        width: 60px !important;
        height: 60px !important;
        flex-shrink: 0 !important;
    }

    /* Infos produit */
    .product-info, .product-details { order: 1 !important; }
    .product-title, .product-info h1 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }
    .product-price-main, .product-info .price {
        font-size: 1.8rem !important;
    }

    /* Boutons action produit */
    .product-actions,
    .btn-add-to-cart,
    .product-info .btn {
        width: 100% !important;
        padding: 16px !important;
        font-size: 1rem !important;
        min-height: 52px !important;
        border-radius: 6px !important;
        margin-bottom: 10px !important;
    }
    .product-actions-group {
        flex-direction: column !important;
        gap: 10px !important;
    }

    /* Avis sur la fiche produit */
    .product-reviews div[style*="grid-template-columns: 1fr 2fr"],
    div[class*="review"][style*="grid"] {
        grid-template-columns: 1fr !important;
    }

    /* ===== POINT 4 — PAGE CHECKOUT MOBILE ===== */

    /* Layout checkout (2 col → 1 col) */
    .checkout-grid,
    div[style*="grid-template-columns: 1.2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Résumé en bas sur mobile */
    .checkout-summary { order: -1 !important; }

    /* Champs formulaire */
    .checkout-billing input,
    .checkout-billing select,
    .checkout-billing textarea {
        font-size: 1rem !important;
        padding: 14px 12px !important;
        min-height: 48px !important;
    }
    .checkout-billing div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Méthodes de paiement */
    .payment-option {
        padding: 14px 16px !important;
    }
    .po-title { font-size: 1rem !important; }
    .po-desc { font-size: 0.78rem !important; }
    .po-logo {
        width: 40px !important;
        height: 40px !important;
    }

    /* Bouton confirmer */
    button[type="submit"].btn-primary,
    .checkout-summary .btn-primary {
        min-height: 54px !important;
        font-size: 1.05rem !important;
        width: 100% !important;
    }

    /* Position sticky résumé désactivée sur mobile */
    .checkout-summary > div[style*="sticky"] {
        position: relative !important;
        top: auto !important;
    }

    /* ===== PAGE PANIER MOBILE ===== */
    .cart-container,
    div[style*="grid-template-columns: 1fr 350px"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    /* Table panier scrollable */
    .cart-items { overflow-x: auto !important; }
    .cart-items table { min-width: 500px !important; }
    .cart-summary { order: -1 !important; }

    /* ===== BOUTONS FLOTTANTS ===== */
    .float-btn, #whatsapp-float, .whatsapp-widget {
        bottom: 16px !important;
        right: 16px !important;
    }

    /* ===== PAGE PAIEMENT MOBILE ===== */
    .pm-container { margin: 0 12px !important; }
    .pm-body { padding: 24px 16px !important; }
    .pm-methods {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    .pm-method-btn { padding: 12px 6px !important; }
    .pm-amount { font-size: 2rem !important; }
}

/* Extra-small phones */
@media (max-width: 390px) {
    .products-grid, .grid-products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .product-card .product-image { height: 150px !important; }
    .product-card .product-image img { height: 150px !important; }
    .hero-carousel h1, .slide-content h1 { font-size: 1.4rem !important; }
    .pm-methods { grid-template-columns: 1fr !important; }
}

/* FIX GLOBAL : Forcer le panneau favoris fermé par défaut */
#wishlistPanel {
    right: -100% !important; /* Sortie complète de l'écran par défaut */
    max-width: 100%;
}
#wishlistPanel.open {
    right: 0 !important; /* Ne s'ouvre que si on ajoute la classe open */
}
