/* =========================================================
   BASE
========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #1f1f1f;
    background-color: #f5f3f0;
}

h1, h2, h3, h4 {
    font-family: 'Libre Baskerville', serif;
    margin: 0 0 15px;
}

p {
    line-height: 1.6;
    margin: 0 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 70px 20px;
}

input[type="checkbox"] {
    width: 16px !important;
    height: 17px;
    vertical-align: sub;
}

/* =========================================================
   HEADER / NAVIGATION
========================================================= */

.header-mfog {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}

.header-mfog a {
    color: #fff;
}

/* =========================================================
   MENU – SOULIGNEMENT ROUGE AU HOVER
========================================================= */

.header-mfog .nav-main a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #c00; /* rouge MFOG */
    transition: width 0.25s ease;
}

.header-mfog .nav-main a:hover::after {
    width: 100%;
}


.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 18px 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

.nav-logo {
    position: relative;
    z-index: 1100;
}

.nav-logo img {
    height: 90px;
    width: auto;
    display: block;
    position: relative;
    top: -35px;
    position: absolute;
}



.nav-container {
    padding-bottom: 13px;   /* avant : 18px */
}

/* Navigation principale */
.nav-main ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 36px;
    margin: 0;
    padding: 0;
}

.nav-main a {
    font-size: 16px;
    font-weight: bolder;
    position: relative;
    color: #000000;
}

.nav-main ul li a {
    font-size: larger;
}

.nav-main a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.2s ease;
}

.nav-main a:hover::after {
    width: 100%;
}

/* Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Lien Contact */
.nav-actions .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    padding: 8px 4px;
    position: relative;
}

.nav-actions .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #111;
    transition: width .25s ease;
}

.nav-actions .nav-link:hover::after {
    width: 100%;
}

/* Bouton Panier */
.nav-actions button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #000;
    color: #fff;
    border: none;
    padding: 9px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease;
}

.nav-actions button:hover {
    background: #222;
    transform: translateY(-1px);
}

.nav-actions button:active {
    transform: translateY(0);
}

.nav-link {
    font-size: 14px;
}

.nav-btn {
    padding: 8px 20px;
    border: 1px solid #fff;
    font-size: 14px;
    font-weight: 600;
}

.nav-btn:hover {
    background: #fff;
    color: #FFF;
}

section.legal-section {
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
}
/* =========================================================
   HERO
========================================================= */

.hero-mfog {
    position: relative;
    min-height: 85vh;
    background: #000;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 85vh;
    object-fit: cover;
    opacity: 0.55;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 720px;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    z-index: 2;
    background-color: #000000b3;
    padding: 2%;
    border-radius: 20px;
}
.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

/* HERO VIDEO */

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* assombrissement pour lisibilité du texte */
.hero-mfog::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.btn-primary, .btn-add-cross {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 32px;
    border: 1px solid #fff;
    font-weight: 600;
    color: #fff;
}

/* =========================================================
   SIGNATURE
========================================================= */

.signature-mfog .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.signature-item picture img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
}

/* =========================================================
   PRODUITS
========================================================= */

