/*
Theme Name: Emirati Vape V23 Complete
Theme URI: https://emirat vape.com/
Author: Emirati Vape
Description: Boutique WooCommerce responsive, claire et facile à modifier. Accueil avec carrousel, catégories dynamiques dont Roodman, logo mobile fiable, WhatsApp flottant et PWA.
Version: 23.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: emirati-vape-v23
*/
:root{--ev-gold:#c9972d;--ev-gold2:#e2b85a;--ev-black:#111;--ev-ink:#171717;--ev-muted:#707070;--ev-bg:#f8f8f8;--ev-card:#fff;--ev-line:#e7e7e7;--ev-radius:16px;--ev-max:1280px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ev-ink);background:#fff;font-family:Inter,Arial,Helvetica,sans-serif;line-height:1.55}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ev-topbar{background:var(--ev-black);color:#fff;font-size:13px}.ev-topbar-inner{max-width:var(--ev-max);margin:auto;min-height:38px;padding:8px 22px;display:flex;align-items:center;justify-content:center;gap:30px;flex-wrap:wrap}.ev-topbar strong{color:var(--ev-gold2)}
.ev-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--ev-line);box-shadow:0 2px 15px rgba(0,0,0,.05)}.ev-nav{max-width:var(--ev-max);margin:auto;min-height:82px;padding:10px 22px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px}.ev-brand{display:inline-flex;align-items:center;min-width:150px;max-width:230px}.ev-brand img,.custom-logo{display:block;max-height:58px;width:auto;max-width:210px;object-fit:contain}.ev-brand-text{font-weight:900;letter-spacing:2px;font-size:18px}.ev-menu{display:flex;justify-content:center;align-items:center;gap:30px;font-size:14px;font-weight:800}.ev-menu a{padding:10px 2px}.ev-menu a:hover,.ev-menu a:focus{color:var(--ev-gold)}.ev-actions{display:flex;align-items:center;gap:15px;font-weight:800;font-size:13px}.ev-action{position:relative;display:inline-flex;align-items:center;gap:7px}.ev-cart-count{display:grid;place-items:center;min-width:19px;height:19px;border-radius:99px;background:var(--ev-gold);color:#fff;font-size:10px;padding:0 5px}.ev-menu-toggle{display:none;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;padding:4px}
.ev-mobile-panel{display:none;border-top:1px solid var(--ev-line);background:#fff;padding:10px 18px 18px}.ev-mobile-panel a{display:block;padding:13px 5px;border-bottom:1px solid var(--ev-line);font-weight:800}.ev-mobile-panel.is-open{display:block}
.ev-hero{background:linear-gradient(120deg,#fff 0%,#fbfbfb 62%,#f3ead6 100%);position:relative;overflow:hidden}.ev-slide{display:none;min-height:500px;align-items:center;justify-content:center;padding:65px 24px}.ev-slide.is-active{display:flex}.ev-slide-inner{width:min(900px,100%);text-align:center}.ev-kicker{font-size:12px;letter-spacing:5px;color:#916b23;font-weight:900}.ev-slide h1{font-size:clamp(42px,7vw,82px);line-height:1.02;margin:14px 0 18px;letter-spacing:-2px}.ev-slide p{max-width:680px;margin:0 auto 28px;color:#666;font-size:17px}.ev-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--ev-black);background:var(--ev-black);color:#fff;padding:13px 21px;border-radius:8px;font-weight:900;cursor:pointer;transition:.2s}.ev-btn:hover{transform:translateY(-1px);opacity:.93}.ev-btn.gold{background:var(--ev-gold);border-color:var(--ev-gold)}.ev-carousel-controls{position:absolute;left:0;right:0;bottom:20px;display:flex;justify-content:center;gap:8px}.ev-dot{width:9px;height:9px;border:0;border-radius:50%;background:#bbb;padding:0;cursor:pointer}.ev-dot.is-active{background:var(--ev-gold);width:24px;border-radius:10px}
.ev-section{max-width:var(--ev-max);margin:auto;padding:76px 22px}.ev-section-head{text-align:center;margin-bottom:38px}.ev-eyebrow{font-size:11px;letter-spacing:4px;color:#946d24;font-weight:900}.ev-section-head h2{font-size:40px;line-height:1.1;margin:9px 0 12px}.ev-underline{width:52px;height:2px;background:var(--ev-gold);margin:auto}
.ev-categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.ev-category{background:var(--ev-card);border:1px solid var(--ev-line);border-radius:var(--ev-radius);overflow:hidden;box-shadow:0 6px 22px rgba(0,0,0,.045);transition:.2s}.ev-category:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(0,0,0,.09)}.ev-category-media{aspect-ratio:1/1;background:#f5f5f5;overflow:hidden}.ev-category-media img{width:100%;height:100%;object-fit:cover;display:block}.ev-placeholder{width:100%;height:100%;display:grid;place-items:center;text-align:center;color:#aaa;font-size:12px;padding:20px}.ev-category-body{padding:16px}.ev-category h3{margin:0 0 14px;font-size:17px}.ev-category .ev-btn{font-size:12px;padding:10px 13px;width:100%}
.ev-products-section{background:var(--ev-bg)}.ev-products-grid ul.products{margin:0!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.ev-products-grid ul.products::before,.ev-products-grid ul.products::after{display:none!important}.ev-products-grid ul.products li.product{width:auto!important;float:none!important;margin:0!important;background:#fff;border:1px solid var(--ev-line);border-radius:14px;padding:14px;box-shadow:none}.ev-products-grid ul.products li.product a img{border-radius:10px}.ev-products-grid ul.products li.product .button{background:var(--ev-black);color:#fff;border-radius:7px}.ev-view-all{text-align:center;margin-top:30px}
.ev-benefits{background:var(--ev-black);color:#fff}.ev-benefit-grid{max-width:var(--ev-max);margin:auto;padding:40px 22px;display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.ev-benefit{text-align:center;padding:10px}.ev-benefit-icon{font-size:27px;color:var(--ev-gold2)}.ev-benefit h3{font-size:15px;margin:8px 0 4px}.ev-benefit p{font-size:12px;color:#bbb;margin:0}
.ev-page{max-width:1100px;margin:auto;padding:65px 22px}.ev-page h1{font-size:42px;line-height:1.1}.ev-footer{background:#111;color:#fff;margin-top:40px}.ev-footer-inner{max-width:var(--ev-max);margin:auto;padding:50px 22px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.ev-footer h3{margin-top:0}.ev-footer p,.ev-footer a{color:#bdbdbd;font-size:14px}.ev-copy{text-align:center;border-top:1px solid #2b2b2b;padding:16px 22px;color:#8d8d8d;font-size:12px}
.ev-wa{position:fixed;right:20px;bottom:20px;width:58px;height:58px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;z-index:120;font-weight:900;font-size:26px;box-shadow:0 10px 28px rgba(0,0,0,.25)}.ev-wa-label{position:absolute;right:68px;white-space:nowrap;background:#111;color:#fff;padding:8px 11px;border-radius:7px;font-size:11px;opacity:0;transform:translateX(5px);transition:.2s;pointer-events:none}.ev-wa:hover .ev-wa-label{opacity:1;transform:none}
.ev-install{position:fixed;left:18px;bottom:18px;z-index:110;display:none}.ev-install.show{display:inline-flex}.ev-install .ev-btn{font-size:12px;padding:10px 14px}
.woocommerce .site-main,.woocommerce-page .site-main{max-width:var(--ev-max);margin:auto;padding:45px 22px}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important}.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border-radius:12px}.woocommerce .button{border-radius:7px!important}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid #d9d9d9;border-radius:7px;padding:12px}.woocommerce-checkout #customer_details{margin-bottom:20px}.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{width:100%;float:none}.woocommerce-checkout .col2-set .col-2{display:none}
@media(max-width:1100px){.ev-nav{grid-template-columns:auto 1fr auto}.ev-menu{gap:18px}.ev-categories{grid-template-columns:repeat(3,1fr)}.ev-products-grid ul.products,.woocommerce ul.products{grid-template-columns:repeat(3,1fr)!important}.ev-benefit-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.ev-nav{min-height:70px;padding:8px 15px;grid-template-columns:auto 1fr auto;gap:10px}.ev-menu{display:none}.ev-menu-toggle{display:block}.ev-brand{justify-self:center;max-width:180px;min-width:0}.ev-brand img,.custom-logo{max-height:48px;max-width:165px;width:auto}.ev-brand-text{font-size:15px}.ev-actions{gap:8px}.ev-account-label{display:none}.ev-mobile-panel{display:none}.ev-mobile-panel.is-open{display:block}.ev-topbar-inner{font-size:11px;gap:10px;min-height:34px;padding:7px 12px}.ev-slide{min-height:420px;padding:48px 18px}.ev-slide h1{font-size:43px;letter-spacing:-1px}.ev-slide p{font-size:15px}.ev-section{padding:55px 15px}.ev-section-head h2{font-size:31px}.ev-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ev-category-body{padding:12px}.ev-category h3{font-size:15px}.ev-products-grid ul.products,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important;gap:12px}.ev-benefit-grid{grid-template-columns:1fr 1fr;padding:30px 15px}.ev-footer-inner{grid-template-columns:1fr;padding:38px 20px}.ev-wa{right:14px;bottom:14px;width:54px;height:54px}.ev-install{left:12px;bottom:14px}}
@media(max-width:480px){.ev-actions .ev-cart-text{display:none}.ev-brand img,.custom-logo{max-width:145px;max-height:44px}.ev-slide h1{font-size:35px}.ev-categories{grid-template-columns:1fr}.ev-products-grid ul.products,.woocommerce ul.products{grid-template-columns:1fr!important}.ev-benefit-grid{grid-template-columns:1fr}.ev-wa-label{display:none}.ev-page{padding:45px 16px}.ev-page h1{font-size:34px}}

/* Confirmation de commande */
.ev-order-success{max-width:760px;margin:50px auto;padding:42px 28px;text-align:center;background:#fff;border:1px solid #eadfca;border-radius:18px;box-shadow:0 12px 35px rgba(0,0,0,.07)}
.ev-success-icon{width:64px;height:64px;margin:0 auto 18px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#c9972d;color:#fff;font-size:34px;font-weight:800}
.ev-order-success h2{margin:0 0 12px;font-size:32px}
.ev-order-success p{font-size:17px;line-height:1.6}
.ev-order-number{margin:20px 0}
.ev-success-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:25px}
.ev-success-actions .ev-btn{text-decoration:none}
@media(max-width:600px){.ev-order-success{margin:25px 14px;padding:30px 18px}.ev-order-success h2{font-size:25px}.ev-success-actions{flex-direction:column}.ev-success-actions .ev-btn{width:100%;box-sizing:border-box}}

.emv-checkout-page{max-width:1280px}
.emv-checkout-wrap{max-width:1100px;margin:auto}
.emv-checkout-main{background:#fff;border:1px solid #e5e5e5;border-radius:14px;padding:28px}
.emv-checkout-main h1{text-align:center;margin-top:0}
.emv-checkout-page .woocommerce-billing-fields h3{font-size:22px}
.emv-checkout-page #order_review_heading{margin-top:30px}
.emv-checkout-page .woocommerce-checkout-review-order{border:1px solid #e5e5e5;border-radius:10px;padding:18px;background:#fafafa}
.emv-checkout-page .woocommerce-checkout-payment{margin-top:18px;padding:18px;border-radius:10px;background:#fff;border:1px solid #e5e5e5}
@media(max-width:760px){.emv-checkout-main{padding:16px}.emv-checkout-page{padding-left:12px;padding-right:12px}}

/* V30 : le compte client n'est pas nécessaire pour commander. */
