/*!
Theme Name: e-courses
Theme URI: http://underscores.me/
Author: Yweet
Author URI: http://underscores.me/
Description: Site de e-commerce dans la vente de e-courses.fr sachant qu'un livraison a domicile est prévue
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: e-courses
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

e-courses is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    overflow-y: visible; /* important */
    padding-top: 50px;
}

header {
    background-color: #fff;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    width: 100%;
    
}

/* ===== BANDE PROMO ===== */
.promo-bar {
    background-color: #2e7d32;
    color: white;
    text-align: center;
    padding: 7px 20px;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    width: 100%;
}

/* ===== CONTAINER PRINCIPAL ===== */
.header-container {
    width: 100%;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
}

/* ===== GAUCHE ===== */
.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e7d32;
    text-decoration: none;
    white-space: nowrap;
}

/* ══════════════════════════════
   MENU SIDEBAR GAUCHE
══════════════════════════════ */
.menu-btn {
    background: var(--black) !important;
    color: #2e7d32 !important;
    border: solid !important;
    border-radius: 6px !important;
    padding: 10px 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

.menu-overlay.active {
    display: block;
}

.menu-dropdown {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    scrollbar-width: none;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    transition: left 0.3s ease;
}

.menu-dropdown.active {
    left: 0;
}

.menu-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
}

.menu-dropdown-header > div {
    display: flex;
    flex-direction: column;
}

.voir-rayon {
    font-size: 11px;
    color: #888;
    font-weight: 400;
    margin-top: 2px;
}

.menu-dropdown-header span {
    font-size: 30px;
    font-weight: 700;
    color: #333;
}

.menu-close-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #666;
    padding: 4px 8px;
    border-radius: 50%;
    transition: background 0.2s;
}

.menu-close-btn:hover {
    background: #eee;
}

/* Liste catégories */
.category-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    scrollbar-width: none;
    overflow-y: auto;
}

.category-list li {
    border: none;
}

.category-item {
    border: none !important;
    border-bottom: none !important;
}

.category-item > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.category-item > a .arrow {
    margin-left: auto;
}

.category-item > a:hover {
    background: #f0f7f0;
    color: #2e7d32;
    border-left-color: #2e7d32;
}

.category-item .arrow {
    font-size: 16px;
    color: #aaa;
    transition: color 0.2s;
}

.category-item:hover .arrow {
    color: #2e7d32;
}

.category-item + .category-item {
    border-top: 1px solid #f0f0f0;
}

.category-link {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.category-list::-webkit-scrollbar {
    display: none;
}

.cat-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50px;
}

.category-link span,
.category-link a {
    margin: 0 !important;
    padding: 0 !important;
}

/* ── Titre entre section ── */
.menu-section-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: black;
    letter-spacing: 1px;
    padding: 15px 20px 5px;
    margin-top: 0;
    border-top: 1px solid #f0f0f0;
}

.menu-section-title:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

/* ── Sous-catégories panneau droit ── */
.subcategory-header {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #2e7d32;
    border-bottom: 2px solid #e8f5e9;
    margin-bottom: 4px;
}

.subcategory-list {
    display: none;
    position: fixed;
    top: 0;
    left: 300px;
    width: 280px;
    height: 100%;
    background: #fff;
    border-left: 1px solid #eee;
    box-shadow: 4px 0 15px rgba(0,0,0,0.08);
    list-style: none;
    padding: 0 0 10px;
    z-index: 9999;
    overflow-y: hidden;
    scrollbar-width: none;
}

.subcategory-list::-webkit-scrollbar {
    display: none;
}

.category-item.has-children:hover > .subcategory-list {
    display: block;
}

.subcategory-list li a {
    display: block;
    padding: 11px 20px;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.subcategory-list li a:hover {
    background: #f0f7f0;
    color: #2e7d32;
    border-left-color: #2e7d32;
}

.menu-dropdown::-webkit-scrollbar,
.subcategory-list::-webkit-scrollbar {
    width: 5px;
    display: none;
}

.menu-dropdown::-webkit-scrollbar-thumb,
.subcategory-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* ===== NAV LINKS ===== */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 50px;
    padding-left: 12px;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
    transition: color 0.3s;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #2e7d32;
}

/* ===== CENTRE : SEARCH ===== */
.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 750px;
    z-index: 1005;
}

.search-bar {
    pointer-events: auto;
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 25px;
    padding: 12px 20px;
    gap: 10px;
    border: 1px solid #e0e0e0;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    width: 100%;
    color: #333;
}

.search-bar input::placeholder {
    color: #999;
}

.search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #2e7d32;
}

/* ===== SEARCH PANEL FULL WIDTH (style Carrefour) ===== */
.search-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: panelSlideDown 0.25s ease;
}

.search-panel.show {
    display: block;
}

@keyframes panelSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header du panel */
.search-panel-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 40px;
    border-bottom: 1px solid #eee;
    max-width: 1400px;
    margin: 0 auto;
}

.search-panel-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: #2e7d32;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-panel-bar {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 2px solid #2e7d32;
    border-radius: 25px;
    padding: 12px 20px;
    gap: 10px;
}

.search-panel-bar input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    width: 100%;
    color: #333;
}

.search-panel-bar input::placeholder {
    color: #999;
}

.search-panel-bar button {
    background: #2e7d32;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-panel-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2e7d32;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s;
}

.search-panel-close:hover {
    background: #f0faf0;
}

/* Contenu du panel */
.search-panel-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.search-dropdown-inner {
    display: flex;
    gap: 35px;
}

.search-col-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.search-col-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ===== SECTIONS ===== */
.search-section h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
    letter-spacing: -0.2px;
}

/* ===== TAGS ===== */
.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-tag {
    background: #f5f5f5;
    color: #444;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.search-tag:hover {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
    transform: translateY(-1px);
}

/* ===== RAYONS ===== */
.search-rayons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.search-rayons li a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #444;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.search-rayons li a:hover {
    background: #f0faf0;
    color: #2e7d32;
}

.search-rayons li a img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
}

/* ===== BON PLAN ===== */
.search-bonplan {
    background: linear-gradient(135deg, #fff8e1, #fff3cd);
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bonplan-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e53935;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
}

.bonplan-price {
    margin-bottom: 6px;
}

.bonplan-price strong {
    color: #e65100;
    font-size: 1.4rem;
}

.bonplan-old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85rem;
    margin-left: 6px;
}

.bonplan-name {
    font-weight: 800;
    font-size: 1rem;
    color: #333;
    margin-bottom: 6px;
}

.bonplan-desc {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 14px;
}

.bonplan-btn {
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bonplan-btn:hover {
    background: #1b5e20;
    transform: translateY(-1px);
}

/* ===== TENDANCES ===== */
.search-tendances {
    display: flex;
    gap: 10px;
}

.tendance-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    background: #f8f9fa;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
}

.tendance-card:hover {
    background: #e8f5e9;
    transform: translateY(-2px);
}

.tendance-card img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
}

.tendance-card span {
    font-size: 0.78rem;
    font-weight: 600;
    color: #333;
}

/* ===== OVERLAY ===== */
.search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 9998;
    pointer-events: auto;
}

.search-overlay.show {
    display: block;
}

a.search-tag {
    text-decoration: none;
    color: #444;
}

a.search-tag:hover {
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .search-panel-header {
        padding: 12px 16px;
        gap: 12px;
    }

    .search-panel-logo {
        display: none;
    }

    .search-panel-content {
        padding: 20px 16px;
    }

    .search-dropdown-inner {
        flex-direction: column;
        gap: 20px;
    }

    .search-rayons {
        grid-template-columns: 1fr;
    }

    .search-tendances {
        flex-wrap: wrap;
    }
}





/* ===== DROITE ===== */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-right a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-account {
    color: #2d6a2d;
    border: 1.5px solid #2d6a2d;
    background: white;
}

.btn-account:hover {
    background: #2d6a2d;
    color: white;
}

.btn-cart {
    background: #2d6a2d;
    color: white;
    border: 1.5px solid #2d6a2d;
    position: relative;
}

.btn-cart:hover {
    background: #1f4f1f;
    border-color: #1f4f1f;
}

.cart-total {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    margin-left: 6px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #e53935;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #2d6a2d;
    line-height: 1;
}

.cart-icon-wrap {
    position: relative;
    display: inline-flex;
}

/* ===== BURGER (caché en desktop) ===== */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
    z-index: 1001;
}

.burger:hover {
    background: #f0f0f0;
}

.burger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.is-active span:nth-child(2) {
    opacity: 0;
}

.burger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== ICÔNES MOBILE (cachées en desktop) ===== */
.mobile-only {
    display: none !important;
}

/* ===== BARRE RECHERCHE MOBILE (cachée en desktop) ===== */
.mobile-search-bar {
    display: none;
}

.mobile-search-bar form {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 8px 16px;
    gap: 8px;
    border: 1px solid #e0e0e0;
}

.mobile-search-bar form:focus-within {
    border-color: #2e7d32;
}

.mobile-search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    color: #333;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.mobile-search-bar input::placeholder {
    color: #999;
}

.mobile-search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #2e7d32;
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.is-visible {
    display: block;
    opacity: 1;
}

/* ===== MOBILE MENU SLIDE ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    z-index: 9999;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.is-open {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #e8e8e8;
    background: #f9f9f9;
}

.mobile-menu-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1b5e20;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 1.2rem;
    color: #555;
    transition: all 0.2s;
}

.mobile-menu-close:hover {
    background: #f0f0f0;
    color: #333;
}

.mobile-menu-body {
    flex: 1;
    padding: 10px 0;
}

.mobile-menu-search {
    padding: 10px 20px;
}

.mobile-menu-search form {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 8px 16px;
    gap: 8px;
    border: 1px solid #e0e0e0;
}

.mobile-menu-search form:focus-within {
    border-color: #2e7d32;
}

.mobile-menu-search input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    color: #333;
}

.mobile-menu-search input::placeholder {
    color: #999;
}

.mobile-menu-search button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #2e7d32;
}

/* Compte dans le menu mobile */
.mobile-menu-account {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 24px;
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s;
}

.mobile-menu-account:hover {
    background: #e8f5e9;
    color: #1b5e20;
}

.mobile-menu-account i {
    color: #2e7d32;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 24px;
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s;
}

.mobile-menu-item:hover,
.mobile-menu-item:active {
    background: #e8f5e9;
    color: #1b5e20;
}

.mobile-menu-item i,
.mobile-menu-item img {
    color: #2e7d32;
    flex-shrink: 0;
}

.mobile-menu-divider {
    height: 1px;
    background: #e8e8e8;
    margin: 8px 20px;
}

/* Catégories dans le menu mobile */
.mobile-menu-categories {
    padding: 0;
}

.mobile-cat-section {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
    padding: 14px 24px 6px;
}

.mobile-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    text-decoration: none;
    color: #333;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s;
}

.mobile-cat-item:hover {
    background: #f0f7f0;
    color: #1b5e20;
}

.mobile-cat-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}

.mobile-menu-footer {
    padding: 18px 24px;
    border-top: 1px solid #e8e8e8;
    background: #f8fdf8;
}

.mobile-menu-footer p {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2e7d32;
    text-align: center;
}

/* Icône bouton mobile dans header */
.mobile-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.2s;
    padding: 0;
    border: none;
    background: none;
}

.mobile-icon-btn:hover {
    background: #f0f0f0;
}

body.menu-open {
    overflow: hidden;
}

/* === Panneau sous-catégories mobile === */
.subcategory-panel {
    display: none;
}

