/* ============================================
   Tableaux Mural - Main Stylesheet
   Theme: Dark Teal #1a3a4a / #003024
============================================ */

:root {
    --primary: #003024;
    --primary-light: #004d38;
    --primary-dark: #001a13;
    --accent: #e63946;
    --accent-hover: #c1121f;
    --text: #1a1a1a;
    --text-light: #666;
    --text-muted: #999;
    --bg: #ffffff;
    --bg-light: #f8f8f6;
    --bg-grey: #f3f3f0;
    --border: #e8e8e4;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --font: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font);
}

input,
select,
textarea {
    font-family: var(--font);
}

.main-content {
    min-height: 60vh;
}

/* ============================================
   ANNOUNCEMENT BAR
============================================ */
.announcement-bar {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.announcement-close {
    position: absolute;
    right: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    padding: 2px 6px;
    cursor: pointer;
}

.announcement-close:hover {
    color: #fff;
}

/* ============================================
   HEADER
============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Logo */
.logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-noor {
    color: var(--text);
}

.logo-o {
    color: var(--primary);
}

.logo-wall {
    font-style: italic;
    font-weight: 400;
    color: var(--primary);
    font-size: 0.9em;
}

/* SVG image logo */
.logo-img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Main Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

.main-nav>a,
.main-nav>.nav-dropdown>a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 4px;
    transition: color var(--transition);
    white-space: nowrap;
}

.main-nav>a:hover,
.main-nav>a.active,
.nav-dropdown:hover>a {
    color: var(--primary);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .chevron {
    font-size: 0.7em;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    min-width: 220px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all var(--transition);
    z-index: 100;
}

.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    color: var(--text);
    transition: background var(--transition), color var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-grey);
    border-radius: 24px;
    padding: 8px 16px;
    gap: 8px;
    transition: box-shadow var(--transition);
}

.search-form:focus-within {
    box-shadow: 0 0 0 2px var(--primary);
}

.search-form input {
    border: none;
    background: none;
    outline: none;
    font-size: 0.875rem;
    width: 200px;
    color: var(--text);
}

.search-form button {
    background: none;
    padding: 0;
    font-size: 1rem;
    color: var(--text-light);
}

.icon-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    position: relative;
    color: var(--text);
    transition: background var(--transition);
}

.icon-btn:hover {
    background: var(--bg-grey);
}

.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    color: var(--text);
    padding: 8px;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.mobile-nav a {
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid var(--bg-grey);
    color: var(--text);
}

.mobile-nav .mobile-subcategory {
    color: var(--text-light);
    font-size: 0.875rem;
    padding-left: 40px;
}

.mobile-nav.open {
    display: flex;
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    position: relative;
    height: 580px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a2e28 0%, #003024 50%, #0a4a35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 48, 36, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    margin-bottom: 32px;
    opacity: 0.9;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}

.hero-btn:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   SECTION STYLES
============================================ */
.section {
    padding: 64px 0;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
}

.section-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary);
    margin-top: 8px;
    border-radius: 2px;
}

.section-link {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 1px;
    transition: opacity var(--transition);
}

.section-link:hover {
    opacity: 0.7;
}

/* ============================================
   PRODUCT CARDS
============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Product Sliders */
.product-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-grey);
}

.product-slider::-webkit-scrollbar {
    height: 6px;
}

.product-slider::-webkit-scrollbar-track {
    background: var(--bg-grey);
    border-radius: 10px;
}

.product-slider::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 10px;
}

.product-slider .product-card {
    flex: 0 0 calc(25% - 18px);
    /* 4 items layout by default */
    scroll-snap-align: start;
}

@media (max-width: 1100px) {
    .product-slider .product-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .product-slider .product-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 480px) {
    .product-slider .product-card {
        flex: 0 0 calc(85%);
    }
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: var(--bg-light);
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    z-index: 2;
}

.product-quick-actions {
    position: absolute;
    bottom: -48px;
    left: 0;
    right: 0;
    display: flex;
    gap: 8px;
    padding: 0 12px 12px;
    transition: bottom var(--transition);
    z-index: 2;
}

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

