/* Astha Ecom CMS v1.2.1 storefront and admin upgrades */
.ae-category-drop{position:relative;flex:none;z-index:75}.ae-category-drop summary{cursor:pointer;list-style:none;gap:9px;user-select:none}.ae-category-drop summary::-webkit-details-marker{display:none}.ae-category-drop .ae-all-categories:before{content:none}.ae-category-drop summary>span{margin-left:auto}.ae-category-drop-menu{position:absolute;left:0;top:100%;z-index:80;width:278px;max-height:65vh;overflow:auto;background:#fff;border:1px solid #dce7dc;box-shadow:0 22px 55px #172d2133;border-radius:0 0 13px 13px;padding:8px}.ae-category-drop-menu a{display:flex;gap:11px;align-items:center;color:#263e2b;font-size:13px;font-weight:650;padding:11px 12px;border-radius:8px}.ae-category-drop-menu a:hover{background:#eaf5ea}.ae-category-drop-menu img{width:28px;height:28px;object-fit:cover;border-radius:7px}.ae-category-drop-menu svg{width:22px;height:22px;color:var(--ae-primary)}.ae-nav{overflow:visible!important}.ae-category-dot-icon{width:25px;display:inline-grid;place-items:center;color:var(--ae-primary)}.ae-category-visual{opacity:.85!important;top:16px!important;right:16px!important;width:74px;height:74px;display:grid;place-items:center}.ae-category-visual svg{width:58px;height:58px}.ae-category-visual img{width:75px;height:75px;border-radius:15px;object-fit:cover}
.ae-live-results{margin:0 auto 25px;background:#f6faf6;border:1px solid #dce9df;padding:20px;border-radius:16px}.ae-live-results[hidden]{display:none!important}.ae-live-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 17px}.ae-live-head h2{margin:0;font-size:23px}.ae-live-head #ae-live-count{color:#66816b;font-size:13px}.ae-live-head button{background:#fff;border:1px solid #dbe4db;border-radius:8px;padding:8px 13px;cursor:pointer}.ae-live-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.ae-live-product{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #e5ece5;border-radius:12px;padding:12px;color:#2c4735!important}.ae-live-product img{width:100%;height:133px;object-fit:contain;background:#f7f8f6;border-radius:9px}.ae-live-product b{font-size:13px;line-height:1.4;min-height:35px}.ae-live-product .ae-live-price{font-weight:800;color:var(--ae-primary)}.ae-live-product small{color:#687d69}.ae-live-empty{padding:15px;background:#fff;border-radius:12px;grid-column:1/-1}
.ae-category-manager{display:grid;gap:13px}.ae-category-editor{display:flex;gap:14px;padding:13px;background:#f5f8f5;border:1px solid #e5eee5;border-radius:13px}.ae-category-pic{background:#e4f1e7;width:75px;height:75px;display:grid;place-items:center;border-radius:13px;flex-shrink:0}.ae-category-pic svg{width:28px;height:28px}.ae-category-pic img{width:75px;height:75px;object-fit:cover;border-radius:13px}.ae-category-fields{display:flex;gap:10px;align-items:end;flex-wrap:wrap;flex:1}.ae-category-fields label{min-width:125px;flex:1}.ae-category-fields input,.ae-category-fields select{max-width:100%}.ae-category-fields small{white-space:nowrap}
@media(max-width:1050px){.ae-live-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){
 .ae-menu-wrap .ae-nav{overflow-x:auto!important;overflow-y:visible!important}.ae-category-drop .ae-category-drop-menu{position:fixed;left:10px;right:10px;width:auto;top:auto;max-height:56vh;border-radius:12px}.ae-live-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-sidebar .side-nav a{font-size:13px!important;white-space:normal;line-height:1.3;padding:12px!important;min-height:42px;overflow:visible}.admin-sidebar .side-nav a::first-letter{font-size:inherit!important}.admin-sidebar .side-label{display:block!important;font-size:10px!important}.admin-sidebar .admin-brand div{display:flex!important}.ae-category-fields{display:grid;grid-template-columns:1fr 1fr;align-items:end}.ae-category-editor{flex-wrap:wrap}
}
@media(max-width:460px){.ae-live-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ae-live-product{padding:8px}.ae-live-product img{height:95px}.ae-category-editor{display:block}.ae-category-pic{margin-bottom:12px}.ae-category-fields{display:block}.ae-category-fields label{display:block;margin:9px 0}.ae-category-fields .btn{margin-top:10px}}

/* Safe product/category deletion actions */
.ae-row-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ae-remove-form{display:inline-flex}.ae-danger-btn{display:inline-flex;justify-content:center;align-items:center;border:1px solid #fecaca;background:#fff1f2;color:#a11226;font-weight:800;border-radius:9px;padding:8px 11px;font-size:12px;cursor:pointer}.ae-danger-btn:hover,.ae-danger-btn:focus-visible{background:#ffe0e0;border-color:#fb7185}.ae-category-delete-form{padding:0 13px 12px 102px}.ae-category-editor+.ae-category-delete-form{margin-top:-13px;border:1px solid #e5eee5;border-top:0;border-radius:0 0 13px 13px;background:#f5f8f5}.ae-category-manager{gap:0}.ae-category-manager>.ae-category-editor:not(:first-child){margin-top:14px}@media(max-width:640px){.ae-category-delete-form{padding-left:13px}}

.side-nav a{display:flex;align-items:center;gap:10px}.side-nav a svg{flex-shrink:0;width:18px;height:18px}.side-nav .ae-side-text{display:inline-block!important;white-space:normal;line-height:1.35;overflow-wrap:anywhere}@media(max-width:720px){.side-nav a{display:flex!important;gap:11px!important}.side-nav .ae-side-text{display:inline-block!important}}

/* v1.2.1 Product-first mobile/PWA shopping, compact optional offer */
.ae-mobile-promo-strip{display:none}
.ae-mobile-promo-admin{padding:18px;border:1px solid #dbeadf;background:#f5faf6;border-radius:12px;margin:17px 0}.ae-mobile-promo-admin h3{margin:0 0 5px}.ae-mobile-promo-admin p{margin:0 0 14px;font-size:13px;color:#607568}
@media(max-width:900px){
 body.ae-home-product-first .topbar,body.ae-home-product-first .ae-home-intro,body.ae-home-product-first .ae-perks,body.ae-home-product-first .ae-category-section,body.ae-home-product-first .ae-promo-row,body.ae-home-product-first .ae-benefit-bottom{display:none!important}
 body.ae-home-product-first .main-content{padding-top:8px!important}
 body.ae-home-product-first .ae-home-products{margin-top:9px!important}
 body.ae-home-product-first .ae-home-products .section-heading{margin:5px 0 11px!important;align-items:center}
 body.ae-home-product-first .ae-home-products .section-heading h2{font-size:21px!important;letter-spacing:-.025em}
 body.ae-home-product-first .ae-home-products .eyebrow{font-size:9px}
 body.ae-home-product-first .ae-home-products .text-link{font-size:11px;white-space:nowrap}
 body.ae-home-product-first .ae-mobile-promo-strip{display:flex;align-items:center;gap:10px;border-radius:9px;background:var(--ae-light);border:1px solid #cfe6d1;padding:9px 12px;margin:3px 0 10px;color:var(--ae-dark);font-size:12px;min-height:42px}
 body.ae-home-product-first .ae-mp-gift{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px}
 body.ae-home-product-first .ae-mp-gift svg{width:19px;height:19px}
 body.ae-home-product-first .ae-mp-message{flex:1;font-weight:750}
 body.ae-home-product-first .ae-mp-arrow{font-weight:900;font-size:18px}
 .ae-fresh-store .site-header{z-index:60}
 .ae-menu-wrap .ae-nav{overflow:visible!important;white-space:normal!important;gap:12px!important;height:45px!important;padding:0!important}
 .ae-menu-wrap .ae-nav>a{display:none!important}
 .ae-menu-wrap .ae-nav>a[href$="page=shop"]{display:inline-flex!important;font-size:13px;padding:10px}
 .ae-nav .ae-all-categories{height:44px!important;min-width:150px!important;padding:0 13px!important;font-size:12px;border-radius:6px}
 .ae-nav .ae-all-categories:before{display:none}
 .ae-nav .ae-category-drop{position:relative;flex:none}
 .ae-category-drop .ae-category-drop-menu{position:absolute!important;left:0!important;right:auto!important;top:calc(100% + 2px)!important;width:min(315px,calc(100vw - 24px))!important;max-height:65vh;overflow-y:auto;border-radius:10px!important;box-shadow:0 18px 50px #1b382a33!important;z-index:120!important}
 .ae-fresh-store .ae-product-quick{grid-template-columns:1fr 1fr!important;gap:5px}
 .ae-fresh-store .ae-product-quick button{font-size:10px;white-space:normal;min-height:37px;padding:6px 2px}
 .ae-fresh-store .product-card{min-width:0}
 .ae-fresh-store .product-name{overflow-wrap:anywhere}
}
@media(max-width:520px){
 .ae-fresh-store .ae-header-main{min-height:95px!important;padding:9px 0!important;gap:7px 10px!important}
 .ae-fresh-store .ae-store-logo img{max-height:42px!important;max-width:46px!important}
 .ae-fresh-store .ae-fallback-logo{width:39px;height:39px;font-size:22px}
 .ae-fresh-store .ae-store-logo .brand-text b{font-size:16px}
 .ae-fresh-store .ae-store-logo .brand-text small{display:none}
 .ae-fresh-store .ae-search{order:3!important;flex:0 0 100%!important;width:100%!important;max-width:none!important;height:41px}
 .ae-fresh-store .ae-search input{padding:8px 12px!important;font-size:13px}
 .ae-fresh-store .ae-search button{padding:7px 14px;font-size:12px}
 .ae-fresh-store .ae-header-links{gap:7px}
 .ae-fresh-store .ae-lang-toggle{padding:6px 7px;font-size:10px}
 .ae-fresh-store .ae-bag-icon{font-size:20px}
 .ae-fresh-store .ae-nav{height:45px}
 .ae-fresh-store .product-grid{gap:8px}
 .ae-fresh-store .product-card{padding:5px}
 .ae-fresh-store .product-info{padding:9px 4px 6px}
 .ae-fresh-store .product-image{aspect-ratio:1/1}
 .ae-fresh-store .product-bottom b{font-size:15px}
 .ae-fresh-store .product-brand{font-size:10px}
 .ae-fresh-store .product-name{font-size:12px;min-height:34px}
}
@media(display-mode:standalone){
 body.ae-home-product-first .topbar,body.ae-home-product-first .ae-home-intro,body.ae-home-product-first .ae-perks,body.ae-home-product-first .ae-category-section,body.ae-home-product-first .ae-promo-row,body.ae-home-product-first .ae-benefit-bottom{display:none!important}
 body.ae-home-product-first .ae-mobile-promo-strip{display:flex;align-items:center;gap:10px;background:var(--ae-light);padding:9px 12px;border-radius:9px;margin:4px 0 10px;color:var(--ae-dark)}
 body.ae-home-product-first .ae-home-products{margin-top:8px!important}
}