/* ============================================
   RESPONSIVE — TABLETTE (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: none !important;
    }

    .burger {
        display: flex;
    }

    /* Icônes mobile visibles */
    .mobile-only {
        display: flex !important;
    }

    .header-center {
        position: relative;
        left: auto;
        transform: none;
        flex: 1;
        width: auto;
        max-width: 360px;
        margin: 0 15px;
        pointer-events: auto;
    }

    .btn-account {
        display: none !important;
    }

    .panier-text {
        display: none;
    }

    .btn-cart {
        padding: 8px 14px;
        gap: 4px;
        position: relative;
    }

    .cart-count {
        position: absolute;
        top: -6px;
        right: -6px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE (≤900px) — Panneau sous-cat
   ============================================ */

/* === Hover desktop : afficher sous-catégories === */
@media (min-width: 901px) {
    .category-item:hover .subcategory-list {
        display: block !important;
    }
}

@media (max-width: 900px) {
    .subcategory-panel {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 85vw;
        max-width: 350px;
        height: 100vh;
        background: #fff;
        z-index: 10001;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .subcategory-panel.active {
        transform: translateX(0);
    }

    .subcat-panel-header {
        display: flex;
        align-items: center;
        padding: 20px 15px;
        border-bottom: 1px solid #eee;
        gap: 10px;
    }

    .subcat-back {
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #2563eb;
        padding: 0 5px;
        font-weight: bold;
    }

    .subcat-panel-info {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
    }

    .subcat-panel-img {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        object-fit: cover;
    }

    .subcat-panel-info strong {
        display: block;
        font-size: 16px;
        color: #1a1a1a;
    }

    .subcat-voir-tout {
        color: #2563eb;
        font-size: 13px;
        text-decoration: none;
    }

    .subcat-voir-tout:hover {
        text-decoration: underline;
    }

    .subcat-close {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        padding: 0 5px;
        color: #666;
    }

    .subcat-panel-list {
        list-style: none;
        padding: 10px 25px;
        margin: 0;
    }

    .subcat-panel-list li {
        padding: 13px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .subcat-panel-list li:last-child {
        border-bottom: none;
    }

    .subcat-panel-list li a {
        text-decoration: none;
        color: #333;
        font-size: 15px;
    }

    .subcat-panel-list li a:hover {
        color: #2563eb;
    }

    /* Empêcher le hover desktop des sous-cat sur mobile */
    .category-item:hover .subcategory-list {
        display: none !important;
    }
    .subcategory-list .subcategory-header {
        display: none !important;
    }
}

/* ============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================ */
@media (max-width: 768px) {
    .promo-bar {
        font-size: 0.72rem;
        padding: 6px 10px;
    }

    .header-container {
        padding: 10px 16px;
    }

    /* Cacher la recherche desktop, afficher la mobile */
    .header-center {
        display: none;
    }

    .mobile-search-bar {
        display: block;
        padding: 0 16px 10px;
    }

    .btn-account {
        display: none !important;
    }

    .burger {
        display: flex;
    }

    .logo a {
        font-size: 1.3rem;
    }

    /* Panier : icône seule */
    .panier-text {
        display: none;
    }

    .btn-cart {
        padding: 8px 14px;
        position: relative;
    }

    .cart-count {
        font-size: 0.65rem;
        position: absolute;
        top: -6px;
        right: -6px;
    }

    .header-right {
        gap: 8px;
    }

    .header-left {
        gap: 10px;
    }

    /* Compte : icône seule dans header (si visible) */
    .btn-text {
        display: none;
    }
}

/* ============================================
   RESPONSIVE — PETIT MOBILE (≤480px)
   ============================================ */
@media (max-width: 480px) {
    .promo-bar {
        font-size: 0.65rem;
        padding: 5px 8px;
    }

    .header-container {
        padding: 8px 12px;
    }

    .logo a {
        font-size: 1.15rem;
    }

    .header-left {
        gap: 8px;
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    /* Panier mobile */
    .btn-cart {
        padding: 0;
        background: none !important;
        border: none !important;
        color: #2d6a2d;
        font-size: 1.4rem;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .btn-cart .panier-text {
        display: none;
    }

    .cart-count {
        position: absolute;
        top: -4px;
        right: -4px;
        background: #e53935;
        color: white;
        font-size: 0.65rem;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
    }

    .mobile-menu {
        width: 280px;
    }

    .mobile-icon-btn {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
    }

    /* Icône compte mobile */
    .btn-account {
        display: flex !important;
        padding: 0;
        border: none !important;
        background: none !important;
        font-size: 1.4rem;
        color: #2d6a2d;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
    }

    .btn-account .btn-text {
        display: none;
    }

    .mobile-icon-btn img {
        width: 30px;
        height: 30px;
    }

    .mobile-search-bar {
        padding: 0 12px 8px;
    }
}

/* ============================================
   RESPONSIVE — TRÈS PETIT (≤360px)
   ============================================ */
@media (max-width: 360px) {
    .promo-bar {
        font-size: 0.6rem;
    }

    .logo a {
        font-size: 1rem;
    }

    .burger span {
        width: 20px;
    }

    .mobile-menu {
        width: 260px;
    }
}




/* ===== --------------------------------------- ===== */
/* ===== AUTRE PAGE - PAGE D'ACCUEIL - CAROUSSEL ===== */
/* ===== ----------------------------------------===== */

/* ===== HERO CAROUSEL (Style Skinport) ===== */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    background: #111;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ===== SLIDES ===== */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: none;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Transition slide : scale subtil */
.carousel-slide.slide-in {
    animation: skinportSlideIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.carousel-slide.slide-out {
    animation: skinportSlideOut 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes skinportSlideIn {
    0% {
        opacity: 0;
        transform: scale(1.04);
        visibility: visible;
    }
    100% {
        opacity: 1;
        transform: scale(1);
        visibility: visible;
    }
}

@keyframes skinportSlideOut {
    0% {
        opacity: 1;
        transform: scale(1);
        visibility: visible;
    }
    100% {
        opacity: 0;
        transform: scale(0.97);
        visibility: hidden;
    }
}

/* Overlay par défaut */
.carousel-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* ===== CONTENU ===== */
.carousel-content {
    position: absolute;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 620px;
}

/* ===== Ken Burns subtil droite → gauche (style Skinport) ===== */
.carousel-slide.active {
    animation: skinportDrift 6s linear forwards;
}

@keyframes skinportDrift {
    0% {
        background-position-x: 48%;
    }
    100% {
        background-position-x: 52%;
    }
}

.carousel-slide.slide-in {
    animation: skinportSlideIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards,
               skinportDrift 6s 0.3s linear forwards;
}


.carousel-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    width: fit-content;
    text-transform: uppercase;
}

.carousel-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0;
}

.carousel-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

.carousel-title,
.carousel-subtitle {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* ===== BOUTONS ===== */
.carousel-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.carousel-btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.carousel-btn.style-primary {
    background: #2e7d32;
    color: #fff;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.4);
}

.carousel-btn.style-primary:hover {
    background: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.55);
    color: #fff;
}

.carousel-btn.style-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.carousel-btn.style-outline:hover {
    background: #fff;
    color: #111;
    border-color: #fff;
    transform: translateY(-2px);
}

/* ===== FLÈCHES SKINPORT ===== */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    font-size: 0;
    cursor: pointer;
    color: #fff;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2.5px solid #fff;
    border-right: 2.5px solid #fff;
    transition: border-color 0.3s;
}

.carousel-prev::after {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.carousel-next::after {
    transform: rotate(45deg);
    margin-right: 3px;
}

.hero-carousel:hover .carousel-arrow {
    opacity: 1;
    pointer-events: all;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: transparent;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:hover::after {
    border-color: #111;
}

.carousel-prev {
    left: 24px;
}

.carousel-next {
    right: 24px;
}

.hero-carousel:hover .carousel-prev {
    left: 28px;
}

.hero-carousel:hover .carousel-next {
    right: 28px;
}

/* ===== BARRES DE PROGRESSION SKINPORT ===== */
.carousel-progress-bar {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
}

.progress-item {
    width: 48px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.progress-item:hover {
    background: rgba(255, 255, 255, 0.35);
}

.progress-item.active {
    width: 64px;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 3px;
    transition: none;
}

.progress-item.active .progress-fill {
    animation: skinportProgress 5s linear forwards;
}

.progress-item.done .progress-fill {
    width: 100%;
    transition: none;
}

@keyframes skinportProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}


/* ===== ------------------------------------------------- ===== */
/* ===== AUTRE PAGE - PAGE D'ACCUEIL - BUMLLE DE CATEGORIE ===== */
/* ===== --------------------------------------------------===== */


/* ===== BULLES CATÉGORIES ===== */
.categories-bubbles {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #e8ecf2 0%, #f0f2f5 60%, #ffffff 100%);
    position: relative;
}

.categories-bubbles::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' d='M0,40 C360,80 1080,0 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

.categories-bubbles .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.categories-bubbles .section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.categories-bubbles .section-header p {
    font-size: 1.05rem;
    color: #777;
    margin: 0;
}

.bubbles-track {
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.bubble-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
    group: hover;
}

.bubble-item:hover {
    transform: translateY(-8px);
}

.bubble-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.bubble-item:hover .bubble-img {
    border-color: #43a047;
    box-shadow: 0 12px 35px rgba(67, 160, 71, 0.25);
    transform: scale(1.05);
}

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

.bubble-item:hover .bubble-img img {
    transform: scale(1.15);
}

/* Petit overlay au hover */
.bubble-img::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(67, 160, 71, 0);
    transition: background 0.4s ease;
}

.bubble-item:hover .bubble-img::after {
    background: rgba(67, 160, 71, 0.1);
}

.bubble-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    transition: color 0.3s ease;
    max-width: 120px;
    line-height: 1.3;
}

.bubble-item:hover .bubble-name {
    color: #2e7d32;
}

/* Badge promo optionnel */
.bubble-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e53e3e;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .bubbles-track {
        gap: 20px;
        justify-content: center;
    }

    .bubble-img {
        width: 95px;
        height: 95px;
    }

    .bubble-name {
        font-size: 0.8rem;
        max-width: 90px;
    }

    .categories-bubbles {
        padding: 40px 0 25px;
    }

    .categories-bubbles .section-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .bubbles-track {
        gap: 15px;
    }

    .bubble-img {
        width: 75px;
        height: 75px;
        border-width: 3px;
    }

    .bubble-name {
        font-size: 0.72rem;
        max-width: 75px;
    }
}



/* ===== -------------------------------------------- ===== */
/* ===== AUTRE PAGE - PAGE D'ACCUEIL - BANNIERE PROMO ===== */
/* ===== ---------------------------------------------===== */

/* ===== BANNIÈRES PROMO ===== */
.promo-banners {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    background: #ffffff;
    position: relative;
}

/* Ligne 2 bannières côte à côte */
.banners-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

/* Chaque bannière duo */
.banner-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
    
}

.banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.2);
}

.banner-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.banner-card:hover img {
    transform: scale(1.06);
}

/* Overlay gradient */
.banner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.banner-card.overlay-dark::before {
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}

.banner-card.overlay-green::before {
    background: linear-gradient(to top, rgba(27,94,32,0.8) 0%, rgba(27,94,32,0.2) 60%, transparent 100%);
}

.banner-card.overlay-warm::before {
    background: linear-gradient(to top, rgba(120,53,15,0.8) 0%, rgba(120,53,15,0.15) 60%, transparent 100%);
}

.banner-card.overlay-blue::before {
    background: linear-gradient(to top, rgba(13,71,161,0.8) 0%, rgba(13,71,161,0.15) 60%, transparent 100%);
}

.banner-card.overlay-purple::before {
    background: linear-gradient(to top, rgba(74,20,140,0.8) 0%, rgba(74,20,140,0.1) 60%, transparent 100%);
}

/* Contenu texte */
.banner-text {
    position: relative;
    z-index: 2;
    padding: 30px;
    width: 100%;
}

