/*
Theme Name: Electro Almatar — Boutique
Description: Thème enfant Astra avec accueil boutique et bannière personnalisable. Nécessite Astra. Produits gérés par WooCommerce.
Author: Electro Almatar
Version: 2.0.0
Template: astra
Text Domain: electro-almatar
*/
:root{--ea-blue:#087db7;--ea-ink:#132d40;--ea-orange:#ef7d32;--ea-pale:#eef5f8}
body{background:#fff;color:var(--ea-ink)}
.ea-home{max-width:1320px;margin:auto;padding:0 32px 48px;font-family:Arial,sans-serif}
.ea-home a{text-decoration:none;color:inherit}
.ea-topline{display:flex;justify-content:space-between;gap:16px;padding:14px 0;font-size:12px;border-bottom:1px solid #e4ebee}
.ea-tools{display:flex;align-items:center;gap:40px;padding:28px 0}
.ea-brand{font-size:22px;font-weight:900;line-height:1.1;letter-spacing:-1px;white-space:nowrap}.ea-brand span{color:var(--ea-orange)}.ea-brand small{display:block;font-size:11px;letter-spacing:1px;font-weight:400;margin-top:6px}
.ea-tools form{display:flex;flex:1;background:#f4f6f7;border:1px solid #dce5e9;border-radius:8px;overflow:hidden}.ea-tools input[type=search]{width:100%;border:0;background:transparent;padding:13px 18px;min-width:0}.ea-tools button{background:var(--ea-blue);border:0;border-radius:0;padding:12px 18px;color:white}.ea-cart{font-size:14px;font-weight:700}
.ea-nav{display:flex;gap:26px;overflow:auto;padding:16px 0 23px;white-space:nowrap;font-size:14px}.ea-nav a:first-child{color:var(--ea-blue);font-weight:700}
.ea-hero{display:grid;grid-template-columns:1fr 1fr;background:var(--ea-pale);border-radius:20px;overflow:hidden;min-height:465px}.ea-hero-copy{padding:54px 44px}.ea-eyebrow{font-size:11px;font-weight:700;letter-spacing:1.8px;margin-bottom:19px;color:var(--ea-blue)}
.ea-home h1{font-size:clamp(34px,4.2vw,58px);line-height:1.06;letter-spacing:-2px;font-weight:800;margin:0 0 24px;color:var(--ea-ink)}.ea-hero-copy>p:not(.ea-eyebrow){line-height:1.8;font-size:15px;color:#526572;max-width:420px}.ea-actions{display:flex;align-items:center;gap:24px;margin-top:30px;font-size:13px;font-weight:700}.ea-home .ea-button{display:inline-block;padding:16px 22px;background:var(--ea-blue);color:white;border-radius:7px}
.ea-visual{position:relative;min-height:380px;background:#c7e4ed}.ea-shop-photo{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.ea-placeholder{height:100%;min-height:430px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;background:radial-gradient(ellipse at top right,#fff8dd,transparent 65%),linear-gradient(135deg,#b3dbe8,#e4f3f4);text-align:center;padding:30px 25px 100px}.ea-mark{font-size:70px;font-weight:900;letter-spacing:-8px;color:var(--ea-blue);line-height:1.2}.ea-placeholder strong{font-size:24px;line-height:1.3}.ea-placeholder>span:last-child{font-size:12px;letter-spacing:1px}.ea-location{position:absolute;bottom:20px;left:20px;right:20px;background:#ffffffed;padding:16px 20px;border-radius:9px;font-weight:700;font-size:14px}.ea-location span{display:block;font-size:12px;font-weight:400;margin-top:3px}
.ea-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:27px 0;border-bottom:1px solid #e3e9ed;font-size:13px}.ea-benefits b{color:var(--ea-orange);margin-right:12px}
.ea-section{margin-top:55px}.ea-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:24px}.ea-heading .ea-eyebrow{margin-bottom:8px}.ea-home h2{font-size:30px;letter-spacing:-1px;margin:0;line-height:1.2;font-weight:750}.ea-heading>a{font-size:13px;color:var(--ea-blue)}
.ea-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:14px}.ea-categories>a{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px 12px;background:#f5f8fa;border-radius:12px}.ea-categories img{height:80px;width:80px;object-fit:contain;mix-blend-mode:multiply}.ea-category-number{font-size:36px;font-weight:800;color:#81aabd}.ea-categories strong{font-size:14px}.ea-categories a>span:last-child{font-size:11px;color:#667c88}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{border:1px solid #e2e9ed;border-radius:12px;overflow:hidden;background:#fff;padding:16px!important;box-sizing:border-box}.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:contain;border-radius:8px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;line-height:1.45!important;color:var(--ea-ink)}.woocommerce ul.products li.product .price{font-size:17px;font-weight:700;color:var(--ea-blue)}.woocommerce ul.products li.product .price del{font-size:12px;color:#78838b}.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--ea-blue);color:#fff;border-radius:6px;font-weight:600;padding:12px 17px}.woocommerce span.onsale{background:var(--ea-orange);color:#fff}.woocommerce div.product div.summary{padding:15px}.woocommerce div.product .product_title{color:var(--ea-ink);font-size:32px}.woocommerce-message{border-top-color:var(--ea-blue)}.ea-home a:focus-visible,.ea-home button:focus-visible{outline:3px solid var(--ea-orange);outline-offset:4px}
.ea-visit{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:40px;margin-top:50px;background:var(--ea-ink);color:#fff;border-radius:16px}.ea-visit h2{color:#fff}.ea-visit .ea-eyebrow{color:#83cff0}.ea-visit p:last-child{margin:16px 0 0;font-size:13px}.ea-visit .ea-button{background:var(--ea-orange)}
@media(max-width:850px){.ea-home{padding:0 18px 30px}.ea-tools{flex-wrap:wrap;gap:20px}.ea-tools form{order:3;flex-basis:100%}.ea-cart{margin-left:auto}.ea-hero-copy{padding:35px 26px}.ea-actions{flex-wrap:wrap;gap:18px}.ea-hero{grid-template-columns:1fr}.ea-visual{min-height:300px}.ea-placeholder{min-height:300px}.ea-benefits{gap:12px;font-size:11px}.ea-benefits b{display:block}.ea-visit{padding:28px;align-items:start;flex-direction:column}}
@media(max-width:480px){.ea-topline{font-size:10px;flex-direction:column;gap:5px}.ea-tools button{font-size:11px;padding:10px}.ea-nav{gap:20px;font-size:12px}.ea-home h2{font-size:24px}.ea-heading>a{font-size:11px}.ea-categories{grid-template-columns:repeat(2,1fr)}.ea-section{margin-top:35px}.ea-home .woocommerce ul.products li.product,.woocommerce-page ul.products li.product{padding:10px!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important}.ea-home .woocommerce ul.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ea-home .woocommerce ul.products::before,.ea-home .woocommerce ul.products::after{display:none}.ea-home .woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important}}

/* Version 2 — identité sur l’ensemble de la boutique */
.ea-store-v2 #page{display:block;max-width:none;background:#fff}.ea-shell{max-width:1320px;margin:0 auto;padding-left:32px;padding-right:32px}.ea-header{background:#fff;border-bottom:1px solid #e6edf1}.ea-header a,.ea-footer a{text-decoration:none;color:inherit}.ea-header .ea-topline{padding-top:11px;padding-bottom:11px;color:#4b6372}.ea-logo .custom-logo{max-width:210px;max-height:65px;object-fit:contain}.ea-header-actions{display:flex;gap:22px;align-items:center;font-size:13px;white-space:nowrap}.ea-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;border-radius:50%;background:var(--ea-orange);color:#fff;margin-left:5px}.ea-nav-wrap{background:#f6f9fa}.ea-menu{list-style:none!important;margin:0!important;padding:0!important;display:flex;flex-wrap:wrap;gap:0}.ea-menu>li>a{padding:17px 18px;display:block;font-size:13px;font-weight:600}.ea-menu>li:first-child>a{padding-left:0;color:var(--ea-blue)}.ea-menu li{position:relative;list-style:none}.ea-menu .sub-menu{display:none;position:absolute;top:100%;left:0;z-index:100;background:#fff;padding:12px;margin:0;min-width:220px;border:1px solid #dde6ec;box-shadow:0 15px 30px #132d4017;border-radius:8px}.ea-menu .sub-menu a{display:block;padding:9px;font-size:13px}.ea-menu li:hover>.sub-menu,.ea-menu li:focus-within>.sub-menu{display:block}.ea-menu .sub-menu .sub-menu{left:100%;top:0}.ea-menu-toggle{display:none}.ea-header a:hover{color:var(--ea-blue)}.ea-skip{position:absolute;top:-100px;left:10px;z-index:99999;background:white;padding:15px}.ea-skip:focus{top:35px}.ea-store-v2 a:focus-visible,.ea-store-v2 button:focus-visible{outline:3px solid var(--ea-orange);outline-offset:3px}.ea-home{padding-top:30px}
.ea-footer{background:#102b3d;color:#d2dfe6;margin-top:30px}.ea-footer-top{padding:36px 0;display:flex;justify-content:space-between;align-items:center;gap:25px;border-bottom:1px solid #ffffff24}.ea-footer-top h2{color:white;font-size:27px;margin:10px 0 0}.ea-footer-kicker{font-size:10px;letter-spacing:2px;color:#8ecfe7}.ea-button{display:inline-block;background:var(--ea-blue);color:#fff!important;border-radius:7px;padding:15px 22px;text-decoration:none}.ea-footer .ea-button{background:var(--ea-orange);white-space:nowrap}.ea-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:40px;padding:42px 0}.ea-footer h3{color:#fff;font-size:15px;margin-bottom:18px}.ea-footer-grid p{font-size:13px;line-height:1.9;margin-top:18px}.ea-footer-grid>div>a:not(.ea-brand){display:block;margin-bottom:10px;font-size:13px}.ea-footer .ea-brand{color:#fff;font-size:20px}.ea-footer-menu{list-style:none;padding:0;margin:0}.ea-footer-menu a{font-size:13px;display:block;margin-bottom:10px}.ea-footer-bottom{border-top:1px solid #ffffff24;padding:21px 0;display:flex;justify-content:space-between;gap:20px;font-size:11px}.ea-whatsapp{position:fixed;right:20px;bottom:20px;background:#087547;color:#fff!important;border-radius:30px;padding:13px 20px;font-size:12px;font-weight:700;z-index:90;box-shadow:0 5px 20px #0002;text-decoration:none}
.ea-page,.ea-commerce{padding-top:40px;padding-bottom:60px;min-height:50vh;width:100%}.ea-page-heading{margin-bottom:35px;padding-bottom:24px;border-bottom:1px solid #e3ebef}.ea-page h1,.ea-commerce h1{font-size:clamp(28px,4vw,44px);color:var(--ea-ink);letter-spacing:-1.2px;line-height:1.15}.ea-page-content{line-height:1.8}.ea-page-content input:not([type=checkbox]):not([type=radio]):not([type=submit]),.ea-commerce input:not([type=checkbox]):not([type=radio]):not([type=submit]),.ea-page-content textarea,.ea-commerce textarea,.ea-commerce select{border:1px solid #cad8e0;border-radius:7px;background:#fbfcfd;padding:12px;max-width:100%}.ea-page-content button,.ea-commerce button{border-radius:7px}.ea-reading{max-width:900px}.ea-reading .wp-post-image{border-radius:14px;margin-bottom:30px}.ea-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.ea-post-card{border:1px solid #e0e8ed;padding:22px;border-radius:12px}.ea-post-card img{border-radius:7px;width:100%;aspect-ratio:1.6;object-fit:cover}.ea-post-card h2{font-size:23px;line-height:1.3;margin:20px 0 10px}.ea-post-card p{font-size:13px}.ea-category-pills{display:flex;gap:9px;flex-wrap:wrap;margin:24px 0 30px}.ea-category-pills a{padding:9px 15px;background:#eef5f8;border-radius:30px;font-size:12px;color:var(--ea-ink);text-decoration:none}.ea-category-pills a:hover{background:var(--ea-blue);color:white}.ea-catalog-intro{padding-bottom:8px}.ea-commerce .woocommerce-breadcrumb{font-size:12px;color:#607989;margin-bottom:28px}.ea-commerce .products{clear:both}.ea-commerce div.product .summary{border:1px solid #e0e8ed;border-radius:14px;padding:28px!important;background:#fbfdfe}.ea-commerce div.product .woocommerce-tabs{padding-top:30px}.ea-commerce .related{margin-top:40px}.ea-commerce .related h2{font-size:25px;margin-bottom:25px}.woocommerce-account .woocommerce-MyAccount-navigation{background:#f0f6f9;border-radius:12px;padding:20px}.woocommerce-MyAccount-navigation ul{list-style:none;margin:0}.woocommerce-MyAccount-navigation li a{display:block;padding:12px;border-bottom:1px solid #dde7ee;color:var(--ea-ink)}.woocommerce-MyAccount-navigation .is-active a{color:var(--ea-blue);font-weight:700}.woocommerce table.shop_table{border:1px solid #dce5eb;border-radius:10px}.woocommerce table.shop_table th{background:#f3f7f9}.woocommerce .cart-collaterals .cart_totals{background:#f4f8fa;padding:25px;border-radius:12px}.woocommerce form.login,.woocommerce form.register,.woocommerce form.checkout_coupon{border-radius:12px;border-color:#dde6eb}.wc-block-components-sidebar{background:#f3f8fa;border-radius:12px;padding:24px}.wc-block-components-button{border-radius:8px!important}.wc-block-components-product-name,.woocommerce .product-name a{color:var(--ea-ink)}.ea-not-found{padding-top:100px;padding-bottom:100px;text-align:center}
@media(min-width:769px){.ea-commerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.ea-commerce ul.products:before,.ea-commerce ul.products:after{display:none!important}.ea-commerce ul.products li.product{width:100%!important;float:none!important;margin:0!important}}
@media(max-width:850px){.ea-shell{padding-left:18px;padding-right:18px}.ea-header-actions{gap:14px}.ea-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.ea-menu-toggle{display:block;padding:15px 0;background:none!important;color:var(--ea-ink)!important;border:0;font-size:14px;width:100%;text-align:left}.ea-header #ea-navigation{display:none;padding-bottom:16px}.ea-header #ea-navigation.is-open{display:block}.ea-menu{display:block}.ea-menu>li>a{padding:12px 0}.ea-menu .sub-menu,.ea-menu .sub-menu .sub-menu{position:static;display:block;box-shadow:none;border:0;border-left:2px solid #d7e4eb;background:transparent;margin-left:8px;min-width:0;padding:0 0 0 12px}.ea-header .ea-tools{padding-top:22px;padding-bottom:22px}.ea-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ea-home{padding-top:20px}.ea-commerce div.product .summary{padding:20px!important}}
@media(max-width:540px){.ea-header-actions{font-size:11px}.ea-header .ea-brand{font-size:18px}.ea-logo .custom-logo{max-width:140px}.ea-header .ea-tools{gap:14px}.ea-footer-grid{grid-template-columns:1fr 1fr;gap:28px 20px}.ea-footer-grid>div:first-child{grid-column:1/-1}.ea-footer-top{align-items:flex-start;flex-direction:column}.ea-footer-top h2{font-size:24px}.ea-footer-bottom{flex-direction:column;gap:8px;padding-bottom:70px}.ea-post-grid{grid-template-columns:1fr}.ea-commerce ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ea-commerce ul.products:before,.ea-commerce ul.products:after{display:none!important}.ea-commerce ul.products li.product{width:100%!important;float:none!important;margin:0!important}.ea-page,.ea-commerce{padding-top:25px}.ea-header-actions a:first-child{max-width:62px;white-space:normal}.ea-whatsapp{right:12px;bottom:12px;padding:10px 15px}.woocommerce div.product .product_title{font-size:27px}.woocommerce .woocommerce-MyAccount-content{margin-top:20px}}
