/* =========================================================
   VARIABLES
========================================================= */
:root{
    --primary:#007bc4;
    --primary-dark:#005f96;
    --primary-light:#eef8fd;
    --black:#111;
    --text:#202124;
    --muted:#747b82;
    --light:#f6f8ff;
    --border:#e4e8eb;
    --white:#fff;
    --red:#d90000;
    --shadow:0 10px 30px rgba(0,0,0,.06);
    --radius:12px;
}

/* =========================================================
   RESET
========================================================= */
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{ font-family:Arial,Helvetica,sans-serif; background:#fff; color:var(--text); line-height:1.5; }
a{ color:inherit; text-decoration:none; }
button, input{ font-family:inherit; }
img{ max-width:100%; }

.container{ width:min(1400px,92%); margin:0 auto; }

/* =========================================================
   HEADER
========================================================= */
.top-header{ background:var(--primary); min-height:88px; color:#fff; position:relative; }
.header-inner{ width:min(1500px,94%); min-height:88px; margin:auto; display:flex; align-items:center; gap:28px; }
.logo{ font-size:22px; font-weight:800; color:#fff; white-space:nowrap; flex:0 0 auto; order:1; }
.logo img{ display:block; max-width:220px; max-height:70px; object-fit:contain; }

.search-box{
    flex:1; height:52px; background:#fff; border-radius:32px; display:flex; align-items:center;
    padding:4px 6px 4px 20px; box-shadow:0 3px 10px rgba(0,0,0,.08); overflow:hidden; order:2;
}
.search-box input{ flex:1; min-width:0; height:100%; border:0; outline:0; font-size:15px; }
.search-button{
    width:42px; height:42px; border:0; border-radius:50%; background:#111; color:#fff;
    display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.search-button svg{ width:17px; }

.header-actions{ display:flex; align-items:center; gap:12px; order:3; }
.header-icon{
    width:45px; height:45px; border:1px solid rgba(255,255,255,.75); border-radius:50%;
    display:flex; align-items:center; justify-content:center; position:relative; transition:.2s;
}
.header-icon:hover{ background:#fff; color:var(--primary); }
.header-icon svg{ width:20px; height:20px; }
.cart-count{
    position:absolute; top:-5px; right:-4px; min-width:19px; height:19px; padding:0 4px;
    border-radius:50%; background:#111; color:#fff; font-size:11px;
    display:flex; align-items:center; justify-content:center;
}

/* Sur desktop, ce groupe est transparent a la mise en page : le hamburger
   reste cache et la recherche s'affiche normalement en ligne. */
.mobile-toolbar{ display:contents; }
.mobile-menu-toggle{ display:none; background:none; border:0; padding:10px 12px; cursor:pointer; color:#fff; flex-shrink:0; }
.mobile-menu-toggle svg{ width:22px; height:22px; }

/* Panneau du menu mobile (ferme par defaut, y compris visuellement) */
.mobile-menu-panel{ display:none; }
.mobile-menu-panel.open{
    display:block; position:absolute; top:100%; left:0; right:0; z-index:30;
    background:#fff; border-bottom:1px solid var(--border); box-shadow:0 14px 28px rgba(0,0,0,.14);
    color:var(--text);
}
.mmp-tabs{ display:flex; border-bottom:1px solid var(--border); }
.mmp-tab{
    flex:1; padding:14px 0; border:0; background:none; font-size:13.5px; font-weight:700;
    color:var(--muted); cursor:pointer; border-bottom:2px solid transparent;
}
.mmp-tab.active{ color:var(--primary); border-bottom-color:var(--primary); }
.mmp-pane{ display:none; flex-direction:column; padding:6px 20px 16px; max-height:60vh; overflow-y:auto; }
.mmp-pane.active{ display:flex; }
.mmp-pane a{ padding:12px 2px; border-bottom:1px solid #f0f0f0; font-size:14px; font-weight:600; }
.mmp-pane a:last-child{ border-bottom:0; }
.mmp-empty{ color:var(--muted); font-size:13px; padding:16px 2px; }

/* =========================================================
   NAVIGATION
========================================================= */
.navigation{ background:#fff; border-bottom:1px solid #e9e9e9; }
.navigation-inner{ width:min(1500px,94%); min-height:56px; margin:auto; display:flex; align-items:center; position:relative; }
.categories-button{ height:56px; padding:0 27px; border:0; border-right:1px solid #ededed; background:#fff; font-weight:700; cursor:pointer; }
.main-menu{ display:flex; align-items:center; gap:30px; padding-left:28px; }
.main-menu a{ font-size:14px; font-weight:600; }
.main-menu a:hover{ color:var(--primary); }

/* =========================================================
   HERO
========================================================= */
.hero-grid{ width:min(1500px,94%); margin:30px auto 0; display:grid; grid-template-columns:22% 78%; gap:20px; }

.category-panel{ border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; background:#fff; }
.panel-heading{ height:66px; padding:0 16px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--border); }
.panel-heading h2{ font-size:19px; }
.panel-heading span{ color:var(--primary); font-size:10px; font-weight:800; }
.category-scroll{ height:444px; overflow-y:auto; padding:10px; }
.category-item{ min-height:54px; display:flex; align-items:center; gap:11px; padding:7px; border-radius:8px; transition:.2s; }
.category-item:hover{ background:#f0f8fc; color:var(--primary); }
.category-icon{
    width:38px; height:38px; flex:0 0 38px; border-radius:8px; background:#f5f7f8; border:1px solid #e7eaec;
    display:flex; align-items:center; justify-content:center; overflow:hidden; font-family:Arial; font-weight:800; color:var(--muted);
}
.category-icon img{ width:100%; height:100%; object-fit:cover; }
.category-item span:last-child{ font-size:11.5px; font-weight:600; line-height:1.25; }

.hero-banner{
    position:relative; height:510px; border-radius:var(--radius); overflow:hidden; background:#e9edf0;
}
.hero-slide{ position:absolute; inset:0; opacity:0; transition:opacity .9s ease; }
.hero-slide.active{ opacity:1; }
.hero-slide img{ width:100%; height:100%; object-fit:cover; display:block; }
.hero-dots{ position:absolute; bottom:18px; left:50%; transform:translateX(-50%); display:flex; gap:7px; z-index:5; }
.hero-dot{ width:8px; height:8px; border:0; border-radius:50%; background:rgba(255,255,255,.65); cursor:pointer; padding:0; }
.hero-dot.active{ width:22px; border-radius:8px; background:#fff; }

/* =========================================================
   SECTIONS
========================================================= */
.section{ padding:56px 0; }
.section.tight-top{ padding-top:32px; }
.section-heading{ text-align:center; margin-bottom:38px; }
.eyebrow{ color:var(--primary); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:1.5px; margin-bottom:8px; }
.section-heading h2{ font-size:32px; margin-bottom:10px; }
.section-heading p{ color:var(--muted); font-size:14px; }

/* En-tete de section compact : un seul titre + lien "voir tout", sans
   surlignage superflu ni paragraphe - garde le rythme vertical serre. */
.section-head-compact{
    display:flex; align-items:baseline; justify-content:space-between; margin-bottom:20px;
}
.section-head-compact h2{ font-size:24px; }
.section-head-compact a{ font-size:13px; font-weight:700; color:var(--primary); white-space:nowrap; }
.section-head-compact a:hover{ text-decoration:underline; }

/* =========================================================
   CATEGORIES CARDS (9 par ligne)
========================================================= */
.category-cards{ display:grid; grid-template-columns:repeat(9,minmax(0,1fr)); gap:12px; }
.category-card{
    min-height:135px; padding:10px 5px; border:1px solid var(--border); border-radius:10px;
    display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
    gap:9px; background:#fff; transition:.25s ease;
}
.category-card:hover{ border-color:rgba(0,123,196,.4); box-shadow:0 12px 25px rgba(0,0,0,.07); transform:translateY(-3px); }
.category-card-icon{
    width:58px; height:58px; border-radius:10px; background:#f6f8f9; border:1px solid #e8ebed;
    display:flex; align-items:center; justify-content:center; overflow:hidden; font-weight:800; color:var(--muted);
}
.category-card-icon img{ width:100%; height:100%; object-fit:cover; }
.category-card h3{ font-size:11px; line-height:1.25; }
.category-card .count{ font-size:10px; color:var(--muted); }

/* =========================================================
   CARROUSEL PRODUITS (rail horizontal avec fleches)
========================================================= */
.rail-wrap{ position:relative; }
.rail{
    display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth;
    padding:2px 2px 10px; margin:0 -2px; scrollbar-width:none;
}
.rail::-webkit-scrollbar{ display:none; }
.rail .product-card, .rail .best-card{ flex:0 0 220px; scroll-snap-align:start; }
.rail-arrow{
    position:absolute; top:38%; width:40px; height:40px; border-radius:50%; border:1px solid var(--border);
    background:#fff; box-shadow:0 8px 20px rgba(0,0,0,.10); cursor:pointer; z-index:6;
    display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--text);
}
.rail-arrow:hover{ background:var(--primary); color:#fff; border-color:var(--primary); }
.rail-prev{ left:-14px; }
.rail-next{ right:-14px; }
@media(max-width:700px){
    .rail-arrow{ display:none; }
    .rail .product-card, .rail .best-card{ flex-basis:170px; }
}

/* Ancien carrousel pagine retire : "I nostri prodotti" utilise maintenant
   directement .products-grid, une grille fixe de 5 colonnes. */

/* Fleches claires, pour une utilisation sur fond fonce */
.rail-arrow-light{
    position:absolute; top:38%; width:40px; height:40px; border-radius:50%; border:1px solid rgba(255,255,255,.35);
    background:rgba(255,255,255,.12); backdrop-filter:blur(2px); cursor:pointer; z-index:6;
    display:flex; align-items:center; justify-content:center; font-size:18px; color:#fff;
}
.rail-arrow-light:hover{ background:#fff; color:var(--primary); }
.rail-prev.rail-arrow-light{ left:-14px; }
.rail-next.rail-arrow-light{ right:-14px; }

/* =========================================================
   BLOC INVERSE (ex: mise en avant categorie specifique)
========================================================= */
.feature-box.reverse{ grid-template-columns:66% 34%; background:linear-gradient(135deg,#0B3B5C,#0A2942); }
.feature-box.reverse .feature-products{ display:block; order:1; background:transparent; padding:32px; }
.feature-box.reverse .feature-content{ order:2; }
.feature-box.reverse .feature-content p{ max-width:none; }
.feature-box.reverse .feature-rail-wrap{ position:relative; }
.feature-box.reverse .feature-rail{
    display:grid; grid-auto-flow:column; grid-auto-columns:calc(33.333% - 10px); gap:15px;
    overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; scrollbar-width:none;
}
.feature-box.reverse .feature-rail::-webkit-scrollbar{ display:none; }
.feature-box.reverse .feature-rail > *{ scroll-snap-align:start; }
@media(max-width:1000px){
    .feature-box.reverse{ grid-template-columns:1fr; }
    .feature-box.reverse .feature-rail{ grid-auto-columns:calc(66% - 8px); }
}

/* =========================================================
   SECTION EDITORIALE (blog / conseils)
========================================================= */
.editorial{ background:var(--primary-light); padding:64px 0; }
.editorial .editorial-grid{ display:grid; grid-template-columns:38% 62%; gap:40px; align-items:center; }
.editorial .editorial-image{ border-radius:var(--radius); overflow:hidden; aspect-ratio:4/3; background:#dcecf5; }
.editorial .editorial-image img{ width:100%; height:100%; object-fit:contain; }
.editorial .editorial-text h2{ font-size:26px; margin-bottom:12px; line-height:1.2; }
.editorial .editorial-text p{ font-size:14.5px; color:#334; max-width:640px; margin-bottom:14px; }
.editorial .editorial-text p:last-child{ margin-bottom:0; }
.editorial.is-link{ cursor:pointer; }
.editorial.is-link:hover .editorial-text h2{ color:var(--primary-dark); }
@media(max-width:900px){
    .editorial .editorial-grid{ grid-template-columns:1fr; }
    .editorial .editorial-image{ aspect-ratio:16/9; }
}

/* =========================================================
   BANDEAU DE REASSURANCE (badges)
========================================================= */
.badges-section{ padding:46px 0; background:#fff; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.badges-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.badge-item{ display:flex; align-items:center; gap:14px; }
.badge-item .badge-text{ min-width:0; }
.badge-item .icon{
    width:48px; height:48px; flex-shrink:0; border-radius:50%; background:var(--primary-light);
    color:var(--primary); display:flex; align-items:center; justify-content:center;
}
.badge-item .icon svg{ width:22px; height:22px; }
.badge-item .t{ font-weight:700; font-size:13.5px; margin-bottom:2px; }
.badge-item .d{ font-size:12px; color:var(--muted); }
@media(max-width:900px){ .badges-row{ grid-template-columns:repeat(2,1fr); } }

/* =========================================================
   NEWSLETTER (v3 - compacte)
========================================================= */
.newsletter{ padding:40px 0; background:#fff; }
.newsletter-box{
    width:min(1100px,92%); margin:auto; padding:28px 36px; border-radius:14px;
    background:linear-gradient(120deg,#007bc4,#004f7d);
    color:#fff; display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap;
}
.newsletter-content{ min-width:220px; }
.newsletter-content h2{ font-size:19px; margin-bottom:3px; }
.newsletter-content p{ font-size:12.5px; color:rgba(255,255,255,.82); }
.newsletter-form{ display:flex; gap:8px; }
.newsletter-form input{
    width:250px; padding:11px 14px; border-radius:6px; border:1px solid rgba(255,255,255,.3);
    background:rgba(255,255,255,.12); color:#fff; font-size:13px; outline:0;
}
.newsletter-form input::placeholder{ color:rgba(255,255,255,.72); }
.newsletter-form button{
    background:#fff; color:#004f7d; border-radius:6px; padding:0 22px; font-size:12.5px; font-weight:700;
    border:0; cursor:pointer; white-space:nowrap;
}
.newsletter-form button:hover{ background:#eef6fb; }

/* =========================================================
   PRODUCT CARDS
========================================================= */
.products-section{ background:#f7f8fa; }
.products-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:18px; align-items:stretch; }
.product-card{
    background:#fff; border:1px solid var(--border); border-radius:10px; overflow:hidden;
    display:flex; flex-direction:column; min-width:0; height:100%; transition:.25s ease;
}
.product-card:hover{ transform:translateY(-5px); box-shadow:0 18px 40px rgba(0,0,0,.08); }

.product-image{ height:225px; background:#f5f6f7; position:relative; overflow:hidden; }
.product-image a{ display:block; width:100%; height:100%; position:relative; }
.product-image img{
    position:absolute; inset:0; width:100%; height:100%; object-fit:contain; padding:15px;
    transition:opacity .35s ease, transform .35s ease;
}
.product-image-main{ opacity:1; z-index:1; }
.product-image-hover{ opacity:0; z-index:2; }
.product-image a:hover .product-image-main{ opacity:0; }
.product-image a:hover .product-image-hover{ opacity:1; }
.product-image a:hover img{ transform:scale(1.025); }
.image-placeholder{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:#a0a6ab; font-size:12px; text-align:center; }

.product-info{ padding:17px; display:flex; flex-direction:column; flex:1; }
.product-brand{ min-height:15px; font-size:10px; text-transform:uppercase; letter-spacing:1px; color:var(--primary); font-weight:800; margin-bottom:5px; }
.product-title{ font-size:14px; font-weight:700; line-height:1.35; min-height:58px; margin-bottom:7px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.product-title a:hover{ color:var(--primary); }
.price{ font-size:20px; font-weight:800; color:var(--red); margin-bottom:4px; }
.old-price{ color:#999; font-size:12px; text-decoration:line-through; margin-bottom:2px; }
.ean{ font-size:10px; color:#777; min-height:30px; margin-bottom:12px; line-height:1.4; }
.add-cart-form{ margin:0 0 0 0; margin-top:auto; }
.add-cart{
    width:100%; min-height:43px; border:0; background:var(--primary); color:#fff;
    border-radius:6px; padding:10px; font-weight:700; cursor:pointer; transition:.2s;
}
.add-cart:hover{ background:var(--primary-dark); transform:translateY(-1px); }

/* =========================================================
   FEATURED (best)
========================================================= */
.best-section{ background:#fff; }
.best-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; align-items:stretch; }
.best-card{ border:1px solid var(--border); border-radius:11px; overflow:hidden; background:#fff; display:flex; flex-direction:column; height:100%; transition:.25s ease; }
.best-card:hover{ transform:translateY(-5px); box-shadow:0 20px 40px rgba(0,0,0,.08); }
.best-image{ height:220px; background:#f5f6f7; position:relative; overflow:hidden; }
.best-image a{ display:block; width:100%; height:100%; position:relative; }
.best-image img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; padding:15px; transition:opacity .35s ease, transform .35s ease; }
.best-info{ padding:17px; display:flex; flex-direction:column; flex:1; }
.best-badge{
    display:inline-block; width:max-content; padding:4px 8px; background:#eaf6fc; color:var(--primary);
    border-radius:4px; font-size:9px; font-weight:800; text-transform:uppercase; margin-bottom:8px;
}

/* =========================================================
   OFFERTE
========================================================= */
.feature-section{ padding:85px 0; background:#f7f8fa; }
.feature-box{
    width:min(1400px,92%); margin:auto; border-radius:18px; overflow:hidden; display:grid;
    grid-template-columns:34% 66%; background:#111; color:#fff; box-shadow:0 20px 45px rgba(0,0,0,.10);
}
.feature-content{ padding:55px 42px; display:flex; flex-direction:column; justify-content:center; }
.feature-eyebrow{ color:#62c5f4; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:1.8px; margin-bottom:13px; }
.feature-content h2{ font-size:39px; line-height:1.08; margin-bottom:18px; }
.feature-content p{ color:#c9ced2; font-size:14px; max-width:350px; margin-bottom:27px; }
.feature-button{ display:inline-flex; align-items:center; justify-content:center; width:165px; height:46px; background:var(--primary); color:#fff; border-radius:6px; font-size:13px; font-weight:800; }
.feature-products{ padding:28px; display:grid; grid-template-columns:repeat(3,1fr); gap:15px; background:linear-gradient(135deg,#202427,#151719); }
.feature-product{ background:#fff; color:var(--text); border-radius:10px; overflow:hidden; display:flex; flex-direction:column; height:100%; }
.feature-product-image{ height:190px; background:#f3f4f5; position:relative; overflow:hidden; }
.feature-product-image a{ display:block; width:100%; height:100%; position:relative; }
.feature-product-image img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; padding:12px; transition:opacity .35s ease, transform .35s ease; }
.feature-product-info{ padding:13px; display:flex; flex-direction:column; flex:1; }
.feature-product-info .product-title{ font-size:12px; min-height:48px; }
.feature-product-info .price{ font-size:17px; }

/* Ancienne section newsletter remplacee par la version v2 plus bas dans ce fichier */

/* =========================================================
   CONTACT BAR
========================================================= */
.footer-top{ background:#f7f8fa; border-bottom:1px solid #e2e5e8; padding:38px 0; }
.footer-contact-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; align-items:center; }
.contact-box{ display:flex; align-items:center; gap:17px; }
.contact-icon{
    width:54px; height:54px; flex-shrink:0; border-radius:50%; background:#fff; border:1px solid var(--border);
    color:var(--primary); display:flex; align-items:center; justify-content:center;
}
.contact-icon svg{ width:21px; height:21px; }
.contact-box h3{ font-size:13px; margin-bottom:3px; }
.contact-box p{ font-size:12px; color:var(--muted); }

/* =========================================================
   FOOTER
========================================================= */
footer{ background:#101214; color:#fff; padding:65px 0 25px; }
.footer-grid{ display:grid; grid-template-columns:1.5fr repeat(4,1fr); gap:40px; padding-bottom:45px; border-bottom:1px solid #2d3033; }
.footer-column h3{ font-size:13px; margin-bottom:17px; }
.footer-column p, .footer-column a{ color:#aeb3b8; font-size:12px; display:block; margin-bottom:9px; }
.footer-column a:hover{ color:#fff; }
.footer-brand{ font-size:23px; font-weight:800; margin-bottom:13px; }
.footer-bottom{ padding-top:22px; display:flex; justify-content:space-between; color:#858b91; font-size:11px; }

/* =========================================================
   TOAST
========================================================= */
.toast{
    position:fixed; right:25px; bottom:25px; background:#111; color:#fff; padding:14px 18px;
    border-radius:7px; font-size:13px; transform:translateY(100px); opacity:0; transition:.3s ease; z-index:5000;
}
.toast.show{ transform:translateY(0); opacity:1; }

.empty-note{ color:var(--muted); padding:30px 0; text-align:center; grid-column:1/-1; }

/* =========================================================
   RESPONSIVE
========================================================= */

/* Grands ecrans -> tablettes larges */
@media(max-width:1250px){
    .category-cards{ grid-template-columns:repeat(6,1fr); }
    .products-grid{ grid-template-columns:repeat(4,1fr); }
    .best-grid{ grid-template-columns:repeat(4,1fr); }
}

/* Tablettes */
@media(max-width:1000px){
    .hero-grid{ grid-template-columns:1fr; }
    .hero-banner{ height:320px; }
    .category-scroll{ height:280px; }
    .category-cards{ grid-template-columns:repeat(4,1fr); }
    .products-grid{ grid-template-columns:repeat(3,1fr); }
    .best-grid{ grid-template-columns:repeat(3,1fr); }
    .feature-box{ grid-template-columns:1fr; }
    .badges-row{ grid-template-columns:repeat(2,1fr); }
}

/* Mobile (telephones en mode paysage / petites tablettes) */
@media(max-width:760px){
    .section{ padding:36px 0; }
    .section.tight-top{ padding-top:22px; }
    .section-head-compact h2{ font-size:20px; }

    /* Header : logo + icones sur la ligne 1, hamburger + recherche groupes
       sur la ligne 2, avec de l'espace entre les deux. */
    .header-inner{ flex-wrap:wrap; padding:12px 0; gap:8px; justify-content:space-between; }
    .logo{ font-size:18px; order:1; }
    .logo img{ max-height:52px; max-width:190px; }
    .header-actions{ order:2; gap:6px; }
    .header-icon{ width:36px; height:36px; }
    .header-icon svg{ width:17px; height:17px; }
    .mobile-toolbar{
        display:flex; align-items:center; gap:12px; order:3; flex-basis:100%; margin-top:4px;
    }
    .mobile-menu-toggle{ display:flex; align-items:center; justify-content:center; }
    .search-box{ flex:1; height:46px; }

    /* L'ancienne barre de navigation (deuxieme ligne blanche) n'a plus lieu
       d'etre sur mobile : le hamburger et son panneau la remplacent. */
    .navigation{ display:none; }

    /* Hero : sur mobile, seul le slide reste visible juste apres l'entete */
    .hero-grid{ margin-top:16px; gap:14px; }
    .hero-banner{ height:200px; border-radius:8px; }
    .category-panel{ display:none; }

    /* Section "Acquista per categoria" : carrousel horizontal plutot qu'une grille */
    .category-cards{
        display:flex; overflow-x:auto; gap:10px; scroll-snap-type:x mandatory; padding-bottom:4px;
        scrollbar-width:none;
    }
    .category-cards::-webkit-scrollbar{ display:none; }
    .category-cards > .category-card{ flex:0 0 30%; scroll-snap-align:start; min-height:120px; }

    /* Grilles produits : toujours 2 colonnes, jamais en liste verticale */
    .products-grid, .best-grid{ grid-template-columns:repeat(2,1fr); gap:10px; }
    .product-image, .best-image{ height:150px; }
    .product-title, .best-info .product-title{ font-size:12.5px; min-height:48px; }
    .price{ font-size:17px; }

    /* Bloc offerte / condizionatori */
    .feature-box{ border-radius:12px; }
    .feature-content{ padding:32px 24px; }
    .feature-content h2{ font-size:26px; }
    .feature-products{
        display:flex; overflow-x:auto; gap:14px; padding:18px 18px 10px; scrollbar-width:none;
    }
    .feature-products::-webkit-scrollbar{ display:none; }
    .feature-products > .feature-product{ flex:0 0 78%; scroll-snap-align:start; }
    .feature-box.reverse .feature-rail{ grid-auto-columns:78%; }

    /* Editorial */
    .editorial{ padding:40px 0; }
    .editorial .editorial-text h2{ font-size:21px; }

    /* Badges : une colonne, plus lisible */
    .badges-section{ padding:30px 0; }
    .badges-row{ grid-template-columns:1fr; gap:16px; }

    /* Newsletter */
    .newsletter-box{ flex-direction:column; align-items:flex-start; padding:24px; gap:16px; }
    .newsletter-form{ width:100%; }
    .newsletter-form input{ flex:1; width:auto; }

    /* Footer */
    .footer-contact-grid, .footer-grid{ grid-template-columns:1fr; }
    .footer-bottom{ flex-direction:column; gap:10px; text-align:center; }
}

/* =========================================================
   FIN DES REGLES RESPONSIVE
========================================================= */

/* =========================================================
   PAGE BOUTIQUE (shop.php)
========================================================= */
.shop-page{ padding:24px 24px 60px; }
.shop-layout{ display:grid; grid-template-columns:240px 1fr; gap:32px; align-items:start; }

.shop-filters{ position:sticky; top:90px; }
.filter-block{ margin-bottom:28px; }
.filter-block h3{ font-size:13px; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); margin-bottom:10px; }
.filter-list{ display:flex; flex-direction:column; gap:2px; }
.filter-list a{ font-size:13.5px; padding:7px 8px; border-radius:6px; color:var(--text); }
.filter-list a:hover{ background:var(--primary-light); text-decoration:none; }
.filter-list a.active{ background:var(--primary); color:#fff; font-weight:700; }
.filter-list a.active .count{ color:rgba(255,255,255,.8); }
.filter-list .count{ color:var(--muted); font-size:11.5px; }
.filter-list-scroll{ max-height:280px; overflow-y:auto; padding-right:4px; }

.price-filter-form .price-inputs{ display:flex; align-items:center; gap:6px; margin-bottom:10px; }
.price-filter-form input{ width:0; flex:1; padding:8px 10px; border:1px solid var(--border); border-radius:6px; font-size:13px; }
.btn-apply-price{
    width:100%; padding:9px; border:0; border-radius:6px; background:var(--primary); color:#fff;
    font-size:13px; font-weight:700; cursor:pointer;
}
.btn-apply-price:hover{ background:var(--primary-dark); }

.filter-active-chips{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:22px; }
.chip{
    font-size:12px; padding:6px 12px; border-radius:16px; background:var(--primary-light);
    color:var(--primary); font-weight:600; white-space:nowrap;
}
.chip:hover{ text-decoration:none; background:#dceefc; }
.chip-reset{ background:#f1f1f1; color:var(--muted); }
.chip-reset:hover{ background:#e6e6e6; }

.shop-toolbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.shop-count{ font-size:13.5px; color:var(--muted); }
.filter-toggle{ display:none; }
.filter-panel-header{ display:none; }
.filter-backdrop{ display:none; }

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

@media(max-width:1250px){ .shop-grid{ grid-template-columns:repeat(3,1fr); } }

@media(max-width:1000px){
    .shop-layout{ grid-template-columns:1fr; }
    .filter-list-scroll{ max-height:200px; }
    .shop-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }

    /* Panneau de filtres en tiroir : cache par defaut, ouvert via le bouton "Filtri" */
    .filter-toggle{
        display:inline-flex; align-items:center; gap:6px; padding:8px 16px; border-radius:20px;
        background:var(--primary-light); color:var(--primary); border:0; font-size:12.5px; font-weight:700; cursor:pointer;
    }
    .filter-backdrop.open{ display:block; position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:55; }
    .shop-filters{
        position:fixed; top:0; left:0; height:100vh; width:86%; max-width:320px; background:#fff;
        z-index:60; padding:20px 20px 40px; overflow-y:auto; box-shadow:6px 0 24px rgba(0,0,0,.18);
        transform:translateX(-105%); transition:transform .3s ease;
    }
    .shop-filters.open{ transform:translateX(0); }
    .filter-panel-header{
        display:flex; justify-content:space-between; align-items:center; margin-bottom:16px;
        padding-bottom:14px; border-bottom:1px solid var(--border);
    }
    .filter-panel-header h3{ font-size:15px; text-transform:none; letter-spacing:0; color:var(--text); margin:0; }
    .filter-panel-header button{ background:none; border:0; font-size:26px; line-height:1; color:var(--muted); cursor:pointer; padding:0 4px; }
}

@media(max-width:760px){
    .shop-page{ padding:16px 16px 40px; }
    .shop-grid{ grid-template-columns:repeat(2,1fr); gap:10px; }
    .filter-block{ margin-bottom:20px; }
}

/* =========================================================
   FICHE PRODUIT (product.php)
========================================================= */
.product-page{ padding:24px 24px 60px; }
.product-layout{ display:grid; grid-template-columns:1fr 1fr; gap:44px; margin-bottom:48px; }
.product-gallery{ max-width:440px; min-width:0; }
.product-details{ min-width:0; }

.product-gallery-main{
    height:300px; background:var(--section-bg); border-radius:var(--radius); overflow:hidden;
    display:flex; align-items:center; justify-content:center;
}
.product-gallery-main img{ width:100%; height:100%; object-fit:contain; padding:20px; }
.product-gallery-thumbs{
    display:flex; flex-wrap:nowrap; gap:8px; margin-top:10px; overflow-x:auto; scrollbar-width:none;
}
.product-gallery-thumbs::-webkit-scrollbar{ display:none; }
.thumb-btn{
    width:56px; height:56px; flex:0 0 56px; padding:0; border:2px solid var(--border); border-radius:8px;
    background:#fff; cursor:pointer; overflow:hidden;
}
.thumb-btn img{ width:100%; height:100%; object-fit:contain; padding:4px; }
.thumb-btn.active{ border-color:var(--primary); }

.pd-brand{ font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; color:var(--primary); margin-bottom:6px; }
.pd-title{ font-size:26px; line-height:1.25; margin-bottom:10px; }
.pd-refs{ display:flex; gap:16px; font-size:12px; color:var(--muted); margin-bottom:18px; }

.pd-stock{ display:inline-block; padding:4px 12px; border-radius:20px; font-size:12px; font-weight:700; margin-bottom:16px; }
.pd-stock.in-stock{ background:#e7f6ec; color:#1a7d3a; }
.pd-stock.out-of-stock{ background:#fde8e8; color:#c0392b; }
.pd-stock.backorder{ background:#fff4e0; color:#a9660b; }

.pd-price-qty-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; flex-wrap:wrap; }
.pd-price-row{ display:flex; align-items:baseline; gap:12px; }
.pd-price{ font-family:var(--font-display,inherit); font-size:30px; font-weight:800; color:var(--red); }
.pd-price-old{ font-size:16px; color:#999; text-decoration:line-through; }

.qty-stepper{ display:flex; align-items:center; border:1px solid var(--border); border-radius:8px; overflow:hidden; }
.qty-stepper button{ width:36px; height:38px; border:0; background:#fafafa; font-size:16px; cursor:pointer; }
.qty-stepper button:hover{ background:#f0f0f0; }
.qty-stepper input{ width:50px; height:38px; border:0; border-left:1px solid var(--border); border-right:1px solid var(--border); text-align:center; font-size:14px; -moz-appearance:textfield; }

.pd-actions{ display:flex; gap:10px; margin-bottom:14px; }
.btn-add-cart-large{
    flex:1; padding:15px; background:var(--primary); color:#fff; border:0; border-radius:8px;
    font-size:14.5px; font-weight:800; cursor:pointer;
}
.btn-add-cart-large:hover{ background:var(--primary-dark); }
.btn-wishlist-icon{
    width:52px; flex-shrink:0; background:#fff; color:var(--text); border:1px solid var(--border); border-radius:8px;
    display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.btn-wishlist-icon:hover{ background:var(--section-bg); color:var(--sale); }
.btn-wishlist-icon.active{ background:#fdeceb; border-color:var(--sale); color:var(--sale); }
.pd-wishlist-form{ margin:0; display:flex; }
.btn-wishlist-icon svg{ width:20px; height:20px; }

.pd-payment-badges{ display:flex; gap:10px; margin-bottom:22px; flex-wrap:wrap; }
.payment-badge{
    display:flex; align-items:center; gap:8px; padding:8px 12px; border:1px solid var(--border);
    border-radius:8px; font-size:11.5px; font-weight:600; color:var(--muted); background:#fafafa;
}
.payment-badge svg{ width:18px; height:18px; color:var(--primary); flex-shrink:0; }

.pd-short-desc{ font-size:14px; color:#333; line-height:1.6; margin-bottom:22px; }

.pd-trust{ display:flex; flex-direction:row; flex-wrap:wrap; gap:16px; font-size:12.5px; color:var(--muted); border-top:1px solid var(--border); padding-top:16px; }
.pd-trust span::before{ content:"✓ "; color:var(--primary); font-weight:700; }

.pd-full-description{ max-width:820px; margin-bottom:48px; }
.pd-full-description h2{ font-size:20px; margin-bottom:14px; }
.pd-description-content{ font-size:14px; line-height:1.7; color:#333; overflow-wrap:break-word; word-wrap:break-word; }
/* Le contenu vient du catalogue WooCommerce (vrai HTML : titres, paragraphes,
   listes...) : on lui donne un style propre et coherent avec le site. */
.pd-description-content h1, .pd-description-content h2, .pd-description-content h3,
.pd-description-content h4, .pd-description-content h5, .pd-description-content h6{
    font-family:var(--font-display,inherit); font-size:16px; font-weight:700; color:var(--text);
    margin:22px 0 8px;
}
.pd-description-content h5:first-child, .pd-description-content h1:first-child{ margin-top:0; }
.pd-description-content p{ margin:0 0 14px; }
.pd-description-content ul, .pd-description-content ol{ margin:0 0 14px; padding-left:20px; }
.pd-description-content li{ margin-bottom:6px; }
.pd-description-content img{ max-width:100%; border-radius:8px; margin:14px 0; }
.pd-description-content strong{ color:var(--text); }
.pd-description-content table{ width:100%; border-collapse:collapse; margin-bottom:14px; }
.pd-description-content table td, .pd-description-content table th{ border:1px solid var(--border); padding:8px 10px; font-size:13px; }

.pd-related{ margin-top:20px; }

/* Barre d'achat fixe en bas de l'ecran (mobile uniquement, voir media query) */
.pd-sticky-bar{ display:none; }

@media(max-width:900px){
    .product-layout{ grid-template-columns:1fr; gap:24px; }
    .pd-title{ font-size:22px; }
    .pd-price{ font-size:26px; }
}
@media(max-width:760px){
    .product-page{ padding:16px 16px 100px; }
    .product-gallery-main{ height:220px; }
    .product-gallery-main img{ padding:14px; }
    .thumb-btn{ width:48px; height:48px; flex-basis:48px; }

    /* Sur mobile, le fil d'ariane ne s'affiche plus au-dessus de l'image */
    .pd-breadcrumb{ display:none; }

    /* Titre plus compact, pour que le bouton d'achat reste visible sans scroller */
    .pd-title{ font-size:18px; line-height:1.3; margin-bottom:6px; }
    .pd-refs{ margin-bottom:10px; }
    .pd-stock{ margin-bottom:10px; }
    .pd-price-qty-row{ margin-bottom:12px; }
    .pd-price{ font-size:24px; }

    /* Un tableau de specifications trop large ne doit jamais faire deborder
       toute la page : il devient lui-meme defilable horizontalement. */
    .pd-description-content table{ display:block; overflow-x:auto; white-space:nowrap; -webkit-overflow-scrolling:touch; }
    .pd-description-content img{ max-width:100%; height:auto; }

    /* Barre d'achat fixe en bas d'ecran, toujours visible pendant le defilement */
    .pd-sticky-bar{
        display:flex; align-items:center; gap:12px; position:fixed; bottom:0; left:0; right:0;
        background:#fff; border-top:1px solid var(--border); padding:10px 16px;
        box-shadow:0 -6px 18px rgba(0,0,0,.10); z-index:40;
    }
    .pd-sticky-bar .pd-sticky-price{ font-family:var(--font-display,inherit); font-weight:800; font-size:17px; color:var(--red); white-space:nowrap; }
    .pd-sticky-bar .btn-add-cart-large{ margin:0; padding:12px; font-size:13px; }
}

/* =========================================================
   PANIER (cart.php)
========================================================= */
.cart-page{ padding:28px 24px 60px; }
.cart-title{ font-size:24px; margin-bottom:22px; }

.cart-empty{ text-align:center; padding:60px 20px; color:var(--muted); }
.cart-empty p{ margin-bottom:18px; font-size:15px; }

.cart-layout{ display:grid; grid-template-columns:1fr 320px; gap:32px; align-items:start; }

.cart-items{ display:flex; flex-direction:column; gap:14px; }
.cart-item{
    display:grid; grid-template-columns:70px 1fr auto auto auto; align-items:center; gap:16px;
    background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:12px;
}
.cart-item-thumb{ width:70px; height:70px; border-radius:8px; overflow:hidden; background:var(--section-bg); display:flex; align-items:center; justify-content:center; }
.cart-item-thumb img{ width:100%; height:100%; object-fit:contain; padding:6px; }
.cart-item-info{ min-width:0; }
.cart-item-name{ font-size:13.5px; font-weight:700; color:var(--text); display:block; margin-bottom:4px; }
.cart-item-unit-price{ font-size:12px; color:var(--muted); }
.cart-item-qty .qty-stepper{ height:36px; }
.cart-item-qty .qty-stepper input{ width:42px; height:34px; }
.cart-item-qty .qty-stepper button{ width:32px; height:34px; }
.cart-item-total{ font-family:var(--font-display,inherit); font-weight:800; font-size:15px; white-space:nowrap; }
.cart-item-remove{ width:32px; height:32px; border:0; background:none; color:var(--muted); font-size:20px; cursor:pointer; border-radius:50%; }
.cart-item-remove:hover{ background:var(--section-bg); color:var(--sale); }

.cart-summary{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:22px; position:sticky; top:90px; }
.cart-summary h3{ font-size:15px; margin-bottom:16px; }
.cart-summary-row{ display:flex; justify-content:space-between; font-size:14px; font-weight:700; margin-bottom:8px; }
.cart-summary-note{ font-size:11.5px; color:var(--muted); margin-bottom:6px; }
.cart-continue-link{ display:block; text-align:center; margin-top:12px; font-size:12.5px; color:var(--muted); }

@media(max-width:900px){
    .cart-layout{ grid-template-columns:1fr; }
    .cart-summary{ position:static; }
}
@media(max-width:640px){
    .cart-page{ padding:20px 16px 40px; }
    .cart-item{ grid-template-columns:56px 1fr; grid-template-areas:"thumb info" "thumb qty" "thumb total"; row-gap:8px; }
    .cart-item-thumb{ grid-area:thumb; width:56px; height:56px; }
    .cart-item-info{ grid-area:info; }
    .cart-item-qty{ grid-area:qty; }
    .cart-item-total{ grid-area:total; }
    .cart-item-remove{ position:absolute; top:8px; right:8px; }
    .cart-item{ position:relative; }
}

/* =========================================================
   LISTA DEI PREFERITI (wishlist.php)
========================================================= */
.wishlist-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.wishlist-item{ display:flex; flex-direction:column; }
.wishlist-remove-form{ margin-top:8px; }
.wishlist-remove-btn{
    width:100%; padding:9px; background:#fff; border:1px solid var(--border); border-radius:6px;
    color:var(--muted); font-size:12px; font-weight:600; cursor:pointer;
}
.wishlist-remove-btn:hover{ background:var(--section-bg); color:var(--sale); border-color:var(--sale); }

@media(max-width:1000px){ .wishlist-grid{ grid-template-columns:repeat(3,1fr); } }
@media(max-width:640px){ .wishlist-grid{ grid-template-columns:repeat(2,1fr); gap:10px; } }

/* =========================================================
   CHECKOUT (checkout.php)
========================================================= */
.checkout-page{ padding:28px 24px 60px; }
.checkout-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }

.checkout-fields{ display:flex; flex-direction:column; gap:16px; }
.checkout-fields .field{ margin-bottom:0; width:100%; }
.checkout-fields .field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.checkout-fields .field-row .field{ min-width:0; }
.checkout-fields label{ display:block; font-size:12.5px; font-weight:700; color:var(--text); margin-bottom:6px; }
.checkout-fields input{
    width:100%; padding:14px 16px; border:1px solid var(--border-strong,#cfd3d8); border-radius:8px;
    font-size:15px; font-family:inherit; color:var(--text); background:#fff; box-sizing:border-box;
}
.checkout-fields input:focus{ outline:none; border-color:var(--primary); box-shadow:0 0 0 3px var(--primary-light); }
.checkout-fields input:disabled{ background:#f5f5f5; color:var(--muted); }
@media(max-width:560px){
    .checkout-fields .field-row{ grid-template-columns:1fr; }
}
.checkout-secure-note{ display:flex; align-items:center; gap:6px; font-size:12.5px; color:var(--muted); font-weight:600; }
.checkout-secure-note svg{ width:16px; height:16px; color:#1a7d3a; }

.checkout-errors{
    background:var(--sale-soft); color:var(--sale); border-radius:8px; padding:14px 18px;
    margin-bottom:20px; font-size:13.5px; font-weight:600;
}
.checkout-errors div{ margin-bottom:4px; }
.checkout-errors div:last-child{ margin-bottom:0; }

.checkout-layout{ display:grid; grid-template-columns:1fr 360px; gap:32px; align-items:start; }
.checkout-main{ display:flex; flex-direction:column; gap:16px; }
.checkout-section{ background:#fff; border:1px solid var(--border); border-radius:12px; padding:22px 24px; }
.checkout-section-head{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.checkout-section-head h2{ font-size:15.5px; margin:0; }
.step-badge{
    width:26px; height:26px; border-radius:50%; background:var(--primary); color:#fff;
    display:flex; align-items:center; justify-content:center; font-size:12.5px; font-weight:800; flex-shrink:0;
}

.shipping-option{
    display:flex; align-items:center; justify-content:space-between; border:2px solid var(--primary);
    background:var(--primary-light); border-radius:10px; padding:14px 16px; cursor:default;
}
.shipping-option-left{ display:flex; align-items:center; gap:12px; }
.shipping-option-left svg{ width:26px; height:26px; color:var(--primary); flex-shrink:0; }
.shipping-option-name{ font-weight:700; font-size:13.5px; }
.shipping-option-delay{ font-size:12px; color:var(--muted); }

.payment-cards{ display:flex; flex-direction:column; gap:12px; }
.payment-card{
    display:block; border:2px solid var(--border); border-radius:12px; padding:16px 18px; cursor:pointer;
    transition:.15s; position:relative;
}
.payment-card:hover{ border-color:var(--primary); }
.payment-card.selected{ border-color:var(--primary); background:var(--primary-light); }
.payment-card-head{ display:flex; align-items:center; gap:12px; }
.payment-card-head input{ position:absolute; opacity:0; width:0; height:0; }
.payment-card-icon{
    width:38px; height:38px; border-radius:8px; background:#fff; border:1px solid var(--border);
    display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--primary);
}
.payment-card-icon svg{ width:20px; height:20px; }
.payment-card-name{ font-weight:700; font-size:14px; flex:1; }
.payment-card-check{
    width:22px; height:22px; border-radius:50%; background:var(--primary); color:#fff; font-size:12px;
    display:none; align-items:center; justify-content:center; flex-shrink:0;
}
.payment-card.selected .payment-card-check{ display:flex; }
.payment-card-desc{ font-size:12.5px; color:var(--muted); margin:8px 0 0 50px; }
.payment-card-details{ margin-top:14px; padding-top:14px; border-top:1px dashed var(--border); display:none; }
.payment-card.selected .payment-card-details{ display:block; }
.pd-row{ display:flex; justify-content:space-between; gap:12px; font-size:13px; padding:5px 0; }
.pd-row span{ color:var(--muted); }
.payment-card-note{ font-size:12px; color:var(--muted); margin-top:10px; font-style:italic; }

.upload-dropzone{
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
    border:2px dashed var(--border-strong,var(--border)); border-radius:12px; padding:36px 20px;
    cursor:pointer; text-align:center; background:#fafafa; transition:.15s;
}
.upload-dropzone:hover{ border-color:var(--primary); background:var(--primary-light); }
.upload-dropzone.has-file{ border-color:#1a7d3a; background:#e7f6ec; }
.upload-dropzone svg{ width:30px; height:30px; color:var(--primary); margin-bottom:4px; }
.upload-dropzone-text{ font-size:13.5px; font-weight:600; color:var(--text); }
.upload-dropzone-hint{ font-size:11.5px; color:var(--muted); }
.upload-dropzone input[type=file]{ display:none; }

.checkout-summary{
    background:#fff; border:1px solid var(--border); border-radius:12px; padding:22px;
    position:sticky; top:90px;
}
.checkout-summary h3{ font-size:15px; margin-bottom:14px; }
.checkout-summary-count{ color:var(--muted); font-weight:400; }
.checkout-summary-items{ display:flex; flex-direction:column; gap:12px; margin-bottom:14px; }
.checkout-summary-item{ display:grid; grid-template-columns:44px 1fr auto; align-items:center; gap:10px; }
.checkout-summary-thumb{ position:relative; width:44px; height:44px; border-radius:6px; background:var(--section-bg); overflow:hidden; }
.checkout-summary-thumb img{ width:100%; height:100%; object-fit:contain; padding:3px; }
.checkout-summary-qty{
    position:absolute; top:-6px; right:-6px; background:var(--ink,var(--text)); color:#fff; font-size:10px;
    width:17px; height:17px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700;
}
.checkout-summary-name{ font-size:12.5px; font-weight:600; line-height:1.3; }
.checkout-summary-price{ font-size:12.5px; font-weight:700; white-space:nowrap; }
.checkout-summary-row{ display:flex; justify-content:space-between; font-size:13.5px; font-weight:700; padding-top:10px; border-top:1px solid var(--border); margin-top:6px; }
.checkout-total{ font-size:16px; }
.checkout-total span:last-child{ color:var(--sale); }
.checkout-trust-row{ display:flex; justify-content:space-between; margin-top:14px; font-size:11px; color:var(--muted); }
.checkout-trust-row span{ display:flex; align-items:center; gap:5px; }
.checkout-trust-row svg{ width:14px; height:14px; color:var(--primary); }

@media(max-width:900px){
    .checkout-layout{ grid-template-columns:1fr; }
    .checkout-summary{ position:static; }
}
@media(max-width:640px){
    .checkout-page{ padding:20px 16px 40px; }
    .checkout-section{ padding:16px; }
    .checkout-top{ flex-direction:column; align-items:flex-start; gap:6px; }
}

/* =========================================================
   CONFIRMATION (confirmation.php)
========================================================= */
.confirmation-page{ padding:36px 24px 60px; max-width:1100px; margin:0 auto; }
.confirmation-head{ text-align:center; margin-bottom:36px; }
.confirmation-check{
    width:60px; height:60px; border-radius:50%; background:#e7f6ec; color:#1a7d3a;
    font-size:28px; display:flex; align-items:center; justify-content:center; margin:0 auto 16px;
}
.confirmation-head h1{ font-size:24px; margin-bottom:8px; }
.confirmation-head p{ color:var(--muted); font-size:14px; margin-bottom:12px; }
.confirmation-status{
    display:inline-block; padding:6px 16px; border-radius:20px; background:#fff4e0; color:#a9660b;
    font-size:12.5px; font-weight:700;
}
.confirmation-layout{ display:grid; grid-template-columns:1fr 300px; gap:28px; align-items:start; }
.confirmation-main{ display:flex; flex-direction:column; gap:18px; }
.confirmation-order-item{ display:flex; justify-content:space-between; gap:16px; font-size:13.5px; margin-bottom:8px; color:#333; }
.confirmation-steps{ padding-left:18px; font-size:13px; color:#333; line-height:1.9; }

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