.banner-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.tag-orange { background: #ff9800; color: #fff; }
.tag-blue { background: #1565c0; color: #fff; }
.tag-red { background: #e53935; color: #fff; }
.tag-green { background: #2e7d32; color: #fff; }
.tag-purple { background: #7b1fa2; color: #fff; }

.banner-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.88);
    margin: 0 0 15px;
    line-height: 1.5;
}

.banner-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-white {
    background: #fff;
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-white:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: #1a1a2e;
}

.btn-green {
    background: linear-gradient(135deg, #43a047, #2e7d32);
    color: #fff;
    box-shadow: 0 4px 15px rgba(46,125,50,0.4);
}

.btn-green:hover {
    background: linear-gradient(135deg, #388e3c, #1b5e20);
    transform: translateY(-2px);
    color: #fff;
}

/* ===== GRANDE BANNIÈRE LARGE ===== */
.banner-full {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 200px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.banner-full:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.18);
}

.banner-full img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.banner-full:hover img {
    transform: scale(1.04);
}

.banner-full::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.banner-full.overlay-gradient-right::before {
    background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.banner-full.overlay-gradient-center::before {
    background: rgba(0,0,0,0.4);
}

.banner-full-text {
    position: relative;
    z-index: 2;
    padding: 30px 50px;
    max-width: 650px;
}

.banner-full-text.text-center {
    text-align: center;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.banner-full .banner-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.banner-full .banner-subtitle {
    font-size: 1rem;
}

/* Prix barré dans la bannière */
.banner-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.price-old {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    text-decoration: line-through;
    font-weight: 600;
}

.price-new {
    font-size: 1.6rem;
    color: #ffc107;
    font-weight: 900;
}

/* ===== ANIMATIONS ===== */
.banner-card .banner-text,
.banner-full .banner-full-text {
    opacity: 0;
    transform: translateY(20px);
    animation: bannerFadeUp 0.8s ease forwards;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .banners-duo {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .banner-card {
        height: 220px;
    }

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

    .banner-full {
        height: 180px;
    }

    .banner-full-text {
        padding: 25px 30px;
    }

    .banner-full .banner-title {
        font-size: 1.4rem;
    }

    .promo-banners {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .banner-card {
        height: 200px;
        border-radius: 15px;
    }

    .banner-text {
        padding: 20px;
    }

    .banner-title {
        font-size: 1.15rem;
    }

    .banner-subtitle {
        font-size: 0.82rem;
    }

    .banner-full {
        height: 160px;
        border-radius: 15px;
    }

    .banner-full .banner-title {
        font-size: 1.2rem;
    }

    .banner-btn {
        padding: 8px 22px;
        font-size: 0.8rem;
    }
}


/* ===== ------------------------------------------------- ===== */
/* ===== AUTRE PAGE - PAGE D'ACCUEIL - COMMENT SA MARCHE ? ===== */
/* ===== ------------------------------------------------- ===== */

/* ===== COMMENT ÇA MARCHE ===== */
.how-it-works {
    background: #f5f5f5;
    padding: 60px 20px;
    text-align: center;
}

.how-it-works .section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 60px;
}

/* ===== DESKTOP ===== */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 12%;
    right: 12%;
    height: 4px;
    background: linear-gradient(to right, #4caf50, #81c784);
    border-radius: 2px;
    z-index: 0;
}

.step-card {
    flex: 1;
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-width: 260px;
}

.step-card:hover .step-icon {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.35);
}

.step-icon {
    font-size: 1.5rem;
    font-weight: 800;
    width: 50px;
    height: 50px;
    line-height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: #ffffff;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    border: 4px solid #f5f5f5;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 19px;
    right: -6px;
    width: 12px;
    height: 12px;
    border-top: 3px solid #4caf50;
    border-right: 3px solid #4caf50;
    transform: rotate(45deg);
    z-index: 3;
}

/* ===== MOBILE ===== */
@media screen and (max-width: 550px) {
    .how-it-works {
        padding: 40px 15px !important;
    }

    .how-it-works .section-title {
        margin-bottom: 30px !important;
        font-size: 1.6rem !important;
    }

    .steps-grid {
        display: block !important;
        max-width: 100% !important;
        margin-left: 40px !important;
        position: relative !important;
    }

    .steps-grid::before {
        top: 0 !important;
        bottom: 0 !important;
        left: 0px !important;
        right: auto !important;
        width: 4px !important;
        height: auto !important;
        border-radius: 2px !important;
    }

    .step-card {
        display: block !important;
        max-width: 100% !important;
        padding: 12px 0 12px 30px !important;
        text-align: left !important;
        position: relative !important;
    }

    .step-card .step-icon {
        position: absolute !important;
        left: -23px !important;
        top: 12px !important;
        width: 45px !important;
        height: 45px !important;
        line-height: 37px !important;
        font-size: 1.1rem !important;
        margin: 0 !important;
        text-align: center !important;
        padding: 0 !important;
        text-indent: 0 !important;
    }

    .step-card .step-text {
        display: block !important;
    }

    .step-card .step-text h3 {
        margin: 0 0 4px 0 !important;
        font-size: 1rem !important;
    }

    .step-card .step-text p {
        margin: 0 !important;
        font-size: 0.83rem !important;
    }

    .step-card:not(:last-child)::after {
        display: none !important;
    }
}


/* ===== ---------------------------------- ===== */
/* ===== AUTRE PAGE - PAGE D'ACCUEIL - AVIS ===== */
/* ===== ---------------------------------- ===== */


/* ===== SECTION AVIS GOOGLE ===== */
.google-reviews-section {
    background: #f8f9fb;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.reviews-wave-top {
    margin-top: -1px;
}

.reviews-wave-top svg,
.reviews-wave-bottom svg {
    display: block;
    width: 100%;
    height: 60px;
}

.reviews-wave-bottom {
    margin-bottom: -1px;
}

.reviews-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 20px 40px;
}

/* --- Header --- */
.reviews-header {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 50px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.reviews-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.reviews-global-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.reviews-score {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}

.reviews-stars-global {
    display: flex;
    gap: 3px;
}

.reviews-stars-global .star {
    color: #FBBC05;
    font-size: 24px;
}

.reviews-stars-global .star.empty {
    color: #ddd;
}

.reviews-count {
    font-size: 14px;
    color: #777;
    font-weight: 500;
}

/* --- Carousel --- */
.reviews-carousel-wrapper {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.reviews-carousel {
    display: flex;
    gap: 20px;
    animation: reviewsScroll 30s linear infinite;
    width: max-content;
}

.reviews-carousel:hover {
    animation-play-state: paused;
}

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

/* --- Carte Avis --- */
.review-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    min-width: 340px;
    max-width: 340px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.review-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.review-author-info {
    flex: 1;
}

.review-author-name {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a2e;
    margin-bottom: 2px;
}

.review-date {
    font-size: 12px;
    color: #999;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.review-stars .star {
    color: #FBBC05;
    font-size: 16px;
}

.review-stars .star.empty {
    color: #ddd;
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-google-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    opacity: 0.3;
}

/* --- CTA --- */
.reviews-cta {
    text-align: center;
    margin-top: 36px;
}

.reviews-leave-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #4285F4, #1a73e8);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(66,133,244,0.3);
}

.reviews-leave-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(66,133,244,0.4);
    background: linear-gradient(135deg, #1a73e8, #0d5bcc);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .reviews-title {
        font-size: 24px;
    }

    .reviews-score {
        font-size: 34px;
    }

    .review-card {
        min-width: 280px;
        max-width: 280px;
        padding: 20px;
    }

    .reviews-leave-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ===== ------------------------------------ ===== */
/* ===== AUTRE PAGE - PAGE D'ACCUEIL - COOKIE ===== */
/* ===== ------------------------------------ ===== */


/* ===== BANDEAU COOKIES ===== */
.cookie-banner {
    position: fixed;
    bottom: -400px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 700px;
    background: linear-gradient(135deg, #1a2e1a 0%, #162116 100%);
    border: 1px solid rgba(45, 106, 79, 0.5);
    border-radius: 20px;
    padding: 35px 40px;
    z-index: 99999;
    box-shadow: 0 -10px 60px rgba(45, 106, 79, 0.2), 0 20px 60px rgba(0,0,0,0.5);
    transition: bottom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

.cookie-banner.show {
    bottom: 30px;
}

.cookie-banner.hide {
    bottom: -400px;
    transition: bottom 0.4s ease-in;
}

.cookie-icon-big {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 15px;
    animation: wobble 2s infinite;
}

@keyframes wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.cookie-banner h3 {
    color: #FFF3B0;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.cookie-banner p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.cookie-banner a {
    color: #F4845F;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-accept {
    background: linear-gradient(135deg, #2D6A4F, #40916c);
    color: white;
    border: none;
    padding: 15px 45px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(45, 106, 79, 0.5);
    flex: 1;
    max-width: 250px;
}

.cookie-refuse {
    background: transparent;
    color: rgba(255,255,255,0.5);
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    text-decoration: underline;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 106, 79, 0.7);
    background: linear-gradient(135deg, #40916c, #52b788);
}

.cookie-refuse:hover {
    color: rgba(255,255,255,0.8);
}

/* Fond flouté derrière */
.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(3px);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.cookie-overlay.show {
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 600px) {
    .cookie-banner {
        width: 95%;
        padding: 25px 20px;
        bottom: -400px;
    }

    .cookie-banner.show {
        bottom: 15px;
    }

    .cookie-accept {
        max-width: 100%;
    }
}





/* ===== --------------------------------------------- ===== */
/* ===== AUTRE PAGE - PAGE D'ACCUEIL - GRILLE PRODUITS ===== */
/* ===== --------------------------------------------- ===== */


/* ==========================================
   SECTION INDISPENSABLES
   ========================================== */

.indispensables-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.indispensables-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    align-items: stretch;
}

/* ---- Bannière gauche ---- */
.indispensables-banner {
    background: linear-gradient(135deg, #1a6b3c 0%, #28a745 50%, #20c44a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 25px;
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.indispensables-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.indispensables-banner::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.indispensables-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.indispensables-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.indispensables-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px 0;
}

.indispensables-desc {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.indispensables-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1a6b3c;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.indispensables-btn:hover {
    background: #f0fff4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: #1a6b3c;
    text-decoration: none;
}

.indispensables-btn span {
    transition: transform 0.3s ease;
}

.indispensables-btn:hover span {
    transform: translateX(4px);
}

/* ---- Grille produits ---- */
.indispensables-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
}

/* ---- Carte produit ---- */
.indispensables-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eef0f2;
    padding: 15px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.indispensables-card:hover {
    border-color: #28a745;
    box-shadow: 0 8px 25px rgba(40,167,69,0.12);
    transform: translateY(-3px);
}

.indispensables-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.indispensables-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.indispensables-card-img {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 10px;
    background: #f8f9fa;
}

.indispensables-card-img img {
    max-width: 80%;
    max-height: 85px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.indispensables-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.indispensables-card-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #2d3436;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.indispensables-card-price {
    font-size: 1rem;
    font-weight: 800;
    color: #28a745;
    margin-top: auto;
    padding-top: 4px;
}

/* ---- Bouton Ajouter ---- */
.indispensables-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #f0fff4;
    color: #28a745;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 10px;
    border: 2px solid #28a745;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.indispensables-add-btn:hover {
    background: #28a745;
    color: #fff;
    text-decoration: none;
}

.indispensables-add-btn .add-icon {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

/* ---- Case "Voir tous" ---- */
.indispensables-card-viewall {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #ced4da;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.indispensables-card-viewall:hover {
    border-color: #28a745;
    background: linear-gradient(135deg, #f0fff4 0%, #d4edda 100%);
}

.indispensables-viewall-link {
    text-decoration: none;
    color: #6c757d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 20px;
    transition: color 0.3s ease;
}

.indispensables-viewall-link:hover {
    color: #28a745;
    text-decoration: none;
}

.indispensables-viewall-icon {
    opacity: 0.6;
    transition: all 0.3s ease;
}

.indispensables-card-viewall:hover .indispensables-viewall-icon {
    opacity: 1;
    transform: scale(1.1);
}

.indispensables-viewall-text {
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.indispensables-viewall-arrow {
    font-size: 1.3rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.indispensables-card-viewall:hover .indispensables-viewall-arrow {
    transform: translateX(5px);
}

/* ==========================================
   RESPONSIVE - INDISPENSABLES
   ========================================== */

@media (max-width: 900px) {
    .indispensables-container {
        grid-template-columns: 1fr;
    }

    .indispensables-banner {
        min-height: auto;
        padding: 25px 20px;
    }

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

@media (max-width: 600px) {
    .indispensables-section {
        padding: 25px 15px;
    }

    .indispensables-banner {
        border-radius: 12px;
        padding: 20px 18px;
    }

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

    .indispensables-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .indispensables-card {
        padding: 12px;
        border-radius: 12px;
    }

    .indispensables-card-img {
        height: 80px;
    }

    .indispensables-card-img img {
        max-height: 70px;
    }

    .indispensables-card-name {
        font-size: 0.75rem;
    }

    .indispensables-card-price {
        font-size: 0.9rem;
    }

    .indispensables-add-btn {
        font-size: 0.72rem;
        padding: 7px 10px;
    }
}



/* ===== ------------------- ===== */
/* ===== AUTRE PAGE - FOOTER ===== */
/* ===== ------------------- ===== */

/* ============================================
   BLOC PROMO
   ============================================ */
.promo-block {
    background: linear-gradient(135deg, #1b5e20, #2e7d32, #43a047);
    padding: 80px 20px;
    text-align: center;
}

.promo-overlay h2 {
    color: #fff;
    font-size: 2.4rem;
    margin-bottom: 14px;
    font-weight: 900;
}

.promo-overlay > p {
    color: #e8f5e9;
    font-size: 1.15rem;
    margin-bottom: 35px;
}

.promo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.promo-code-box {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 6px;
    padding: 18px 50px;
    border: 3px dashed rgba(255, 255, 255, 0.7);
    border-radius: 14px;
}

.promo-btn {
    display: inline-block;
    background: #fff;
    color: #1b5e20;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.promo-btn:hover {
    background: #e8f5e9;
    color: #1b5e20;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================
   FOOTER GLOBAL
   ============================================ */
.site-footer {
    background: #111827;
    color: #e5e7eb;
}

/* ============================================
   BADGES DE CONFIANCE
   ============================================ */
.footer-trust {
    background: #0d1117;
    padding: 45px 20px;
    border-bottom: 1px solid #1f2937;
}

.trust-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    text-align: center;
    flex: 1;
    min-width: 160px;
    padding: 25px 18px;
    background: #161b26;
    border-radius: 14px;
    border: 1px solid #1f2937;
    transition: transform 0.3s, border-color 0.3s;
}

.trust-item:hover {
    transform: translateY(-4px);
    border-color: #2e7d32;
}

.trust-icon {
    margin-bottom: 14px;
}

.trust-icon svg {
    transition: stroke 0.3s;
}

.trust-item:hover .trust-icon svg {
    stroke: #4caf50;
}

.trust-item p {
    font-size: 0.92rem;
    font-weight: 700;
    color: #e5e7eb;
    margin: 0;
}

/* ============================================
   FOOTER PRINCIPAL
   ============================================ */
.footer-main {
    padding: 55px 20px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

/* Logo + Slogan */
.footer-brand {
    flex: 1.4;
}

.footer-logo {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 14px;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.7rem;
    font-weight: 900;
    color: #fff;
    display: block;
}

.footer-slogan {
    color: #9ca3af;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Colonnes liens */
.footer-col h3 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: #2e7d32;
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-col ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-col ul li a:hover {
    color: #4caf50;
    padding-left: 6px;
}

/* Newsletter */
.footer-newsletter p {
    color: #9ca3af;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    max-width: 300px;
    height: 48px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0 16px;
    height: 48px;
    border: 2px solid #1f2937;
    background: #0d1117;
    color: #fff;
    border-radius: 10px 0 0 10px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.newsletter-form input[type="email"]:focus {
    border-color: #2e7d32;
}

.newsletter-form input[type="email"]::placeholder {
    color: #6b7280;
}

.newsletter-form button {
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 0 24px;
    height: 48px;
    border-radius: 0 10px 10px 0;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    box-sizing: border-box;
}

.newsletter-form button:hover {
    background: #1b5e20;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding: 25px 20px;
    border-top: 1px solid #1f2937;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.88rem;
    color: #6b7280;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .promo-overlay h2 {
        font-size: 1.6rem;
    }

    .promo-row {
        flex-direction: column;
    }

    .promo-code-box {
        font-size: 1.3rem;
        padding: 14px 30px;
    }

    .promo-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .trust-grid {
        flex-direction: column;
        align-items: center;
    }

    .trust-item {
        width: 85%;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-brand {
        text-align: center;
    }

    .newsletter-form {
        margin: 0 auto;
    }
}


/* ===== --------------------- ===== */
/* ===== AUTRE PAGE - BOUTIQUE ===== */
/* ===== --------------------- ===== */

/* ==========================================
   BOUTIQUE E-COURSES - CSS COMPLET
   ========================================== */

/* ===== BREADCRUMB ===== */
.shop-breadcrumb-bar {
    padding: 10px 0;
}

.shop-breadcrumb-bar .shop-breadcrumb-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.shop-breadcrumb-bar a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.shop-breadcrumb-bar a:hover {
    color: #1b5e20;
    text-decoration: underline;
}

.shop-breadcrumb-bar .breadcrumb-sep {
    margin: 0 6px;
    color: #bbb;
    font-size: 0.75rem;
}

.shop-breadcrumb-bar .breadcrumb-current {
    color: #888;
    font-weight: 400;
}

/* ===== BANNIÈRE ===== */
.shop-banner {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 60%, #43a047 100%);
    padding: 50px 30px 30px;
    text-align: center;
    color: white;
}

.shop-banner h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.shop-banner p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== SOUS-CATÉGORIES ===== */
.shop-subcats {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px;
    padding-bottom: 5px;
}

.shop-subcat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    border: 1.5px solid rgba(255,255,255,0.3);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s;
}

.shop-subcat-btn:hover {
    background: white;
    color: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.shop-subcat-btn img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

/* ===== LAYOUT PRINCIPAL ===== */
.shop-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

/* ===== BOUTON FILTRE MOBILE ===== */
.filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    background: white;
    border: 2px solid #e0e0e0;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.2s;
}

.filter-toggle:hover {
    border-color: #2e7d32;
    color: #2e7d32;
}

/* ===== OVERLAY ===== */
.filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 998;
}
.filter-overlay.active { display: block; }

/* ===== SIDEBAR ===== */
.shop-sidebar {
    background: #fff;
    border-radius: 16px;
    position: sticky;
    top: 100px;
    height: fit-content;
    overflow: hidden;
    border: 1px solid #eee;
}

.sidebar-header-mobile { display: none; }

/* ===== BLOCK ===== */
.sb {
    border-bottom: 1px solid #f3f3f3;
}
.sb:last-child { border-bottom: none; }

.sb-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}
.sb-head:hover { background: #fafafa; }

.sb-icon { font-size: 1rem; flex-shrink: 0; }

.sb-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #222;
    flex: 1;
}

.sb-arrow {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #aaa;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.sb.closed .sb-arrow { transform: rotate(-90deg); }

.sb-body {
    padding: 0 20px 18px;
    overflow: hidden;
    transition: all 0.25s ease;
}
.sb.closed .sb-body {
    display: none;
}

/* ===== CATÉGORIES ===== */
.cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cat-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: #555;
    font-size: 0.87rem;
    font-weight: 500;
    transition: all 0.15s;
}
.cat-item a:hover,
.cat-item.active a {
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 600;
}

.cat-item img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    object-fit: cover;
    flex-shrink: 0;
}

.cat-name { flex: 1; }

.cat-count {
    font-size: 0.75rem;
    color: #bbb;
    font-weight: 600;
    background: #f5f5f5;
    padding: 2px 7px;
    border-radius: 10px;
}

/* ===== CHECKBOX CUSTOM ===== */
.chk {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 0;
    font-size: 0.87rem;
    color: #444;
}

.chk input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chk-box {
    width: 18px;
    height: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 5px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    background: #fff;
}

.chk input:checked + .chk-box {
    background: #2e7d32;
    border-color: #2e7d32;
}

.chk input:checked + .chk-box::after {
    content: '✓';
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
}

.chk em {
    margin-left: auto;
    font-style: normal;
    font-size: 0.75rem;
    color: #bbb;
}

/* ===== SEARCH ===== */
.sb-search {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid #eee;
    border-radius: 10px;
    font-size: 0.84rem;
    margin-bottom: 10px;
    transition: border-color 0.2s;
    box-sizing: border-box;
    background: #fafafa;
}
.sb-search:focus {
    border-color: #2e7d32;
    outline: none;
    background: #fff;
}

/* ===== BRAND LIST ===== */
.brand-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 180px;
    overflow-y: auto;
}
.brand-list::-webkit-scrollbar { width: 4px; }
.brand-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* ===== PRIX ===== */
.price-tag {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.price-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.price-field span {
    font-size: 0.7rem;
    color: #aaa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-input {
    width: 100%;
    padding: 8px;
    border: 1.5px solid #eee;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: center;
    box-sizing: border-box;
    background: #fafafa;
    transition: border-color 0.2s;
}
.price-input:focus {
    border-color: #2e7d32;
    outline: none;
    background: #fff;
}

.price-sep {
    color: #ccc;
    font-size: 0.85rem;
    padding-top: 16px;
}

.btn-price {
    width: 100%;
    padding: 9px;
    background: #2e7d32;
    border: none;
    border-radius: 10px;
    font-size: 0.83rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-price:hover { background: #1b5e20; }

/* ===== ÉTOILES ===== */
.rating-row { padding: 4px 0; }

.stars {
    display: inline-flex;
    gap: 1px;
}
.star {
    color: #e0e0e0;
    font-size: 0.95rem;
}
.star.on { color: #f59e0b; }

.rating-plus {
    font-size: 0.75rem;
    color: #bbb;
    margin-left: 2px;
}

/* ===== NUTRI-SCORE ===== */
.nutri-row {
    display: flex;
    gap: 6px;
}

.nutri-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}
.nutri-pill input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.nutri-pill span {
    font-weight: 800;
    font-size: 0.9rem;
    color: white;
    pointer-events: none;
}

.nutri-a { background: #038141; }
.nutri-b { background: #85bb2f; }
.nutri-c { background: #fecb02; }
.nutri-c span { color: #333; }
.nutri-d { background: #ee8100; }
.nutri-e { background: #e63e11; }

.nutri-pill:hover {
    transform: scale(1.08);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.nutri-pill:has(input:checked) {
    outline: 3px solid #222;
    outline-offset: 2px;
    transform: scale(1.08);
}

/* ===== RESET ===== */
.sb-reset {
    padding: 16px 20px;
    border-bottom: none !important;
}

.btn-reset {
    width: 100%;
    padding: 10px;
    background: none;
    border: 1.5px solid #eee;
    border-radius: 10px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-reset:hover {
    border-color: #e53935;
    color: #e53935;
    background: #fef2f2;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        border-radius: 0;
        z-index: 999;
        overflow-y: auto;
        transition: left 0.3s ease;
    }
    .shop-sidebar.open { left: 0; }

    .sidebar-header-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    .sidebar-header-mobile h3 {
        font-size: 1rem;
        font-weight: 700;
        margin: 0;
    }
    .filter-close {
        background: none;
        border: none;
        font-size: 1.2rem;
        color: #999;
        cursor: pointer;
    }
}


/* ===== TOOLBAR ===== */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.shop-toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-result-count p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.shop-ordering select {
    padding: 8px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.shop-ordering select:focus {
    border-color: #2e7d32;
    outline: none;
}

/* ===== VUE TOGGLE ===== */
.shop-view-toggle {
    display: flex;
    gap: 4px;
    background: #f5f5f5;
    padding: 4px;
    border-radius: 8px;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    color: #999;
    transition: all 0.2s;
}

.view-btn.active,
.view-btn:hover {
    background: white;
    color: #2e7d32;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* ===== FILTRES ACTIFS (tags) ===== */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.active-filters:empty {
    display: none;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.active-filter-tag .remove-filter {
    cursor: pointer;
    font-weight: 800;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.active-filter-tag .remove-filter:hover {
    opacity: 1;
}

/* ==========================================
   GRILLE PRODUITS
   ========================================== */
.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ==========================================
   CARTE PRODUIT
   ========================================== */
.shop-product-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.shop-product-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #e0e0e0;
}

.shop-product-card.is-out-of-stock {
    opacity: 0.6;
    pointer-events: none;
}

.shop-product-card.is-out-of-stock .card-image-link,
.shop-product-card.is-out-of-stock .card-title-link {
    pointer-events: auto;
}

/* ===== BADGE PROMO ===== */
.card-badge-promo {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 2;
    letter-spacing: 0.3px;
}

/* ═══ WISHLIST COEUR ═══ */
.card-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.card-wishlist svg {
    transition: fill 0.3s, stroke 0.3s;
}

.card-wishlist:hover {
    background: rgba(255,255,255,1);
    transform: scale(1.1);
}

/* État liké */
.card-wishlist.is-wishlisted svg {
    fill: #e74c3c;
    stroke: #e74c3c;
}

/* Animation like (pop) */
.card-wishlist.animate-like {
    animation: wishlistPop 0.45s ease;
}

/* Animation dislike (shake) */
.card-wishlist.animate-dislike {
    animation: wishlistShake 0.4s ease;
}

@keyframes wishlistPop {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.4); }
    60%  { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes wishlistShake {
    0%, 100% { transform: translateX(0); }
    20%      { transform: translateX(-4px); }
    40%      { transform: translateX(4px); }
    60%      { transform: translateX(-3px); }
    80%      { transform: translateX(2px); }
}


/* ===== IMAGE ===== */
.card-image-link {
    display: block;
    padding: 0;
    background: #ffffff;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.card-image-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.5);
    transition: transform 0.3s ease;
}

.shop-product-card:hover .card-image-link img {
    transform: scale(1.50);
}

/* ===== NUTRI-SCORE BADGE ===== */
.card-nutriscore {
    margin: 0 16px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
    letter-spacing: 0.5px;
}

.card-nutriscore.nutri-a { background: #038141; color: white; }
.card-nutriscore.nutri-b { background: #85bb2f; color: white; }
.card-nutriscore.nutri-c { background: #fecb02; color: #333; }
.card-nutriscore.nutri-d { background: #ee8100; color: white; }
.card-nutriscore.nutri-e { background: #e63e11; color: white; }

/* ===== BODY CARTE ===== */
.card-body {
    padding: 12px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Marque */
.card-brand {
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

/* Titre */
.card-title-link {
    text-decoration: none;
    color: inherit;
}

.card-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.card-title-link:hover .card-title {
    color: #2e7d32;
}

/* ===== TOAST NOTIFICATION ===== */
.shop-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1b5e20;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.shop-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.shop-toast.toast-error {
    background: #c62828;
}


/* Étoiles */
.card-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 6px;
}

.card-rating .star {
    color: #ddd;
    font-size: 0.85rem;
}

.card-rating .star.filled {
    color: #f59e0b;
}

.card-rating .rating-count {
    font-size: 0.75rem;
    color: #999;
    margin-left: 4px;
}

/* ===== PRIX ===== */
.card-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 2px;
}

.card-price-current {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
}

.card-price-old {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.card-unit-price {
    font-size: 11px;
    color: #999;
    margin-bottom: 8px;
    display: block;
}

/* ===== STOCK ===== */
.card-stock {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: auto;
}

.stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.card-stock--instock {
    color: #2e7d32;
}
.card-stock--instock .stock-dot {
    background: #2e7d32;
}

.card-stock--low {
    color: #f57c00;
}
.card-stock--low .stock-dot {
    background: #f57c00;
}

.card-stock--outofstock {
    color: #c62828;
}
.card-stock--outofstock .stock-dot {
    background: #c62828;
}

/* ===== BOUTON AJOUTER ===== */
.btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    background: #00a651;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0;
}

.btn-add-cart:hover {
    background: #008c44;
    transform: scale(1.02);
}

.btn-add-cart.btn-disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

.btn-add-cart.btn-disabled:hover {
    transform: none;
}

/* ===== QUANTITÉ +/- ===== */
.qty-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #00a651;
}

.qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #00a651;
    transition: background 0.15s;
    padding: 0;
}

.qty-btn:hover {
    background: #e8f5e9;
}

.qty-delete {
    color: #e53935;
}

.qty-delete:hover {
    background: #ffebee;
}

.qty-value {
    font-size: 15px;
    font-weight: 800;
    color: #1a1a1a;
    min-width: 30px;
    text-align: center;
}

/* ==========================================
   VUE LISTE
   ========================================== */
.shop-products-grid.list-view {
    grid-template-columns: 1fr;
}

.shop-products-grid.list-view .shop-product-card {
    flex-direction: row;
    align-items: center;
}

.shop-products-grid.list-view .card-image-link {
    width: 160px;
    min-width: 160px;
    min-height: auto;
    padding: 15px;
}

.shop-products-grid.list-view .card-body {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.shop-products-grid.list-view .card-title {
    flex: 1;
    min-width: 200px;
    -webkit-line-clamp: 1;
}

.shop-products-grid.list-view .btn-add-cart,
.shop-products-grid.list-view .qty-controls {
    width: auto;
    margin-top: 0;
    padding: 10px 24px;
}

/* ==========================================
   ENCART PROMO DANS GRILLE
   ========================================== */
.shop-promo-card {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ff9800;
    min-height: 280px;
}

.promo-card-inner {
    text-align: center;
    padding: 30px 20px;
}

.promo-badge {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.promo-card-inner h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #e65100;
    margin-bottom: 8px;
}

.promo-card-inner p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 18px;
}

.promo-card-btn {
    display: inline-block;
    background: #e65100;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.25s;
}

.promo-card-btn:hover {
    background: #bf360c;
    transform: translateY(-2px);
}

/* ==========================================
   BARRE PANIER FIXE BAS - AMÉLIORÉE
   ========================================== */
.cart-bottom-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid #e0e0e0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: bottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cart-bottom-bar.visible {
    bottom: 0;
}

.cart-bottom-bar-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    gap: 24px;
}

/* --- Partie gauche : message + jauge --- */
.cart-bar-left {
    flex: 1;
    min-width: 0;
}

.cart-bar-shipping {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-bar-shipping-msg {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.cart-bar-shipping-msg.msg-info {
    color: #555;
}

.cart-bar-shipping-msg.msg-progress {
    color: #e67e22;
}

.cart-bar-shipping-msg.msg-success {
    color: #27ae60;
}

/* --- Jauge de progression --- */
.cart-bar-progress-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-bar-progress-track {
    width: 100%;
    max-width: 320px;
    height: 8px;
    background: #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.cart-bar-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f39c12, #27ae60);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.cart-bar-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: shimmer 2s infinite;
}

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

.cart-bar-progress-labels {
    display: flex;
    justify-content: space-between;
    max-width: 320px;
    font-size: 10px;
    color: #999;
    font-weight: 500;
}

/* --- Partie droite --- */
.cart-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.cart-bar-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.cart-bar-count {
    font-size: 12px;
    color: #777;
    font-weight: 500;
}

.cart-bar-total {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
}

.cart-bar-view {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #27ae60;
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cart-bar-view:hover {
    background: #219a52;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.35);
    color: #fff;
}

/* --- Animation confetti quand palier atteint --- */
.cart-bar-shipping-msg.msg-success {
    animation: celebrateMsg 0.5s ease;
}

@keyframes celebrateMsg {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ==========================================
   RESPONSIVE MOBILE
   ========================================== */
@media (max-width: 768px) {
    .cart-bottom-bar-inner {
        flex-direction: column;
        padding: 10px 16px;
        gap: 10px;
    }

    .cart-bar-left {
        width: 100%;
    }

    .cart-bar-shipping-msg {
        font-size: 12px;
        white-space: normal;
        text-align: center;
    }

    .cart-bar-progress-track {
        max-width: 100%;
    }

    .cart-bar-progress-labels {
        max-width: 100%;
    }

    .cart-bar-right {
        width: 100%;
        justify-content: space-between;
    }

    .cart-bar-summary {
        align-items: flex-start;
    }

    .cart-bar-total {
        font-size: 16px;
    }

    .cart-bar-view {
        padding: 10px 18px;
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .cart-bar-view span {
        display: none;
    }

    .cart-bar-view {
        padding: 10px 14px;
    }
}


/* ==========================================
   SCROLL INFINI
   ========================================== */
.infinite-scroll-loader {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.infinite-scroll-loader.loading {
    display: block;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #2e7d32;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

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

.infinite-scroll-loader p {
    color: #888;
    font-size: 0.9rem;
}

.infinite-scroll-end {
    text-align: center;
    padding: 30px 20px;
    color: #888;
    font-size: 0.9rem;
}

/* Animation apparition */
.shop-product-card.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.5s ease forwards;
}

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

/* Supprime pagination WooCommerce */
.woocommerce-pagination,
.shop-pagination {
    display: none !important;
}

/* ===== PAS DE PRODUITS ===== */
.shop-no-products {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.shop-no-products p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.back-to-shop {
    display: inline-block;
    padding: 12px 30px;
    background: #2e7d32;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.25s;
}

.back-to-shop:hover {
    background: #1b5e20;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-container {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .filter-toggle {
        display: flex;
    }

    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        z-index: 999;
        border-radius: 0;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    }

    .shop-sidebar.open {
        left: 0;
    }

    .sidebar-header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 20px;
        border-bottom: 1px solid #eee;
        background: #f9f9f9;
    }

    .sidebar-header-mobile h3 {
        margin: 0;
        font-size: 1.1rem;
    }

    .filter-close {
        background: none;
        border: none;
        font-size: 1.3rem;
        cursor: pointer;
        color: #666;
        padding: 5px;
    }

    .sidebar-apply-mobile {
        display: block;
        padding: 20px;
    }

    .btn-apply-filters {
        width: 100%;
        padding: 14px;
        background: #2e7d32;
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
    }

    .shop-banner h1 {
        font-size: 1.6rem;
    }

    .shop-subcats {
        gap: 8px;
    }

    .shop-subcat-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .shop-breadcrumb-bar .shop-breadcrumb-inner {
        font-size: 0.78rem;
    }

    .shop-view-toggle {
        display: none;
    }

    .cart-bottom-bar-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .cart-bar-name {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .card-image-link {
        padding: 6px;
    }

    .card-image-link img {
        max-height: 140px;
    }

    .card-body {
        padding: 10px;
    }

    .card-title {
        font-size: 12px;
        min-height: 32px;
    }

    .card-price-current {
        font-size: 15px;
    }

    .btn-add-cart {
        padding: 8px;
        font-size: 12px;
    }

    .qty-btn {
        width: 34px;
        height: 34px;
    }

    .qty-value {
        font-size: 13px;
    }
}



/* ===== ---------------------------- ===== */
/* ===== AUTRE PAGE - OU LIVRE T'ON ? ===== */
/* ===== ---------------------------- ===== */


/* ========================================
   PAGE ZONE DE LIVRAISON
   ======================================== */

.zone-page {
    background: #f5f5f5;
    min-height: 100vh;
}


/* POPUP ÉLIGIBLE */
.zone-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoneFadeIn 0.3s ease;
}
.zone-popup {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: zonePopupIn 0.4s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.zone-popup-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}
.zone-popup-close:hover {
    color: #333;
}
.zone-popup-icon {
    font-size: 52px;
    margin-bottom: 12px;
}
.zone-popup h3 {
    font-size: 22px;
    font-weight: 800;
    color: #1a6c3a;
    margin: 0 0 10px;
}
.zone-popup p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 24px;
}
.zone-popup-btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #1a6c3a, #0d4a25);
    color: #fff;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.zone-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,108,58,0.3);
    color: #fff;
}
.zone-popup-later {
    display: block;
    margin: 14px auto 0;
    background: none;
    border: none;
    color: #999;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}
.zone-popup-later:hover {
    color: #666;
}

@keyframes zonePopupIn {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}


/* HERO */
.zone-hero {
    background: linear-gradient(135deg, #1a6c3a 0%, #0d4a25 100%);
    color: #fff;
    text-align: center;
    padding: 50px 20px 40px;
}
.zone-hero-inner {
    max-width: 600px;
    margin: 0 auto;
}
.zone-hero-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.zone-hero h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 10px;
}
.zone-hero-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}
.zone-hero-subtitle strong {
    color: #ffd700;
}

/* MAIN LAYOUT */
.zone-main {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.zone-main-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* CHECKER CARD */
.zone-checker {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.zone-checker-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.zone-checker-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.zone-checker-icon {
    font-size: 28px;
}
.zone-checker-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}
.zone-checker-desc {
    color: #666;
    font-size: 14px;
    margin: 0 0 20px;
    line-height: 1.5;
}

/* INPUT + AUTOCOMPLETE */
.zone-input-wrap {
    display: flex;
    gap: 8px;
}
.address-input-wrapper {
    position: relative;
    flex: 1;
}
.address-input-wrapper input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.2s;
    outline: none;
    box-sizing: border-box;
}
.address-input-wrapper input:focus {
    border-color: #1a6c3a;
}

/* AUTOCOMPLETE DROPDOWN */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    max-height: 250px;
    overflow-y: auto;
}
.autocomplete-dropdown.active {
    display: block;
}
.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.autocomplete-item:last-child {
    border-bottom: none;
}
.autocomplete-item:hover {
    background: #f0faf3;
}
.autocomplete-item .ac-icon {
    color: #999;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}
.autocomplete-item .ac-text {
    display: flex;
    flex-direction: column;
}
.autocomplete-item .ac-main {
    font-weight: 500;
    color: #222;
}
.autocomplete-item .ac-secondary {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

/* BOUTON VÉRIFIER */
#zoneCheckBtn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: #1a6c3a;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
#zoneCheckBtn:hover {
    background: #145a2f;
}

/* RESULT (classes utilisées par le JS) */
.zone-result {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    animation: zoneFadeIn 0.3s ease;
}
.zone-result-ok {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    color: #2e7d32;
}
.zone-result-no {
    background: #fce4ec;
    border: 1px solid #e53935;
    color: #c62828;
}
.zone-result-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
}
.zone-result-detail {
    font-size: 12px;
    opacity: 0.85;
    line-height: 1.5;
}

/* GEO BUTTON */
.zone-geo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: none;
    border: 1px dashed #ccc;
    border-radius: 10px;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.zone-geo-btn:hover {
    border-color: #1a6c3a;
    color: #1a6c3a;
    background: #f0faf3;
}

/* LIEN MODALITÉS */
.zone-info-link-card {
    background: #f0faf3;
    border-radius: 12px;
    padding: 18px 22px;
    border: 1px solid #c8e6c9;
}
.zone-info-link-card p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}
.zone-modalites-link {
    color: #1a6c3a;
    text-decoration: none;
    transition: color 0.2s;
}
.zone-modalites-link:hover {
    color: #145a2f;
}

/* MAP */
.zone-map-wrap {
    position: sticky;
    top: 80px;
}
.zone-map-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
#zoneMap {
    width: 100%;
    height: 500px;
}
.zone-map-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    font-size: 13px;
    color: #666;
    border-top: 1px solid #f0f0f0;
}
.legend-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 4px;
}
.legend-dot.green {
    background: rgba(26, 108, 58, 0.3);
    border: 2px solid #1a6c3a;
}
.legend-dot.red {
    background: rgba(229, 57, 53, 0.3);
    border: 2px solid #e53935;
}

/* FAQ */
.zone-faq {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}
.zone-faq-inner h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 24px;
    color: #1a1a1a;
}
.zone-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.zone-faq-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.zone-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    text-align: left;
}
.zone-faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: #999;
}
.zone-faq-item.active .zone-faq-question svg {
    transform: rotate(180deg);
}
.zone-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.zone-faq-item.active .zone-faq-answer {
    max-height: 200px;
}
.zone-faq-answer p {
    padding: 0 20px 16px;
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* FAQ LIEN VERS FAQ COMPLÈTE */
.zone-faq-more {
    text-align: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}
.zone-faq-more p {
    margin: 0 0 8px;
    font-size: 15px;
    color: #666;
}
.zone-faq-more-link {
    font-size: 16px;
    color: #1a6c3a;
    text-decoration: none;
    transition: color 0.2s;
}
.zone-faq-more-link:hover {
    color: #145a2f;
}

/* CTA */
.zone-cta {
    background: linear-gradient(135deg, #1a6c3a 0%, #0d4a25 100%);
    padding: 40px 20px;
    text-align: center;
}
.zone-cta-inner {
    max-width: 500px;
    margin: 0 auto;
}
.zone-cta h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
}
.zone-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    margin: 0 0 20px;
}
.zone-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #fff;
    color: #1a6c3a;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.zone-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ANIMATION */
@keyframes zoneFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .zone-hero {
        padding: 36px 16px 28px;
    }
    .zone-hero h1 {
        font-size: 24px;
    }
    .zone-main-inner {
        grid-template-columns: 1fr;
    }
    .zone-map-wrap {
        position: static;
        order: -1;
    }
    #zoneMap {
        height: 300px;
    }
    .zone-input-wrap {
        flex-direction: column;
    }
    #zoneCheckBtn {
        justify-content: center;
    }
}


/* ===== ---------------------------- ===== */
/* ===== AUTRE PAGE - Notre Concept ===== */
/* ===== ---------------------------- ===== */

/* ===== CONCEPT PAGE ===== */

/* HERO */
.concept-hero {
    background: linear-gradient(135deg, #1a6c3a 0%, #27ae60 50%, #2ecc71 100%);
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.concept-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: conceptHeroPulse 6s ease-in-out infinite;
}
@keyframes conceptHeroPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.concept-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.concept-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}
.concept-hero h1 {
    font-size: 44px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 28px;
    line-height: 1.2;
}
.concept-highlight {
    background: linear-gradient(135deg, #ffe066, #f0c040);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.concept-hero-quote {
    font-size: 19px;
    color: rgba(255,255,255,0.95);
    margin: 0 0 36px;
    line-height: 1.7;
    font-style: italic;
    font-weight: 400;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0 20px;
}
.concept-hero-quote::before,
.concept-hero-quote::after {
    content: '"';
    font-size: 48px;
    color: rgba(255,255,255,0.3);
    font-family: Georgia, serif;
    position: absolute;
    line-height: 1;
}
.concept-hero-quote::before {
    top: -10px;
    left: -5px;
}
.concept-hero-quote::after {
    content: '"';
    bottom: -20px;
    right: -5px;
}
.concept-hero-arrow {
    color: rgba(255,255,255,0.6);
    animation: conceptBounce 2s ease-in-out infinite;
}
@keyframes conceptBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ADVANTAGES */
.concept-advantages {
    padding: 80px 20px;
    background: #fafafa;
}
.concept-advantages-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* CARDS */
.concept-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #fff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.concept-card.concept-visible {
    opacity: 1;
    transform: translateY(0);
}
.concept-card--right {
    flex-direction: row-reverse;
}

/* Icon + Number */
.concept-card-icon {
    flex-shrink: 0;
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 24px;
}
.concept-card-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: #1a6c3a;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Content */
.concept-card-content {
    flex: 1;
}
.concept-card-content h2 {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 16px;
}
.concept-card-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 12px;
}
.concept-card-tag {
    display: inline-block;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #1a6c3a;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-top: 8px;
}

/* Visual blocks */
.concept-card-visual {
    flex-shrink: 0;
    width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* --- BLOC 1 : Magasin barré → Panier --- */
.concept-visual-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    position: relative;
    border: 3px solid #e0e0e0;
}
.concept-visual-circle--active {
    background: #e8f5e9;
    border-color: #27ae60;
}
.concept-visual-circle svg {
    position: absolute;
    bottom: -6px;
    right: -6px;
}
.concept-visual-arrow {
    font-size: 24px;
    color: #999;
    font-weight: bold;
}

/* --- BLOC 2 : Carte/Pin --- */
.concept-map-visual {
    text-align: center;
}
.concept-map-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px dashed #27ae60;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    background: #f0faf2;
}
.concept-map-pin {
    font-size: 36px;
    position: relative;
    z-index: 2;
    animation: conceptPinBounce 2s ease-in-out infinite;
}
@keyframes conceptPinBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.concept-map-ping {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #27ae60;
    opacity: 0;
    animation: conceptPing 2.5s ease-out infinite;
}
@keyframes conceptPing {
    0% { width: 20px; height: 20px; opacity: 0.8; }
    100% { width: 120px; height: 120px; opacity: 0; }
}
.concept-map-radius {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(39, 174, 96, 0.1);
    border: 2px solid rgba(39, 174, 96, 0.2);
}
.concept-map-label {
    font-size: 13px;
    color: #1a6c3a;
    font-weight: 700;
}

/* --- BLOC 3 : Créneaux/Slots --- */
.concept-slots-visual {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 180px;
    justify-content: center;
    position: relative;
}
.concept-slot {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.concept-slot--filled {
    background: linear-gradient(135deg, #1a6c3a, #27ae60);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}
.concept-slot--available {
    background: #fff;
    border: 2px dashed #27ae60;
    animation: conceptSlotPulse 2s ease-in-out infinite;
}
@keyframes conceptSlotPulse {
    0%, 100% { transform: scale(1); border-color: #27ae60; }
    50% { transform: scale(1.1); border-color: #2ecc71; box-shadow: 0 0 12px rgba(39, 174, 96, 0.3); }
}
.concept-slots-label {
    width: 100%;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #1a6c3a;
    margin-top: 4px;
}

/* Separator */
.concept-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 0;
}
.concept-separator-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #27ae60, transparent);
}
.concept-separator-dot {
    width: 10px;
    height: 10px;
    background: #27ae60;
    border-radius: 50%;
}

/* ===== STORY / HISTOIRE ===== */
.concept-story {
    padding: 80px 20px;
    background: #fff;
}
.concept-story-inner {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.concept-story-inner.concept-visible {
    opacity: 1;
    transform: translateY(0);
}
.concept-story-title {
    font-size: 30px;
    font-weight: 900;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 36px;
}
.concept-story-card {
    background: linear-gradient(135deg, #f8faf8, #eef6ee);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    border: 1px solid #e0ede0;
}
.concept-story-card::before {
    content: '\201C';
    position: absolute;
    top: 24px;
    left: 32px;
    font-size: 80px;
    font-family: Georgia, 'Times New Roman', serif;
    color: #27ae60;
    opacity: 0.25;
    line-height: 1;
}
.concept-story-quote {
    position: relative;
    z-index: 1;
}
.concept-story-quote p {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    margin: 0 0 16px;
    text-align: justify;
}
.concept-story-quote p:first-child {
    padding-top: 12px;
}
.concept-story-quote p:last-child {
    margin-bottom: 0;
}
.concept-story-signature {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(39, 174, 96, 0.15);
}
.concept-story-signature-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #27ae60);
}
.concept-story-signature span {
    font-size: 14px;
    font-weight: 700;
    color: #1a6c3a;
    font-style: italic;
}


/* Responsive */
@media (max-width: 768px) {
    .concept-story-card {
        padding: 32px 24px;
    }
    .concept-story-card::before {
        font-size: 60px;
        top: 16px;
        left: 20px;
    }
    .concept-story-title {
        font-size: 24px;
    }
    .concept-story-quote p {
        font-size: 15px;
        text-align: left;
    }
    .concept-story-signature {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }
}
@media (max-width: 480px) {
    .concept-story {
        padding: 48px 12px;
    }
    .concept-story-card {
        padding: 24px 18px;
    }
    .concept-story-signature span {
        font-size: 13px;
    }
}

/* ===== FAQ ===== */
.concept-faq {
    padding: 80px 20px;
    background: #fff;
}
.concept-faq-inner {
    max-width: 750px;
    margin: 0 auto;
}
.concept-faq-title {
    font-size: 32px;
    font-weight: 900;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 8px;
}
.concept-faq-subtitle {
    text-align: center;
    color: #777;
    font-size: 16px;
    margin: 0 0 48px;
}
.concept-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.concept-faq-item {
    background: #fafafa;
    border-radius: 16px;
    border: 1px solid #eee;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.concept-faq-item.concept-visible {
    opacity: 1;
    transform: translateY(0);
}
.concept-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    gap: 16px;
    font-family: inherit;
    transition: color 0.3s ease;
}
.concept-faq-question:hover {
    color: #1a6c3a;
}
.concept-faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #999;
}
.concept-faq-item.faq-open .concept-faq-chevron {
    transform: rotate(180deg);
    color: #1a6c3a;
}
.concept-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}
.concept-faq-item.faq-open .concept-faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}
.concept-faq-answer p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}
.concept-faq-answer a {
    color: #1a6c3a;
    font-weight: 600;
    text-decoration: underline;
}
.concept-faq-answer a:hover {
    color: #145228;
}

/* ===== CTA ===== */
.concept-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a6c3a, #27ae60);
    text-align: center;
}
.concept-cta-inner {
    max-width: 650px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.concept-cta-inner.concept-visible {
    opacity: 1;
    transform: translateY(0);
}
.concept-cta h2 {
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 12px;
}
.concept-cta p {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    margin: 0 0 32px;
    line-height: 1.6;
}
.concept-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.concept-cta-btn {
    padding: 16px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.concept-cta-btn:hover {
    transform: translateY(-3px);
}
.concept-cta-btn--primary {
    background: #fff;
    color: #1a6c3a;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.concept-cta-btn--primary:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.concept-cta-btn--secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}
.concept-cta-btn--secondary:hover {
    background: rgba(255,255,255,0.25);
}

/* Promo banner */
.concept-promo-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    padding: 20px 28px;
    max-width: 480px;
    margin: 0 auto;
    text-align: left;
}
.concept-promo-badge {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: #fff;
    color: #1a6c3a;
    font-size: 18px;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: conceptPromoPulse 2s ease-in-out infinite;
}
@keyframes conceptPromoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.concept-promo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.concept-promo-text strong {
    color: #fff;
    font-size: 15px;
}
.concept-promo-text span {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
}
.concept-promo-text code {
    background: rgba(255,255,255,0.25);
    padding: 2px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    letter-spacing: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .concept-card {
        flex-direction: column !important;
        padding: 32px 24px;
        gap: 24px;
    }
    .concept-card-visual {
        width: 100%;
        order: -1;
    }
    .concept-hero h1 {
        font-size: 32px;
    }
    .concept-hero-quote {
        font-size: 16px;
    }
    .concept-card-content h2 {
        font-size: 22px;
    }
}
@media (max-width: 480px) {
    .concept-hero {
        padding: 80px 16px 60px;
    }
    .concept-hero h1 {
        font-size: 26px;
    }
    .concept-hero-quote {
        font-size: 15px;
        padding: 0 10px;
    }
    .concept-advantages {
        padding: 40px 12px;
    }
    .concept-cta h2 {
        font-size: 26px;
    }
    .concept-promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 16px 20px;
    }
    .concept-faq-question {
        font-size: 15px;
        padding: 16px 18px;
    }
}




/* ===== ------------------- ===== */
/* ===== AUTRE PAGE - PANIER ===== */
/* ===== ------------------- ===== */

/* ==========================================
   CART PAGE - E-COURSES
   ========================================== */

/* ── RESET ── */
.ec-cart-page *,
.ec-cart-page *::before,
.ec-cart-page *::after {
    box-sizing: border-box;
}

.ec-cart-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 120px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a2e;
}

/* ── HEADER ── */
.ec-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.ec-cart-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ec-cart-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    color: #1a1a2e;
}

.ec-cart-title svg {
    color: #16a34a;
}

.ec-cart-badge {
    background: #f0fdf4;
    color: #16a34a;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #bbf7d0;
}

.ec-cart-back {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #16a34a;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid #dcfce7;
    background: #f0fdf4;
}

.ec-cart-back:hover {
    background: #dcfce7;
    color: #15803d;
    transform: translateX(-3px);
}

/* ── BARRE LIVRAISON GRATUITE ── */
.ec-shipping-bar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ec-shipping-msg {
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-align: center;
}

.ec-ship-success {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #16a34a;
    font-weight: 600;
}

.ec-ship-success svg {
    color: #16a34a;
}

.ec-ship-almost {
    color: #ea580c;
    font-weight: 600;
}

.ec-ship-default {
    color: #6b7280;
}

.ec-shipping-track {
    height: 10px;
    background: #f3f4f6;
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}

.ec-shipping-progress {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.ec-ship-icon {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
    animation: ec-bounce 2s infinite;
}

@keyframes ec-bounce {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(3px); }
}

.ec-shipping-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #9ca3af;
    margin-top: 4px;
    font-weight: 500;
}

/* ── BANNER ÉCONOMIES ── */
.ec-savings-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #92400e;
}

.ec-savings-banner svg {
    color: #f59e0b;
    flex-shrink: 0;
}

/* ── LAYOUT PRINCIPAL ── */
.ec-cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: flex-start;
}

/* ── PANIER VIDE ── */
.ec-cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 20px;
    border: 2px dashed #e5e7eb;
}

.ec-empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: ec-float 3s ease-in-out infinite;
}

@keyframes ec-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.ec-cart-empty h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.ec-cart-empty p {
    color: #6b7280;
    margin: 0 0 24px;
}

.ec-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #16a34a;
    color: #fff;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.ec-btn-primary:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
    color: #fff;
}

/* ── LISTE DES ITEMS ── */
.ec-cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ec-cart-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    animation: ec-slideIn 0.4s ease forwards;
    opacity: 0;
    transform: translateY(8px);
}

.ec-cart-item:first-child {
    border-radius: 16px 16px 0 0;
}

.ec-cart-item:last-child {
    border-radius: 0 0 16px 16px;
    border-bottom: 1px solid #f3f4f6;
}

.ec-cart-item:only-child {
    border-radius: 16px;
}

.ec-cart-item:hover {
    background: #fafafa;
}

@keyframes ec-slideIn {
    to { opacity: 1; transform: translateY(0); }
}

.ec-cart-item.ec-item-removing {
    animation: ec-slideOut 0.4s ease forwards;
}

@keyframes ec-slideOut {
    to {
        opacity: 0;
        transform: translateX(-30px);
        max-height: 0;
        padding: 0 20px;
        margin: 0;
        overflow: hidden;
    }
}

/* IMAGE */
.ec-item-img {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    position: relative;
}

.ec-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.ec-item-img:hover img {
    transform: scale(1.08);
}

.ec-item-badge-promo {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #ef4444;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    z-index: 2;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* INFOS */
.ec-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ec-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.ec-item-details {
    flex: 1;
    min-width: 0;
}

.ec-item-name {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1a2e;
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ec-item-name:hover {
    color: #16a34a;
}

.ec-item-meta {
    font-size: 0.78rem;
    color: #9ca3af;
    font-weight: 500;
}

.ec-item-price-unit {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.ec-price-old {
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.ec-price-current {
    font-size: 0.88rem;
    font-weight: 700;
    color: #374151;
}

.ec-item-sale .ec-price-current {
    color: #ef4444;
}

/* BOUTON SUPPRIMER */
.ec-item-remove {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #d1d5db;
    border-radius: 8px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.ec-item-remove:hover {
    color: #ef4444;
    background: #fef2f2;
}

.ec-item-remove svg,
.ec-item-remove svg *,
.ec-qty-trash svg,
.ec-qty-trash svg * {
    pointer-events: none;
}

/* BOTTOM : QTY + SUBTOTAL */
.ec-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

/* QUANTITE */
.ec-item-qty {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s;
}

.ec-item-qty:hover {
    border-color: #16a34a;
}

.ec-qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #374151;
    transition: all 0.2s;
    padding: 0;
}

.ec-qty-btn:hover {
    background: #f0fdf4;
    color: #16a34a;
}

.ec-qty-btn.ec-qty-trash {
    color: #ef4444;
}

.ec-qty-btn.ec-qty-trash:hover {
    background: #fef2f2;
    color: #dc2626;
}

.ec-qty-btn.ec-qty-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.ec-qty-value {
    min-width: 32px;
    text-align: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: #1a1a2e;
    user-select: none;
}

.ec-qty-value.ec-qty-updating {
    animation: ec-pulse 0.3s;
}

@keyframes ec-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* SOUS-TOTAL */
.ec-item-subtotal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.ec-subtotal-amount {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1a2e;
}

.ec-saving-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ef4444;
    background: #fef2f2;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #fecaca;
}

/* ══════════ CARTE RÉSUMÉ ══════════ */
.ec-cart-summary {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 10px 30px rgba(0,0,0,0.07);
}

.ec-summary-card {
    padding: 28px 24px;
}

/* ══════════ TITRE ══════════ */
.ec-summary-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 22px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
    color: #1a1a2e;
}

/* ══════════ OPTIONS ══════════ */
.ec-summary-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

/* ── Carte SAC OFFERT ── */
.ec-option-gift {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 2px solid #bbf7d0;
    border-radius: 16px;
    padding: 14px 16px;
}

/* ── Carte LIVRAISON PRIORITAIRE ── */
.ec-option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    gap: 12px;
}

.ec-option-card:hover {
    border-color: #16a34a;
    background: #f0fdf4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22,163,74,0.1);
}

/* ── Carte POURBOIRE ── */
.ec-tip-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px 16px;
    transition: all 0.25s ease;
}

.ec-tip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a1a2e;
}

/* ── Boutons pourboire ── */
.ec-tip-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ec-tip-btn {
    padding: 6px 12px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ec-tip-btn:hover {
    border-color: #16a34a;
    color: #16a34a;
    background: #f0fdf4;
}

.ec-tip-btn.ec-tip-active {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
    box-shadow: 0 2px 8px rgba(22,163,74,0.3);
}

/* ══════════ LIGNES RÉSUMÉ ══════════ */
.ec-summary-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
    padding-top: 16px;
    border-top: 1.5px solid #f3f4f6;
}

.ec-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #6b7280;
}

.ec-summary-value {
    font-weight: 600;
    color: #374151;
}

/* ══════════ TOTAL ══════════ */
.ec-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 2px solid #1a1a2e;
    margin-top: 8px;
}

.ec-total-label {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1a2e;
}

.ec-total-amount {
    font-size: 1.4rem;
    font-weight: 900;
    color: #1a1a2e;
    letter-spacing: -0.02em;
}

/* ══════════ COUPON ══════════ */
.ec-coupon-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    margin: 8px 0;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.2s;
}