.products-mfog h2 {
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.product-card {
    background: #fff;
    border: 1px solid #ccc;
}

.product-card picture img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.product-card h3 {
    padding: 20px 20px 0;
}

.product-card p {
    padding: 10px 20px;
}

.product-card a {
    display: block;
    padding: 20px;
    font-weight: 600;
}

/* =========================================================
   SAVOIR-FAIRE
========================================================= */

.knowhow-mfog {
    background: #e0ddd7;
}

.knowhow-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.knowhow-grid picture img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

/* =========================================================
   USAGES
========================================================= */

.usage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.usage-grid picture img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.usage-mfog ul {
    list-style: none;
    padding: 0;
}

.usage-mfog li {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

/* =========================================================
   ENGAGEMENTS
========================================================= */

.commitments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter-mfog {
    background: #1f1f1f;
    color: #fff;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.newsletter-grid picture img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.newsletter-mfog input {
    padding: 14px;
    width: 260px;
    margin-right: 10px;
}

.newsletter-mfog button {
    padding: 14px 26px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
}

/* =========================================================
   FOOTER
========================================================= */

.footer-mfog {
    background: #111;
    color: #ccc;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-copy {
    text-align: center;
    padding: 25px;
    font-size: 14px;
}

/* =========================================================
   USP BANNER (TYPE WEBER)
========================================================= */

.usp-banner {
    background: #313131;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    color: white;
}

.usp-container {
    max-width: 1200px;
    margin: auto;
    padding: 10px 20px;
}

.usp-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.usp-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.usp-icon {
    font-weight: 700;
    color: #b30000; /* rouge discret type Weber */
    font-size: 14px;
}



/* =========================================================
   FOOTER (STYLE WEBER)
========================================================= */

.footer-mfog {
    background: #111;
    color: #ccc;
    font-size: 14px;
}

.footer-top {
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

/* LOGO + DESCRIPTION */
.footer-brand img {
    height: 46px;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 320px;
    line-height: 1.6;
}

/* NAV */
.footer-nav h4 {
    font-family: 'Libre Baskerville', serif;
    font-size: 15px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #ccc;
}

.footer-nav a:hover {
    color: #fff;
}

/* FOOTER BAS */
.footer-bottom {
    background: #0b0b0b;
}

.footer-bottom-inner {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #aaa;
    font-size: 13px;
}

.footer-links a:hover {
    color: #fff;
}


/* =========================================================
   CATEGORIES MFOG (equivalent Weber)
========================================================= */

.mfog-categories {
    padding: 40px 20px;
    background: #f5f3f0;
}

.mfog-categories-header {
    text-align: center;
    margin-bottom: 50px;
}

.mfog-categories-header h1 {
    font-size: 36px;
}

.mfog-categories-header p {
    font-size: 18px;
    color: #555;
}

/* GRID */
.mfog-categories-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

/* ITEM */
.mfog-category {
    text-align: center;
    color: #000;
}

.mfog-category img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.mfog-category span {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    font-size: 15px;
}

.mfog-category:hover img {
    transform: scale(1.03);
}

/* HIGHLIGHT (offres) */
.mfog-category.highlight span {
    color: #b30000;
}


/* =========================================================
   VALEURS MFOG (équivalent Weber)
========================================================= */

.mfog-values {
    padding: 90px 20px;
    background: #fff;
}

.mfog-values-header {
    text-align: center;
    margin-bottom: 60px;
}

.mfog-values-header h2 {
    font-size: 40px;
    font-weight: 600;
}

/* GRID */
.mfog-values-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

/* ITEM */
.mfog-value {
    text-align: center;
}

.mfog-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
}

.mfog-icon svg {
    width: 100%;
    height: 100%;
    fill: #000;
}

.mfog-value h3 {
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.mfog-value p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

/* =========================================================
   PAGE PRODUIT
========================================================= */

.product-page {
    background: #fff;
}

/* HERO */
.product-hero {
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-gallery img {
    width: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.product-tagline {
    font-size: 18px;
    margin-bottom: 20px;
}

.product-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

/* AVANTAGES */
.product-benefits {
    background: #f5f3f0;
}

.product-benefits .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 60px 20px;
}

.benefit h3 {
    margin-bottom: 10px;
}

/* DESCRIPTION */
.product-description .container,
.product-specs .container {
    padding: 10px 20px;
}

/* SPECS */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}



/* =========================================================
   RÉASSURANCE AVANT FOOTER
========================================================= */

.mfog-reassurance {
    background: #ffdfaf;
    border-top: 1px solid #ddd;
	margin-top: 30px;
}

.mfog-reassurance-container {
    max-width: 1200px;
    margin: auto;
    padding: 6px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.mfog-reassurance-item h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.mfog-reassurance-item p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 6px;
}

.mfog-reassurance-item .small {
    font-size: 13px;
    color: #555;
}

/* =========================================================
   PRIX PRODUIT
========================================================= */

.product-price {
    margin: 20px 0 30px;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    margin-right: 8px;
}

.price-tax {
    font-size: 14px;
    color: #555;
}

.price-info {
    font-size: 13px;
    color: #555;
    margin-top: 6px;
}

/* =========================================================
   LISTE DES PRODUITS
========================================================= */

.product-list {
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;
}

.product-list-header {
    text-align: center;
    margin-bottom: 60px;
}

.product-list-header h1 {
    font-size: 38px;
}

.product-list-header p {
    font-size: 18px;
    color: #555;
}

/* GRID */
.product-list-grid
 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
/* ITEM */
.product-list-item {
    border: 1px solid #ddd;
    padding: 30px;
    background: #fff;
}

.product-list-item h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-short-desc {
    font-size: 15px;
    margin-bottom: 15px;
}

.product-price {
    margin-bottom: 20px;
}

.price-amount {
    font-size: 26px;
    font-weight: 700;
}

.price-tax {
    font-size: 14px;
    color: #555;
}

/* HIGHLIGHTS */
.product-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

/* =========================================================
   IMAGES LISTE PRODUITS
========================================================= */

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 20px;
    overflow: hidden;
    background: #f5f3f0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   BOUTONS LISTE PRODUITS
========================================================= */

.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* =========================================================
   GALERIE PRODUIT
========================================================= */

.product-gallery {
    width: 100%;
}

.gallery-main img {
    width: 100%;
    cursor: zoom-in;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.gallery-thumbs img {
    width: 100%;
    cursor: pointer;
    opacity: 0.85;
}

.gallery-thumbs img:hover {
    opacity: 1;
}

/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox {
    position: fixed;
    inset: 0;
    background: #000000AA;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
}


/* =========================================================
   PAGE CONTACT
========================================================= */

.contact-hero {
    padding: 100px 20px 60px;
    text-align: center;
    background: #f5f3f0;
}

.contact-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 18px;
    color: #555;
}

/* CONTENU */
.contact-content {
    max-width: 1100px;
    margin: auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

/* CONTENU */
.contact-explication {
    max-width: 1100px;
    margin: auto;
    padding: 80px 20px;
}

/* FORMULAIRE */
.contact-form h2,
.contact-info h2 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    font-family: inherit;
}

/* INFOS */
.contact-info p {
    margin-bottom: 16px;
}

.contact-note {
    font-size: 14px;
    color: #555;
}

/* ============================= */
/* PAGE PRODUIT – STRUCTURE GLOBALE */
/* ============================= */

.product-hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

@media (max-width: 900px) {
    .product-hero {
        grid-template-columns: 1fr;
    }
	.checkout-wrapper, .checkout{
		padding: unset !important;
	}

}

/* ============================= */
/* GALERIE PRODUIT */
/* ============================= */

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gallery-main img {
    width: 100%;
    border-radius: 12px;
    cursor: zoom-in;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
}

.gallery-thumbs img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.8;
    transition: 0.3s;
}

.gallery-thumbs img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ============================= */
/* INFOS PRODUIT */
/* ============================= */

.product-info h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.product-tagline {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.product-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.product-highlights li {
    padding-left: 28px;
    margin-bottom: 10px;
    position: relative;
    margin-left: 28px;
}

.product-description br {
    content: "";
    display: block;
    margin-bottom: 8px;
}

/* ============================= */
/* PRIX */
/* ============================= */

.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 25px;
}

.price-amount {
    font-size: 2rem;
    font-weight: bold;
}

.price-tax {
    font-size: 0.9rem;
    color: #777;
}

/* ============================= */
/* BOUTON */
/* ============================= */

.btn-primary, .btn-secondary, .btn-add-cross {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
	margin-top: 0px;
}

.btn-primary :hover, .btn-add-cross :hover {
    background: #b55;
}
.btn-secondary:hover {
    background: #333;
}

/* ============================= */
/* DESCRIPTION */
/* ============================= */

.product-description,
.product-specs,
.product-media {
    max-width: 1100px;
   margin: 30px auto;
    padding: 0 20px;
}

.product-description h2,
.product-specs h2,
.product-media h2 {
    font-size: 1.8rem;
    margin-top: 49px;
}

.product-description li {
    margin: 6px;
    margin-left: 29px;
}

.product-description p {
    line-height: 1.7;
    color: #444;
}

/* ============================= */
/* TABLE CARACTÉRISTIQUES */
/* ============================= */

.product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs td {
    padding: 14px;
    border-bottom: 1px solid #ddd;
}

.product-specs td:first-child {
    font-weight: 600;
    width: 35%;
}

/* ============================= */
/* MÉDIAS (PHOTOS + VIDÉO) */
/* ============================= */

.product-media {
    display: grid;
    gap: 40px;
}

.media-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.media-images img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.media-video {
    position: relative;
    padding-top: 56.25%;
}

.media-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* ============================= */
/* LIGHTBOX */
/* ============================= */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* ============================= */
/* MÉDIAS PRODUIT */
/* ============================= */

.product-media {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}


/* ============================= */
/* MÉDIAS CARRÉS */
/* ============================= */

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* CONTENEUR CARRÉ */
.media-item {
    position: relative;
    aspect-ratio: 1 / 1;   /* 🔑 carré parfait */
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    cursor: zoom-in;
}

/* IMAGE */
.media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* découpe propre */
}

/* VIDÉO */
.media-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;     /* découpe vidéo */
    border: none;
    pointer-events: none; /* clic OK */
}

