/*
Theme Name: Empire Mireb E-Commerce
Theme URI: https://ets.mireb.online
Author: Empire Mireb
Description: Plateforme E-Commerce All-in-One avec CRM, WooCommerce, Landing Pages, WhatsApp Integration
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.2
License: GNU General Public License v2 or later
Text Domain: mireb-ecommerce
Tags: e-commerce, woocommerce, custom, responsive, mobile-first
*/

/* ─── FULL WIDTH RESET ───────────────────────────────── */
*,*::before,*::after{box-sizing:border-box}
html,body{width:100%;overflow-x:hidden;margin:0;padding:0}
#page,#content,.site,.site-content,.content-area,.entry-content{width:100%;max-width:100%}
img,video,iframe,embed,object{max-width:100%;height:auto}
/* Section hero plein écran */
.hero-section,.hero-section .swiper,.hero-section .swiper-slide{width:100vw;margin-left:calc(-50vw + 50%)}
/* Sections pleine largeur */
section{width:100%;overflow-x:hidden}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#1a1a2e;background:#fff;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
button{cursor:pointer;border:none;background:none}

.scrollbar-hide::-webkit-scrollbar{display:none}
.scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}

@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
@keyframes fadeInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}
.animate-marquee{animation:marquee 30s linear infinite}
.animate-fade-in-up{animation:fadeInUp 0.6s ease forwards}
.animate-pulse{animation:pulse 2s ease infinite}

.container{width:100%;max-width:1400px;margin:0 auto;padding:0 12px;box-sizing:border-box}
@media(min-width:640px){.container{padding:0 20px}}
@media(min-width:1024px){.container{padding:0 40px}}
@media(min-width:1280px){.container{padding:0 60px}}
.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}

.site-header{position:sticky;top:0;z-index:1000;background:#fff;box-shadow:0 1px 20px rgba(0,0,0,0.08)}
.btn-primary{display:inline-flex;align-items:center;gap:8px;padding:12px 28px;background:#7c3aed;color:#fff;border-radius:50px;font-weight:600;transition:all 0.2s}
.btn-primary:hover{background:#6d28d9;transform:translateY(-1px);box-shadow:0 8px 25px rgba(124,58,237,0.35)}
.product-card{background:#fff;border-radius:16px;overflow:hidden;transition:all 0.3s;border:1px solid #f0f0f0}
.product-card:hover{box-shadow:0 20px 60px rgba(0,0,0,0.12);transform:translateY(-4px)}
.status-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:50px;font-size:12px;font-weight:600}
.status-pending{background:#fef3c7;color:#92400e}
.status-confirmed{background:#d1fae5;color:#065f46}
.status-cancelled{background:#fee2e2;color:#991b1b}
.status-delivered{background:#dbeafe;color:#1e40af}
.mobile-bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e5e7eb;display:flex;justify-content:space-around;padding:8px 0;z-index:900}
.mobile-nav-item{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 16px;font-size:10px;color:#9ca3af}
.mobile-nav-item.active{color:#7c3aed}
@media(min-width:1024px){.mobile-bottom-nav{display:none}}

/* ─── FULL WIDTH COMPLET ─────────────────────────────── */
body.home,body.woocommerce,body.archive,body.single{overflow-x:hidden}
#page{width:100%;margin:0;padding:0}
.site-content{width:100%;padding:0;margin:0}
/* Neutraliser les marges WordPress par défaut */
.wp-block-group,
.wp-block-cover,
.wp-block-image,
.entry-content,
.post-content{max-width:100%;width:100%;padding-left:0;padding-right:0}
/* Header & footer plein écran */
.site-header{width:100%;left:0;right:0}
.site-footer{width:100%;margin:0;padding:0}
/* Sections + contenu pleine largeur */
.hero-section{position:relative;width:100%;overflow:hidden}
.hero-section .swiper,
.hero-section .swiper-slide{width:100% !important;margin:0 !important}
/* Toutes les sections pleine largeur */
section,
.section-full{width:100%;margin-left:0;margin-right:0}
/* Responsive — pas de scroll horizontal */
@media(max-width:768px){
    .container{padding:0 8px}
    .hide-mobile{display:none!important}
}
@media(max-width:480px){
    .container{padding:0 4px}
}