.ec-coupon-toggle:hover { color: #16a34a; }

.ec-coupon-form {
    display: flex;
    gap: 8px;
    margin: 8px 0 12px;
}

.ec-coupon-input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
}

.ec-coupon-input:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22,163,74,0.1);
}

.ec-coupon-submit {
    padding: 10px 16px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.ec-coupon-submit:hover {
    background: #16a34a;
}

/* ══════════ BOUTON COMMANDER ══════════ */
.ec-btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(22,163,74,0.35);
    margin-top: 16px;
    position: relative;
    overflow: hidden;
}

.ec-btn-checkout::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: rgba(255,255,255,0.15);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.ec-btn-checkout:hover::after {
    left: 120%;
}

.ec-btn-checkout:hover {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22,163,74,0.4);
}

/* ══════════ TRUST BADGES ══════════ */
.ec-trust-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
    font-size: 0.72rem;
    color: #6b7280;
    font-weight: 500;
}

/* ══════════ BARRE MOBILE ══════════ */
.ec-cart-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e5e7eb;
    padding: 12px 16px;
    z-index: 999;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ec-mobile-total-label {
    font-size: 0.72rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ec-mobile-total-amount {
    font-size: 1.25rem;
    font-weight: 900;
    color: #1a1a2e;
}

.ec-mobile-checkout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(22,163,74,0.35);
    white-space: nowrap;
    transition: all 0.25s;
}

