/*
Theme Name: EcomFlow Atlas
Theme URI: https://ecomflow.dz/
Author: EcomFlow DZ
Description: Minimal, crisp and ultra-fast WooCommerce theme for modern Algerian stores. RTL ready and optimized for EcomFlow StoreKit.
Version: 1.5.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: ecomflow-theme
*/

:root{--ef-primary:#0f766e;--ef-ink:#0f172a;--ef-muted:#64748b;--ef-soft:#f0fdfa;--ef-paper:#fff;--ef-line:#dce8e7;--ef-blue:#dbeafe;--ef-radius:14px;--ef-shadow:0 20px 55px rgba(15,23,42,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ef-paper);color:var(--ef-ink);font-family:"Cairo",Tahoma,Arial,sans-serif;font-size:16px;line-height:1.7;text-rendering:optimizeLegibility}a{color:inherit;text-decoration:none}img{display:block;height:auto;max-width:100%}button,input,select,textarea{font:inherit}.ef-container{margin-inline:auto;max-width:1240px;padding-inline:24px;width:100%}.ef-skip-link{background:#fff;color:#000;left:12px;padding:10px;position:fixed;top:-100px;z-index:999999}.ef-skip-link:focus{top:12px}
.ef-promo{background:var(--ef-ink);color:#e2e8f0;font-size:.76rem;font-weight:750}.ef-promo .ef-container{display:flex;gap:30px;justify-content:center;padding-block:7px}.ef-promo span+span:before{color:#5eead4;content:"/";margin-inline-end:30px}
.ef-header{background:rgba(255,255,255,.94);border-bottom:1px solid var(--ef-line);position:sticky;top:0;z-index:80;backdrop-filter:blur(16px)}.ef-header-inner{align-items:center;display:grid;gap:28px;grid-template-columns:1fr auto 1fr;min-height:76px}.ef-brand{justify-self:start}.ef-brand .custom-logo{max-height:54px;width:auto}.ef-brand-text{display:flex;flex-direction:column}.ef-brand-text strong{font-size:1.28rem;font-weight:900;letter-spacing:-.02em}.ef-brand-text small{color:var(--ef-muted);font-size:.68rem;margin-top:-5px}.ef-nav{justify-self:center}.ef-menu{align-items:center;display:flex;gap:29px;list-style:none;margin:0;padding:0}.ef-menu a{color:#334155;font-size:.88rem;font-weight:750}.ef-menu a:hover,.ef-menu .current-menu-item>a{color:var(--ecomflow-client-primary,var(--ef-primary))}.ef-header-actions{display:flex;gap:8px;justify-self:end}.ef-header-actions>a{align-items:center;border:1px solid var(--ef-line);border-radius:10px;display:flex;height:40px;justify-content:center;position:relative;width:40px}.ef-header-actions>a:hover{background:var(--ef-soft);border-color:#99d5cf}.ef-header-actions svg{fill:none;height:19px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:19px}.ef-cart-count{align-items:center;background:var(--ecomflow-client-primary,var(--ef-primary));border:2px solid #fff;border-radius:50%;color:#fff;display:flex;font-size:.6rem;font-weight:900;height:19px;justify-content:center;position:absolute;right:-6px;top:-6px;width:19px}
.ef-site-main{min-height:55vh}.ef-home-hero{background:linear-gradient(180deg,#f8fffe,#fff);overflow:hidden;position:relative}.ef-home-hero:before{background:linear-gradient(90deg,rgba(15,118,110,.07) 1px,transparent 1px),linear-gradient(rgba(15,118,110,.07) 1px,transparent 1px);background-size:42px 42px;content:"";inset:0;mask-image:linear-gradient(90deg,transparent,#000 25%,#000 75%,transparent);position:absolute}.ef-hero-grid{align-items:center;display:grid;gap:64px;grid-template-columns:minmax(0,.95fr) minmax(450px,1.05fr);min-height:590px;padding-block:58px;position:relative}.ef-eyebrow{align-items:center;background:#ccfbf1;border-radius:8px;color:#115e59;display:inline-flex;font-size:.72rem;font-weight:900;padding:5px 10px}.ef-hero-copy h1{font-size:clamp(2.55rem,5vw,4.7rem);font-weight:900;letter-spacing:-.055em;line-height:1.08;margin:17px 0}.ef-hero-copy>p{color:var(--ef-muted);font-size:1.05rem;max-width:620px}.ef-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:27px}.ef-button{align-items:center;border:1px solid transparent;border-radius:11px;display:inline-flex;font-weight:850;justify-content:center;min-height:50px;padding:9px 23px;transition:.2s}.ef-button:hover{transform:translateY(-2px)}.ef-button-primary{background:var(--ecomflow-client-primary,var(--ef-primary));box-shadow:0 12px 28px rgba(15,118,110,.18);color:#fff}.ef-button-ghost{background:#fff;border-color:var(--ef-line)}.ef-mini-proof{display:flex;flex-wrap:wrap;gap:16px;margin-top:25px}.ef-mini-proof strong{color:#475569;font-size:.72rem}
.ef-hero-visual{background:rgba(255,255,255,.72);border:1px solid var(--ef-line);border-radius:26px;box-shadow:var(--ef-shadow);height:450px;overflow:hidden;position:relative}.ef-hero-visual:before{background:var(--ef-soft);border-radius:50%;content:"";height:360px;position:absolute;right:-100px;top:-100px;width:360px}.ef-hero-product,.ef-hero-placeholder{background:#e2e8f0;border:5px solid #fff;border-radius:15px;box-shadow:0 14px 34px rgba(15,23,42,.13);overflow:hidden;position:absolute}.ef-hero-product img{height:100%;object-fit:cover;width:100%}.ef-hero-product span{background:rgba(15,23,42,.82);bottom:0;color:#fff;font-size:.7rem;inset-inline:0;padding:8px;position:absolute;text-align:center}.ef-hero-product-1,.ef-placeholder-1{height:350px;right:9%;top:50px;width:43%;z-index:3}.ef-hero-product-2,.ef-placeholder-2{height:235px;left:8%;top:28px;width:36%;z-index:2}.ef-hero-product-3,.ef-placeholder-3{bottom:27px;height:190px;left:14%;width:32%;z-index:4}.ef-hero-placeholder{align-items:center;color:var(--ef-primary);display:flex;font-size:1.15rem;font-weight:900;justify-content:center;padding:15px;text-align:center}.ef-placeholder-2{background:var(--ef-blue)}.ef-placeholder-3{background:#ccfbf1}
.ef-trust-strip{background:#fff;border-block:1px solid var(--ef-line)}.ef-trust-strip>.ef-container{display:grid;grid-template-columns:repeat(3,1fr);padding-block:18px}.ef-trust-strip article{align-items:center;display:flex;gap:12px;justify-content:center;padding-inline:24px}.ef-trust-strip article+article{border-inline-start:1px solid var(--ef-line)}.ef-trust-strip article>span{align-items:center;background:var(--ef-soft);border-radius:10px;color:var(--ef-primary);display:flex;font-weight:900;height:40px;justify-content:center;width:40px}.ef-trust-strip strong,.ef-trust-strip small{display:block}.ef-trust-strip strong{font-size:.86rem}.ef-trust-strip small{color:var(--ef-muted);font-size:.69rem}
.ef-section{padding-block:70px}.ef-section-heading{align-items:end;display:flex;justify-content:space-between;margin-bottom:26px}.ef-section-heading span{color:var(--ef-primary);font-size:.72rem;font-weight:900}.ef-section-heading h2{font-size:clamp(1.75rem,3vw,2.5rem);font-weight:900;letter-spacing:-.035em;margin:0}.ef-section-heading>a{color:var(--ef-primary);font-size:.8rem;font-weight:800}.ef-category-section{background:#fff}.ef-category-grid{display:grid;gap:15px;grid-template-columns:repeat(4,1fr)}.ef-category-card{background:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.78)),var(--ef-category-image,linear-gradient(135deg,#a7f3d0,#1d4ed8));background-position:center;background-size:cover;border-radius:15px;color:#fff;display:flex;flex-direction:column;justify-content:end;min-height:250px;padding:20px;transition:.2s}.ef-category-card:hover{box-shadow:var(--ef-shadow);transform:translateY(-4px)}.ef-category-card span{font-size:1.2rem;font-weight:900}.ef-category-card small{opacity:.78}
.ef-products-section{background:#f8fafc}.woocommerce ul.products{display:grid!important;gap:16px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;margin:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{background:#fff!important;border:1px solid var(--ef-line)!important;border-radius:14px!important;float:none!important;margin:0!important;overflow:hidden!important;padding:0 0 15px!important;width:auto!important;transition:.2s}.woocommerce ul.products li.product:hover{box-shadow:0 14px 36px rgba(15,23,42,.08);transform:translateY(-3px)}.woocommerce ul.products li.product>a img{aspect-ratio:1/1;margin:0 0 13px!important;object-fit:cover;width:100%!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.93rem!important;font-weight:800!important;padding-inline:13px!important}.woocommerce ul.products li.product .price{color:var(--ef-primary)!important;font-weight:900!important;padding-inline:13px}.woocommerce ul.products li.product .button{background:var(--ecomflow-client-primary,var(--ef-primary))!important;border-radius:9px!important;color:#fff!important;margin:8px 13px 0!important;padding:8px 15px!important}.woocommerce span.onsale{background:var(--ef-ink)!important;border-radius:8px!important;inset:10px auto auto 10px!important;margin:0!important;min-height:auto!important;padding:4px 8px!important}
.ef-service-section{background:#fff}.ef-service-card{align-items:center;background:linear-gradient(135deg,#ecfeff,#eff6ff);border:1px solid #b8d9e8;border-radius:22px;display:flex;justify-content:space-between;padding:42px}.ef-service-card>div{max-width:760px}.ef-service-card h2{font-size:2rem;font-weight:900;line-height:1.3;margin:9px 0}.ef-service-card p{color:var(--ef-muted);margin:0}
.ef-content-wrap,.ef-woocommerce-wrap{padding-block:46px}.ef-entry{background:#fff;border:1px solid var(--ef-line);border-radius:14px;margin-bottom:18px;padding:25px}.woocommerce .woocommerce-breadcrumb{color:var(--ef-muted);font-size:.76rem}.woocommerce div.product{display:grid;gap:42px;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none!important;width:auto!important}.woocommerce div.product div.images img{border-radius:15px}.woocommerce div.product .product_title{font-size:clamp(1.7rem,3vw,2.45rem)!important;font-weight:900!important}.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related{grid-column:1/-1}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{background:#fff;border:1px solid var(--ef-line);border-radius:9px;min-height:47px;padding:9px 12px}.woocommerce-message,.woocommerce-info{border-top-color:var(--ef-primary)!important}
.ef-footer{background:var(--ef-ink);color:#fff;margin-top:58px}.ef-footer-grid{display:grid;gap:55px;grid-template-columns:1.3fr 1fr 1fr;padding-block:56px}.ef-footer h3{font-size:.96rem;margin:0 0 13px}.ef-footer p,.ef-footer li{color:#94a3b8;font-size:.82rem}.ef-footer ul{list-style:none;margin:0;padding:0}.ef-footer-brand strong{font-size:1.55rem;font-weight:900}.ef-copyright{border-top:1px solid #263247;display:flex;font-size:.72rem;justify-content:space-between;padding-block:16px}
@media(max-width:960px){.ef-header-inner{grid-template-columns:1fr auto}.ef-nav{grid-column:1/-1;justify-self:stretch;overflow-x:auto;padding-bottom:12px}.ef-menu{gap:24px;justify-content:center;white-space:nowrap}.ef-hero-grid{gap:28px;grid-template-columns:1fr}.ef-hero-copy{text-align:center}.ef-hero-copy>p{margin-inline:auto}.ef-hero-actions,.ef-mini-proof{justify-content:center}.ef-hero-visual{margin-inline:auto;max-width:590px;width:100%}.ef-category-grid{grid-template-columns:repeat(2,1fr)}.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:680px){.ef-container{padding-inline:16px}.ef-promo .ef-container{gap:9px;justify-content:space-between}.ef-promo span:nth-child(3){display:none}.ef-promo span+span:before{margin-inline-end:9px}.ef-header-inner{min-height:68px}.ef-brand-text strong{font-size:1.08rem}.ef-brand-text small{display:none}.ef-header-actions>a{height:37px;width:37px}.ef-hero-grid{padding-block:34px}.ef-hero-copy h1{font-size:2.45rem}.ef-hero-visual{height:325px}.ef-hero-product-1,.ef-placeholder-1{height:255px;width:45%}.ef-hero-product-2,.ef-placeholder-2{height:170px;width:36%}.ef-hero-product-3,.ef-placeholder-3{height:145px;width:34%}.ef-trust-strip>.ef-container{grid-template-columns:1fr}.ef-trust-strip article{justify-content:flex-start;padding-block:6px}.ef-trust-strip article+article{border-inline-start:0}.ef-section{padding-block:46px}.ef-category-grid{grid-template-columns:repeat(2,1fr)}.ef-category-card{min-height:180px;padding:14px}.woocommerce ul.products{gap:11px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.ef-service-card{align-items:start;flex-direction:column;gap:22px;padding:27px 21px}.ef-service-card h2{font-size:1.5rem}.woocommerce div.product{display:block}.ef-footer-grid{gap:26px;grid-template-columns:1fr;padding-block:39px}.ef-copyright{flex-direction:column;gap:5px;text-align:center}}

/* Atlas 1.2 — minimal catalogue with a product-led layout and shared Customizer controls. */
.ef-atlas-home{background:#fff}.ef-atlas-hero{background:linear-gradient(180deg,#f8fffe,#fff);border-bottom:1px solid var(--ef-line);overflow:hidden}.ef-atlas-hero-grid{align-items:center;display:grid;gap:72px;grid-template-columns:minmax(0,.9fr) minmax(470px,1.1fr);min-height:610px;padding-block:64px}.ef-atlas-intro>span,.ef-atlas-index header>span,.ef-atlas-heading span,.ef-atlas-process header>span{color:var(--ef-primary);font-size:.7rem;font-weight:900;letter-spacing:.16em}.ef-atlas-intro h1{font-size:clamp(2.7rem,5vw,4.9rem);font-weight:900;letter-spacing:-.06em;line-height:1.04;margin:16px 0}.ef-atlas-intro>p{color:var(--ef-muted);font-size:1.05rem;max-width:620px}.ef-atlas-search{align-items:center;background:#fff;border:1px solid var(--ef-line);border-radius:13px;display:flex;margin-top:28px;max-width:560px;padding:5px}.ef-atlas-search input{background:transparent;border:0;flex:1;min-height:44px;outline:0;padding-inline:13px}.ef-atlas-search button{background:var(--ecomflow-client-primary,var(--ef-primary));border:0;border-radius:9px;color:#fff;font-weight:850;min-height:42px;padding-inline:20px}.ef-atlas-facts{display:flex;gap:28px;margin-top:25px}.ef-atlas-facts strong{font-size:1.12rem}.ef-atlas-facts small{color:var(--ef-muted);display:block;font-size:.62rem;font-weight:700}.ef-atlas-showcase{display:grid;gap:14px;grid-template-columns:1.15fr .85fr;min-height:450px}.ef-atlas-product{background:#eef6f5;border:1px solid var(--ef-line);border-radius:18px;display:flex;flex-direction:column;overflow:hidden;position:relative}.ef-atlas-product-2{margin-top:70px}.ef-atlas-product img{height:100%;object-fit:cover;width:100%}.ef-atlas-product>span{background:linear-gradient(transparent,rgba(15,23,42,.9));bottom:0;color:#fff;display:flex;flex-direction:column;inset-inline:0;padding:60px 18px 16px;position:absolute}.ef-atlas-product small{color:#5eead4;font-size:.62rem;font-weight:900;letter-spacing:.12em}.ef-atlas-product strong{font-size:.95rem}.ef-atlas-product .price{font-weight:900}.ef-atlas-placeholder{align-items:center;justify-content:end;min-height:450px}.ef-atlas-index{padding-block:52px}.ef-atlas-index header{align-items:end;display:flex;gap:18px;margin-bottom:22px}.ef-atlas-index h2{font-size:1.8rem;margin:0}.ef-atlas-index-grid{border-block:1px solid var(--ef-line);display:grid;grid-template-columns:repeat(4,1fr)}.ef-atlas-index-grid>a{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;min-height:118px;padding:22px;transition:.2s}.ef-atlas-index-grid>a+a{border-inline-start:1px solid var(--ef-line)}.ef-atlas-index-grid>a:hover{background:var(--ef-soft)}.ef-atlas-index-grid>a>span{color:#94a3b8;font-size:.67rem;grid-row:1/3;margin-inline-end:13px}.ef-atlas-index-grid strong{font-size:.95rem}.ef-atlas-index-grid small{color:var(--ef-muted);font-size:.65rem}.ef-atlas-index-grid b{font-size:1.2rem;grid-row:1/3}.ef-atlas-products{background:#f8fafc}.ef-atlas-heading{align-items:end;display:flex;justify-content:space-between;margin-bottom:28px}.ef-atlas-heading h2{font-size:clamp(2rem,3vw,2.8rem);letter-spacing:-.04em;margin:0}.ef-atlas-heading>a{color:var(--ef-primary);font-size:.8rem;font-weight:850}.ef-atlas-process{background:var(--ef-ink);color:#fff;padding-block:70px}.ef-atlas-process header{text-align:center}.ef-atlas-process h2{font-size:clamp(2rem,3vw,2.8rem);margin:4px 0 35px}.ef-atlas-process>.ef-container>div{display:grid;gap:1px;grid-template-columns:repeat(3,1fr)}.ef-atlas-process article{background:#17223a;padding:30px}.ef-atlas-process article:first-child{border-radius:0 16px 16px 0}.ef-atlas-process article:last-child{border-radius:16px 0 0 16px}.ef-atlas-process b{align-items:center;border:1px solid #3d4b65;border-radius:50%;color:#5eead4;display:flex;height:42px;justify-content:center;width:42px}.ef-atlas-process h3{font-size:1rem;margin:17px 0 4px}.ef-atlas-process p{color:#94a3b8;font-size:.78rem;margin:0}
@media(max-width:980px){.ef-atlas-hero-grid{gap:35px;grid-template-columns:1fr}.ef-atlas-intro{text-align:center}.ef-atlas-intro>p,.ef-atlas-search{margin-inline:auto}.ef-atlas-facts{justify-content:center}.ef-atlas-showcase{margin-inline:auto;max-width:680px;width:100%}.ef-atlas-index-grid{grid-template-columns:repeat(2,1fr)}.ef-atlas-index-grid>a:nth-child(3){border-inline-start:0;border-top:1px solid var(--ef-line)}.ef-atlas-index-grid>a:nth-child(4){border-top:1px solid var(--ef-line)}}
@media(max-width:680px){.ef-atlas-hero-grid{padding-block:38px}.ef-atlas-intro h1{font-size:2.5rem}.ef-atlas-facts{gap:16px}.ef-atlas-showcase{min-height:330px}.ef-atlas-product-2{margin-top:45px}.ef-atlas-index-grid{grid-template-columns:1fr}.ef-atlas-index-grid>a+a{border-inline-start:0;border-top:1px solid var(--ef-line)}.ef-atlas-heading{align-items:start;gap:12px}.ef-atlas-process>.ef-container>div{grid-template-columns:1fr}.ef-atlas-process article:first-child,.ef-atlas-process article:last-child{border-radius:0}.ef-atlas-process article+article{border-top:1px solid #263247}}
.ef-atlas-custom-image{height:390px;width:74%}.ef-atlas-custom-image .ef-custom-hero-image{height:100%;object-fit:cover;width:100%}

/* EcomFlow visual controls: banners, optional header actions and sale badge. */
.ef-home-section-description{color:var(--ef-muted,#667085);font-size:.82rem;margin:6px 0 0}.ef-market-category-heading{margin-bottom:18px;text-align:center}.ef-market-category-heading span{color:var(--ecomflow-client-primary,var(--ef-primary));font-size:.7rem;font-weight:900;letter-spacing:.1em}.ef-market-category-heading h2{font-size:1.7rem;margin:4px 0 0}
body.ef-hide-cta .ef-cta-section{display:none!important}
body.ef-hide-hero .ef-home-hero,body.ef-hide-hero .ef-market-hero,body.ef-hide-hero .ef-atlas-hero,body.ef-hide-hero .ef-amani-hero,body.ef-hide-hero .ef-rihana-hero{display:none!important}body.ef-hide-categories .ef-category-section,body.ef-hide-categories .ef-market-categories,body.ef-hide-categories .ef-atlas-index,body.ef-hide-categories .ef-amani-categories,body.ef-hide-categories .ef-rihana-categories{display:none!important}body.ef-hide-products .ef-products-section,body.ef-hide-products .ef-market-products,body.ef-hide-products .ef-atlas-products,body.ef-hide-products .ef-amani-products,body.ef-hide-products .ef-rihana-products{display:none!important}body.ef-hide-benefits .ef-trust-strip,body.ef-hide-benefits .ef-market-promise,body.ef-hide-benefits .ef-amani-trust,body.ef-hide-benefits .ef-amani-how,body.ef-hide-benefits .ef-rihana-benefits{display:none!important}body.ef-hide-cta .ef-service-section,body.ef-hide-cta .ef-market-final,body.ef-hide-cta .ef-atlas-process,body.ef-hide-cta .ef-amani-final,body.ef-hide-cta .ef-rihana-story{display:none!important}
.ef-header.ef-header-no-nav .ef-header-inner{grid-template-columns:1fr auto}.ef-home-banners{background:var(--ef-paper,#fff);padding-block:30px}.ef-home-banners-grid{display:grid;gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}.ef-home-banner{align-items:flex-end;background-color:var(--ef-ink,#0f172a);background-position:center;background-size:cover;border-radius:20px;color:#fff;display:flex;min-height:230px;overflow:hidden;padding:28px;position:relative}.ef-home-banner-2{background-color:var(--ecomflow-client-primary,var(--ef-primary))}.ef-home-banner:before{background:linear-gradient(135deg,rgba(255,255,255,.12),transparent 55%);content:"";inset:0;position:absolute}.ef-home-banner-content{display:flex;flex-direction:column;max-width:430px;position:relative;z-index:1}.ef-home-banner-content strong{font-size:clamp(1.45rem,3vw,2.3rem);line-height:1.1}.ef-home-banner-content small{color:rgba(255,255,255,.88);font-size:.88rem;margin-top:9px}.ef-home-banner-content b{font-size:.78rem;margin-top:18px}.single-product.ef-sale-badge-above-price .woocommerce div.product .summary.entry-summary>span.onsale{border-radius:999px!important;display:table!important;float:none!important;font-size:.68rem!important;height:auto!important;inset:auto!important;line-height:1.15!important;margin:0 0 8px!important;min-height:0!important;min-width:0!important;padding:5px 9px!important;position:static!important;width:auto!important}.single-product.ef-sale-badge-above-price .woocommerce div.product .summary.entry-summary>p.price{margin-top:0!important}@media(max-width:680px){.ef-home-banners{padding-block:20px}.ef-home-banners-grid{grid-template-columns:1fr}.ef-home-banner{min-height:190px;padding:22px}}
