/*
Theme Name: Ecommerce Shop Theme
Description: A complete online grocery and food store theme for WooCommerce and Contact Form 7. No page builder needed. Includes a designed homepage, header, footer and one-click demo content (Appearance > Shop Demo Setup).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ecommerce-shop-theme
*/

:root{
	--ees-primary:#f58220;
	--ees-primary-dark:#d96f10;
	--ees-dark:#0d2235;
	--ees-green:#2e9e4f;
	--ees-text:#1a1a1a;
	--ees-muted:#666;
	--ees-bg:#faf7f2;
	--ees-border:#eaeaea;
	--ees-radius:8px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Bengali","Hind Siliguri",Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--ees-text);background:var(--ees-bg);line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:var(--ees-primary)}
img{max-width:100%;height:auto}
h1,h2,h3,h4{line-height:1.25}
.ees-container{max-width:1200px;margin:0 auto;padding:0 20px}
.screen-reader-text{position:absolute;left:-9999px}

/* ---------- Announcement bar ---------- */
.ees-announce{background:var(--ees-dark);color:#fff;font-size:12px;text-align:center;padding:7px 12px}
.ees-announce a{color:#ffd9b0}

/* ---------- Header ---------- */
.ees-topbar{background:#fff;border-bottom:1px solid var(--ees-border)}
.ees-topbar .ees-container{display:flex;align-items:center;gap:24px;padding-top:14px;padding-bottom:14px}
.ees-logo{font-size:24px;font-weight:800;color:var(--ees-primary);text-decoration:none;white-space:nowrap;letter-spacing:-.3px}
.ees-logo img{max-height:44px;width:auto;display:block}
.ees-search{flex:1;max-width:480px}
.ees-search form{display:flex;border:1px solid var(--ees-border);border-radius:6px;overflow:hidden;background:#f7f7f7}
.ees-search input[type=search]{flex:1;border:0;background:transparent;padding:11px 14px;font-size:14px;outline:0;min-width:0}
.ees-search button{border:0;background:var(--ees-primary);color:#fff;padding:0 18px;cursor:pointer;font-size:15px}
.ees-utility{margin-left:auto;display:flex;gap:22px;font-size:13px;align-items:center}
.ees-utility a{color:var(--ees-text);text-decoration:none}
.ees-utility a:hover{color:var(--ees-primary)}
.ees-cart-count{display:inline-block;min-width:19px;padding:0 5px;margin-left:5px;border-radius:10px;background:var(--ees-primary);color:#fff;font-size:11px;text-align:center;line-height:19px}

.ees-nav{background:var(--ees-dark)}
.ees-nav ul{display:flex;flex-wrap:wrap;gap:0 4px;list-style:none;margin:0;padding:0}
.ees-nav li{position:relative}
.ees-nav a{display:block;color:#fff;font-size:13px;font-weight:500;text-decoration:none;padding:13px 12px}
.ees-nav a:hover,.ees-nav .current-menu-item>a{color:var(--ees-primary)}
.ees-nav ul ul{display:none;position:absolute;left:0;top:100%;min-width:200px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.12);z-index:50;flex-direction:column;padding:6px 0}
.ees-nav li:hover>ul{display:flex}
.ees-nav ul ul a{color:var(--ees-text);padding:9px 16px}
.ees-nav-toggle{display:none;background:none;border:0;color:#fff;font-size:15px;padding:13px 0;cursor:pointer}

/* ---------- Generic content ---------- */
.ees-main{padding:30px 0}
.ees-post{background:#fff;border-radius:var(--ees-radius);padding:28px;margin-bottom:20px}
.ees-post h1,.ees-post h2{margin-top:0}
.ees-post h2 a{color:var(--ees-text);text-decoration:none}
.ees-post-narrow{max-width:860px;margin-left:auto;margin-right:auto}

/* ---------- Home: hero ---------- */
.ees-hero{display:grid;grid-template-columns:2fr 1fr;gap:16px;padding-top:20px;padding-bottom:10px}
.ees-hero-main,.ees-hero-side{position:relative;overflow:hidden;border-radius:12px;color:#fff;min-height:320px;display:flex;flex-direction:column;justify-content:center;padding:36px 40px}
.ees-hero-main{background:linear-gradient(120deg,#f58220 0%,#e8590c 60%,#c2410c 100%)}
.ees-hero-side{background:linear-gradient(160deg,#1f6f43 0%,#0d3b2a 100%)}
.ees-hero-main::before,.ees-hero-side::before{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.08)}
.ees-hero-main::before{width:420px;height:420px;right:-90px;top:-120px}
.ees-hero-side::before{width:260px;height:260px;right:-80px;bottom:-90px}
.ees-hero h1,.ees-hero h2{margin:0 0 10px;color:#fff;position:relative}
.ees-hero h1{font-size:38px;max-width:420px}
.ees-hero h2{font-size:24px}
.ees-hero p{margin:0 0 20px;font-size:15px;max-width:380px;position:relative;opacity:.95}
.ees-tag{display:inline-block;align-self:flex-start;background:rgba(255,255,255,.2);padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;margin-bottom:14px;position:relative}
.ees-btn{display:inline-block;align-self:flex-start;background:#fff;color:var(--ees-primary-dark);font-weight:700;font-size:14px;padding:11px 26px;border-radius:6px;text-decoration:none;position:relative;transition:transform .15s}
.ees-btn:hover{transform:translateY(-2px)}
.ees-btn-orange{background:var(--ees-primary);color:#fff}
.ees-hero-imgs{position:absolute;right:30px;bottom:-10px;display:flex;gap:0}
.ees-hero-imgs img{width:190px;height:190px;object-fit:cover;border-radius:50%;border:5px solid rgba(255,255,255,.85);margin-left:-40px;background:#fff}

/* ---------- Home: trust badges ---------- */
.ees-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding-top:18px;padding-bottom:6px}
.ees-trust div{background:#fff;border-radius:var(--ees-radius);padding:16px;text-align:center;font-size:13px;color:var(--ees-muted)}
.ees-trust strong{display:block;color:var(--ees-text);font-size:14px;margin-bottom:2px}

/* ---------- Sections ---------- */
.ees-section{padding:22px 0}
.ees-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:12px}
.ees-section-head h2{margin:0;font-size:18px;position:relative;padding-bottom:8px}
.ees-section-head h2::after{content:"";position:absolute;left:0;bottom:0;width:34px;height:3px;background:var(--ees-primary);border-radius:2px}
.ees-section-head a{font-size:11px;font-weight:700;letter-spacing:.4px;text-decoration:none;white-space:nowrap}
.ees-section-title-center{text-align:center;font-size:17px;font-weight:600;margin:0 0 16px}

/* categories */
.ees-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:14px}
.ees-cat{background:#fff;border-radius:var(--ees-radius);padding:14px 8px;text-align:center;text-decoration:none;color:var(--ees-text);font-size:13px;font-weight:500;transition:box-shadow .15s,transform .15s}
.ees-cat:hover{box-shadow:0 6px 18px rgba(0,0,0,.08);transform:translateY(-2px)}
.ees-cat img,.ees-cat .ees-cat-ph{width:84px;height:84px;object-fit:cover;border-radius:50%;display:block;margin:0 auto 8px;background:#f3ece1}
.ees-cat-ph{display:flex!important;align-items:center;justify-content:center;font-size:28px;font-weight:700;color:var(--ees-primary)}

/* top selling */
.ees-top{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ees-top-card{display:flex;align-items:center;gap:18px;background:#fff;border-radius:var(--ees-radius);padding:16px;position:relative}
.ees-top-card img{width:130px;height:130px;object-fit:cover;border-radius:8px;flex:none}
.ees-top-card h3{margin:0 0 6px;font-size:16px}
.ees-top-card h3 a{color:var(--ees-text);text-decoration:none}
.ees-top-card .price{font-size:17px;font-weight:700;color:var(--ees-primary);display:block;margin-bottom:12px}
.ees-top-card .price del{color:#999;font-size:13px;font-weight:400}
.ees-top-card .price ins{text-decoration:none}
.ees-badge{position:absolute;top:10px;right:10px;background:var(--ees-primary);color:#fff;font-size:10px;font-weight:700;padding:3px 9px;border-radius:4px}
.ees-top-actions{display:flex;gap:8px}
.ees-btn-sm{display:inline-block;padding:8px 16px;font-size:12px;font-weight:600;border-radius:5px;text-decoration:none;border:1px solid var(--ees-primary);color:var(--ees-primary);background:#fff}
.ees-btn-sm.fill{background:var(--ees-primary);color:#fff}
.ees-btn-sm:hover{background:var(--ees-primary-dark);border-color:var(--ees-primary-dark);color:#fff}

/* brands */
.ees-brands{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.ees-brand{background:#fff;border-radius:var(--ees-radius);padding:26px 10px;text-align:center;font-size:20px;font-weight:800;color:#222;letter-spacing:.3px}
.ees-brand:nth-child(2){color:#1f6f43}
.ees-brand:nth-child(3){font-style:italic;font-family:Georgia,serif}
.ees-brand:nth-child(4){color:var(--ees-primary-dark)}

/* promo banner */
.ees-promo{position:relative;overflow:hidden;border-radius:12px;background:linear-gradient(110deg,#f3e5cf,#e9c99a);padding:56px 40px;text-align:center}
.ees-promo h2{margin:0 0 8px;font-size:34px;color:#5a3512}
.ees-promo p{margin:0 0 18px;color:#7a5530;font-size:16px}

/* testimonials */
.ees-reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.ees-review{background:#fff;border-radius:var(--ees-radius);padding:22px}
.ees-stars{color:#f5a623;letter-spacing:2px;margin-bottom:8px}
.ees-review p{margin:0 0 16px;font-size:14px;color:#444}
.ees-reviewer{display:flex;align-items:center;gap:10px;font-size:13px}
.ees-reviewer b{display:block}
.ees-avatar{width:40px;height:40px;border-radius:50%;background:var(--ees-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.ees-more{text-align:center;margin-top:18px}
.ees-more a{display:inline-block;border:1px solid var(--ees-primary);color:var(--ees-primary);padding:9px 28px;border-radius:24px;font-size:12px;font-weight:700;text-decoration:none}
.ees-more a:hover{background:var(--ees-primary);color:#fff}

/* ---------- WooCommerce ---------- */
.woocommerce ul.products{margin:0 0 10px;padding:0}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{background:#fff;border:1px solid var(--ees-border);border-radius:6px;padding:12px;text-align:center;transition:box-shadow .15s}
.woocommerce ul.products li.product:hover{box-shadow:0 8px 22px rgba(0,0,0,.08)}
.woocommerce ul.products li.product a img{border-radius:4px;margin-bottom:10px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px;font-weight:500;min-height:2.6em;padding:0;color:var(--ees-text)}
.woocommerce ul.products li.product .price{color:var(--ees-primary);font-weight:700;font-size:14px}
.woocommerce ul.products li.product .price del{color:#999;font-weight:400}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce a.button,.woocommerce button.button,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--ees-primary);color:#fff;border-radius:5px;font-weight:600}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--ees-primary-dark);color:#fff}
.woocommerce ul.products li.product .button{background:#fff;border:1px solid var(--ees-primary);color:var(--ees-primary);font-size:12px;width:100%;padding:9px 6px}
.woocommerce ul.products li.product .button:hover{background:var(--ees-primary);color:#fff}
.woocommerce span.onsale{background:var(--ees-green);min-height:0;min-width:0;line-height:1;padding:5px 9px;border-radius:4px;font-size:11px;top:8px;left:8px;right:auto;margin:0}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ees-primary);font-weight:700}
.woocommerce-breadcrumb{font-size:13px;color:var(--ees-muted);margin-bottom:18px!important}
.woocommerce-message,.woocommerce-info{border-top-color:var(--ees-primary)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--ees-primary)}

/* ---------- Contact Form 7 ---------- */
.wpcf7 form p{margin:0 0 14px}
.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=tel],.wpcf7 input[type=url],.wpcf7 input[type=number],.wpcf7 textarea,.wpcf7 select{width:100%;padding:11px 14px;border:1px solid var(--ees-border);border-radius:6px;background:#fff;font:inherit}
.wpcf7 input:focus,.wpcf7 textarea:focus,.wpcf7 select:focus{border-color:var(--ees-primary);outline:0}
.wpcf7 input[type=submit]{background:var(--ees-primary);color:#fff;border:0;border-radius:6px;padding:12px 28px;font-weight:600;cursor:pointer}
.wpcf7 input[type=submit]:hover{background:var(--ees-primary-dark)}
.wpcf7-not-valid-tip{color:#c0392b;font-size:12px}
.wpcf7 form .wpcf7-response-output{border-radius:6px;margin:16px 0 0;padding:10px 14px}
.ees-contact-grid{display:grid;grid-template-columns:3fr 2fr;gap:30px}

/* ---------- Footer ---------- */
.ees-features{background:#fff;border-top:1px solid var(--ees-border);margin-top:30px}
.ees-footer{background:#fff;padding:44px 0 20px}
.ees-footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;gap:30px}
.ees-footer h4{font-size:14px;margin:0 0 14px}
.ees-footer ul{list-style:none;margin:0;padding:0}
.ees-footer li{margin-bottom:9px;font-size:13px}
.ees-footer li a{color:var(--ees-muted);text-decoration:none}
.ees-footer li a:hover{color:var(--ees-primary)}
.ees-footer p{font-size:13px;color:var(--ees-muted);margin:0 0 10px}
.ees-copy{border-top:1px solid var(--ees-border);margin-top:28px;padding-top:16px;font-size:12px;color:var(--ees-muted);display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}

/* ---------- Responsive ---------- */
@media (max-width:900px){
	.ees-hero{grid-template-columns:1fr}
	.ees-hero-imgs{display:none}
	.ees-top,.ees-reviews{grid-template-columns:1fr}
	.ees-brands,.ees-trust{grid-template-columns:repeat(2,1fr)}
	.ees-footer-grid{grid-template-columns:1fr 1fr}
	.ees-contact-grid{grid-template-columns:1fr}
}
@media (max-width:768px){
	.ees-topbar .ees-container{flex-wrap:wrap;gap:12px}
	.ees-search{order:3;flex-basis:100%;max-width:none}
	.ees-nav-toggle{display:block}
	.ees-nav ul{display:none;flex-direction:column}
	.ees-nav.is-open>.ees-container>ul{display:flex}
	.ees-nav ul ul{position:static;display:flex;box-shadow:none;background:transparent;padding:0 0 0 12px}
	.ees-nav ul ul a{color:#cfd8e0}
	.ees-hero h1{font-size:28px}
	.ees-hero-main,.ees-hero-side{padding:28px 24px;min-height:240px}
	.ees-top-card{flex-direction:column;text-align:center}
}
@media (max-width:480px){
	.ees-footer-grid{grid-template-columns:1fr}
}