/* OVERLAY VIDÉO (clic) */
.media-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* OPTIONNEL : léger effet hover */
.media-item:hover {
    transform: scale(1.02);
    transition: transform 0.25s ease;
}



.media-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}



/* ============================= */
/* MÉDIAS – CARRÉS HOMOGÈNES */
/* ============================= */

.product-media {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 260px); /* 🔑 largeur FIXE */
    gap: 30px;
    justify-content: start; /* alignement propre */
}

/* CONTENEUR CARRÉ */
.media-item {
    width: 260px;
	max-height: 200px;
    aspect-ratio: 1 / 1;     /* carré parfait */
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #000;
    cursor: zoom-in;
}

/* IMAGE */
.media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* découpe propre */
}

/* VIDÉO */
.media-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    pointer-events: none;    /* clic OK */
}

/* OVERLAY CLIC VIDÉO */
.media-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* HOVER PREMIUM */
.media-item:hover {
    transform: scale(1.03);
    transition: transform 0.25s ease;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.gallery-thumbs img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.75;
}

.gallery-thumbs img:hover {
    opacity: 1;
}




/* ============================= */
/* LIGHTBOX MÉDIAS */
/* ============================= */

.media-lightbox {
    position: fixed;
    inset: 0;
    background: #00000088;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.media-lightbox.active {
    display: flex;
}

.media-lightbox-content {
    width: 70vw;
    height: 70vh;
    background: #000;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

/* IMAGE */
.media-lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* VIDÉO */
.media-lightbox-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* BOUTON FERMER */
.media-lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 42px;
    color: #fff;
    cursor: pointer;
    z-index: 2;
}


/* OVERLAY POUR CLIC VIDÉO */
.media-video {
    position: relative;
    height: 200px;
}

.media-video iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none; /* 🔥 IMPORTANT */
}

.media-video-overlay {
    position: absolute;
    inset: 0;
    cursor: zoom-in;
    z-index: 2;
}

.media-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.media-lightbox.active {
    display: flex;
}

.media-lightbox-content {
    width: 70vw;
    height: 70vh;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
	margin-top: -15vh;
}

.media-lightbox-content iframe,
.media-lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* ============================= */
/* MODALE PANIER */
/* ============================= */

.cart-modal {
    position: fixed;
    inset: 0;
    display: none;            /* cachée par défaut */
    z-index: 100000;
}

.cart-modal.active {
    display: block;
}

/* FOND ASSOMBRI */
.cart-modal-overlay {
    position: absolute;
    inset: 0;
    background: #00000088;
}

/* CONTENU CENTRÉ */
.cart-modal-content {
    position: relative;
    background: #ffffff;
    max-width: 520px;
    margin: 12vh auto;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 2;
}

/* TITRE */
.cart-modal-content h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

/* PRODUIT */
.cart-product {
    border: 1px solid #eee;
    padding: 14px;
    margin-bottom: 25px;
    border-radius: 10px;
}

.cart-product-name {
    font-weight: 600;
    margin-bottom: 6px;
}

.cart-product-ref {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 8px;
}

.cart-product-price {
    font-size: 1.15rem;
    font-weight: bold;
}

/* ACTIONS */
.cart-modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* BOUTONS */
.btn-secondary {
    background: #eee;
    color: #000;
    padding: 12px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #ddd;
}


/* GRILLE PRODUITS */
.product-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 3 produits par ligne */
    gap: 24px;
    width: 100%;              /* largeur écran */
    margin-left: 0;           /* collé à gauche */
}

/* CARTE PRODUIT */
.product-list-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* IMAGE PRODUIT */
.product-image {
    height: 200px;            /* hauteur max */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-height: 200px;
    max-width: 100%;
    object-fit: contain;      /* pas de déformation */
}

/* ALIGNER LES ACTIONS EN BAS */
.product-actions {
    margin-top: auto;
}

/* =========================================================
   LISTE PRODUITS – VERSION PRO FINALE
========================================================= */

/* GRILLE : 3 PRODUITS PAR LIGNE */
.product-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    margin-left: 0;
}

/* CARTE */
.product-list-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ddd;
    padding: 24px;
    height: 100%;
}

/* IMAGE (MAX 200px) */
.product-image {
    height: 200px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f5f3f0;
}

.product-image img {
    max-height: 200px;
    max-width: 100%;
    object-fit: contain;
}

/* ACTIONS EN BAS */
.product-actions {
    margin-top: auto;
    display: flex;
    gap: 12px;
}


.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: none;
    z-index: 999;
}

.cart-popup header,
.cart-popup footer {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

#cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.btn-primary, .btn-add-cross  {
    display: block;
    background: #000;
    color: #fff;
    padding: 12px;
    text-align: center;
}


/* RESPONSIVE */
@media (max-width: 520px) {
    .cart-modal-content {
        margin: 8vh 15px;
        padding: 22px;
    }

    .cart-modal-actions {
        flex-direction: column;
    }
}



.checkout {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.checkout-summary .summary-box {
    border: 1px solid #ddd;
    padding: 20px;
    background-color: white;
}

.summary-box .line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-box .total {
    font-weight: 700;
    font-size: 18px;
}

.btn-order {
    width: 100%;
    background: #222;
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}
form {
	width: auto;
    display: contents;
}

.checkout-form {
    background: #fff;
    padding: 25px;
    border: 1px solid #ddd;
}
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}

.form-row label {
    width: 120px;
    font-weight: 500;
}

.form-row input,
.form-row select,
.form-row textarea {
    flex: 1;
    padding: 8px;
}

.checkout-steps {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
    font-size: 14px;
}

/* Étape */
.checkout-steps .step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
    font-weight: 500;
    position: relative;
}

/* Cercle numéro */
.checkout-steps .step::before {
    content: attr(data-step);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
}

/* Ligne entre étapes */
.checkout-steps .step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -26px;
    top: 50%;
    width: 20px;
    height: 2px;
    background: #ddd;
}