.ec-mobile-checkout-btn:hover {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

/* ===== INPUT CODE PROMO ===== */
.coupon-input,
input[name="coupon_code"],
#coupon_code {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s ease;
    width: 100%;
}

.coupon-input:focus,
input[name="coupon_code"]:focus {
    border-color: #2ecc71; /* vert e-courses */
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
}

/* ===== BOUTON APPLIQUER ===== */
button[name="apply_coupon"],
.apply-coupon-btn {
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

button[name="apply_coupon"]:hover {
    background-color: #27ae60;
}

/* ===== INPUT POURBOIRE AUTRE ===== */
input.tip-custom,
input[name="tip_amount"],
.tip-autre-input input {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 14px;
    width: 80px;
    text-align: center;
    transition: border 0.3s ease;
}

input.tip-custom:focus,
input[name="tip_amount"]:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
}

/* ===== MESSAGE ERREUR CODE PROMO ===== */
.coupon-error,
.woocommerce-error li {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}


/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 968px) {
    .ec-cart-layout { grid-template-columns: 1fr; }
    .ec-cart-summary { position: static; margin-bottom: 80px; }
    .ec-cart-mobile-bar { display: flex; }
}

@media (max-width: 640px) {
    .ec-summary-card { padding: 20px 16px; }
    .ec-total-amount { font-size: 1.2rem; }
    .ec-btn-checkout { padding: 15px; border-radius: 14px; }
    .ec-tip-btn { font-size: 0.72rem; padding: 5px 8px; }
}

