/* ASIK STORE receipt fonts */
@font-face{font-family:'Nirlipta';src:url('./fonts/Nirlipta-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Photograph Signature';src:url('./fonts/Photograph-Signature.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--green:#00a83b;--green-dark:#007a2c;--mint:#e1ffe9;--ink:#102719;--muted:#65776a;--line:#dcebe0;--cream:#f7fff8;--orange:#f7b733;--shadow:0 12px 35px #087c2a18}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:'Hind Siliguri',Manrope,sans-serif}button,input,select,textarea{font:inherit}button,a,select{cursor:pointer}a{color:inherit;text-decoration:none}.topbar{height:82px;display:flex;align-items:center;gap:28px;padding:0 max(5vw,20px);border-bottom:1px solid var(--line);position:sticky;top:0;background:#ffffffef;backdrop-filter:blur(14px);z-index:5}.brand{display:flex;align-items:center;gap:10px;min-width:190px;font:700 17px Manrope,sans-serif;letter-spacing:-.5px}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:var(--green);color:white;font-size:24px;box-shadow:0 6px 15px #137a4330}.brand small{display:block;font:500 10px Manrope,sans-serif;color:var(--muted);letter-spacing:.2px;margin-top:3px}.search-wrap{height:44px;display:flex;align-items:center;gap:10px;max-width:540px;flex:1;background:#f5f8f5;border:1px solid #edf1ed;border-radius:13px;padding:0 15px;color:var(--green);font-size:22px}.search-wrap input{width:100%;border:0;outline:0;background:transparent;font-size:14px}.header-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.btn{border:0;border-radius:12px;padding:11px 17px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:.18s}.btn:hover{transform:translateY(-1px)}.btn-light{background:white;border:1px solid var(--line);color:var(--ink)}.btn-cart{background:var(--mint);color:var(--green)}.btn-cart b{background:var(--green);color:#fff;border-radius:20px;min-width:22px;padding:2px 6px;font-size:11px}.btn-primary{background:var(--green);color:#fff;box-shadow:0 8px 20px #137a4320}.btn-primary:hover{background:var(--green-dark)}.full{width:100%}.page-shell{max-width:1240px;margin:auto;padding:0 28px}.hero{margin:28px 0 30px;background:linear-gradient(115deg,#e2ffe9 0%,#f2fff1 58%,#faffdc 100%);border:1px solid #c8f3d2;border-radius:22px;min-height:300px;display:grid;grid-template-columns:1.1fr .9fr;overflow:hidden;position:relative}.hero-copy{padding:30px 3.6vw 24px}.eyebrow{font:800 10px Manrope,sans-serif;letter-spacing:1.5px;color:var(--green);display:block}.hero h1{font-size:clamp(29px,3.4vw,43px);line-height:1.22;letter-spacing:-1.4px;margin:16px 0 12px}.hero h1 em{font-style:normal;color:var(--green)}.hero p{color:#617065;max-width:440px;line-height:1.8;font-size:15px;margin-bottom:22px}.hero-points{display:flex;gap:14px;flex-wrap:wrap;margin-top:15px;color:#4b6754;font-size:12px}.hero-art{position:relative;display:grid;place-items:center;min-height:245px;background:radial-gradient(circle at 52% 48%,#d5ff9f 0,#eaffce 37%,transparent 38%);transition:background .3s}.sun{position:absolute;width:205px;height:205px;background:#f7d995;border-radius:50%;right:13%;top:13%;opacity:.65}.basket{z-index:1;width:210px;height:175px;display:grid;place-content:center;text-align:center;font-size:48px;line-height:1.45;letter-spacing:8px;transform:rotate(-5deg);filter:drop-shadow(0 20px 16px #66542c22)}.floating-tag{position:absolute;z-index:2;right:8%;bottom:12%;background:white;padding:12px 17px;border-radius:14px;box-shadow:var(--shadow);font-size:12px}.floating-tag b{color:var(--green);margin-left:10px}.trust-row{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:18px;margin-bottom:55px;padding:18px 26px;gap:20px}.trust-row>div{display:flex;align-items:center;gap:13px}.trust-row>div>span{width:45px;height:45px;display:grid;place-items:center;background:var(--mint);border-radius:13px;font-size:22px}.trust-row p{margin:0}.trust-row b,.trust-row small{display:block}.trust-row b{font-size:14px}.trust-row small{font-size:11px;color:var(--muted);margin-top:4px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:0 0 20px}.section-head h2{font-size:25px;letter-spacing:-.6px;margin:6px 0 0}.muted{color:var(--muted);font-size:12px}.category-list{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:13px;margin-bottom:56px}.category{border:1px solid var(--line);border-radius:16px;padding:17px 8px;text-align:center;background:#fff;transition:.2s;color:var(--ink)}.category:hover,.category.active{border-color:#acd9b7;background:#f1faf2;transform:translateY(-2px)}.category .emoji{display:grid;place-items:center;width:53px;height:53px;margin:0 auto 9px;background:#f5f7ed;border-radius:16px;font-size:26px}.category span:last-child{font-size:13px;font-weight:600}.product-heading{margin-bottom:18px}.product-heading select{border:1px solid var(--line);border-radius:10px;padding:9px 12px;background:white;color:#536158}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;min-height:180px}.product-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.2s;background:#fff}.product-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}.product-photo{height:160px;display:grid;place-items:center;background:linear-gradient(140deg,#f7faf4,#f2f5e8);position:relative;font-size:66px}.product-photo img{width:100%;height:100%;object-fit:contain;padding:6px;box-sizing:border-box}.product-tag{position:absolute;left:11px;top:11px;background:white;color:var(--green);border-radius:7px;padding:4px 8px;font-size:10px;font-weight:700}.product-info{padding:14px}.product-category{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.7px}.product-info h3{font-size:15px;margin:5px 0 3px}.product-unit{font-size:12px;color:var(--muted)}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px}.price{font:800 17px Manrope,sans-serif}.old-price{font-size:11px;color:#98a39b;text-decoration:line-through;margin-left:4px}.add-btn{border:1px solid #b8ddc2;background:#f0faf2;color:var(--green);border-radius:10px;padding:7px 10px;font-weight:800}.add-btn:hover{background:var(--green);color:#fff}.loading,.empty{grid-column:1/-1;text-align:center;padding:45px 10px;color:var(--muted)}.local-banner{margin:65px 0 45px;background:#123d2a;color:white;border-radius:23px;padding:30px 38px;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.local-banner .eyebrow{color:#a8e4b8}.local-banner h2{font-size:25px;margin:8px 0}.local-banner p{color:#c1d5c8;font-size:13px;margin-bottom:0}.banner-emoji{font-size:72px;opacity:.9}footer{border-top:1px solid var(--line);padding:25px 0 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px}.footer-brand{color:var(--ink);min-width:auto}footer>div{display:flex;gap:16px;align-items:center}.text-btn{border:0;background:none;color:var(--green);font-weight:700}.modal-backdrop{position:fixed;inset:0;z-index:20;background:#10231988;display:grid;place-items:center;padding:18px}.modal-backdrop[hidden]{display:none}.modal{position:relative;background:#fff;width:min(520px,100%);max-height:90vh;overflow:auto;border-radius:20px;padding:30px;box-shadow:0 25px 80px #0003}.modal-close{position:absolute;right:17px;top:12px;border:0;background:#f1f5f1;border-radius:50%;width:34px;height:34px;font-size:22px}.modal h2{margin:0 0 8px;font-size:24px}.modal p{color:var(--muted);font-size:13px;line-height:1.6}.form-stack{display:grid;gap:12px;margin-top:20px}.form-stack label{font-size:12px;font-weight:700;display:grid;gap:6px}.form-stack input,.form-stack textarea,.form-stack select{border:1px solid #dfe8e1;border-radius:10px;padding:11px 12px;outline-color:var(--green);width:100%;background:white}.form-stack textarea{min-height:75px;resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.divider-text{text-align:center;color:#9aa59d;font-size:12px;margin:12px 0}.btn-google{width:100%;border:1px solid var(--line);background:#fff;color:#2d3b31}.error-text{color:#b42318!important;font-size:12px!important}.success-text{color:var(--green)!important}.drawer{position:fixed;z-index:16;right:0;top:0;height:100dvh;width:min(440px,100%);background:white;box-shadow:-20px 0 60px #10231920;transform:translateX(110%);transition:transform .25s;display:flex;flex-direction:column;padding:24px}.drawer.open{transform:translateX(0)}.drawer-shade{position:fixed;inset:0;background:#10231970;z-index:15}.drawer-shade[hidden]{display:none}.drawer-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:18px}.drawer-head h2{margin:4px 0 0}.icon-btn{width:36px;height:36px;border:0;border-radius:10px;background:#f2f6f2;font-size:23px}.cart-items{overflow:auto;flex:1;padding:12px 0}.cart-item{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.cart-item .cart-emoji{width:54px;height:54px;border-radius:12px;background:#f5f8f0;display:grid;place-items:center;font-size:27px}.cart-item h4{margin:0 0 3px;font-size:13px}.cart-item small{color:var(--muted)}.qty{display:flex;align-items:center;gap:8px;margin-top:6px}.qty button{border:1px solid var(--line);background:#fff;border-radius:6px;width:25px;height:25px;color:var(--green)}.cart-bottom{border-top:1px solid var(--line);padding-top:18px}.total-line{display:flex;justify-content:space-between;font-size:17px;margin-bottom:8px}.cart-bottom>small{display:block;color:var(--muted);font-size:11px;margin-bottom:14px}.notice{background:#fff7e8;color:#815512;border:1px solid #f4dfb5;border-radius:10px;padding:12px 14px;margin-bottom:15px;font-size:12px}.admin-section{border:1px solid var(--line);border-radius:14px;padding:15px;margin:14px 0}.admin-section h3{margin:0 0 10px}.admin-list{display:grid;gap:9px}.admin-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.admin-row:last-child{border:0}.small-btn{border:1px solid var(--line);background:white;border-radius:8px;padding:6px 9px;font-size:11px}.status-select{max-width:140px;border:1px solid var(--line);border-radius:7px;padding:6px}.payment-option{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:8px!important;border:1px solid var(--line);border-radius:10px;padding:11px}.payment-option input{width:auto}.pill{display:inline-block;background:#edf7ef;color:var(--green);border-radius:20px;padding:4px 8px;font-size:10px;font-weight:700}.warning{background:#fff4df;color:#815512;border-radius:10px;padding:12px;font-size:12px;line-height:1.6}
.hero-slider-controls{display:flex;align-items:center;gap:10px;margin-top:15px}.hero-slider-controls>button{width:28px;height:28px;border:1px solid #a9e8b7;background:#fff;color:var(--green-dark);border-radius:50%;font-size:20px;line-height:1}.hero-dots{display:flex;gap:6px;align-items:center}.hero-dots button{width:7px;height:7px;border:0;padding:0;border-radius:20px;background:#a8dcb4}.hero-dots button.active{width:22px;background:var(--green)}.hero-slide-count{position:absolute;right:20px;top:18px;font:700 11px Manrope,sans-serif;color:#14833b;background:#ffffffd9;border-radius:20px;padding:7px 10px}.hero-slide-count span{color:#006d29}.hero-copy,.hero-art{transition:opacity .22s ease}.hero.is-changing .hero-copy,.hero.is-changing .hero-art{opacity:.35}
@media(max-width:900px){.topbar{gap:14px;padding:0 18px}.brand{min-width:auto}.brand small{display:none}.search-wrap{max-width:none}.hero-copy{padding:30px 24px 22px}.category-list{grid-template-columns:repeat(4,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.trust-row{padding:15px}.trust-row small{font-size:10px}}
@media(max-width:620px){.topbar{height:auto;min-height:72px;display:grid;grid-template-columns:1fr auto;gap:10px;padding:12px 15px}.brand{font-size:15px}.brand-mark{width:38px;height:38px}.header-actions{grid-column:2;grid-row:1}.header-actions .btn{padding:9px 10px;font-size:12px}.btn-cart span{display:none}.search-wrap{grid-column:1/-1;grid-row:2;height:40px}.page-shell{padding:0 15px}.hero{grid-template-columns:1fr;margin-top:12px;min-height:0;border-radius:18px}.hero-copy{padding:22px 17px 18px}.hero h1{font-size:clamp(23px,6vw,30px);line-height:1.18;letter-spacing:-.7px;margin:10px 0 8px}.hero p{font-size:12px;line-height:1.55;margin-bottom:13px}.hero-art{min-height:125px;max-height:145px}.sun{width:105px;height:105px;right:calc(50% - 52px);top:6%}.basket{font-size:27px;width:130px;height:105px;letter-spacing:3px}.floating-tag{right:5%;bottom:8%;padding:8px 10px;font-size:10px}.hero-points{gap:7px;font-size:9px;margin-top:10px}.hero-slider-controls{margin-top:11px}.hero-slide-count{right:8px;top:8px;padding:5px 7px;font-size:9px}.hero-points{gap:7px;font-size:9px}.trust-row{grid-template-columns:1fr;gap:14px;margin-bottom:40px;padding:17px}.trust-row>div>span{width:40px;height:40px}.section-head h2{font-size:21px}.muted{display:none}.category-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:40px}.category{padding:12px 5px}.category .emoji{width:46px;height:46px;font-size:23px}.category span:last-child{font-size:12px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-photo{height:130px;font-size:53px}.product-info{padding:11px}.product-info h3{font-size:13px}.product-bottom{align-items:start;flex-direction:column}.add-btn{width:100%}.price{font-size:15px}.local-banner{margin:45px 0 30px;padding:25px 22px}.local-banner h2{font-size:20px}.banner-emoji{font-size:45px}footer{align-items:flex-start;flex-direction:column;gap:12px}.modal{padding:26px 20px}.form-row{grid-template-columns:1fr}.drawer{padding:20px}}

.edit-product-form label{display:grid;gap:6px}.edit-product-form input:not([type=checkbox]),.edit-product-form select{width:100%;min-width:0;border:1px solid var(--line);border-radius:9px;padding:9px;background:#fff;color:var(--ink)}.edit-product-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.admin-section small{color:var(--muted)}#settingsForm textarea{min-height:70px}

/* UPI QR checkout */
.upi-payment-box{border:1px solid #b9e6c4;background:#f3fff5;border-radius:14px;padding:14px;text-align:center}.upi-payment-box[hidden]{display:none}.upi-payment-box h3{margin:0 0 12px;color:var(--green-dark);font-size:16px}.payment-qr-image{display:block;width:min(100%,300px);max-height:390px;object-fit:contain;margin:0 auto 12px;border-radius:12px;background:#fff;border:1px solid var(--line)}.upi-payment-box p,.upi-payment-box small{display:block;text-align:left;font-size:12px;line-height:1.7;color:var(--muted)}.upi-payment-box label{display:grid;gap:6px;text-align:left;font-size:12px;font-weight:700}.upi-payment-box input{width:100%;border:1px solid #cde4d2;border-radius:9px;padding:11px;background:#fff}

/* ASIK STORE compact mobile-first refinement */
.topbar{gap:14px}
.search-wrap{flex:0 0 auto;width:42px;max-width:42px;height:42px;padding:0;justify-content:center;gap:0;overflow:hidden;transition:width .22s ease,max-width .22s ease,padding .22s ease;order:2}
.search-wrap .search-toggle{border:0;background:transparent;color:var(--green-dark);font-size:27px;line-height:1;width:40px;height:40px;flex:0 0 40px;padding:0}
.search-wrap input{width:0;min-width:0;opacity:0;padding:0;transition:opacity .18s ease;width:100%}
.search-wrap.expanded{width:min(340px,38vw);max-width:340px;padding:0 8px;justify-content:flex-start;gap:6px}
.search-wrap.expanded input{width:100%;min-width:0;opacity:1;font-size:13px}
.header-actions{gap:7px;order:3}
.menu-wrap{position:relative}
.menu-toggle{width:38px;height:40px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font-size:27px;line-height:1;padding:0 0 5px}
.header-menu{position:absolute;right:0;top:47px;width:175px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 14px 35px #123d2a20;padding:6px;z-index:30}
.header-menu[hidden]{display:none}
.header-menu button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:11px 10px;border-radius:8px;color:var(--ink);font-weight:600;font-size:13px}
.header-menu button:hover{background:var(--mint);color:var(--green-dark)}
.hero{min-height:145px;grid-template-columns:1.25fr .75fr;margin:14px 0 22px;border-radius:17px}
.hero-copy{padding:17px 22px 13px}
.hero .eyebrow{font-size:8px;letter-spacing:1px}
.hero h1{font-size:clamp(20px,2.7vw,30px);margin:7px 0 5px;line-height:1.12}
.hero p{font-size:12px;line-height:1.4;margin:0 0 10px;max-width:370px}
.hero-copy>.btn{font-size:12px;padding:8px 12px;border-radius:9px}
.hero-points{font-size:9px;gap:8px;margin-top:8px}
.hero-slider-controls{margin-top:7px;gap:7px}
.hero-slider-controls>button{width:23px;height:23px;font-size:17px}
.hero-art{min-height:125px;max-height:145px}
.sun{width:105px;height:105px;right:calc(50% - 52px);top:7%}
.basket{font-size:28px;width:125px;height:100px;letter-spacing:3px}
.floating-tag{right:4%;bottom:8%;padding:7px 9px;font-size:9px}
.hero-slide-count{right:7px;top:7px;padding:4px 7px;font-size:8px}
/* Compact one-row icon-only category rail */
.section-head .muted{display:none}
.section-head:not(.product-heading) h2{font-size:20px}
.category-list{display:flex;flex-wrap:nowrap;gap:9px;overflow-x:auto;overflow-y:hidden;padding:2px 1px 9px;margin:0 -1px 28px;scroll-snap-type:x proximity;scrollbar-width:thin}
.category{flex:0 0 58px;width:58px;height:58px;padding:5px;border-radius:15px;scroll-snap-align:start;display:grid;place-items:center}
.category .emoji{width:42px;height:42px;margin:0;border-radius:13px;font-size:22px}
.category span:last-child{display:none}
.product-clickable{cursor:pointer}
.product-clickable:focus-visible{outline:3px solid #00a83b;outline-offset:2px}
.view-details-hint{display:block;color:var(--muted);font-size:10px;margin-top:9px}
.product-detail-photo{height:220px;display:grid;place-items:center;background:linear-gradient(145deg,#effff2,#f8f8e9);border-radius:15px;margin-bottom:17px;overflow:hidden;font-size:90px}
.product-detail-photo img{width:100%;height:100%;object-fit:contain;padding:10px}
.product-detail h2{margin:5px 0 8px}
.detail-price{font-size:23px;font-weight:800;color:var(--green-dark);margin:8px 0}
.detail-price del{font-size:13px;color:#98a39b;font-weight:500;margin-left:7px}
.detail-unit,.detail-stock{font-size:12px!important;color:var(--muted);margin:5px 0!important}
.product-description{font-size:14px!important;color:#43564a!important;line-height:1.8!important;background:#f5fbf5;border-radius:12px;padding:13px;margin:13px 0!important;white-space:pre-wrap}
.bottom-trust{margin-top:40px;margin-bottom:22px}
@media(max-width:620px){
 .topbar{height:auto;min-height:70px;display:flex;flex-wrap:wrap;gap:8px;padding:10px 12px}
 .brand{flex:1 1 auto;min-width:0;font-size:14px;gap:8px;order:1}
 .brand-mark{width:36px;height:36px;border-radius:11px;font-size:20px}
 .header-actions{flex:0 0 auto;gap:5px;margin-left:0;order:2}
 .header-actions .btn{padding:8px 9px;font-size:11px}
 .search-wrap{order:3;width:38px;max-width:38px;height:38px;flex:0 0 38px}
 .search-wrap .search-toggle{width:36px;height:36px;flex-basis:36px;font-size:25px}
 .search-wrap.expanded{width:100%;max-width:none;flex:1 1 100%;order:4;height:40px;padding:0 8px}
 .search-wrap.expanded .search-toggle{flex-basis:30px;width:30px}
 .search-wrap.expanded input{width:100%;opacity:1}
 .hero{grid-template-columns:1.15fr .85fr;min-height:115px;margin-top:10px;margin-bottom:17px}
 .hero-copy{padding:13px 10px 11px}
 .hero .eyebrow{font-size:7px;letter-spacing:.45px}
 .hero h1{font-size:clamp(17px,4.6vw,23px);margin:6px 0 5px;letter-spacing:-.4px}
 .hero p{font-size:10px;line-height:1.35;margin-bottom:7px}
 .hero-copy>.btn{font-size:10px;padding:7px 8px;gap:4px}
 .hero-points{font-size:7px;gap:5px;margin-top:7px}
 .hero-art{min-height:105px;max-height:120px}
 .basket{font-size:23px;width:95px;height:85px;letter-spacing:1px}
 .sun{width:83px;height:83px;right:calc(50% - 41px);top:10%}
 .floating-tag{font-size:8px;padding:6px 7px;right:3%;bottom:6%}
 .hero-slide-count{font-size:7px;right:5px;top:5px;padding:3px 5px}
 .hero-slider-controls{margin-top:6px;gap:5px}
 .hero-slider-controls>button{width:20px;height:20px;font-size:15px}
 .hero-dots{gap:4px}.hero-dots button{width:5px;height:5px}.hero-dots button.active{width:15px}
 .category-list{gap:7px;margin-bottom:25px}
 .category{flex-basis:51px;width:51px;height:51px;padding:4px}
 .category .emoji{width:38px;height:38px;font-size:20px}
 .product-detail-photo{height:190px;font-size:75px}
 .bottom-trust{grid-template-columns:1fr;gap:12px;margin-top:30px;margin-bottom:18px}
}

/* ASIK STORE professional admin dashboard */
.modal:has(.admin-dashboard){width:min(980px,100%);max-height:94vh;padding:0;border-radius:22px;background:#f5f8f6;overflow:auto}
.modal:has(.admin-dashboard) .modal-close{position:sticky;float:right;top:12px;margin:12px 12px -48px 0;z-index:8;background:#ffffffd9;border:1px solid #e3ebe5;box-shadow:0 4px 14px #10231912}
.admin-dashboard{padding:26px;clear:both;color:#14291c}
.admin-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 24px;border-radius:19px;background:linear-gradient(125deg,#0e3925,#176b3b);color:#fff;box-shadow:0 14px 30px #0d4d2a20}
.admin-kicker{font:800 10px Manrope,sans-serif;letter-spacing:1.7px;color:#a9e6b8}
.admin-top h2{font-size:clamp(24px,4vw,32px);letter-spacing:-.7px;margin:8px 0 5px;color:#fff}
.admin-top p{margin:0;color:#d0e8d7;font-size:13px;line-height:1.6}
.admin-avatar{flex:0 0 58px;width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#ffffff18;border:1px solid #ffffff35;color:#fff;font:800 18px Manrope,sans-serif}
.admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.admin-stat{background:#fff;border:1px solid #e5ece7;border-radius:15px;padding:15px;display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;box-shadow:0 4px 14px #123b2005}
.admin-stat>span{grid-row:span 3;width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:#eaf8ee;font-size:18px}
.admin-stat small{color:#718077;font-size:11px}.admin-stat strong{font:800 20px Manrope,sans-serif;color:#163c26;margin:2px 0}.admin-stat em{font-style:normal;font-size:10px;color:#8b9890}
.admin-shortcuts{display:flex;gap:8px;overflow:auto;padding:0 0 5px;margin:0 0 16px;scrollbar-width:thin}
.admin-shortcuts a{flex:0 0 auto;background:#fff;border:1px solid #e1eae3;border-radius:10px;padding:10px 13px;font-size:12px;font-weight:700;color:#27543a;white-space:nowrap}
.admin-shortcuts a:hover{border-color:#9bd5aa;background:#f2fbf4}
.admin-dashboard .admin-panel-section{background:#fff;border:1px solid #e3ebe5;border-radius:17px;padding:20px;margin:14px 0;box-shadow:0 5px 18px #14351f05;scroll-margin-top:10px}
.admin-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:15px;border-bottom:1px solid #edf1ed;margin-bottom:15px}
.admin-section-head h3{font-size:17px;margin:5px 0;color:#173a25}.admin-section-head p{font-size:12px;color:#758279;margin:0;line-height:1.6}
.admin-step{font:800 9px Manrope,sans-serif;letter-spacing:1.4px;color:#19934a}
.admin-section-icon{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#eff9f1;font-size:20px}
.admin-dashboard .form-stack{gap:14px;margin-top:0}
.admin-dashboard .form-stack label{font-size:12px;color:#3d5144;gap:7px}
.admin-dashboard .form-stack input:not([type=checkbox]),.admin-dashboard .form-stack textarea,.admin-dashboard .form-stack select{border:1px solid #dce7df;border-radius:10px;padding:11px 12px;background:#fbfdfb;color:#20392a;transition:border-color .15s,box-shadow .15s}
.admin-dashboard .form-stack input:focus,.admin-dashboard .form-stack textarea:focus,.admin-dashboard .form-stack select:focus{outline:0;border-color:#40ad63;box-shadow:0 0 0 3px #29a65318;background:#fff}
.admin-dashboard .form-stack small{font-size:11px;color:#7c8a80;line-height:1.6}
.admin-dashboard .btn-primary{background:linear-gradient(135deg,#19a34a,#087a32);box-shadow:0 7px 16px #12813a20;padding:12px 16px}
.admin-dashboard .admin-list{gap:12px}
.admin-dashboard #adminProducts>.admin-section{margin:0;border:1px solid #e5ece7;border-radius:13px;padding:15px;background:#fcfefc}
.admin-dashboard .edit-product-form> b{display:block;font-size:15px;color:#143d25;padding-bottom:8px;border-bottom:1px solid #eaf0eb}
.admin-dashboard .admin-row{background:#fbfdfb;border:1px solid #e8eee9;border-radius:12px;padding:13px;align-items:flex-start}
.admin-dashboard .status-select{background:#fff;min-height:34px}
.admin-footnote{padding:13px 4px 2px;color:#718177;text-align:center;font-size:11px}
@media(max-width:620px){.modal:has(.admin-dashboard){max-height:96vh;border-radius:17px}.admin-dashboard{padding:14px}.admin-top{padding:18px 16px;border-radius:15px}.admin-avatar{flex-basis:44px;width:44px;height:44px;border-radius:13px;font-size:14px}.admin-stats{gap:7px}.admin-stat{padding:10px 8px;column-gap:7px}.admin-stat>span{width:30px;height:30px;font-size:15px}.admin-stat strong{font-size:15px}.admin-stat em{font-size:9px}.admin-dashboard .admin-panel-section{padding:14px}.admin-section-head h3{font-size:15px}.admin-dashboard .form-row{grid-template-columns:1fr 1fr;gap:8px}}

/* ASIK STORE professional admin dashboard */
.modal:has(.admin-dashboard){width:min(980px,100%);max-height:94vh;padding:0;border-radius:22px;background:#f5f8f6;overflow:auto}
.modal:has(.admin-dashboard) .modal-close{position:sticky;float:right;top:12px;margin:12px 12px -48px 0;z-index:8;background:#ffffffd9;border:1px solid #e3ebe5;box-shadow:0 4px 14px #10231912}
.admin-dashboard{padding:26px;clear:both;color:#14291c}
.admin-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 24px;border-radius:19px;background:linear-gradient(125deg,#0e3925,#176b3b);color:#fff;box-shadow:0 14px 30px #0d4d2a20}
.admin-kicker{font:800 10px Manrope,sans-serif;letter-spacing:1.7px;color:#a9e6b8}.admin-top h2{font-size:clamp(24px,4vw,32px);letter-spacing:-.7px;margin:8px 0 5px;color:#fff}.admin-top p{margin:0;color:#d0e8d7;font-size:13px;line-height:1.6}
.admin-avatar{flex:0 0 58px;width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#ffffff18;border:1px solid #ffffff35;color:#fff;font:800 18px Manrope,sans-serif}
.admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.admin-stat{background:#fff;border:1px solid #e5ece7;border-radius:15px;padding:15px;display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;box-shadow:0 4px 14px #123b2005}.admin-stat>span{grid-row:span 3;width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:#eaf8ee;font-size:18px}.admin-stat small{color:#718077;font-size:11px}.admin-stat strong{font:800 20px Manrope,sans-serif;color:#163c26;margin:2px 0}.admin-stat em{font-style:normal;font-size:10px;color:#8b9890}
.admin-shortcuts{display:flex;gap:8px;overflow:auto;padding:0 0 5px;margin:0 0 16px;scrollbar-width:thin}.admin-shortcuts a{flex:0 0 auto;background:#fff;border:1px solid #e1eae3;border-radius:10px;padding:10px 13px;font-size:12px;font-weight:700;color:#27543a;white-space:nowrap}.admin-shortcuts a:hover{border-color:#9bd5aa;background:#f2fbf4}
.admin-dashboard .admin-panel-section{background:#fff;border:1px solid #e3ebe5;border-radius:17px;padding:20px;margin:14px 0;box-shadow:0 5px 18px #14351f05;scroll-margin-top:10px}.admin-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:15px;border-bottom:1px solid #edf1ed;margin-bottom:15px}.admin-section-head h3{font-size:17px;margin:5px 0;color:#173a25}.admin-section-head p{font-size:12px;color:#758279;margin:0;line-height:1.6}.admin-step{font:800 9px Manrope,sans-serif;letter-spacing:1.4px;color:#19934a}.admin-section-icon{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#eff9f1;font-size:20px}
.admin-dashboard .form-stack{gap:14px;margin-top:0}.admin-dashboard .form-stack label{font-size:12px;color:#3d5144;gap:7px}.admin-dashboard .form-stack input:not([type=checkbox]),.admin-dashboard .form-stack textarea,.admin-dashboard .form-stack select{border:1px solid #dce7df;border-radius:10px;padding:11px 12px;background:#fbfdfb;color:#20392a;transition:border-color .15s,box-shadow .15s}.admin-dashboard .form-stack input:focus,.admin-dashboard .form-stack textarea:focus,.admin-dashboard .form-stack select:focus{outline:0;border-color:#40ad63;box-shadow:0 0 0 3px #29a65318;background:#fff}.admin-dashboard .form-stack small{font-size:11px;color:#7c8a80;line-height:1.6}.admin-dashboard .btn-primary{background:linear-gradient(135deg,#19a34a,#087a32);box-shadow:0 7px 16px #12813a20;padding:12px 16px}.admin-dashboard .admin-list{gap:12px}.admin-dashboard #adminProducts>.admin-section{margin:0;border:1px solid #e5ece7;border-radius:13px;padding:15px;background:#fcfefc}.admin-dashboard .edit-product-form> b{display:block;font-size:15px;color:#143d25;padding-bottom:8px;border-bottom:1px solid #eaf0eb}.admin-dashboard .admin-row{background:#fbfdfb;border:1px solid #e8eee9;border-radius:12px;padding:13px;align-items:flex-start}.admin-dashboard .status-select{background:#fff;min-height:34px}.admin-footnote{padding:13px 4px 2px;color:#718177;text-align:center;font-size:11px}
@media(max-width:620px){.modal:has(.admin-dashboard){max-height:96vh;border-radius:17px}.admin-dashboard{padding:14px}.admin-top{padding:18px 16px;border-radius:15px}.admin-avatar{flex-basis:44px;width:44px;height:44px;border-radius:13px;font-size:14px}.admin-stats{gap:7px}.admin-stat{padding:10px 8px;column-gap:7px}.admin-stat>span{width:30px;height:30px;font-size:15px}.admin-stat strong{font-size:15px}.admin-stat em{font-size:9px}.admin-dashboard .admin-panel-section{padding:14px}.admin-section-head h3{font-size:15px}.admin-dashboard .form-row{grid-template-columns:1fr 1fr;gap:8px}}

/* Multi-page Admin workspace */
.admin-dashboard [hidden]{display:none!important}
.admin-page-nav{display:flex;gap:8px;overflow-x:auto;padding:5px 0 12px;margin:12px 0 8px;scrollbar-width:thin;position:sticky;top:0;z-index:5;background:#f5f8f6}
.admin-page-nav button{flex:0 0 auto;border:1px solid #dce8df;border-radius:11px;background:#fff;color:#31513d;padding:11px 13px;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}
.admin-page-nav button.active,.admin-page-nav button:hover{background:#176b3b;color:#fff;border-color:#176b3b}
.admin-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.admin-overview-grid button{display:flex;flex-direction:column;gap:7px;text-align:left;padding:16px;border:1px solid #e0ebe3;border-radius:13px;background:#fbfefb;color:#193e28;cursor:pointer}
.admin-overview-grid button:hover{border-color:#80c895;background:#f1fbf3}
.admin-overview-grid b{font-size:13px}.admin-overview-grid small{font-size:11px;color:#748277;line-height:1.5}
.category-admin-list{display:grid;gap:10px;margin-top:18px}
.category-admin-item{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid #e2ebe4;border-radius:13px;background:#fbfdfb}
.category-admin-emoji{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#edf8ef;font-size:20px;flex:0 0 40px}
.category-admin-fields{display:grid;grid-template-columns:1fr .7fr;gap:8px;flex:1;min-width:0}
.category-admin-fields label{font-size:10px;display:grid;gap:4px;color:#5e6f62}.category-admin-fields input{width:100%;min-width:0;border:1px solid #dce7df;border-radius:8px;padding:8px;background:white;color:#20392a}
.category-admin-item .small-btn{border:1px solid #d8e5db;border-radius:8px;background:#fff;padding:8px 10px;font-size:11px;font-weight:700;color:#28523a;cursor:pointer}.category-admin-item .small-btn.danger{color:#b42318;border-color:#f0d5d2}
@media(max-width:620px){.admin-overview-grid{grid-template-columns:1fr}.category-admin-item{flex-wrap:wrap}.category-admin-fields{flex-basis:calc(100% - 55px)}.category-admin-item .small-btn{margin-left:auto}}

/* Checkout delivery map picker */
.location-picker-wrap{border:1px solid var(--line);border-radius:14px;padding:12px;background:#fbfefb;display:grid;gap:10px}.location-picker-head b,.location-picker-head small{display:block}.location-picker-head b{font-size:13px}.location-picker-head small,.location-status{font-size:11px;color:var(--muted);line-height:1.5}.delivery-map{height:260px;width:100%;border-radius:10px;z-index:1;overflow:hidden;background:#edf3ed}.location-picker-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.location-picker-actions .btn{font-size:11px;padding:9px 11px}.admin-order-row{align-items:flex-start!important}.admin-order-details{min-width:0;flex:1;line-height:1.7}.order-map-actions{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:8px}.small-map-btn{font-size:11px;padding:7px 10px}.order-map-actions small{font-size:10px;color:var(--muted)}@media(max-width:620px){.delivery-map{height:230px}.location-picker-actions{align-items:stretch;flex-direction:column}.admin-order-row{flex-direction:column}.admin-order-row .status-select{max-width:none;width:100%}}

/* Admin order details and category image controls */
.category-photo{width:34px;height:34px;object-fit:cover;border-radius:50%;display:block;border:1px solid #d9e8dc}
.category-admin-photo{width:48px;height:48px;object-fit:cover;border-radius:12px;flex:0 0 48px;border:1px solid #d9e8dc}
.category-admin-fields{grid-template-columns:1fr 0.6fr!important}
.category-admin-fields label:nth-child(3),.category-admin-fields label:nth-child(4){grid-column:1/-1}
.category-admin-fields input[type=file]{font-size:11px;padding:6px}
.order-admin-actions{width:100%;max-width:180px;display:grid;gap:8px}
.order-detail-btn{margin-top:8px;font-size:12px}
.order-detail-card{display:grid;gap:8px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fbfefb;line-height:1.6;overflow-wrap:anywhere}
.order-detail-card p{margin:0;font-size:13px}
.order-detail-items{display:grid;gap:8px;padding-top:8px}
.order-detail-item{display:flex;justify-content:space-between;gap:10px;padding:8px;border-radius:8px;background:#f0f7f1;font-size:12px}
.order-item-summary{display:block;margin-top:4px;overflow-wrap:anywhere}
@media(max-width:620px){.order-admin-actions{max-width:none}.category-admin-fields{grid-template-columns:1fr!important}}

/* Cart product thumbnail */
.cart-item .cart-emoji{overflow:hidden;flex-shrink:0}.cart-item .cart-emoji img{display:block;width:100%;height:100%;object-fit:cover;border-radius:12px}.cart-item .cart-emoji img[style*="display: none"]{display:none!important}

/* Bengali handwritten-style order bill */
.handbill{font-family:'Nirlipta','Noto Sans Bengali',cursive;color:#263e2c;background:#fffef8;border:2px dashed #8da992;border-radius:14px;padding:14px;margin:14px 0;max-height:42vh;overflow:auto;box-shadow:0 3px 12px #203b2810}.bill-top{display:flex;gap:10px;align-items:center;border-bottom:2px dashed #a3b6a5;padding-bottom:10px}.bill-stamp{background:#24663d;color:#fff;border-radius:50%;width:48px;height:48px;display:grid;place-content:center;text-align:center;font:bold 11px Arial;flex-shrink:0}.bill-shopname{font-family:'Nirlipta','Noto Sans Bengali',cursive;font-size:23px;font-weight:700}.bill-subtitle{font-size:11px}.bill-meta{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;margin:10px 0;font-size:11px}.bill-customer{line-height:1.8;border-bottom:1px dashed #c1c9c1;padding-bottom:9px;font-size:12px;overflow-wrap:anywhere}.bill-table{width:100%;border-collapse:collapse;margin-top:10px}.bill-table th,.bill-table td{border-bottom:1px dashed #c1c9c1;text-align:left;padding:6px 3px;font-size:11px}.bill-table small{display:block}.bill-totals{max-width:260px;margin:10px 0 10px auto}.bill-totals div{display:flex;justify-content:space-between;padding:4px;font-size:12px}.bill-grand{border-top:2px dashed #8da992;font-size:16px!important}.bill-payment{border-top:1px dashed #c1c9c1;padding-top:8px;font-size:11px}.bill-thanks{text-align:center;border-top:2px dashed #a3b6a5;margin-top:12px;padding-top:8px;font-size:18px}.bill-thanks span{font-size:10px}

/* Profile and admin access feedback */
.access-denied{text-align:center;padding:12px 4px 4px}.access-denied-icon{font-size:42px;margin:4px auto 12px}.access-denied h2{letter-spacing:.06em;color:#b42318}.access-denied p{line-height:1.65;color:var(--muted)}.profile-card{border:1px solid var(--line);border-radius:14px;padding:14px;margin:16px 0}.profile-card p{overflow-wrap:anywhere;line-height:1.5}
.admin-toggle-row{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:10px!important;border:1px solid var(--line);border-radius:10px;padding:12px;background:#f7fbf7}
.admin-toggle-row input{flex:0 0 auto}
.confirmed-order-btn{background:#e7f7ec!important;color:#176534!important;border-color:#a8d9b6!important}

/* Full-page Admin workspace and compact order operations */
.modal-backdrop:has(.admin-dashboard){position:fixed;inset:0;z-index:9999;display:block;padding:0;background:#f5f8f6;overflow:auto;align-items:stretch;justify-content:stretch}
.modal-backdrop:has(.admin-dashboard)[hidden]{display:none!important}
.modal:has(.admin-dashboard){position:relative!important;width:100%!important;max-width:none!important;height:100dvh!important;max-height:none!important;min-height:100dvh;border:0!important;border-radius:0!important;padding:0!important;margin:0!important;overflow-y:auto!important;box-shadow:none!important;background:#f5f8f6!important}
.modal:has(.admin-dashboard) .modal-close{position:fixed;top:10px;right:12px;float:none;margin:0;z-index:10002}
.admin-dashboard{max-width:1200px;margin:0 auto;min-height:100dvh;padding:22px clamp(12px,3vw,30px) 40px!important}
.admin-notifications{display:flex;align-items:center;gap:12px;background:#f0fbf2;border:1px solid #b9e6c3;border-radius:14px;padding:12px 14px;margin:14px 0;color:#155b2c}
.admin-notifications>div{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.admin-notifications b,.admin-notifications small{display:block}.admin-notifications b{font-size:14px}.admin-notifications small{font-size:11px;color:#548264}.admin-notif-icon{font-size:23px}.admin-notifications>strong{display:grid;place-items:center;min-width:34px;height:34px;padding:0 8px;background:#159447;color:white;border-radius:999px;font-size:15px}.admin-notifications .small-btn{white-space:nowrap}
.admin-dashboard #adminOrders{display:flex;flex-direction:column;gap:7px}.order-compact{border:1px solid #e1e9e3;border-radius:12px;background:white;overflow:hidden}.order-compact.order-new{border-color:#79d394;background:#f2fff4}.order-compact>summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;padding:10px 11px;min-height:54px}.order-compact>summary::-webkit-details-marker{display:none}.order-status-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#a4b2a8}.order-status-dot.green{background:#16a34a;box-shadow:0 0 0 4px #16a34a18}.order-compact-main{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.order-compact-main b{font-size:13px;color:#1b3925}.order-compact-main small{font-size:11px;color:#65756a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:46vw}.order-compact-total{font-size:12px;font-weight:800;white-space:nowrap;color:#1c4228}.order-compact .pill{font-size:10px;white-space:nowrap}.order-compact .pill-new{background:#16a34a;color:white}.order-expanded{padding:12px;border-top:1px solid #e6eee7;background:#fcfefc}.order-expanded-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px}.order-expanded-grid p{margin:0;font-size:12px;line-height:1.55;overflow-wrap:anywhere}.order-admin-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.order-admin-actions label{display:flex;align-items:center;gap:6px;font-size:11px}.order-admin-actions .status-select{max-width:180px}.order-admin-actions .btn,.order-admin-actions .small-btn{font-size:11px;padding:8px 10px}.small-btn.danger{background:#fff0f0;color:#b42318;border:1px solid #ffd0cd}.orders-empty{padding:18px;text-align:center;color:#718177}
@media(max-width:560px){.admin-dashboard{padding:12px 9px 30px!important}.admin-notifications{gap:7px;padding:10px}.admin-notifications b{font-size:12px}.admin-notifications small{font-size:10px}.admin-notifications .small-btn{padding:7px 9px;font-size:11px}.order-compact>summary{gap:6px;padding:9px 7px}.order-compact-main b{font-size:12px}.order-compact-main small{max-width:36vw;font-size:10px}.order-compact-total{font-size:11px}.order-compact .pill{font-size:9px;padding:4px 5px}.order-expanded-grid{grid-template-columns:1fr}.order-admin-actions{align-items:stretch}.order-admin-actions label{width:100%;justify-content:space-between}.order-admin-actions .status-select{max-width:none;flex:1}.modal:has(.admin-dashboard) .modal-close{top:7px;right:7px}}

/* Header search moved to the left of Cart, as requested */
.header-actions .search-wrap{order:0;grid-column:auto;grid-row:auto;position:relative;z-index:10}
.header-actions #cartBtn{order:1}
.header-actions .menu-wrap{order:2}
@media(max-width:620px){
  .topbar{position:sticky;}
  .header-actions .search-wrap{width:38px;max-width:38px;flex:0 0 38px;height:38px;margin:0;padding:0;overflow:hidden}
  .header-actions .search-wrap .search-toggle{width:36px;height:36px;flex-basis:36px;font-size:25px}
  .header-actions .search-wrap.expanded{position:absolute;left:12px;right:12px;top:calc(100% + 6px);width:auto;max-width:none;flex:initial;height:42px;padding:0 8px;background:#f5f8f5;border:1px solid #dcebe0;border-radius:12px;box-shadow:0 8px 24px #10271920;overflow:hidden}
  .header-actions .search-wrap.expanded .search-toggle{width:30px;flex-basis:30px}
  .header-actions .search-wrap.expanded input{width:100%;min-width:0;opacity:1}
}


/* Non-blocking feedback after adding products; keep browsing without opening the cart. */
.cart-add-toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translate(-50%,12px);z-index:9999;max-width:calc(100vw - 32px);padding:12px 18px;border-radius:14px;background:#087f45;color:#fff;font-weight:700;font-size:14px;box-shadow:0 8px 28px rgba(0,0,0,.18);opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease;text-align:center}.cart-add-toast.visible{opacity:1;transform:translate(-50%,0)}
/* Admin order bill and shopkeeper checklist */
.vendor-item{display:flex;align-items:center;gap:10px;cursor:pointer;min-height:42px}
.vendor-item input[type="checkbox"]{width:19px;height:19px;accent-color:#168447;vertical-align:middle;margin-right:7px}
.vendor-item:has(input:checked){background:#e7f8ec;color:#176638}
#downloadOrderBillBtn,#whatsappOrderBillBtn{margin-top:8px}

/* Admin-configured product quantity/weight variants */
.variant-select-label{display:flex;flex-direction:column;gap:5px;margin:8px 0;font-size:.82rem;color:var(--muted,#65736a)}
.product-variant-select{width:100%;min-width:0;padding:8px;border:1px solid #d9e5dc;border-radius:10px;background:#fff;color:#183b28;font:inherit;font-size:.9rem}
.product-info .product-bottom{align-items:center}
.edit-product-form textarea[name="variants"]{min-height:90px}

/* Clear quantity option editor: separate option and price fields */
.variant-admin-section{border:1px solid var(--line,#dce7de);border-radius:14px;padding:14px;margin:14px 0;background:#fbfdfb;display:flex;flex-direction:column;gap:9px}
.variant-admin-section>b{font-size:1rem}
.variant-admin-section>small{color:var(--muted,#68766d)}
.variant-admin-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,.65fr) 34px;gap:8px;margin:8px 0;align-items:center}
.variant-admin-row input{min-width:0;width:100%;box-sizing:border-box}
.variant-admin-row .variant-remove-btn{height:42px;border:0;border-radius:10px;background:#fff0f0;color:#b42318;font-size:24px}
#pVariantRows .variant-admin-row .variant-remove-btn{display:none}
.variant-admin-section .small-btn{align-self:flex-start}
@media(max-width:480px){.variant-admin-row{grid-template-columns:minmax(0,1fr) minmax(80px,.6fr) 30px;gap:5px}}

/* Product cards: compact images and readable price on mobile */
.product-photo{height:112px;overflow:hidden}
.product-photo img{width:100%;height:100%;object-fit:contain;padding:6px;box-sizing:border-box}
.product-info{padding:10px}
.product-info h3{font-size:14px;line-height:1.3;min-height:2.5em;overflow-wrap:anywhere}
.product-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;margin-top:9px}
.product-bottom>div{min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:3px}
.product-bottom .price{display:inline-block;font-size:16px;white-space:nowrap;color:#17231b}
.product-bottom .old-price{display:inline-block;font-size:11px;margin-left:0;white-space:nowrap}
.product-bottom .add-btn{flex:0 0 auto;padding:7px 9px;white-space:nowrap}
.product-variant-select{font-size:12px;padding:7px;max-width:100%}
.variant-select-label{min-width:0;font-size:12px}
/* Bottom sticky cart bar */
.sticky-cart-bar{position:fixed;z-index:14;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:10px;padding:9px 11px;background:#fff;border:1px solid #e1e8e1;border-radius:18px;box-shadow:0 8px 28px rgba(20,50,30,.18);max-width:720px;margin:0 auto}
.sticky-cart-bar[hidden]{display:none}
.sticky-cart-preview{display:flex;align-items:center;gap:9px;flex:1;min-width:0;background:transparent;border:0;text-align:left;color:inherit;padding:0;cursor:pointer}
.sticky-cart-thumb{width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:#f3f7f2;display:grid;place-items:center;font-size:24px;overflow:hidden;border:1px solid #e5ece5}
.sticky-cart-thumb img{width:100%;height:100%;object-fit:contain}
.sticky-cart-meta{display:flex;flex-direction:column;gap:3px;min-width:0}.sticky-cart-meta b{font-size:16px;font-weight:800}.sticky-cart-meta small{font-size:11px;color:#69766e;white-space:nowrap}
.sticky-cart-proceed{border:0;border-radius:28px;background:#ffd91b;color:#151515;font-weight:800;font-size:14px;padding:13px 16px;white-space:nowrap;cursor:pointer;min-width:110px}
.sticky-cart-proceed span{margin-left:4px}
@media(max-width:600px){.product-photo{height:165px}.product-info{padding:8px}.product-info h3{font-size:13px}.product-bottom .price{font-size:15px}.product-bottom .add-btn{padding:6px 8px;font-size:12px}.drawer{top:auto;right:0;left:0;bottom:0;width:100%;height:min(78dvh,760px);max-height:85dvh;border-radius:22px 22px 0 0;padding:18px 16px calc(16px + env(safe-area-inset-bottom));transform:translateY(110%);box-shadow:0 -15px 55px #10231930}.drawer.open{transform:translateY(0)}.sticky-cart-bar{left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));padding:8px 9px}.sticky-cart-thumb{width:38px;height:38px;flex-basis:38px}.sticky-cart-proceed{padding:12px 12px;min-width:100px}}
body:has(.sticky-cart-bar:not([hidden])){padding-bottom:88px}

/* Final targeted fix: cart sheet owns its full height; hide floating cart bar while sheet is open. */
body:has(.drawer.open) .sticky-cart-bar{display:none!important}
/* Reliable cart layering on mobile: drawer contents remain above page, sticky bar stays hidden while open. */
.drawer.open{z-index:30}
.drawer-shade{z-index:29}
.sticky-cart-bar{z-index:14}
.cart-items{min-height:0;flex:1 1 auto;overflow-y:auto;padding-bottom:14px}
.cart-bottom{position:relative;z-index:2;flex-shrink:0;background:#fff;padding-bottom:calc(12px + env(safe-area-inset-bottom))}
@media(max-width:600px){.drawer{height:88dvh;max-height:88dvh;padding-bottom:calc(12px + env(safe-area-inset-bottom))}.product-photo img{object-fit:contain;padding:6px}}
.drawer{overflow:hidden}
.cart-items{min-height:0;overscroll-behavior:contain}
.cart-bottom{flex:0 0 auto;padding-bottom:calc(10px + env(safe-area-inset-bottom));background:#fff}
.delivery-map{min-height:230px;display:block}

/* Compact expandable product cards in Admin > Products */
.admin-dashboard #adminProducts{display:grid;gap:10px}
.admin-dashboard #adminProducts>.admin-product-card{display:block;margin:0;padding:0;overflow:hidden;border:1px solid #e1e9e3;border-radius:14px;background:#fff;box-shadow:0 3px 12px #173a2507}
.admin-product-summary{display:flex;align-items:center;gap:11px;padding:12px;cursor:pointer;list-style:none;min-height:76px}
.admin-product-summary::-webkit-details-marker{display:none}
.admin-product-thumb{flex:0 0 52px;width:52px;height:52px;border-radius:12px;background:#f0f7f1;display:grid;place-items:center;overflow:hidden;font-size:24px;color:#236b40}
.admin-product-thumb img{width:100%;height:100%;object-fit:contain;padding:3px;display:block}
.admin-product-summary-main{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.admin-product-summary-main strong{font-size:14px;color:#173a25;overflow-wrap:anywhere}
.admin-product-summary-main small{font-size:11px;color:#758279}
.admin-product-summary-price{font-size:13px;font-weight:800;color:#1b5732}
.admin-product-summary-side{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex-shrink:0}
.admin-product-chevron{font-size:22px;line-height:16px;color:#23874a;transition:transform .15s}
.admin-product-card[open] .admin-product-chevron{transform:rotate(180deg)}
.admin-product-inactive{background:#f4f4f4;color:#727872}
.admin-product-card>.edit-product-form{padding:14px;border-top:1px solid #e8eee9;background:#fbfdfb}
.admin-product-card>.edit-product-form>b{display:block;font-size:13px;color:#17432a;padding-bottom:10px;border-bottom:1px solid #e7eee8}
.admin-product-active-toggle{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:8px!important}
.admin-product-actions{align-items:center}
.admin-product-actions .danger{color:#b42318;border-color:#f0c9c6}
@media(max-width:420px){.admin-product-summary{padding:10px;gap:9px}.admin-product-thumb{width:46px;height:46px;flex-basis:46px}.admin-product-summary-main strong{font-size:13px}.admin-product-summary-side .pill{font-size:9px;padding:4px 6px}}


/* Footer attribution and visitor counter */
#designBy,.visitor-counter{display:inline-block;margin-top:5px;font-size:.82rem;color:var(--muted,#718078)}
.visitor-counter b{color:var(--green,#187846);font-variant-numeric:tabular-nums}

.design-credit{display:inline-block;color:var(--green-dark);font-weight:700;text-decoration:none;cursor:pointer}.design-credit:hover{text-decoration:underline}

/* Persistent Instagram design credit */
footer{flex-wrap:wrap;}
.footer-credit-wrap .design-credit{display:inline-block;color:var(--green-dark);font-weight:700;text-decoration:none;}
.footer-credit-wrap .design-credit:hover{text-decoration:underline;}

/* Footer creator credit */
.footer-credit{display:inline-block;margin-top:8px;color:inherit;text-decoration:none;font-size:13px;opacity:.85}.footer-credit:hover{text-decoration:underline;opacity:1}


/* Safe centered green creator credit */
footer{display:flex;flex-wrap:wrap;justify-content:space-between}
footer .footer-credit-wrap{flex:0 0 100%;width:100%;display:flex;justify-content:center;align-items:center;text-align:center;padding:14px 12px 18px;box-sizing:border-box}
footer .footer-credit-wrap a{color:#16803c;font-size:13px;font-weight:700;text-decoration:none}
footer .footer-credit-wrap a:hover{text-decoration:underline;color:#0b5f2a}
.bottom-nav{display:none}
@media(max-width:620px){body{padding-bottom:calc(72px + env(safe-area-inset-bottom))}.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:50;display:grid;grid-template-columns:repeat(3,1fr);height:calc(60px + env(safe-area-inset-bottom));padding:4px 12px calc(4px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98);border-top:1px solid var(--line);box-shadow:0 -6px 22px #10271910}.bottom-nav button{border:0;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:11px;font-weight:700;min-width:0}.bottom-nav button:active,.bottom-nav button:focus-visible{color:var(--green);outline:none}.bottom-nav-icon{font-size:25px;line-height:27px;color:var(--green);font-weight:700}}


/* Compact header and bottom navigation: 40% smaller sizing, CSS only */
.topbar{height:41px;min-height:41px;padding-top:4px;padding-bottom:4px;gap:12px}
.brand-mark{width:29px;height:29px;font-size:17px}
.search-wrap{height:29px}
@media(max-width:620px){
  .topbar{height:auto;min-height:0;padding:5px 10px;gap:5px;grid-template-columns:1fr auto}
  .brand{font-size:12px;gap:5px;min-width:0}
  .brand-mark{width:25px;height:25px;border-radius:7px;font-size:15px}
  .brand small{font-size:8px;margin-top:0}
  .header-actions{gap:3px}
  .header-actions .btn{padding:4px 5px;font-size:9px;border-radius:7px}
  .header-actions .search-wrap{height:21px;width:21px;max-width:21px;flex-basis:21px}
  .header-actions .search-wrap .search-toggle{width:20px;height:20px;flex-basis:20px;font-size:16px}
  .header-actions .search-wrap.expanded{height:29px}
  .search-wrap{height:21px}
  body{padding-bottom:calc(31px + env(safe-area-inset-bottom))}
  .bottom-nav{height:calc(29px + env(safe-area-inset-bottom));padding:1px 7px calc(1px + env(safe-area-inset-bottom))}
  .bottom-nav button{font-size:8px;gap:0;line-height:10px}
  .bottom-nav-icon{font-size:14px;line-height:15px}
}


/* Keep the floating cart bar above the compact mobile bottom navigation. */
@media(max-width:620px){.sticky-cart-bar{bottom:calc(48px + env(safe-area-inset-bottom))!important}}