.product-quick-btn {
    flex: 1;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition);
    text-align: center;
}

.product-quick-btn:hover {
    background: var(--primary-light);
}

.product-info {
    padding: 16px;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price-current {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
}

.price-old {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ============================================
   CATEGORIES GRID
============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--bg-grey);
    cursor: pointer;
    text-align: center;
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 48, 36, 0.8) 0%, transparent 60%);
    transition: opacity var(--transition);
}

.category-card:hover::after {
    opacity: 0.9;
}

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

.category-card:hover img {
    transform: scale(1.08);
}

.category-name {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    padding: 0 8px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ============================================
   REASSURANCE BAND
============================================ */
.reassurance {
    background: var(--primary);
    color: #fff;
    padding: 40px 0;
}

.reassurance-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.reassurance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.reassurance-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reassurance-item h3 {
    font-size: 1rem;
    font-weight: 600;
}

.reassurance-item p {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ============================================
   PAGE BANNER
============================================ */
.page-banner {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 48px 24px;
}

.page-banner h1 {
    font-size: 2rem;
    font-weight: 600;
}

/* ============================================
   PRODUCTS PAGE
============================================ */
.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px;
    box-sizing: border-box;
}

.products-main {
    min-width: 0;
    /* Empêche le débordement du contenu de la grille */
    width: 100%;
}

.filters-sidebar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 90px;
}

.filter-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color var(--transition);
    margin-bottom: 8px;
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: var(--primary);
}

.filter-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition);
    margin-top: 8px;
}

.filter-btn:hover {
    background: var(--primary-light);
}

.products-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.products-count {
    font-size: 0.875rem;
    color: var(--text-light);
}

.sort-select {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.875rem;
    outline: none;
    cursor: pointer;
    background: #fff;
    color: var(--text);
}

/* ============================================
   PRODUCT DETAIL PAGE
============================================ */
.product-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 55% 40%;
    justify-content: space-between;
    gap: 5%;
    align-items: start;
}

.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    font-size: 0.875rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .sep {
    color: var(--border);
}

.product-gallery {
    position: relative;
}

.main-image-wrap {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light);
    cursor: zoom-in;
    position: relative;
}

.main-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.main-image-wrap:hover img {
    transform: scale(1.04);
}

.gallery-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}


.product-detail-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.25;
}

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.detail-price-old {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.detail-price-current {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.save-badge {
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

.dimensions-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 12px;
}

.dimensions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.dim-btn {
    border: 2px solid var(--border);
    background: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text);
}

.dim-btn.active,
.dim-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.quantity-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 12px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
    margin-bottom: 24px;
}

.qty-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--bg-grey);
    border: none;
    cursor: pointer;
    color: var(--text);
    transition: background var(--transition);
}

.qty-btn:hover {
    background: var(--border);
}

.qty-input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
}

.action-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-add-cart {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--primary);
    background: #fff;
    color: var(--primary);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition);
}

.btn-add-cart:hover {
    background: var(--primary);
    color: #fff;
}

.btn-buy-now {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background var(--transition);
}

.btn-buy-now:hover {
    background: var(--primary-light);
}