/* ═══════════════════════════════════
   SINGLE PRODUCT - E-COURSES
   ═══════════════════════════════════ */

.sp-main {
    background: #f8f9fa;
    padding-bottom: 60px;
}

.sp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── BREADCRUMB ── */
.sp-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 14px 0;
}

.sp-breadcrumb .sp-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sp-breadcrumb a {
    color: #6c757d;
    text-decoration: none;
    font-size: 13px;
    transition: color .2s;
}

.sp-breadcrumb a:hover {
    color: #2d6a4f;
}

.sp-bread-chevron {
    color: #ced4da;
    flex-shrink: 0;
}

.sp-bread-current {
    color: #343a40;
    font-size: 13px;
    font-weight: 600;
}

/* ── PRODUCT TOP ── */
.sp-product-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 40px 0;
    align-items: start;
}

/* ── GALLERY ── */
.sp-gallery {
    position: relative;
}

.sp-badge-sale {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #e63946;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 0.5px;
}

.sp-main-image-wrap {
    display: block;
    background: #ffffff;
    overflow: hidden;
    border-radius: 12px;
    cursor: zoom-in;
}

.sp-main-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.9);
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.sp-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.sp-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.sp-thumb:hover,
.sp-thumb.active {
    border-color: #2d6a4f;
}

.sp-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ── INFO SECTION ── */
.sp-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sp-brand {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #2d6a4f;
    margin-bottom: 6px;
}

.sp-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    margin: 0 0 10px 0;
}