/* Étape active */
.checkout-steps .step.active {
    color: #000;
    font-weight: 700;
}

.checkout-steps .step.active::before {
    content: "✓";
    border-color: #000;
    background: #000;
    color: #fff;
}

/* Étape validée */
.checkout-steps .step.done {
    color: #000;
}

.checkout-steps .step.done::before {
    content: "✓";
    background: #000;
    color: #fff;
    border-color: #000;
}

.payment-methods {
    background: #fff;
    border: 1px solid #ddd;
    padding: 25px;
}

.payment-methods h2 {
    margin-bottom: 20px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
    cursor: pointer;
}

.payment-option input {
    accent-color: #000;
}

.payment-option span {
    flex: 1;
}

/* ================================
   MODAL PANIER – OVERLAY GLOBAL
================================ */

#cart-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Actif */
#cart-modal.active {
    display: flex;
}

/* ================================
   CONTENEUR MODAL
================================ */

#cart-modal .cart-modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    margin: 20px;
    padding: 28px 30px;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: cartModalFadeIn 0.3s ease;
    position: relative;
}

/* ================================
   ANIMATION
================================ */

@keyframes cartModalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ================================
   TITRE
================================ */

#cart-modal h3 {
    margin: 0 0 15px;
    font-size: 22px;
    font-weight: 600;
    color: #111;
}

/* ================================
   PRODUIT AJOUTÉ
================================ */

#cart-modal .cart-product {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

#cart-modal .cart-product img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    background: #f3f3f3;
}

#cart-modal .cart-product-details {
    flex: 1;
}

#cart-modal .cart-product-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #222;
}

#cart-modal .cart-product-ref {
    font-size: 13px;
    color: #777;
}

#cart-modal .cart-product-price {
    font-size: 16px;
    font-weight: 600;
    margin-top: 5px;
}

/* ================================
   TOTAL PANIER
================================ */

#cart-modal .cart-total {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0;
    text-align: right;
}

/* ================================
   ACTIONS
================================ */

#cart-modal .cart-actions {
    display: flex;
    gap: 10px;
}

#cart-modal .cart-actions button,
#cart-modal .cart-actions a {
    flex: 1;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Continuer */
#cart-modal .btn-continue {
    background: #f3f3f3;
    color: #333;
    border: none;
    padding: 0 !important;
    margin: 10px;
}

#cart-modal .btn-continue:hover {
    background: #e6e6e6;
}

/* Commander */
#cart-modal .btn-checkout {
    background: #111;
    color: #fff;
    border: none;
}

#cart-modal .btn-checkout:hover {
    background: #000;
}

/* ================================
   PRODUITS SUGGÉRÉS
================================ */

#cart-modal .cart-suggestions {
    margin-top: 25px;
}

#cart-modal .cart-suggestions h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

#cart-modal .suggestions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

#cart-modal .suggestion-item {
    background: #f6f6f6;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

#cart-modal .suggestion-item:hover {
    background: #eaeaea;
}

/* ================================
   BOUTON FERMER
================================ */

#cart-modal .cart-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #555;
}

#cart-modal .cart-close:hover {
    color: #000;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 480px) {
    #cart-modal .cart-modal-box {
        padding: 20px;
    }

    #cart-modal .suggestions-grid {
        grid-template-columns: 1fr;
    }
	
}



.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: none;
    z-index: 999;
}

.cart-popup {
    position: fixed;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    pointer-events: none;

    width: 420px;
    max-width: calc(100vw - 30px);
    max-height: 85vh;

    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);

    z-index: 1000;
    display: flex;
    flex-direction: column;

    transition: opacity .25s ease, transform .25s ease;
}

/* ÉTAT OUVERT */
.cart-popup.open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}



.cart-header {
    padding: 18px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 18px;
}

.cart-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
}

.cart-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.cart-item img {
    width: 60px;
    height: auto;
    border-radius: 4px;
}

.cart-item strong {
    display: block;
    font-size: 14px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fff;
}

/* Groupe de boutons */
.cart-actions {
    display: flex;
    gap: 12px;
}

.cart-btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all .2s ease;
}

/* Action principale */
.cart-btn-primary {
    background: #e53935;
    color: #fff;
}

.cart-btn-primary:hover {
    background: #d32f2f;
}

/* Action secondaire */
.cart-btn-secondary {
    background: #fdebd2;
    color: #ff6f00;
}

.cart-btn-secondary:hover {
    background: #fbd19a;
}

/* Bouton reset */
.cart-reset {
    align-self: center;
    background: none;
    border: none;
    cursor: pointer;
    opacity: .65;
    transition: opacity .2s ease, transform .2s ease;
}

.cart-reset img {
    width: 42px;
}

.cart-reset:hover {
    opacity: 1;
    transform: scale(1.1);
}

.cart-btn {
    display: block;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 14px;
    text-decoration: none;
    font-weight: 600;
}
 
/* ===============================
   PANIER – CART VIEW
================================ */

.cart-view {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: inherit;
}

.cart-empty {
    padding: 30px;
    text-align: center;
    color: #666;
    font-size: 16px;
}

/* ===============================
   LIGNE PRODUIT
================================ */

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #f7f7f7;
    border-radius: 10px;
}

.cart-item-infos {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.cart-item-qty-price {
    font-size: 14px;
    color: #555;
}

.cart-item-total {
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

/* ===============================
   RÉCAP TOTAL
================================ */

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    margin-top: 10px;
    border-top: 1px solid #ddd;
    font-size: 17px;
}

/* ===============================
   ACTIONS
================================ */

.cart-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.cart-btn {
    flex: 1;
    padding: 12px 14px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    WIDTH: 40%;
    display: inline-table;
}
.cart-btn-primary {
    background: #111;
    color: #fff;
}

.cart-btn-primary:hover {
    background: #000;
}


.cart-btn-secondary:hover {
    background: #dcdcdc;
}

.cart-btn-secondary {
    background: #eaeaea;
    color: #333;
    white-space: nowrap;
}


@media (max-width: 500px) {
    .cart-actions {
    /*    flex-direction: column;*/
    }
}

img.cart-btn.cart-btn-secondary {
    width: 50px;
    vertical-align: middle;
    background: no-repeat;
}
/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 480px) {
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .cart-item-total {
        align-self: flex-end;
    }

    .cart-actions {
  /*      flex-direction: column;*/
    }
}