.delivery-info {
    background: #f0faf5;
    border: 1px solid #b8e8d0;
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.delivery-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(0, 48, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delivery-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.delivery-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.delivery-dates {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.delivery-date-chip {
    background: var(--primary);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.delivery-date-sep {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
}

.product-meta {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 2;
}

.product-meta strong {
    color: var(--text);
}

/* ============================================
   CART PAGE
============================================ */
.cart-layout {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.cart-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.cart-table {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr 120px 100px 40px;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.cart-item-dim {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.cart-item-price {
    font-weight: 700;
    color: var(--accent);
}

.cart-empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-muted);
}

.cart-empty h2 {
    margin-bottom: 12px;
    color: var(--text);
}

.cart-summary {
    background: var(--bg-grey);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 90px;
}

.cart-summary h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    border-bottom: none;
    margin-top: 8px;
}

.btn-checkout {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    margin-top: 20px;
    transition: background var(--transition);
    text-decoration: none;
}

.btn-checkout:hover {
    background: var(--primary-light);
}

.remove-btn {
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition);
}

.remove-btn:hover {
    color: var(--accent);
}

/* ============================================
   ORDER / CHECKOUT FORM
============================================ */
.order-layout {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.form-card h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 48, 36, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--primary-light);
}

.order-summary-card {
    background: var(--bg-grey);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 90px;
}

.order-summary-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.order-item:last-of-type {
    margin-bottom: 0;
}

.order-item img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-size: 0.875rem;
    font-weight: 500;
}

.order-item-dim {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.order-item-price {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent);
}

.success-message {
    text-align: center;
    padding: 80px 24px;
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-message h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.success-message p {
    color: var(--text-light);
    margin-bottom: 8px;
}

/* ============================================
   CONTACT PAGE
============================================ */
.contact-layout {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item-text strong {
    display: block;
    font-size: 0.875rem;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-item-text span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: #0f1f1a;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col .footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 16px;
}

.footer-col>p {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 50px;
    transition: all var(--transition);
}

.footer-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 24px;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge-delivery {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 50px;
}

/* ============================================
   WHATSAPP FLOAT
============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ============================================
   WHATSAPP ORDER BUTTON (Product Page)
============================================ */
a.btn-whatsapp-order {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 22px !important;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: #fff !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
    position: relative !important;
    overflow: hidden !important;
    margin-top: 10px !important;
}

a.btn-whatsapp-order::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.18);
    transform: skewX(-20deg);
    transition: left 0.45s ease;
}

a.btn-whatsapp-order:hover::before {
    left: 120%;
}

a.btn-whatsapp-order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5) !important;
    filter: brightness(1.05) !important;
    color: #fff !important;
}

a.btn-whatsapp-order:active {
    transform: translateY(0) !important;
}

a.btn-whatsapp-order .wa-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

a.btn-whatsapp-order .wa-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    flex: 1;
}

a.btn-whatsapp-order .wa-btn-sub {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

a.btn-whatsapp-order .wa-btn-main {
    font-size: 1.05rem;
    font-weight: 700;
}

a.btn-whatsapp-order .wa-arrow {
    font-size: 1.4rem;
    opacity: 0.75;
    margin-left: auto;
}

/* ============================================
   INFINITE SCROLL SPINNER
============================================ */
.scroll-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin: 0 auto;
}

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

/* ============================================
   ALERTS / NOTIFICATIONS
============================================ */
.alert {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================
   INFOS SECTION
============================================ */
.infos-section {
    background: var(--bg-light);
    padding: 64px 0;
}

.infos-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.info-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.info-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.7;
}

.mobile-sort-filter {
    display: none;
}

/* ============================================
   RESPONSIVE
============================================ */
/* ============================================
   RESPONSIVE — Tablette large (≤ 1100px)
============================================ */
@media (max-width: 1280px) {

    /* Sur les écrans jusqu'à 1280px, la grille avec sidebar affiche 3 colonnes max */
    .products-main .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1100px) {

    .products-grid,
    .products-main .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .product-detail {
        gap: 32px;
    }

    .dropdown-mega {
        width: 98vw;
        min-width: unset;
        padding: 20px 12px 18px;
    }
}