.sp-short-desc {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

/* ── PRIX ── */
.sp-price-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.sp-price-old {
    font-size: 18px;
    color: #adb5bd;
    text-decoration: line-through;
}

.sp-price-current {
    font-size: 32px;
    font-weight: 800;
    color: #2d6a4f;
}

/* ── COMPARATEUR SUPERMARCHE ── */
.sp-compare-box {
    background: #f0faf4;
    border: 1px solid #d8f3dc;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 18px;
}

.sp-compare-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.sp-compare-label {
    font-size: 13px;
    color: #6c757d;
}

.sp-compare-value {
    font-size: 14px;
    font-weight: 700;
}

.sp-compare-ours {
    color: #2d6a4f;
}

.sp-compare-super {
    color: #adb5bd;
    text-decoration: line-through;
}

.sp-compare-economy {
    margin: 8px 0 0 0;
    font-size: 12px;
    color: #40916c;
    font-weight: 600;
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #d8f3dc;
}

/* ── STOCK ── */
.sp-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.sp-stock-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.sp-stock-dot.sp-stock-ok { background: #22c55e; }
.sp-stock-dot.sp-stock-low { background: #f97316; }
.sp-stock-dot.sp-stock-critical { background: #ef4444; }
.sp-stock-dot.sp-stock-out { background: #9ca3af; }

@keyframes sp-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(231, 111, 81, .2); }
    50% { box-shadow: 0 0 0 6px rgba(231, 111, 81, .1); }
}

.sp-stock-text.sp-stock-ok-text { color: #22c55e; font-weight: 600; }
.sp-stock-text.sp-stock-low-text { color: #f97316; font-weight: 600; }
.sp-stock-text.sp-stock-critical-text { color: #ef4444; font-weight: 700; }
.sp-stock-text.sp-stock-out-text { color: #9ca3af; font-weight: 600; }


/* ══ NUTRI-SCORE ══ */
.sp-nutriscore {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
}
.sp-nutriscore-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}
.sp-nutriscore-badges {
    display: flex;
    gap: 4px;
}
.sp-ns-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 14px;
    transition: transform 0.2s;
}
.sp-ns-badge.sp-ns-active {
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ── CART FORM ── */
.sp-cart-form {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.sp-qty-wrap {
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.sp-qty-btn {
    width: 42px;
    height: 46px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: background .2s;
}

.sp-qty-btn:hover {
    background: #f1f3f5;
}

.sp-qty-input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    -moz-appearance: textfield;
    outline: none;
}

.sp-qty-input::-webkit-outer-spin-button,
.sp-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sp-add-to-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #2d6a4f, #40916c);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    padding: 0 30px;
    height: 50px;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(45, 106, 79, .3);
}

.sp-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, .4);
}

/* ── REASSURANCE (sous bouton) ── */
.sp-reassurance {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 18px;
}

.sp-reassurance-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6c757d;
}

.sp-reassurance-item svg {
    color: #2d6a4f;
    flex-shrink: 0;
}

/* ── TAGS PILLS ── */
.sp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-tag-pill {
    display: inline-block;
    padding: 5px 14px;
    background: #f1f3f5;
    color: #495057;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    border: 1px solid #e9ecef;
}

.sp-tag-pill:hover {
    background: #2d6a4f;
    color: #fff;
    border-color: #2d6a4f;
}

/* ═══════ ONGLETS ═══════ */
.sp-tabs-section {
    margin-top: 10px;
    padding-bottom: 40px;
}

.sp-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 30px;
}

.sp-tab-btn {
    padding: 14px 28px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    position: relative;
    transition: color .2s;
}

.sp-tab-btn:hover {
    color: #2d6a4f;
}

.sp-tab-btn.active {
    color: #2d6a4f;
}

.sp-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2d6a4f;
}

.sp-tab-content {
    display: none;
}

.sp-tab-content.active {
    display: block;
}

/* ── Description content ── */
.sp-desc-content {
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 30px;
}

.sp-desc-content h2,
.sp-desc-content h3 {
    color: #1a1a2e;
    margin: 24px 0 12px;
}

.sp-desc-content ul {
    padding-left: 20px;
}

.sp-desc-content li {
    margin-bottom: 6px;
}

.sp-desc-empty {
    color: #adb5bd;
    font-style: italic;
}

/* ── Info Card ── */
.sp-info-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.sp-info-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 18px 0;
}

.sp-info-card-title svg {
    color: #2d6a4f;
}

.sp-info-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.sp-info-card-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sp-info-card-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #adb5bd;
    font-weight: 600;
}

.sp-info-card-value {
    font-size: 14px;
    color: #343a40;
    font-weight: 600;
}

/* ── Conservation Card ── */
.sp-conservation-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.sp-conservation-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 14px 0;
}

.sp-conservation-title svg {
    color: #2d6a4f;
}

.sp-conservation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-conservation-list li {
    padding: 8px 0 8px 26px;
    position: relative;
    font-size: 14px;
    color: #495057;
    border-bottom: 1px solid #f1f3f5;
}

.sp-conservation-list li:last-child {
    border-bottom: none;
}

.sp-conservation-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: #d8f3dc;
    border: 2px solid #2d6a4f;
    border-radius: 50%;
}

/* ── Trust Card ── */
.sp-trust-card {
    background: #f0faf4;
    border: 1px solid #d8f3dc;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.sp-trust-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px 0;
}

.sp-trust-title svg {
    color: #2d6a4f;
}

.sp-trust-items {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.sp-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #495057;
    font-weight: 500;
}

.sp-trust-item svg {
    color: #40916c;
}

/* ── Disclaimer ── */
.sp-disclaimer {
    font-size: 12px;
    color: #adb5bd;
    font-style: italic;
    margin-top: 10px;
}

/* ── Infos Table (tab 2) ── */
.sp-infos-table {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.sp-infos-row {
    display: flex;
    padding: 14px 20px;
    border-bottom: 1px solid #f1f3f5;
}

.sp-infos-row:last-child {
    border-bottom: none;
}

.sp-infos-row:nth-child(even) {
    background: #f8f9fa;
}

.sp-infos-label {
    width: 200px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    flex-shrink: 0;
}

.sp-infos-value {
    font-size: 14px;
    color: #343a40;
}

/* ═══════ PRODUITS SIMILAIRES ═══════ */
.sp-related {
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

.sp-related-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 24px 0;
}

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

.sp-related-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    transition: all .3s ease;
}

.sp-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.sp-related-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e63946;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.sp-related-img {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    background: #fafafa;
}

.sp-related-img img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
}

.sp-related-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    padding: 0 16px;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.sp-related-price {
    padding: 0 16px 16px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.sp-related-old {
    font-size: 13px;
    color: #adb5bd;
    text-decoration: line-through;
}

.sp-related-current {
    font-size: 18px;
    font-weight: 800;
    color: #2d6a4f;
}

.sp-related-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1;
}

.sp-related-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: #2d6b4f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.sp-related-add-cart:hover {
    background: #245a42;
}

.sp-related-add-cart.added {
    background: #22c55e;
}