.cross-selling {
    margin: 50px 0;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.cross-selling h3 {
    font-size: 22px;
    margin-bottom: 20px;
}


.cross-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
}

.cross-item img {
    max-width: 100%;
    height: 140px;
    object-fit: contain;
}

.cross-info h4 {
    font-size: 14px;
    margin: 10px 0;
}

.cross-price {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}


/* ======================================================
   BASE
====================================================== */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f5f2;
}

.block_section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.block_title {
    font-size: 32px;
    margin-bottom: 30px;
}

/* ======================================================
   GRILLE VIDÉO
====================================================== */

.block_video_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.block_video_thumb {
    position: relative;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.block_video_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* bouton play */
.block_video_thumb::after {
    content: "▶";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: #fff;
    background: rgba(0,0,0,0.35);
    transition: background 0.3s;
}

.block_video_thumb:hover::after {
    background: rgba(0,0,0,0.55);
}

/* ======================================================
   OVERLAY PLAYER
====================================================== */

.block_video_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.block_video_player {
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.block_video_player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* fermer */
.block_video_close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

img.mfog-reassurance-icon {
    width: 33%;
}








/* ================= HEADER ================= */

.header-mfog {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* NAV DESKTOP */
.nav-main ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-main a {
    font-weight: 500;
}

/* BURGER (caché desktop) */
/* ================= MENU MOBILE ================= */

.nav-burger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3001;
}


.bloc-livraison {
    display: none;
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
}

.checkbox-livraison {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    margin: 15px 0;
}

.checkbox-livraison input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-livraison span {
    line-height: 1;
}




/* Responsive */
@media (max-width: 900px) {
    .product-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-list-grid {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
    }
    .product-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-list-grid {
        grid-template-columns: 1fr;
    }
    .usp-list {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .usp-banner {
        font-size: 13px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .nav-main {
        display: none;
    }

    .nav-main open {
        display: BLOCK;
    }


    .nav-container {
        grid-template-columns: auto auto;
    }

    .signature-mfog .container,
    .products-grid,
    .knowhow-grid,
    .usage-grid,
    .commitments-grid,
    .newsletter-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-image img {
        height: 70vh;
    }
	

    .mfog-values-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mfog-values-header h2 {
        font-size: 30px;
    }

    .mfog-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mfog-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mfog-categories-header h1 {
        font-size: 28px;
    }

    .product-hero {
        grid-template-columns: 1fr;
    }

    .product-benefits .container {
        grid-template-columns: 1fr;
    }

    .product-info h1 {
        font-size: 28px;
    }

    .mfog-reassurance-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

.product-list-grid {
    width: 90vw;
    margin-left: 0;
    margin-right: auto;
}

    .product-list-header h1 {
        font-size: 30px;
    }
    .product-actions {
        flex-direction: column;
    }
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 30px;
    }
}

.cart-btn{
    position:relative;
    font-size:20px;
    /*background:none;*/
    border:none;
    cursor:pointer;
}

#cart-count{
    position:absolute;
    top:-6px;
    right:-8px;
    background:#c00;        /* rouge MFOG */
    color:#fff;
    font-size:12px;
    font-weight:600;
    min-width:18px;
    height:18px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    pointer-events:none;
}



@media (max-width: 900px) {

    /* Empêche les retours à la ligne */
    .no-wrap {
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
    }

    /* Bouton RAZ panier */
    .btn-raz {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 6px;
        cursor: pointer;
    }

    .btn-raz img {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    /* Si texte présent à côté de l’icône */
    .btn-raz span,
    .btn-raz strong {
        font-size: 13px;
        line-height: 1;
    }

    /* Sécurité : pas de retour même en zone étroite */
    .btn-raz * {
        white-space: nowrap;
    }
	.block_grid_3 {
		grid-template-columns: repeat(1, 1fr);
	}
	.block_image_text {
		display: grid
	;
		grid-template-columns: unset;
		gap: 40px;
		align-items: center;
	}

	.block_hero_overlay DIV {
		width: 100% !important;
	}
	.block_hero_overlay {
		margin: 0;
		PADDING: 15px;
	}

	.block_hero_overlay p {
		font-size: small;
	}

	.block_hero_overlay h1 {
		font-size: x-large;
	}

	.block_video_grid {
		grid-template-columns: repeat(1, 1fr) !IMPORTANT;

	}

    .nav-burger {
        display: block;
    }

    .nav-main {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #0000007d;
        padding: 90px 10px;
        transition: right 0.35s ease;
        z-index: 3000;
    }

    .nav-main.open {
        right: 0;
		display: block;
		width: -webkit-fill-available;
    }

    .nav-main ul {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 20px;
        background-color: #ffffff;
        border-radius: 20px;
    }   

	.nav-actions {
        display: none;
    }
	
	.nav-logo img {
		height: 70px;
	}

    .usp-list {
        position: relative;
        list-style: none;
        padding: 0;
        margin: 0;
        height: 18px; /* hauteur d'une ligne */
        overflow: hidden;
    }

    .usp-list li {
        position: absolute;
        top: 0;
        left: 30%;
        width: 100%;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        text-align: center;
        font-size: 14px;
    }

    .usp-list li.active {
        opacity: 1;
        transform: translateY(0);
    }
	
	.checkout-layout
	{
		display: block;
	}	

}




/* =========================================================
   PAGES LÉGALES (Mentions légales, RGPD, CGV)
========================================================= */

.legal-page, .cgv-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: 'Inter', Arial, sans-serif;
    color: #1f1f1f;
    line-height: 1.7;
    background-color: #ffffff;
}

.legal-section {
    margin-bottom: 5px;
}

.legal-section h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111;
}

.legal-section h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 4px solid #111;
    color: #111;
}

.legal-section p {
    font-size: 16px;
    margin-bottom: 12px;
}

.legal-section strong {
    font-weight: 600;
}

.legal-section a {
    color: #111;
    text-decoration: underline;
}

.legal-section a:hover {
    text-decoration: none;
}

/* =========================================================
   LISTES
========================================================= */

.legal-section ul {
    margin: 15px 0 15px 20px;
    padding: 0;
	margin-left: 60px;
}

.legal-section li {
    margin-bottom: 8px;
    font-size: 16px;
}

/* =========================================================
   SÉPARATEURS VISUELS
========================================================= */

.legal-section:not(:last-child) {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 0px;
}

.legal-section {
    max-width: 1100px;
    margin: auto;
    padding: 0px 10px;
    gap: 60px;
    MARGIN-LEFT: 25px;
}

