:root{
  --brand:#ff6b35;--brand-dark:#ea4f17;--brand-soft:#fff0e9;--brand-yellow:#ffb020;
  --green:#19a974;--blue:#3a7afe;--purple:#7758e8;--red:#e84646;
  --bg:#f6f7fb;--surface:#fff;--surface-2:#fafbff;--text:#20242c;--muted:#858b98;
  --line:#eceef3;--shadow:0 12px 35px rgba(31,37,50,.07);--shadow-soft:0 5px 18px rgba(31,37,50,.055);
  --radius-xl:24px;--radius-lg:18px;--radius-md:14px;--safe-bottom:env(safe-area-inset-bottom,0px)
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:var(--text);background:var(--bg);scroll-behavior:smooth}
body{margin:0;line-height:1.55;background:var(--bg);min-height:100vh;font-size:15px}
a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button,input,select,textarea{font:inherit}button{cursor:pointer}svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* App shell */
.topbar{height:70px;background:rgba(255,255,255,.92);border-bottom:1px solid rgba(236,238,243,.85);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);position:sticky;top:0;z-index:50}
.topbar-inner{max-width:1180px;height:100%;margin:auto;padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:11px;min-width:max-content}.brand-mark{width:39px;height:39px;border-radius:13px;display:grid;place-items:center;color:#fff;font-weight:900;font-size:18px;background:linear-gradient(145deg,var(--brand),#ff8e4f);box-shadow:0 8px 18px rgba(255,107,53,.26)}
.brand-copy{display:flex;flex-direction:column;line-height:1.15}.brand-copy b{font-size:17px;letter-spacing:.2px}.brand-copy small{font-size:10px;color:var(--muted);margin-top:4px;font-weight:500}
.desktop-nav{display:flex;align-items:center;justify-content:center;gap:7px;flex:1}.desktop-nav a{padding:9px 14px;border-radius:12px;color:#626875;font-weight:650;transition:.2s}.desktop-nav a:hover,.desktop-nav a.active{background:var(--brand-soft);color:var(--brand)}
.top-actions{display:flex;align-items:center;gap:9px}.icon-button,.avatar-button{width:40px;height:40px;border:1px solid var(--line);background:#fff;border-radius:13px;display:grid;place-items:center;box-shadow:var(--shadow-soft)}.icon-button svg{width:21px}.avatar-button{background:#252a34;color:#fff;border:0;font-weight:800}
.container{max-width:1180px;margin:0 auto;padding:22px 18px 104px}.bottom-nav{display:none}

/* Common */
.flash{max-width:720px;margin:13px auto 0;padding:12px 15px;border-radius:14px;display:flex;align-items:center;gap:10px;font-size:14px;box-shadow:var(--shadow-soft)}.flash>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-weight:900;flex:none}.flash.success{background:#ebfbf5;color:#157456;border:1px solid #cdf3e4}.flash.success>span{background:#25ad7c;color:#fff}.flash.error{background:#fff1f1;color:#a93434;border:1px solid #ffd8d8}.flash.error>span{background:#e75454;color:#fff}
.muted{color:var(--muted)}.page-title{margin:0;font-size:24px;line-height:1.25}.page-subtitle{color:var(--muted);margin:6px 0 0}.section{margin:22px 0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}.section-head h1,.section-head h2,.section-head h3{margin:0}.section-head h2{font-size:21px}.section-more{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:4px}.section-more:after{content:"›";font-size:20px;line-height:1}
.card,.form-card,.order-card,.task-card,.coupon-card,.product-card{background:var(--surface);border:1px solid rgba(236,238,243,.9);border-radius:var(--radius-lg);box-shadow:var(--shadow-soft)}.card,.form-card{padding:20px;margin-bottom:18px}.card-flat{background:#fff;border-radius:18px;padding:18px}.narrow,.form-card.narrow,.login-box{max-width:520px;margin:36px auto}
.button{appearance:none;border:0;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 17px;border-radius:13px;background:linear-gradient(135deg,var(--brand),#ff8148);color:#fff;font-weight:750;box-shadow:0 7px 18px rgba(255,107,53,.22);transition:transform .18s,box-shadow .18s,opacity .18s}.button:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(255,107,53,.28)}.button:active{transform:scale(.98)}.button.secondary{background:var(--brand-soft);color:var(--brand-dark);box-shadow:none}.button.ghost{background:#f3f4f7;color:#525966;box-shadow:none}.button.danger{background:linear-gradient(135deg,#f45b5b,#da3c3c);box-shadow:0 7px 18px rgba(218,60,60,.19)}.button.success{background:linear-gradient(135deg,#20b981,#159768);box-shadow:0 7px 18px rgba(21,151,104,.18)}.button.small{min-height:34px;padding:6px 11px;border-radius:10px;font-size:12px}.button.full{width:100%;margin-top:12px}.button:disabled{opacity:.42;cursor:not-allowed;transform:none;box-shadow:none}
.badge{display:inline-flex;align-items:center;justify-content:center;background:#f2f0ff;color:#6952d8;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:750;white-space:nowrap}.badge.large{font-size:13px;padding:7px 12px}.badge.orange{background:var(--brand-soft);color:var(--brand)}.badge.green{background:#eaf9f3;color:#159268}.badge.gray{background:#f1f2f5;color:#747b87}

/* Home */
.home-shell{max-width:980px;margin:auto}.home-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.location-chip{display:flex;align-items:center;gap:8px;font-weight:800}.location-chip svg{width:20px;color:var(--brand)}.location-chip small{color:var(--muted);font-weight:500}.home-greeting{font-size:13px;color:var(--muted)}
.search-bar{height:48px;border-radius:16px;background:#fff;box-shadow:var(--shadow-soft);border:1px solid var(--line);display:flex;align-items:center;gap:10px;padding:0 15px;margin-bottom:16px;color:#a1a6af}.search-bar svg{width:20px}.search-bar span{flex:1}.search-bar b{font-size:12px;color:var(--brand);background:var(--brand-soft);padding:5px 9px;border-radius:9px}
.hero{position:relative;overflow:hidden;border-radius:26px;padding:30px 30px 28px;background:linear-gradient(125deg,#ff6b35 0%,#ff8244 54%,#ffaf4a 100%);color:#fff;box-shadow:0 18px 40px rgba(241,97,44,.24);margin-bottom:16px;min-height:210px}.hero:before,.hero:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.13)}.hero:before{width:170px;height:170px;right:-42px;top:-70px}.hero:after{width:125px;height:125px;right:80px;bottom:-78px}.hero-content{position:relative;z-index:2;max-width:600px}.hero-tag{display:inline-flex;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.2);font-size:12px;font-weight:700;backdrop-filter:blur(5px)}.hero h1{font-size:34px;line-height:1.18;margin:13px 0 9px;letter-spacing:-.8px}.hero p{margin:0 0 19px;color:rgba(255,255,255,.88)}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.hero .button{background:#fff;color:var(--brand-dark);box-shadow:none}.hero .button.secondary{background:rgba(255,255,255,.17);color:#fff;border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(6px)}.hero-float-card{position:absolute;right:28px;bottom:26px;width:155px;padding:14px;border-radius:20px;background:rgba(255,255,255,.94);color:var(--text);box-shadow:0 14px 34px rgba(105,55,27,.17);transform:rotate(-2deg);z-index:2}.hero-float-card small{color:var(--muted)}.hero-float-card strong{display:block;font-size:24px;color:var(--brand);margin:2px 0}.hero-float-card span{font-size:11px;color:#7d8490}
.notice{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 13px;margin:15px 0;box-shadow:var(--shadow-soft);font-size:13px}.notice-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:10px;background:#fff1e9;color:var(--brand);font-size:15px;flex:none}.notice strong{color:#4d5360}.notice span{color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.quick-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:11px}.quick-card{border-radius:17px;background:#fff;padding:14px 6px 11px;text-align:center;border:1px solid var(--line);box-shadow:var(--shadow-soft);font-size:12px;font-weight:680;min-width:0;transition:.18s}.quick-card:hover{transform:translateY(-2px)}.quick-icon{width:43px;height:43px;margin:0 auto 7px;border-radius:15px;display:grid;place-items:center;font-size:22px;background:linear-gradient(145deg,#fff2eb,#fff8f4)}.quick-card:nth-child(4n+2) .quick-icon{background:linear-gradient(145deg,#eaf5ff,#f5faff)}.quick-card:nth-child(4n+3) .quick-icon{background:linear-gradient(145deg,#eafbf4,#f5fffb)}.quick-card:nth-child(4n) .quick-icon{background:linear-gradient(145deg,#f3efff,#faf8ff)}
.service-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.service-card{position:relative;overflow:hidden;min-height:112px;border-radius:19px;padding:17px;color:#fff;box-shadow:var(--shadow-soft)}.service-card:nth-child(1){background:linear-gradient(135deg,#3d82fa,#5aa6ff)}.service-card:nth-child(2){background:linear-gradient(135deg,#21b883,#42c99b)}.service-card:nth-child(3){background:linear-gradient(135deg,#7758e8,#9a7bed)}.service-card:after{content:"";position:absolute;width:80px;height:80px;border-radius:50%;right:-20px;bottom:-28px;background:rgba(255,255,255,.15)}.service-card b{display:block;font-size:17px}.service-card span{display:block;font-size:12px;color:rgba(255,255,255,.82);margin-top:5px}.service-emoji{font-size:27px;position:absolute;right:17px;top:14px}
.banner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:18px 0}.banner-card{min-height:120px;border-radius:20px;background:linear-gradient(135deg,#fff1e5,#fff9f0);border:1px solid #ffe2c8;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#ad541f;font-size:20px;box-shadow:var(--shadow-soft)}.banner-card img{width:100%;height:100%;object-fit:cover}

/* Products */
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.product-card{overflow:hidden;min-width:0;transition:transform .18s,box-shadow .18s}.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.product-card>a{display:block;height:100%}.product-image,.detail-image{position:relative;overflow:hidden;background:linear-gradient(145deg,#f5f6fa,#eceff5);display:flex;align-items:center;justify-content:center;color:#9298a3;font-weight:800}.product-image{aspect-ratio:1/1}.product-image:after{content:"";position:absolute;inset:auto 0 0;height:42%;background:linear-gradient(transparent,rgba(0,0,0,.025));pointer-events:none}.product-image img,.detail-image img{width:100%;height:100%;object-fit:cover}.product-placeholder{width:66%;height:66%;border-radius:24px;background:#fff;display:grid;place-items:center;font-size:15px;box-shadow:var(--shadow-soft)}.product-body{padding:12px 13px 14px}.product-title{font-size:15px;line-height:1.35;margin:0 0 4px;font-weight:760;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-desc{font-size:12px;color:var(--muted);margin:0;height:19px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.product-meta{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:10px}.price{font-size:20px;font-weight:900;color:#f04e2a;letter-spacing:-.5px}.price small{font-size:12px;font-weight:700;margin-right:1px}.stock{font-size:10px;color:var(--muted);background:#f4f5f8;padding:3px 6px;border-radius:7px}.add-circle{width:27px;height:27px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:20px;line-height:1;box-shadow:0 5px 12px rgba(255,107,53,.25)}
.search-panel{position:sticky;top:82px;z-index:20;background:rgba(246,247,251,.9);padding:0 0 10px;backdrop-filter:blur(12px)}.search-form{display:flex;gap:9px;align-items:center;background:#fff;border:1px solid var(--line);padding:8px;border-radius:17px;box-shadow:var(--shadow-soft)}.search-form input,.search-form select{margin:0;border:0;background:#f7f8fb}.search-form input{flex:1}.category-scroll{display:flex;gap:9px;overflow:auto;padding:4px 1px 10px;scrollbar-width:none}.category-scroll::-webkit-scrollbar{display:none}.category-pill{white-space:nowrap;border-radius:999px;background:#fff;border:1px solid var(--line);padding:8px 14px;font-size:13px;color:#686e79}.category-pill.active{background:var(--text);border-color:var(--text);color:#fff;font-weight:700}
.detail-image{aspect-ratio:1/1;border-radius:20px}.product-detail-card h1{font-size:27px;margin:13px 0 4px}.product-detail-price{font-size:30px;color:var(--brand);font-weight:900;margin:10px 0}.selling-points{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.selling-points span{background:#f5f6f8;border-radius:9px;padding:5px 8px;font-size:11px;color:#69707b}

/* Forms */
label{display:block;font-weight:700;margin:14px 0;color:#3b4049;font-size:14px}label small{display:block;font-weight:400;color:var(--muted);margin-top:5px}input,select,textarea{width:100%;border:1px solid #e4e6eb;border-radius:13px;padding:12px 13px;background:#f9fafc;margin-top:7px;color:var(--text);transition:.18s}input::placeholder,textarea::placeholder{color:#b0b5bd}input:focus,select:focus,textarea:focus{outline:none;border-color:#ff9d78;background:#fff;box-shadow:0 0 0 4px rgba(255,107,53,.09)}input[type=checkbox]{width:auto;margin:0 7px 0 0;accent-color:var(--brand)}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.check-row{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.check-row label{display:flex;align-items:center;margin:0;padding:9px 12px;border-radius:11px;background:#f7f8fa;font-size:13px;font-weight:600}.page-grid{display:grid;gap:18px}.page-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.tabs{display:flex;gap:8px;background:#f2f3f6;padding:5px;border-radius:14px;margin:14px 0}.tabs a{flex:1;text-align:center;padding:9px;border-radius:10px;font-size:13px;font-weight:700}.tabs a.active{background:#fff;color:var(--brand);box-shadow:var(--shadow-soft)}
.form-hero{padding:19px;border-radius:19px;color:#fff;background:linear-gradient(135deg,#ff7644,#ffae48);margin-bottom:16px}.form-hero h1{margin:0 0 4px;font-size:24px}.form-hero p{margin:0;color:rgba(255,255,255,.84);font-size:13px}

/* Lists, cart, checkout, orders */
.list{display:grid;gap:0}.list-item,.cart-line{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:14px 0;border-bottom:1px solid var(--line)}.list-item:last-child,.cart-line:last-child{border-bottom:0}.list-item p,.cart-line p{margin:3px 0;color:var(--muted);font-size:13px}.inline-form{display:flex;align-items:center;gap:7px}.inline-form input{width:72px;margin:0}.cart-item-info{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.cart-thumb{width:62px;height:62px;border-radius:15px;background:#f2f3f6;overflow:hidden;display:grid;place-items:center;flex:none}.cart-thumb img{width:100%;height:100%;object-fit:cover}.cart-item-info strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cart-total-bar{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--line);padding:12px 14px;border-radius:16px;margin-top:18px;box-shadow:var(--shadow-soft)}.cart-total-bar .button{margin:0;min-width:120px}
.price-summary p{display:flex;align-items:center;justify-content:space-between;border-bottom:1px dashed var(--line);padding:10px 0;margin:0;color:#626874}.price-summary p span{color:var(--text)}.price-summary .discount span{color:#e34c37}.price-summary .total{font-size:18px;font-weight:850;border-bottom:0;color:var(--text);padding-top:14px}.price-summary .total span{color:var(--brand);font-size:23px}
.order-list{display:grid;gap:13px}.order-card{display:block;padding:16px;color:var(--text);transition:.18s}.order-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.order-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.order-no{font-size:12px;color:var(--muted)}.order-main{display:flex;align-items:center;gap:12px;margin:14px 0}.order-type-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;font-size:23px;background:var(--brand-soft)}.order-main h3{margin:0 0 3px;font-size:16px}.order-main p{margin:0;color:var(--muted);font-size:12px}.order-foot{display:flex;align-items:center;justify-content:space-between;padding-top:12px;border-top:1px solid var(--line)}.order-foot strong{font-size:18px}.status-strip{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.status-strip span{background:#f6f7f9;border-radius:9px;padding:6px 9px;color:#6d7480;font-size:12px}.detail-list{display:grid;grid-template-columns:105px 1fr;gap:10px 14px}.detail-list dt{font-weight:700;color:#676d77}.detail-list dd{margin:0;word-break:break-word}.timeline{border-left:2px solid #f0d6ca;margin-left:10px;padding-left:21px}.timeline>div{position:relative;margin:0 0 18px}.timeline>div:before{content:"";position:absolute;width:11px;height:11px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 5px var(--brand-soft);left:-27.5px;top:5px}.timeline p{margin:3px 0;color:var(--muted);font-size:12px}
.empty-state{text-align:center;padding:55px 20px;color:var(--muted)}.empty-state:before{content:"🛍️";display:block;font-size:48px;margin-bottom:10px}.empty-state h1{color:var(--text)}

/* Coupons */
.coupon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.coupon-card{position:relative;overflow:hidden;padding:18px}.coupon-card:before,.coupon-card:after{content:"";position:absolute;width:20px;height:20px;background:var(--bg);border-radius:50%;top:58%;transform:translateY(-50%)}.coupon-card:before{left:-11px}.coupon-card:after{right:-11px}.coupon-value{font-size:30px;color:var(--brand);font-weight:900;line-height:1}.coupon-value small{font-size:14px}.coupon-card h3{margin:8px 0 4px}.coupon-card p{color:var(--muted);font-size:12px}.coupon-dash{border-top:1px dashed #e7d7ce;margin:14px -18px 12px}

/* Runner */
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px}.stat{background:#fff;border:1px solid var(--line);border-radius:17px;padding:16px;box-shadow:var(--shadow-soft)}.stat span{display:block;color:var(--muted);font-size:12px}.stat strong{display:block;font-size:23px;margin-top:5px}.action-grid{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.task-card{padding:16px}.task-card p{font-size:13px;color:#636a75}.task-reward{padding:11px 12px;background:#fff8f4;border-radius:12px;color:#a94d25!important}.runner-header{background:linear-gradient(135deg,#292e39,#454d5d);color:#fff;border-radius:22px;padding:22px;margin-bottom:15px;box-shadow:0 16px 35px rgba(31,37,50,.18)}.runner-header .muted{color:rgba(255,255,255,.7)}

/* Tables */
.table-wrap{overflow:auto;border-radius:13px;border:1px solid var(--line)}table{border-collapse:collapse;width:100%;min-width:760px;background:#fff}th,td{text-align:left;border-bottom:1px solid var(--line);padding:11px 10px;vertical-align:top;font-size:13px}th{background:#f8f9fb;color:#69707b;position:sticky;top:0}tr:last-child td{border-bottom:0}

/* Admin */
.admin-body{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.admin-sidebar{background:#151923;color:#fff;padding:22px;display:flex;flex-direction:column;gap:7px;position:sticky;top:0;height:100vh}.admin-sidebar .brand{color:#fff;margin-bottom:14px}.admin-sidebar>a,.admin-sidebar .link-button{color:#c4c9d2;padding:9px 10px;border-radius:9px;text-align:left;background:none;border:0}.admin-sidebar>a:hover{background:#252b38;color:#fff}.admin-main{padding:24px;min-width:0}.admin-head{display:flex;justify-content:space-between;align-items:center}.admin-head h1{margin:0 0 20px}.admin-main .flash{margin:0 0 16px;max-width:none}.login-page{display:flex;min-height:100vh;align-items:center;justify-content:center;background:linear-gradient(135deg,#f0f2f7,#fff)}.login-box{background:#fff;padding:28px;border-radius:21px;width:min(92vw,460px);box-shadow:var(--shadow)}.link-button{background:none;border:0;padding:0;color:#fff}details{margin-top:12px}summary{cursor:pointer;font-weight:750}hr{border:0;border-top:1px solid var(--line);margin:20px 0}

@media(max-width:960px){
  .desktop-nav{display:none}.container{max-width:760px;padding:16px 13px calc(92px + var(--safe-bottom))}.topbar{height:60px}.topbar-inner{padding:0 14px}.brand-copy small{display:none}.brand-mark{width:35px;height:35px;border-radius:12px}.icon-button,.avatar-button{width:36px;height:36px;border-radius:12px}
  .bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;height:calc(66px + var(--safe-bottom));padding:6px 8px var(--safe-bottom);background:rgba(255,255,255,.96);border-top:1px solid rgba(231,233,238,.9);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);z-index:60;justify-content:space-around;align-items:flex-start;box-shadow:0 -8px 25px rgba(30,35,45,.045)}
  .bottom-nav>a{position:relative;width:20%;height:53px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#8b919c;font-size:10px;font-weight:650}.bottom-nav>a>svg{width:22px;height:22px}.bottom-nav>a.active{color:var(--brand)}.bottom-nav .runner-nav{transform:translateY(-15px)}.runner-nav-icon{width:50px;height:50px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,var(--brand),#ff904d);color:#fff;box-shadow:0 9px 20px rgba(255,107,53,.32);border:4px solid #fff}.runner-nav-icon svg{width:25px}.bottom-nav .runner-nav>span:last-child{margin-top:1px;color:#777d88}
  .hero{padding:25px 21px;min-height:198px}.hero h1{font-size:29px;max-width:480px}.hero-float-card{right:18px;bottom:18px}.quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.page-grid.two{grid-template-columns:1fr}.task-grid,.coupon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-body{display:block}.admin-sidebar{height:auto;position:static;display:flex;flex-direction:row;overflow:auto;padding:12px}.admin-sidebar .brand{display:none}.admin-sidebar>a,.admin-sidebar .link-button{white-space:nowrap}.admin-main{padding:14px}.search-panel{top:70px}
}
@media(max-width:620px){
  body{font-size:14px}.container{padding-left:12px;padding-right:12px}.top-actions .icon-button{display:none}.brand-copy b{font-size:16px}
  .home-top{margin-bottom:11px}.hero{min-height:184px;border-radius:22px;padding:22px 18px}.hero h1{font-size:25px;max-width:75%;letter-spacing:-.5px}.hero p{font-size:13px;max-width:72%}.hero-tag{font-size:10px}.hero-float-card{width:117px;padding:11px;right:13px;bottom:15px;border-radius:16px}.hero-float-card strong{font-size:20px}.hero-float-card span{display:none}.hero-actions .button{min-height:38px;padding:8px 13px;font-size:12px}
  .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.quick-card{border:0;box-shadow:none;background:transparent;padding:7px 2px}.quick-icon{width:46px;height:46px;border-radius:16px}.service-strip{grid-template-columns:1fr 1fr}.service-card:nth-child(3){grid-column:1/-1;min-height:92px}.service-card{min-height:102px;padding:14px}.service-card b{font-size:15px}.service-emoji{font-size:24px}
  .section{margin:19px 0}.section-head h2{font-size:19px}.banner-grid{grid-template-columns:1fr}.banner-card{min-height:104px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{border-radius:16px}.product-body{padding:10px 10px 12px}.product-title{font-size:14px}.price{font-size:18px}.stock{display:none}.add-circle{width:25px;height:25px}.search-form{flex-wrap:wrap}.search-form input{min-width:0;width:100%}.search-form select{flex:1}.search-form .button{min-height:40px}.search-panel{top:61px}
  .card,.form-card{padding:16px;border-radius:17px}.form-row{grid-template-columns:1fr}.task-grid,.coupon-grid{grid-template-columns:1fr}.stats-grid{gap:9px}.stat{padding:13px}.stat strong{font-size:19px}.detail-list{grid-template-columns:85px 1fr}.cart-line{align-items:flex-start;flex-wrap:wrap}.cart-line>.inline-form{margin-left:74px}.cart-total-bar{position:sticky;bottom:76px;z-index:10}.page-title{font-size:22px}.order-card{padding:14px}.order-main{margin:11px 0}.form-card.narrow,.login-box{margin:18px auto}.admin-main{padding:10px}
}
@media(max-width:380px){.hero h1{font-size:22px}.hero-float-card{display:none}.hero h1,.hero p{max-width:100%}.quick-icon{width:42px;height:42px}.service-card{padding:12px}.bottom-nav>a{font-size:9px}}