/* ============================================
   RESPONSIVE — Tablette (≤ 900px)
============================================ */
@media (max-width: 900px) {

    /* Header */
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .search-form input {
        width: 140px;
    }

    .header-inner {
        gap: 12px;
    }

    /* Hero */
    .hero {
        height: 420px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .mobile-sort-filter {
        display: block;
    }

    /* Grids */
    .products-grid,
    .products-main .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }


    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .reassurance-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* Layouts */
    .products-layout {
        grid-template-columns: 1fr;
        padding: 24px 16px;
    }

    .filters-sidebar {
        position: static;
        width: 100%;
        margin-bottom: 16px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
    }

    .filter-title {
        padding: 14px 16px;
        background: var(--bg-light);
        font-weight: 600;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
    }

    #filtersBody {
        display: none;
        padding: 16px;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 16px;
    }

    .cart-layout,
    .order-layout {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .infos-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESPONSIVE — Mobile (≤ 640px)
============================================ */
@media (max-width: 640px) {

    /* Header */
    .header-inner {
        height: 60px;
        padding: 0 14px;
        gap: 8px;
    }

    .logo-img {
        height: 40px;
    }

    .search-wrap {
        display: none;
    }

    .mobile-menu-btn {
        font-size: 1.2rem;
    }

    /* Announcement bar */
    .announcement-bar {
        font-size: 0.78rem;
        padding: 8px 40px 8px 14px;
    }

    /* Hero */
    .hero {
        height: 320px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-btn {
        padding: 11px 24px;
        font-size: 0.88rem;
    }

    /* Section */
    .section {
        padding: 40px 0;
    }

    .section-inner {
        padding: 0 14px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .section-title {
        font-size: 1.2rem;
    }

    /* Product grid */
    .products-grid,
    .products-main .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-name {
        font-size: 0.82rem;
    }

    .product-info {
        padding: 10px 10px 12px;
    }

    .price-current {
        font-size: 0.9rem;
    }

    /* Categories */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Products page */
    .products-layout {
        padding: 16px 12px;
        gap: 16px;
    }

    .page-banner h1 {
        font-size: 1.4rem;
    }

    .page-banner {
        padding: 32px 16px;
    }

    .products-main-header {
        display: none;
    }

    /* Product detail */
    .product-detail {
        padding: 16px 12px;
        gap: 20px;
    }

    .product-title {
        font-size: 1.3rem;
    }

    .product-price-display {
        font-size: 1.6rem;
    }

    .product-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-cart,
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }

    .product-thumbnails {
        gap: 6px;
    }

    .product-thumbnail {
        width: 56px;
        height: 56px;
    }

    /* Cart */
    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 10px;
    }

    .cart-item-price {
        display: none;
    }

    .cart-layout {
        padding: 16px 12px;
    }

    /* Contact */
    .contact-layout {
        padding: 24px 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Reassurance */
    .reassurance-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .reassurance {
        padding: 28px 0;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-inner {
        padding: 32px 14px;
    }
}

/* ============================================
   RESPONSIVE — Petit mobile (≤ 380px)
============================================ */
@media (max-width: 380px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 1.3rem;
    }

    .product-thumbnail {
        width: 48px;
        height: 48px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MEGA MENU — 5 colonnes
   ═══════════════════════════════════════════════════════════════════════════ */
.nav-dropdown {
    position: static;
}

/* Use the header-inner as the anchor */
.header-inner {
    position: relative;
}

.dropdown-mega {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 3px solid var(--primary, #c9a96e);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .13);
    padding: 26px 24px 22px;
    flex-direction: row;
    gap: 0;
    z-index: 9990;
    animation: megaFadeIn .18s ease;
}

@keyframes megaFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-dropdown.open .dropdown-mega {
    display: flex;
}

.mega-col {
    flex: 1;
    padding: 0 16px;
    border-right: 1px solid #f0f0f0;
    min-width: 0;
}

.mega-col:first-child {
    padding-left: 6px;
}

.mega-col:nth-child(4) {
    border-right: 1px solid #f0f0f0;
}

.mega-col:last-child {
    border-right: none;
}

.mega-heading {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 10px;
    padding-bottom: 7px;
    border-bottom: 2px solid var(--primary, #c9a96e);
}

.mega-col>.mega-heading:not(:first-child) {
    margin-top: 14px;
}

.mega-col a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 4px;
    font-size: 0.85rem;
    color: #444;
    text-decoration: none;
    border-radius: 6px;
    transition: color .16s, background .16s;
}

.mega-col a:hover {
    color: var(--primary, #c9a96e);
    background: #fdf9f3;
}

.mega-icon {
    font-size: 0.78rem;
    width: 16px;
    flex-shrink: 0;
    opacity: .6;
}

/* Column 5 CTA */
.mega-col-cta {
    flex: 0 0 170px !important;
    padding: 0 0 0 14px !important;
    border-right: none !important;
    border-left: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mega-cta-box {
    background: linear-gradient(135deg, var(--primary, #c9a96e), #9e7540);
    border-radius: 12px;
    padding: 15px 13px 13px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega-cta-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .25);
    color: #fff;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    width: fit-content;
}

.mega-cta-title {
    font-size: 0.87rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    flex: 1;
}

.mega-cta-btn {
    display: block !important;
    padding: 5px 12px !important;
    background: rgba(255, 255, 255, .88) !important;
    color: #7a5c28 !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    transition: background .18s !important;
    border: none !important;
    text-align: center !important;
}

.mega-cta-btn:hover {
    background: #fff !important;
    transform: none !important;
    color: #7a5c28 !important;
}

/* ============================================
   HORIZONTAL SPECIAL SECTION
============================================ */
.section-horizontal {
    background-color: #f3ede4;
    padding-bottom: 40px;
    padding-top: 40px;
}

.section-horizontal-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.slider-horizontal .product-card-transparent {
    background: transparent;
    border: none;
    box-shadow: none;
}

.slider-horizontal .product-card-transparent:hover {
    transform: none;
    box-shadow: none;
}

.slider-horizontal .product-image-wrap {
    background: transparent;
    aspect-ratio: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.slider-horizontal .product-image-wrap img {
    object-fit: contain;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
}

.slider-horizontal .badge-orange {
    background-color: #d85c27;
    color: #fff;
    border-radius: 0;
    font-size: 0.65rem;
    padding: 2px 6px;
    top: 0;
    left: 0;
}

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

.product-info-center .product-name {
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: normal;
    overflow: visible;
}

.product-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

.product-rating .star {
    color: #ccc;
}

.product-rating .star.filled {
    color: #2196F3;
}

.product-rating .rating-count {
    color: #666;
    font-size: 0.8rem;
    margin-left: 4px;
}

.product-info-center .product-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-size: 0.8rem;
    gap: 6px;
}

.product-info-center .price-current {
    font-size: 0.85rem;
    color: #333;
}

.product-info-center .price-old {
    font-size: 0.75rem;
    color: #999;
    text-decoration: line-through;
}

.horizontal-footer {
    position: relative;
    margin-top: 30px;
    text-align: center;
}

.horizontal-line {
    border: none;
    border-top: 1px solid #1c1c1c;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 1;
}

.btn-voir-plus {
    display: inline-block;
    position: relative;
    z-index: 2;
    background-color: #f3ede4;
    padding: 0 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.btn-voir-plus:hover {
    color: var(--primary);
}

/* ============================================
   AVIS CLIENTS FEATURE
============================================ */
.avis-float-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    background-color: #0b84e6;
    color: #fff;
    padding: 8px 24px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    z-index: 999;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.avis-float-btn:hover {
    transform: translateY(-50%) rotate(-90deg) scale(1.05);
}

.avis-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.avis-modal.active {
    opacity: 1;
    visibility: visible;
}

.avis-modal-content {
    background: #f8f9fa;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    border-radius: 8px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.avis-modal.active .avis-modal-content {
    transform: translateY(0);
}

.avis-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    z-index: 2;
    transition: color 0.2s;
}

.avis-modal-close:hover {
    color: #000;
}

.avis-modal-header {
    background: #0b84e6;
    color: #fff;
    padding: 24px 30px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.avis-stars-header {
    display: flex;
    gap: 4px;
    font-size: 1.5rem;
}

.avis-stars-header .star {
    color: #fff;
}

.avis-count {
    font-size: 1.1rem;
    font-weight: 500;
}

.avis-grid {
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    align-items: start;
}

@media (max-width: 768px) {
    .avis-grid {
        grid-template-columns: 1fr;
    }
}

.avis-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.avis-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-bottom: 1px solid #eee;
}

.avis-body {
    padding: 16px;
}

.avis-author {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.avis-author .verified {
    color: #0b84e6;
    font-size: 0.8rem;
}

.avis-stars {
    color: #0b84e6;
    font-size: 1rem;
    margin-top: 4px;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.avis-text {
    font-size: 0.85rem;
    color: #444;
    line-height: 1.5;
}