/* Réduction de l’espace entre h2 et le premier paragraphe */
.legal-section h2 + p {
    margin-top: 5px;
}

.legal-section h2 {
    margin-bottom: 6px;
}

.legal-section p {
    margin-top: 0;
}

section.legal-section p {
    margin-left: 30px;
}
/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .legal-page {
        padding: 40px 15px;
    }

    .legal-section h1 {
        font-size: 28px;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {

    .legal-section h1 {
        font-size: 24px;
    }

    .legal-section h2 {
        font-size: 18px;
        border-left-width: 3px;
    }
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* PANIER */

.cart-btn {
    font-size: medium;
}

.cart-count {
    background: #ff9800;
    color: #fff;
    font-size: 12px;
    padding: 2px 7px;
    border-radius: 50%;
    margin-left: 6px;
}

/* MON COMPTE */
.account-box {
    position: relative;
}

.account-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
}

.account-avatar {
    font-size: 18px;
}

.account-text small {
    display: block;
    font-size: 11px;
    color: #777;
    line-height: 1;
}

.account-text strong, .cart-btn strong {
    font-size: 14px;
	color: #8c8c8c;
}

/* DROPDOWN */
.account-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 40px;
    width: 260px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
    padding: 14px;
    z-index: 999;
}

.account-box:hover .account-dropdown {
    display: block;
}

.account-user {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.account-user .avatar {
    width: 42px;
    height: 42px;
    background: #f1f1f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.account-dropdown a {
    display: block;
    padding: 9px 8px;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.account-dropdown a:hover {
    background: #f6f6f6;
}

.account-dropdown hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 10px 0;
}

.account-dropdown .logout {
    color: #c0392b;
}


a.cart-btn.cart-btn-secondary {
    background-color: blanchedalmond;
    color: #FF5722;
}


/* ===============================
   HEADER MOBILE
================================ */

.header-mobile {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Ligne du haut */
.mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
}

.logo-mobile img {
    height: 56px;
}

/* Burger */
.burger {
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Actions droite */
.mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    position: relative;
}

/* Compteur panier */
#cart-count {
    background: #000;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 20px;
    position: absolute;
	top: 5px;
	right: 10px;
}}

/* ===============================
   MENU DÉROULANT
================================ */

.mobile-menu {
    display: none;
    flex-direction: column;
    background: #fafafa;
    border-top: 1px solid #ddd;
}

.mobile-menu a {
    padding: 14px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 16px;
}

.mobile-menu a:hover {
    background: #f0f0f0;
}

.menu-account {
    font-weight: bold;
    background: #eee;
}

/* Ouvert */
.mobile-menu.open {
    display: flex;
}

/* ===============================
   DESKTOP : on cache
================================ */

@media (min-width: 900px) {
    .header-mobile {
        display: none;
    }
}
@media (max-width: 899px) {
    .header-mfog {
        display: none;
    }
}



.checkout-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.checkout-form {
    flex: 1 !important;
}

.checkout-summary {
    width: 380px;
}

@media (max-width: 900px) {

    .checkout-container {
        flex-direction: column;
    }

    .checkout-summary {
        width: 100%;
        margin-top: 20px;
        order: 2;
    }

    .checkout-form {
        order: 1;
    }
}

@media (max-width: 900px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
}


.cart-btn-secondary, .cart-btn {
    white-space: normal;
}


