*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f5f5f3;color:#15110d}
button,input,textarea{font-family:inherit}
button{border:0;cursor:pointer}
.hide{display:none!important}
#app{min-height:100vh;padding-bottom:82px}

.top{
    position:sticky;top:0;z-index:50;
    background:#fff;display:flex;align-items:center;justify-content:space-between;
    padding:10px clamp(12px,4vw,50px);box-shadow:0 4px 20px rgba(0,0,0,.08)
}
.brand{display:flex;align-items:center;gap:12px}
.brand img{height:54px;max-width:160px;object-fit:contain}
.brand b{display:block;font-size:19px}
.brand span{display:block;font-size:13px;color:#6d625b}
.cartBtn{background:#00a082;color:#fff;border-radius:999px;padding:12px 18px;font-size:17px;font-weight:900}
.cartBtn span{background:#fff;color:#00a082;border-radius:999px;padding:2px 8px;margin-left:5px}

.storeHead{
    margin:16px clamp(12px,4vw,50px) 10px;
    background:#fff;border-radius:22px;padding:22px;
    display:flex;align-items:center;justify-content:space-between;gap:18px;
    box-shadow:0 8px 26px rgba(0,0,0,.08)
}
.status{display:inline-block;background:#e8fff6;color:#00896e;border-radius:999px;padding:7px 12px;font-weight:900;font-size:13px}
.storeHead h1{margin:12px 0 6px;font-size:clamp(28px,5vw,46px);line-height:1}
.storeHead p{margin:0;color:#6d625b;font-weight:700}
.storeHead button{background:#f4f1ec;color:#2b211b;border-radius:999px;padding:13px 18px;font-weight:900}

.categoryDock{
    position:sticky;top:74px;z-index:45;background:#f5f5f3;
    padding:10px clamp(12px,4vw,50px);box-shadow:0 8px 20px rgba(245,245,243,.92)
}
.categoryDock input{
    width:100%;border:1px solid #e1ded8;background:#fff;border-radius:16px;
    padding:14px 16px;font-size:16px;font-weight:800;margin-bottom:10px
}
#cats{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding-bottom:4px}
.cat{
    flex:0 0 auto;min-width:132px;max-width:175px;
    background:#fff;border:1px solid #e6e2dc;border-radius:16px;
    padding:9px;display:flex;align-items:center;gap:8px;text-align:left;
    font-weight:900;box-shadow:0 5px 16px rgba(0,0,0,.06)
}
.cat.active{background:#00a082;color:#fff;border-color:#00a082}
.cat img{width:42px;height:42px;border-radius:12px;object-fit:cover;background:#fff3df}
.cat small{display:block;font-size:11px;opacity:.75}

.menu{padding:10px clamp(12px,4vw,50px) 30px}
.sectionHead{display:flex;align-items:end;justify-content:space-between;margin:8px 0 14px}
.sectionHead h2{font-size:30px;margin:0}
.sectionHead small{color:#6d625b;font-weight:800}

#products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.product{
    background:#fff;border-radius:18px;border:1px solid #e9e5df;
    box-shadow:0 7px 20px rgba(0,0,0,.07);
    display:grid;grid-template-columns:minmax(0,1fr) 118px;
    min-height:130px;overflow:hidden;animation:rise .25s ease both
}
.product:active{transform:scale(.985)}
.product img{grid-column:2;width:118px;height:130px;object-fit:cover;background:#fff3df}
.pb{grid-column:1;grid-row:1;padding:13px;display:flex;flex-direction:column;min-width:0}
.pb h3{font-size:18px;line-height:1.08;margin:0 0 7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pb p{font-size:13px;color:#6f6259;line-height:1.3;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.priceRow{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px}
.price{font-size:17px;font-weight:1000;color:#16110d;white-space:nowrap}
.add{background:#00a082;color:#fff;border-radius:999px;width:38px;height:38px;font-size:0}
.add:before{content:'+';font-size:24px;font-weight:1000;line-height:1}
@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

.overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:80;display:grid;place-items:center;padding:12px}
.modal{background:#fff;border-radius:22px;width:min(760px,96vw);max-height:92vh;overflow:auto;-webkit-overflow-scrolling:touch}
.modalTop{position:relative}
.modalTop img{width:100%;max-height:330px;object-fit:cover;border-radius:22px 22px 0 0}
.close{position:absolute;top:10px;right:10px;width:44px;height:44px;border-radius:50%;font-size:28px;background:#fff}
.modalBody{padding:18px}
.mh{display:flex;justify-content:space-between;gap:14px}
.mh h2{margin:0;font-size:28px;line-height:1}
.mprice{font-size:26px;font-weight:1000;color:#00a082;white-space:nowrap}
.desc{background:#faf7f2;border:1px solid #eee4d8;border-radius:14px;padding:13px;line-height:1.45;color:#3c3028}
.grp{border-top:1px solid #eee;margin-top:14px;padding-top:12px}
.grp h3{margin:0 0 8px}
.opt{background:#f1f0ed;border-radius:999px;padding:11px 15px;margin:4px;font-weight:900}
.opt.sel{background:#00a082;color:#fff}
.qty{display:flex;align-items:center;gap:12px;margin:18px 0;font-size:22px;font-weight:1000}
.qty button{width:40px;height:40px;border-radius:12px;background:#efede8;font-size:22px}
.modalActions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.modalActions button{border-radius:14px;padding:15px;font-weight:1000;font-size:16px}
.fast{background:#efede8;color:#15110d}.cartAdd{background:#00a082;color:#fff}

.drawer{
    position:fixed;right:0;top:0;bottom:0;width:470px;max-width:96vw;background:#fff;z-index:100;
    box-shadow:-20px 0 70px rgba(0,0,0,.28);padding:18px;display:flex;flex-direction:column
}
.drawerTop{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee}
.drawerTop h2{margin:12px 0}.drawerTop button{background:#fff;font-size:34px}
#cartItems{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}
.cartItem{display:flex;gap:10px;border-bottom:1px solid #eee;padding:11px 0}
.cartItem img{width:62px;height:62px;border-radius:13px;object-fit:cover}
.cartItem small{display:block;color:#6d625b}
.totalLine{display:flex;justify-content:space-between;font-size:23px;font-weight:1000;padding:14px 0}
.typeSwitch{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.typeSwitch label{background:#effbf7;border:1px solid #c7eee4;border-radius:13px;padding:11px;font-weight:900}
form label{display:block;margin:10px 0 5px;font-weight:900}
form input,form textarea{width:100%;border:1px solid #dedbd5;border-radius:13px;padding:12px;font-size:15px}
form textarea{min-height:65px;resize:vertical}
.payNote{background:#f5f5f3;border-radius:13px;padding:11px;margin:10px 0;font-weight:900}
#sendBtn{width:100%;background:#00a082;color:#fff;border-radius:14px;padding:16px;font-size:17px;font-weight:1000}

.mobileCart{
    position:fixed;left:12px;right:12px;bottom:14px;z-index:70;
    background:#00a082;color:#fff;border-radius:18px;padding:16px 18px;
    display:flex;align-items:center;justify-content:space-between;
    box-shadow:0 12px 35px rgba(0,160,130,.35);font-size:17px;font-weight:1000
}
.success{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:150;display:grid;place-items:center}
.success>div{background:#fff;border-radius:22px;padding:28px;text-align:center;width:min(420px,92vw)}
.success b{font-size:50px;color:#00a082}
.success button{background:#00a082;color:#fff;border-radius:14px;padding:13px 22px;font-weight:900}
.toast{position:fixed;left:50%;bottom:84px;transform:translateX(-50%);background:#111;color:#fff;border-radius:999px;padding:12px 18px;font-weight:900;z-index:200}
.s21footer{background:#17110d;color:#fff;padding:26px 14px;text-align:center;display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap}
.s21footer b{background:#fff;color:#17110d;border-radius:999px;padding:7px 12px}
.s21footer small{opacity:.75}

@media(max-width:760px){
    .top{padding:9px 12px}.brand img{height:46px;max-width:130px}.brand b{font-size:16px}.brand span{display:none}
    .cartBtn{display:none}
    .storeHead{margin:10px 10px 6px;padding:16px;border-radius:18px}
    .storeHead h1{font-size:28px}.storeHead button{display:none}
    .categoryDock{top:64px;padding:8px 10px}
    .menu{padding:8px 10px 35px}
    #products{grid-template-columns:1fr;gap:10px}
    .product{grid-template-columns:minmax(0,1fr) 106px;min-height:116px}
    .product img{width:106px;height:116px}
    .pb{padding:11px}.pb h3{font-size:16px}.pb p{font-size:12px}
    .sectionHead h2{font-size:24px}
    .mh{display:block}.mprice{margin-top:9px}
}
@media(min-width:761px){
    .mobileCart{display:none}
}

form select{
    width:100%;
    border:1px solid #dedbd5;
    border-radius:13px;
    padding:12px;
    font-size:15px;
    background:#fff;
    font-weight:900;
}
.installPrompt{
    position:fixed;
    inset:auto 12px 88px 12px;
    z-index:260;
    display:grid;
    place-items:center;
}
.installCard{
    width:min(520px,100%);
    background:#fff;
    border:1px solid #e7e1d8;
    border-radius:22px;
    box-shadow:0 20px 60px rgba(0,0,0,.25);
    padding:15px;
    display:grid;
    grid-template-columns:64px 1fr;
    gap:12px;
    align-items:center;
}
.installCard img{
    width:64px;
    height:64px;
    object-fit:contain;
}
.installCard h3{
    margin:0 0 4px;
    font-size:18px;
}
.installCard p{
    margin:0;
    color:#6d625b;
    font-size:13px;
    line-height:1.35;
}
.installActions{
    grid-column:1/3;
    display:flex;
    gap:10px;
}
.installActions button{
    flex:1;
    background:#00a082;
    color:#fff;
    border-radius:14px;
    padding:13px;
    font-weight:1000;
}
.installActions .ghost{
    background:#efede8;
    color:#211711;
}