/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 900px) {
    .sp-product-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sp-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-info-card-grid {
        grid-template-columns: 1fr;
    }

    .sp-trust-items {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 550px) {
    .sp-title {
        font-size: 22px;
    }

    .sp-price-current {
        font-size: 26px;
    }

    .sp-cart-form {
        flex-direction: column;
    }

    .sp-add-to-cart {
        width: 100%;
    }

    .sp-tabs-nav {
        overflow-x: auto;
    }

    .sp-tab-btn {
        padding: 12px 18px;
        font-size: 13px;
        white-space: nowrap;
    }

    .sp-related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .sp-infos-label {
        width: 120px;
    }
}




/* ============================================
   ESPACE COMPTE CLIENT - E-COURSES
   ============================================ */

/* SUPPRESSION SIDEBAR */
.account-no-sidebar .widget-area,
.account-no-sidebar #secondary,
.account-no-sidebar .sidebar,
.account-no-sidebar aside {
    display: none !important;
}

.account-no-sidebar .content-area,
.account-no-sidebar #primary,
.account-no-sidebar .site-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

/* Cacher texte par défaut WooCommerce */
.woocommerce-MyAccount-content > p:first-child {
    display: none !important;
}

/* LAYOUT */
.woocommerce-account .woocommerce {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* NAVIGATION */
.woocommerce-MyAccount-navigation {
    width: 250px;
    min-width: 250px;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: #f0faf4;
    color: #2d6a4f;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #2d6a4f;
    color: #fff;
}

/* CONTENU */
.woocommerce-MyAccount-content {
    flex: 1;
}

/* DASHBOARD WELCOME */
.dashboard-welcome h2 {
    font-size: 24px;
    color: #1a1a1a;
    margin: 0 0 4px;
}

.dashboard-welcome p {
    color: #666;
    margin: 0 0 24px;
}

/* STATS */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #eee;
}

.stat-icon {
    display: block;
    margin: 0 auto 12px;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

/* SECTION TITLE */
.section-title {
    font-size: 18px;
    color: #1a1a1a;
    margin: 0 0 16px;
}

/* QUICK LINKS */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.quick-link-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #eee;
    transition: all 0.2s;
}

.quick-link-card:hover {
    border-color: #2d6a4f;
    box-shadow: 0 4px 16px rgba(45,106,79,0.12);
    transform: translateY(-2px);
}

.quick-link-card svg {
    display: block;
    margin: 0 auto 10px;
}

.quick-link-card span {
    font-size: 14px;
    font-weight: 500;
}

/* ACCOUNT SECTION TITLE */
.account-section-title {
    font-size: 22px;
    color: #1a1a1a;
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* BOUTONS */
.btn-primary {
    display: inline-block;
    background: #2d6a4f;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #245a42;
    color: #fff;
}

.btn-secondary {
    display: inline-block;
    background: #fff;
    color: #2d6a4f;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1.5px solid #2d6a4f;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #f0faf4;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

/* EMPTY STATE */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fafafa;
    border-radius: 12px;
    border: 2px dashed #e0e0e0;
}

.empty-state svg {
    margin-bottom: 16px;
}

.empty-state p {
    color: #666;
    font-size: 16px;
    margin: 0 0 8px;
}

.empty-state-sub {
    font-size: 14px !important;
    color: #999 !important;
    margin-bottom: 20px !important;
}

.empty-state .btn-primary {
    margin-top: 16px;
}

/* NOTICE */
.account-notice {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

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

/* COMMANDES */
.commande-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.commande-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.commande-numero {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 15px;
}

.commande-date {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 2px;
}

.commande-statut {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.statut-completed { background: #d4edda; color: #155724; }
.statut-processing { background: #fff3cd; color: #856404; }
.statut-pending, .statut-on-hold { background: #e2e3e5; color: #383d41; }
.statut-cancelled, .statut-failed { background: #f8d7da; color: #721c24; }
.statut-refunded { background: #d1ecf1; color: #0c5460; }

.commande-articles {
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.commande-article {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 14px;
}

.article-nom { color: #333; }
.article-qty { color: #888; }

.commande-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.commande-total {
    font-size: 18px;
    font-weight: 700;
    color: #2d6a4f;
}

.commande-actions {
    display: flex;
    gap: 10px;
}

/* FORMULAIRES */
.profil-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2d6a4f;
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}

.form-group input::placeholder {
    color: #bbb;
}

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

.profil-password-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.profil-password-section h3 {
    font-size: 16px;
    margin: 0 0 12px;
}

/* ========== FORMULAIRES (Profil) ========== */
.profil-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2d6a4f;
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}

.form-group input::placeholder {
    color: #bbb;
}

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

.profil-password-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.profil-password-section h3 {
    font-size: 16px;
    margin: 0 0 12px;
}

/* ========================================
   MES ADRESSES - FORMULAIRE
======================================== */
.addresses-form .address-block {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.addresses-form .address-block h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #2d6a4f;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

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

.addresses-form .addr-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.addresses-form .addr-row .addr-group {
    margin-bottom: 0;
}

.addresses-form .addr-group label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.addresses-form .addr-group input,
.addresses-form .addr-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.addresses-form .addr-group input:focus,
.addresses-form .addr-group select:focus {
    outline: none;
    border-color: #2d6a4f;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.addresses-form .addr-group input::placeholder {
    color: #aaa;
}

/* Toggle facturation */
.addresses-form .billing-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
    cursor: pointer;
}

.addresses-form .billing-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.addresses-form .billing-toggle label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

/* Bouton enregistrer */
.addresses-form .btn-primary {
    background: #2d6a4f;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.addresses-form .btn-primary:hover {
    background: #1b4332;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 600px) {
    .addresses-form .addr-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .addresses-form .addr-row .addr-group {
        margin-bottom: 16px;
    }
}

/* PAIEMENT */
.payment-cards {
    margin-bottom: 24px;
}

.payment-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
}

.card-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.card-info div {
    display: flex;
    flex-direction: column;
}

.card-type {
    font-weight: 600;
    font-size: 14px;
}

.card-number {
    font-size: 13px;
    color: #666;
    font-family: monospace;
}

.card-expiry {
    font-size: 12px;
    color: #999;
}

.card-default {
    background: #d4edda;
    color: #155724;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.payment-info-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #f0faf4;
    border: 1px solid #c3e6cb;
    border-radius: 10px;
    padding: 20px;
    margin: 24px 0;
}

.payment-info-box strong {
    display: block;
    margin-bottom: 4px;
    color: #2d6a4f;
}

.payment-info-box p {
    margin: 0;
    font-size: 13px;
    color: #555;
}

/* ========================================
   AJOUT MOYEN DE PAIEMENT
======================================== */
.payment-add-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 28px;
    margin-top: 20px;
}

.payment-add-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #1b4332;
    margin: 0 0 10px 0;
}

.payment-add-section p {
    color: #666;
    font-size: 14px;
    margin: 0 0 20px 0;
}

.btn-add-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2d6a4f;
    color: #fff !important;
    padding: 13px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s, transform 0.1s;
    border: none;
    cursor: pointer;
}

.btn-add-card:hover {
    background: #1b4332;
    transform: translateY(-1px);
    color: #fff !important;
}

.accepted-cards {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.accepted-cards > span {
    font-size: 13px;
    color: #888;
}

.card-logos {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.card-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    min-width: 50px;
    height: 28px;
}

.card-logo.visa      { color: #1a1f71; }
.card-logo.mastercard { color: #eb001b; }
.card-logo.amex      { color: #006fcf; }
.card-logo.cb        { color: #2d6a4f; }

/* FAVORIS */
.favoris-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.favori-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 16px;
    position: relative;
    text-align: center;
    transition: all 0.2s;
}

.favori-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.favori-card a {
    text-decoration: none;
    color: #333;
}

.favori-card img {
    border-radius: 8px;
    margin-bottom: 10px;
    width: 100%;
    height: auto;
}

.favori-card h4 {
    font-size: 14px;
    margin: 0 0 6px;
}

.favori-price {
    font-size: 16px;
    font-weight: 700;
    color: #2d6a4f;
    display: block;
    margin-bottom: 12px;
}

.favori-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: #999;
}

.favori-remove:hover {
    background: #fee;
    border-color: #e74c3c;
    color: #e74c3c;
}

/* FAQ */
.faq-list {
    margin-bottom: 32px;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-align: left;
}

.faq-question:hover {
    background: #fafafa;
}

.faq-arrow {
    transition: transform 0.3s;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-reponse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-reponse {
    max-height: 200px;
}

.faq-reponse p {
    padding: 0 20px 16px;
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* AIDE CONTACT */
.aide-contact {
    background: #f0faf4;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.aide-contact h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #1a1a1a;
}

.aide-contact > p {
    color: #666;
    margin: 0 0 20px;
}

.aide-contact-options {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.aide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #fff;
    border: 1.5px solid #2d6a4f;
    border-radius: 8px;
    color: #2d6a4f;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
}

.aide-btn:hover {
    background: #2d6a4f;
    color: #fff;
}

.aide-btn:hover svg {
    stroke: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
        gap: 20px;
    }

    .woocommerce-MyAccount-navigation {
        width: 100%;
        min-width: unset;
        position: static;
    }

        .woocommerce-MyAccount-navigation ul {
        display: flex;
        overflow-x: auto;
        gap: 4px;
        padding-bottom: 4px;
    }

    .woocommerce-MyAccount-navigation ul li a {
        white-space: nowrap;
        padding: 10px 14px;
        font-size: 13px;
    }

    .dashboard-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 16px 10px;
    }

    .stat-number {
        font-size: 18px;
    }

    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .favoris-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .commande-footer {
        flex-direction: column;
        gap: 12px;
    }

    .commande-actions {
        width: 100%;
    }

    .commande-actions .btn-secondary,
    .commande-actions .btn-primary {
        flex: 1;
        text-align: center;
    }

    .aide-contact-options {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .favoris-grid,
    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .commande-actions {
        flex-direction: column;
    }

    .commande-actions .btn-secondary,
    .commande-actions .btn-primary {
        width: 100%;
        text-align: center;
    }
}
/* Cacher le titre "Mon compte" */
.woocommerce-account .entry-title,
.woocommerce-account .page-title,
.woocommerce-account h1.entry-title {
    display: none !important;
}

/* Cacher le texte par défaut WooCommerce "À partir du tableau de bord..." */
.woocommerce-MyAccount-content > p:first-child,
.woocommerce-MyAccount-content > p:nth-child(1),
.woocommerce-MyAccount-content > p:nth-child(2) {
    display: none !important;
}

/* Cacher aussi le formulaire edit-account par défaut de WooCommerce */
.woocommerce-account .woocommerce-EditAccountForm {
    display: none !important;
}


/* ════════════════════════════════
   PANIER VIDE - Simple
════════════════════════════════ */
.ec-cart-empty {
    background: #fff;
    border: 2px dashed #e0e0e0;
    border-radius: 16px;
    padding: 70px 30px;
    text-align: center;
    max-width: 600px;
    margin: 30px auto;
}

.ec-empty-icon {
    margin-bottom: 20px;
    opacity: 0.9;
}

.ec-cart-empty h2 {
    font-size: 24px;
    color: #1b4332;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.ec-cart-empty p {
    font-size: 15px;
    color: #888;
    margin: 0 0 28px 0;
}

.ec-cart-empty .ec-btn-primary {
    display: inline-block;
    background: #2d6a4f;
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
}

.ec-cart-empty .ec-btn-primary:hover {
    background: #1b4332;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45,106,79,0.3);
}





/* Bouton checkout identique au bouton WooCommerce */
.ec-checkout-login-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #16a34a !important;
    color: #fff !important;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: 8px;
}

.ec-checkout-login-btn:hover {
    background: #15803d !important;
    color: #fff !important;
    transform: translateY(-1px);
    text-decoration: none;
}


/* ═══════════════════════════════════════════
   PAGE MON COMPTE — LOGIN + REGISTER
   ═══════════════════════════════════════════ */

/* ============ LOGIN PREMIUM ============ */
.mf-login-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Bandeau promo */
.mf-promo-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    padding: 16px 24px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(16,185,129,.3);
    position: relative;
    overflow: hidden;
    animation: slideDown .6s ease;
}
.mf-promo-icon { font-size: 32px; animation: bounce 2s infinite; }
.mf-promo-text { flex: 1; }
.mf-promo-text strong { display: block; font-size: 18px; }
.mf-promo-text span { font-size: 14px; opacity: .95; }
.mf-promo-sparkle { font-size: 24px; animation: spin 3s linear infinite; }

@keyframes slideDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes spin { to { transform: rotate(360deg); } }

/* Grid 2 colonnes */
.mf-login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

/* Cartes */
.mf-login-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 10px 40px rgba(0,0,0,.08);
    position: relative;
    transition: transform .3s, box-shadow .3s;
}
.mf-login-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
}

.mf-card-register {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 2px solid #10b981;
}

/* Badge promo */
.mf-register-badge {
    position: absolute;
    top: -14px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(239,68,68,.3);
    animation: wiggle 3s ease-in-out infinite;
}
@keyframes wiggle { 0%,90%,100%{transform:rotate(0)} 93%{transform:rotate(-3deg)} 96%{transform:rotate(3deg)} }

/* Header carte */
.mf-card-header { text-align: center; margin-bottom: 24px; }
.mf-card-header h2 { font-size: 26px; margin: 0 0 6px; color: #111827; font-weight: 700; }
.mf-card-header p { color: #6b7280; margin: 0; font-size: 15px; }

/* Champs */
.mf-field { margin-bottom: 18px; position: relative; }
.mf-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}
.mf-field .required { color: #ef4444; }

.mf-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    background: #f9fafb;
    transition: all .25s ease;
    box-sizing: border-box;
}
.mf-input:focus {
    outline: none;
    border-color: #10b981;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(16,185,129,.12);
    transform: translateY(-1px);
}
.mf-input.valid { border-color: #10b981; background: #f0fdf4; }
.mf-input.invalid { border-color: #ef4444; background: #fef2f2; }

/* Icône validation */
.mf-validation-icon {
    position: absolute;
    right: 14px;
    top: 42px;
    font-size: 18px;
    opacity: 0;
    transition: opacity .2s;
}
.mf-validation-icon.show { opacity: 1; }

/* Toggle mot de passe */
.mf-password-wrapper { position: relative; }
.mf-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    padding: 6px;
    border-radius: 8px;
    transition: all .2s;
}
.mf-toggle-password:hover { color: #10b981; background: #f0fdf4; }

/* Options row */
.mf-row-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0;
    flex-wrap: wrap;
    gap: 10px;
}

/* Checkbox custom */
.mf-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    user-select: none;
}
.mf-checkbox input { display: none; }
.mf-checkmark {
    width: 20px; height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    margin-right: 8px;
    display: inline-block;
    position: relative;
    transition: all .2s;
}
.mf-checkbox input:checked + .mf-checkmark {
    background: #10b981;
    border-color: #10b981;
}
.mf-checkbox input:checked + .mf-checkmark::after {
    content: '✓';
    color: #fff;
    position: absolute;
    top: -2px; left: 3px;
    font-size: 14px;
    font-weight: bold;
}

.mf-forgot {
    color: #10b981;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
}
.mf-forgot:hover { color: #059669; text-decoration: underline; }

/* Boutons */
.mf-btn {
    width: 100%;
    padding: 15px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.mf-btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 6px 20px rgba(16,185,129,.35);
}
.mf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(16,185,129,.5);
}
.mf-btn-primary:active { transform: translateY(0); }

.mf-btn-secondary {
    background: #fff;
    color: #10b981;
    border: 2px solid #10b981;
}
.mf-btn-secondary:hover {
    background: #10b981;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(16,185,129,.35);
}

/* Loader bouton */
.btn-loader {
    display: none;
    width: 20px; height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
.mf-btn.loading .btn-text { display: none; }
.mf-btn.loading .btn-loader { display: inline-block; }

/* Divider */
.mf-divider {
    text-align: center;
    margin: 24px 0 18px;
    position: relative;
    color: #9ca3af;
    font-size: 13px;
}
.mf-divider::before, .mf-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #e5e7eb;
}
.mf-divider::before { left: 0; }
.mf-divider::after { right: 0; }

/* Social */
.mf-social-login { display: flex; gap: 12px; }
.mf-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #374151;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s;
}
.mf-social-btn:hover {
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

/* Illustration */
.mf-illustration {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.mf-illu-circle {
    width: 120px; height: 120px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 15px 40px rgba(16,185,129,.35);
}
.mf-illu-emoji { font-size: 56px; animation: bounce 2.5s ease-in-out infinite; }
.mf-illu-float {
    position: absolute;
    font-size: 26px;
    animation: float 3s ease-in-out infinite;
}
.mf-float-1 { top: -10px; left: -10px; animation-delay: 0s; }
.mf-float-2 { top: -10px; right: -10px; animation-delay: .7s; }
.mf-float-3 { bottom: -10px; left: -10px; animation-delay: 1.4s; }
.mf-float-4 { bottom: -10px; right: -10px; animation-delay: 2.1s; }
@keyframes float {
    0%,100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(10deg); }
}

/* Avantages */
.mf-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.mf-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255,255,255,.7);
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #374151;
    transition: transform .2s;
}
.mf-benefits li:hover { transform: translateX(4px); }
.mf-bullet { font-size: 20px; }

.mf-register-note {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    margin: 14px 0 0;
}

/* Trust bar */
.mf-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.mf-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}
.mf-trust-icon { font-size: 28px; }
.mf-trust-item div { display: flex; flex-direction: column; }
.mf-trust-item strong { font-size: 14px; color: #111827; }
.mf-trust-item small { font-size: 12px; color: #6b7280; }

/* RESPONSIVE */
@media (max-width: 860px) {
    .mf-login-grid { grid-template-columns: 1fr; }
    .mf-trust-bar { grid-template-columns: repeat(2, 1fr); }
    .mf-promo-banner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .mf-login-card { padding: 24px 20px; }
    .mf-trust-bar { grid-template-columns: 1fr; }
    .mf-card-header h2 { font-size: 22px; }
}
.mf-register-legal {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin: 10px 0;
    line-height: 1.4;
}
.mf-register-legal a {
    color: #2e7d32;
    text-decoration: underline;
}

/* Phone input */
.mf-phone-wrapper { display:flex; gap:8px; align-items:stretch; }
.mf-phone-prefix { 
    display:flex; align-items:center; padding:0 12px; 
    background:#f5f5f5; border:1px solid #ddd; border-radius:8px; 
    font-weight:600; white-space:nowrap;
}
.mf-phone-input { flex:1; }
.mf-btn-send-code { 
    padding:0 16px; background:#2e7d32; color:#fff; border:none; 
    border-radius:8px; font-weight:600; cursor:pointer; white-space:nowrap;
    transition:all .2s;
}
.mf-btn-send-code:hover:not(:disabled) { background:#1b5e20; }
.mf-btn-send-code:disabled { opacity:.6; cursor:not-allowed; }
.mf-phone-hint { color:#666; font-size:12px; margin-top:4px; display:block; }

/* OTP */
.mf-otp-wrapper { display:flex; gap:8px; justify-content:center; margin:10px 0; }
.mf-otp-input { 
    width:45px; height:55px; text-align:center; font-size:24px; font-weight:700;
    border:2px solid #ddd; border-radius:8px; transition:all .2s;
}
.mf-otp-input:focus { border-color:#2e7d32; outline:none; box-shadow:0 0 0 3px rgba(46,125,50,.15); }
.mf-otp-status { text-align:center; margin-top:8px; font-size:14px; }
.mf-resend-code { 
    display:block; margin:10px auto; background:none; border:none; 
    color:#2e7d32; cursor:pointer; text-decoration:underline; 
}

/* Password strength */
.mf-password-strength { margin-top:6px; }
.mf-strength-bar { height:4px; background:#eee; border-radius:2px; overflow:hidden; }
.mf-strength-bar span { display:block; height:100%; width:0; transition:all .3s; }
#mf-strength-text { font-size:12px; margin-top:4px; display:block; }

/* Field row (2 col) */
.mf-field-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media(max-width:480px){ .mf-field-row { grid-template-columns:1fr; } }

/* Submit hint */
.mf-submit-hint { display:block; text-align:center; color:#ff9800; font-size:12px; margin-top:6px; }




/* ── Titre bloc ── */
.woocommerce-shipping-fields h3,
.woocommerce-billing-fields h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    border-left: 4px solid #22c55e;
    padding-left: 12px;
    margin-bottom: 20px;
}

/* ── Champs ── */
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row textarea {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    transition: border-color .2s;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: #22c55e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(34,197,94,.1);
}

/* ── Téléphone validé ── */
.ec-phone-valid input {
    border-color: #22c55e !important;
    background: url("data:image/svg+xml,...checkmark...") no-repeat right 12px center;
}

/* ── Note livreur ── */
.woocommerce-additional-fields {
    background: #fafafa;
    border-radius: 12px;
    padding: 16px;
    border: 1px dashed #d1d5db;
}

/* ── Résumé commande ── */
.ec-priority-row th,
.ec-tip-row th {
    font-weight: 600;
    color: #374151;
}

.ec-priority-row td,
.ec-tip-row td {
    color: #15803d;
    font-weight: 700;
}

/* ── Bouton payer ── */
#place_order {
    background: #22c55e !important;
    border-radius: 14px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 16px !important;
    width: 100% !important;
    letter-spacing: .3px;
    transition: transform .15s, box-shadow .15s;
}

#place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34,197,94,.35) !important;
}



/* ── Modal masque le formulaire manuel ── */
body.mf-modal-open {
    overflow: hidden;
}
body.mf-modal-open #mf-register-form-wrapper,
body.mf-modal-open #mf-google-section,
body.mf-modal-open .mf-card-register > .mf-divider,
body.mf-modal-open .mf-card-register > .mf-card-header {
    display: none !important;
}

/* ── Shake animation ── */
@keyframes mf-shake {
    0%,100% { transform: translateX(0); }
    25%     { transform: translateX(-8px); }
    75%     { transform: translateX(8px); }
}
.mf-shake {
    animation: mf-shake 0.4s ease-in-out;
}

/* ── Indicateur étapes ── */
.mf-modal-steps {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}
.mf-modal-step {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: #e5e7eb;
    transition: background 0.3s;
}
.mf-modal-step.active { background: #2e7d32; }
.mf-modal-step.done   { background: #86efac; }