.cart-line {
    display: grid;
    grid-template-columns: 2fr 80px 120px 120px 40px;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cart-line-qty input {
    width: 70px;
}

.btn-remove {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #c00;
}


/* ===============================
   STRUCTURE GÉNÉRALE CHECKOUT
================================ */

.checkout {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.checkout-layout {
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ===============================
   COLONNE GAUCHE – FORMULAIRE
================================ */

.checkout-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.checkout-form h2 {
    font-size: 22px;
    margin-bottom: 25px;
}

/* ===============================
   RÉSUMÉ PANIER (LIGNES)
================================ */

.cart-resume {
    width: 100%;
}

.cart-line {
    display: grid;
    grid-template-columns: 2fr 90px 120px 120px 40px;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.cart-line-name {
    font-weight: 500;
}

.cart-line-qty input {
    width: 70px;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    text-align: center;
}

.cart-line-price,
.cart-line-total {
    text-align: right;
    white-space: nowrap;
}

/* Bouton suppression */
.btn-remove {
    background: none;
    border: none;
    color: #c62828;
    font-size: 18px;
    cursor: pointer;
}

/* ===============================
   ACTIONS PANIER
================================ */

.cart-actions {
    margin-top: 20px;
}

/* ===============================
   COLONNE DROITE – SUMMARY
================================ */

.checkout-summary {
    background: #fafafa;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: sticky;
    top: 65px;
}

.checkout-summary h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

/* Lignes récap */
.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.summary-line:last-child {
    border-bottom: none;
}

.summary-line.total {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

/* ===============================
   BOUTONS
================================ */

.btn-primary {
    display: inline-block;
    background: #e53935;
    color: #fff;
    padding: 14px 18px;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    background: #c62828;
}

.btn-secondary {
    background: #f2f2f2;
    color: #333;
    padding: 12px 18px;
    border: none;
    cursor: pointer;
}

.full-width {
    width: 100%;
    margin-top: 20px;
}

/* ===============================
   ÉTAPES CHECKOUT
================================ */

.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.checkout-steps .step {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    border-bottom: 3px solid #ddd;
    color: #999;
}

.checkout-steps .step.active {
    border-color: #e53935;
    color: #e53935;
    font-weight: bold;
}

.checkout-steps .step.done {
    border-color: #4caf50;
    color: #4caf50;
}

/* ===============================
   RESPONSIVE MOBILE
================================ */

@media (max-width: 900px) {

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .cart-line {
        grid-template-columns: 1fr 80px;
        grid-template-areas:
            "name name"
            "qty total"
            "price remove";
        gap: 10px;
    }

    .cart-line-name {
        grid-area: name;
    }

    .cart-line-qty {
        grid-area: qty;
    }

    .cart-line-total {
        grid-area: total;
        text-align: right;
    }

    .cart-line-price {
        grid-area: price;
        text-align: left;
    }

    .btn-remove {
        grid-area: remove;
        justify-self: end;
    }
	
	.step.active {
		display: block !important;
	}

	.step {
		display: none !important;
	}

}





























.checkout-wrapper {
    max-width: 1200px;
    /*margin: 40px auto;*/
    padding: 0 20px;
	width: 100%;
}

.card {
    background: #ffffff;
    border: 1px solid #ccc;
    padding: 16px;
    cursor: pointer;
    transition: background 0.2s ease, border 0.2s ease;
    height: min-content !important;
}

.card.active {
    background: #e3ffe4;
    border-color: #4caf50;
}


.card-full {
    margin-bottom: 40px;
    width: 100%;
    margin-left: auto;
    margin-right: 30px;
    display: inline-block;
    vertical-align: top;
}

.card-row {
    display: -webkit-box;
    gap: 40px;
    display: inline-block;
}

.card-row .card {
    flex: 1;
}

.card h1,
.card h2 {
    font-family: "Times New Roman", serif;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.card h3 {
    margin: 25px 0 15px;
    font-size: 16px;
}

.card p {
    font-size: 15px;
    margin-bottom: 20px;
}

.form-auth label,
.form-standard label {
    display: block;
    margin: 15px 0 5px;
    font-weight: 600;
}

.form-auth input,
.form-standard input,
.form-standard select {
    width: 100%;
    padding: 14px;
    background: #eef4ff;
    border: 1px solid #cfcfcf;
    font-size: 14px;
}

.form-standard small {
    font-size: 12px;
    color: #666;
}

.checkbox {
    display: flex;
    gap: 10px;
    font-size: 14px;
    margin-top: 15px;
}

.actions {
    margin-top: 25px;
    display: flex;
    gap: 25px;
    align-items: center;
}

.btn-black {
    background: #000;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    cursor: pointer;
}

.btn-black.full {
    width: 100%;
    margin-top: 20px;
}

.link {
    font-size: 14px;
    text-decoration: underline;
    color: #000;
}

.required {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
}

.note {
    font-size: 12px;
    font-weight: normal;
    color: #666;
}

/* 📱 MOBILE */
@media (max-width: 768px) {
    .card-row {
        flex-direction: column;
    }

    .card {
        padding: 25px;
    }

    .actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-black {
        width: 100%;
        text-align: center;
    }
}










/* =========================
   COMPTE CLIENT – LE STAR
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #ffffff;
    color: #333;
}

.account-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

h1 {
    color: #f57c00;
    font-size: 22px;
    margin-bottom: 0px;
    font-weight: 600;
}

.account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Bloc gauche */
.account-box {
    background: #ededed;
    padding: 20px;
    border: 1px solid #ccc;
}

.account-box h2 {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-box ul {
    list-style: none;
}

.account-box ul li {
    padding: 12px 0;
    border-bottom: 1px solid #bbb;
    font-size: 14px;
}

/* Colonne droite */
.account-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-action {
    background: #ededed;
    border: 1px solid #ccc;
    padding: 15px 18px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s ease, border 0.2s ease;
}

.account-action i {
    background: #333;
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    min-width: 30px;
    text-align: center;
}

.account-action:hover {
    background: #f7f7f7;
    border-color: #f57c00;
}

/* Pied */
.account-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 25px;
}

.logout i {
    background: #c62828;
}

/* Responsive */
@media (max-width: 900px) {

    .account-grid,
    .account-footer {
        grid-template-columns: 1fr;
    }

    h1 {
        text-align: center;
    }
}





.cart-page {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.cart-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.cart-header p {
    color: #555;
    max-width: 700px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    margin-top: 40px;
}

/* LISTE */
.cart-row {
    display: grid;
    grid-template-columns: 1fr 120px 120px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.cart-row-header {
    font-weight: 600;
    color: #777;
}

.cart-product {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cart-product img {
    width: 70px;
    border-radius: 6px;
}

.cart-product-info small {
    color: #777;
}

.cart-qty {
    width: 70px;
    padding: 6px;
}

.cart-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.cart-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
}

/* RÉCAP */
.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.summary-box {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 10px;
}

.promo-line {
    display: flex;
    gap: 8px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
}

.cart-help {
    text-align: center;
    color: #555;
    font-size: 14px;
}

/* BOUTONS */
.btn-primary {
    background: #111;
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
}

.btn-secondary {
    text-align: center;
    color: #444;
    text-decoration: none;
    font-size: 14px;
}

/* PANIER VIDE */
.cart-empty {
    text-align: center;
    padding: 80px 20px;
}


@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}


.checkout-layout {
    grid-template-columns: 1fr 360px;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.checkout-summary .summary-box {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 10px;
}

.line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.line.total {
    font-size: 16px;
    margin-top: 15px;
}

.btn-order {
    width: 100%;
    padding: 14px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.promo-box {
    margin-top: 30px;
}

.promo-line {
    display: flex;
    gap: 10px;
}

.promo-line input {
    flex: 1;
    padding: 8px;
}




.account-edit-container {
    max-width: 1100px;
    margin: 40px auto;
    display: flex;
    justify-content: center;
}

.account-edit-box {
    background: #e6e6e6;
    padding: 30px 40px 40px;
    width: 520px;
    border-radius: 4px;
    box-shadow: 0 0 0 1px #d0d0d0;
}

.account-edit-box h1 {
    text-align: center;
    color: #ff8a00;
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.account-edit-form {
    display: grid;
    grid-template-columns: 160px 1fr;
    row-gap: 12px;
    column-gap: 12px;
    font-size: 14px;
}

.account-edit-form label {
    text-align: right;
    padding-top: 6px;
}

.account-edit-form input[type="text"],
.account-edit-form input[type="email"],
.account-edit-form input[type="date"],
.account-edit-form input[type="password"] {
    padding: 6px 8px;
    border: 1px solid #bfbfbf;
    border-radius: 2px;
    width: 100%;
}

.account-edit-form .required {
    color: red;
    margin-left: 4px;
}

.civilite-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.form-footer {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-retour {
    background: #777;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}

.btn-valider {
    background: #2c7a00;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    font-size: 15px;
    cursor: pointer;
}

.champs-obligatoires {
    text-align: right;
    font-size: 12px;
    color: red;
    margin-top: 10px;
}



/* ===============================
   HEADER MOBILE
================================ */

.header-mobile {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Ligne du haut */
.mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
}

.logo-mobile img {
    height: 50px;
}

/* Burger */
.burger {
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Actions droite */
.mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    position: relative;
}

/* Compteur panier */
#cart-count {
    background: #000;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 20px;
    position: absolute;
    top: 5px;
    right: 5px;
}

/* ===============================
   MENU DÉROULANT
================================ */

.mobile-menu {
    display: none;
    flex-direction: column;
    background: #fafafa;
    border-top: 1px solid #ddd;
}

.mobile-menu a {
    padding: 14px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 16px;
}

.mobile-menu a:hover {
    background: #f0f0f0;
}

.menu-account {
    font-weight: bold;
    background: #eee;
}

/* Ouvert */
.mobile-menu.open {
    display: flex;
}

/* ===============================
   DESKTOP : on cache
================================ */

@media (min-width: 900px) {
    .header-mobile {
        display: none;
    }
}







/* =====================================================
   🔥 FORCE CHECKOUT MOBILE – PRIORITÉ ABSOLUE
===================================================== */
@media (max-width: 768px) {

    /* FORCER 1 COLONNE */
    .checkout-layout,
    .checkout-container,
    .cart-layout {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    /* BLOCS */
    .checkout,
    .checkout-wrapper,
    .cart-page {
        /*padding: 15px !important;*/
        margin: 0 !important;
        width: 100% !important;
    }

    /* SUMMARY SOUS LES PRODUITS */
    .checkout-summary {
        position: static !important;
        width: 100% !important;
        margin-top: 20px !important;
        order: 2 !important;
		padding: 0;
    }

    /* LISTE PRODUITS */
    .checkout-form,
    .checkout-products {
        order: 1 !important;
        width: 100% !important;
    }

    /* LIGNE PRODUIT */
    .checkout-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        padding: 12px !important;
        border-bottom: 1px solid #eee;
    }

    /* BOUTON COMMANDER */
    .btn-order,
    .btn-primary {
        width: 100% !important;
        height: 56px !important;
        font-size: 18px !important;
        border-radius: 30px !important;
    }

    /* AUCUN SCROLL HORIZONTAL */
    body,
    html {
        overflow-x: hidden !important;
    }
}



.checkout-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    gap: 10px;
    padding: 12px;
	white-space: nowrap;
}

.checkout-item:nth-child(even) {
    background: #f6f6f6;
    white-space: normal;
}

.qty-input {
    width: 50px;
    padding: 5px;
}


.remove-item {
    color: #d60000;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    user-select: none;
}

.remove-item:hover {
    color: #ff0000;
    transform: scale(1.2);
}

.card.card-full h2, .card.card-full p {
    text-align: center;
    font-family: arial;
}

.card.card-full strong {
    color: red;
}


.checkout-title {
    color: #f28c00;
    margin: 30px 0 10px;
}

.checkout-box {
    border: 1px solid #ddd;
}

.delivery-row,
.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    padding: 15px;
    background: #f3f3f3;
}

.delivery-row:nth-child(even),
.payment-row:nth-child(even) {
    background: #ffffff;
}

.delivery-left,
.payment-left {
    max-width: 70%;
    font-size: 14px;
}

.delivery-right,
.payment-right {
    text-align: right;
    min-width: 160px;
}

.delivery-date {
    font-size: 13px;
    margin-bottom: 5px;
}

.delivery-price {
    font-weight: bold;
    margin-bottom: 5px;
}

.delivery-info {
    margin-top: 8px;
    font-size: 13px;
    color: #555;
}

.delivery-address {
    margin: 8px 0;
    font-size: 13px;
}

.payment-logos img {
    height: 25px;
    margin-right: 5px;
}


.link-arrows {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;

    width: 100%;
  /*  text-align: right;*/

    font-size: 15px;
    font-weight: 500;
    color: #da0f19;
    text-decoration: none;

    position: relative;
}

/* Flèches */
.link-arrows .arrows {
    display: inline-flex;
    gap: 4px;
}

.link-arrows .arrows i {
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    opacity: 0;
    animation: arrowMove 1.4s infinite;
}

/* Décalage des animations */
.link-arrows .arrows i:nth-child(1) {
    animation-delay: 0s;
}
.link-arrows .arrows i:nth-child(2) {
    animation-delay: 0.15s;
}
.link-arrows .arrows i:nth-child(3) {
    animation-delay: 0.3s;
}

/* Animation */
@keyframes arrowMove {
    0% {
        opacity: 0;
        transform: translateX(-4px) rotate(-45deg);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(4px) rotate(-45deg);
    }
}

/* Effet hover */
.link-arrows:hover {
    color: #c00; /* rouge M.FOG / LE STAR par exemple */
}









/* STRUCTURE */
.checkout-item{
    display:grid;
    grid-template-columns:1fr auto auto auto;
    align-items:center;
    padding:12px 0;
    border-bottom:1px solid #eee;
}

.item-qty{
    display:flex;
    align-items:center;
    gap:6px;
    white-space:nowrap;
}

/* BLOCS FORMULAIRE */
.checkout-block{
    padding:0;
    border-bottom:1px solid #eee;
}

/* TITRES */
.section-title{
    margin:25px 0 15px;
    font-size:20px;
    font-weight:700;
    color:#e85b0c;
}

.sub-title{
    margin:20px 0 10px;
    font-size:16px;
    font-weight:600;
}

/* INPUTS */
.checkout-wrapper input[type="text"],
.checkout-wrapper input[type="email"],
.checkout-wrapper input[type="tel"],
.checkout-wrapper input[type="password"]{
    width:100%;
    background:#f4f7fb;
    border:1px solid #ddd;
    padding:10px;
    border-radius:4px;
    margin-top:6px;
}

/* CHOICES */
.choice-card{
    display:grid;
    grid-template-columns:1fr auto;
    padding:15px;
    border-bottom:1px solid #eee;
    cursor:pointer;
}

.choice-card.selected{
    background:#fef3ec;
    border-left:4px solid #e85b0c;
}

.choice-right{
    text-align:right;
}

.price.free{
    color:#27ae60;
    font-weight:700;
}

/* DIVERS */
.required{
    font-size:12px;
    color:#777;
}


.checkout-block.coordonnees label {
    margin-top: 20px;
    display: inline-block;
}


.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
}


.checkout-steps {
    display: flex;
    gap: 20px;
}

.checkout-steps .step {
    opacity: 0.4;
    position: relative;
}

.checkout-steps .step.active {
    opacity: 1;
    font-weight: bold;
}

.checkout-steps .step.done {
    opacity: 1;
    color: #2ecc71; /* vert validation */
}

.checkout-steps .step.done::after {
    content: "✓";
    margin-left: 6px;
    font-weight: bold;
}
