:root{--bg:#f3f4f2;--card:#fff;--tx:#1d2420;--mut:#6a746e;--line:#e3e7e2;--pri:#0f7d3e;--pri2:#0b6632;--prx:#fff;--bad:#d92d20;--ok:#067647;--acc:#f59e0b;color-scheme:light}
*{box-sizing:border-box}
body{margin:0;font:16px/1.5 system-ui,"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);color:var(--tx);padding-bottom:70px}
a{color:var(--pri)}button,input,select,textarea{font:inherit;color:inherit}
.wrap{max-width:1180px;margin:0 auto;padding:0 14px}
header.top{background:var(--pri);color:#fff;position:sticky;top:0;z-index:6}
header.top a{text-decoration:none;color:#fff}.hd{display:flex;align-items:center;gap:14px;padding-top:10px;padding-bottom:10px;flex-wrap:wrap}
.brand{font-weight:800;font-size:22px;letter-spacing:-.3px}
.hs{flex:1;min-width:160px}.hs input{width:100%;padding:11px 18px;border:0;border-radius:24px;background:#fff;color:var(--tx);min-height:44px}
.loc{display:none;align-items:center;gap:8px;background:#fff;color:var(--tx)!important;border-radius:24px;padding:6px 14px;max-width:300px;line-height:1.25}.loc b{display:block;font-size:13px;color:var(--pri)}.loc small{display:block;font-size:12px;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}
.cartlink{font-weight:600;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center}
.sub{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:5}.sub .wrap{display:flex;align-items:center;gap:18px;min-height:46px}
.sub .wrap>a{color:var(--tx);text-decoration:none;font-size:14px}.mbtn{border:0;background:none;font-weight:600;cursor:pointer;min-height:44px;padding:0 4px;font-size:15px}
.catbar{display:flex;gap:8px;overflow-x:auto;padding:8px 14px;background:#fff;border-bottom:1px solid var(--line);scrollbar-width:thin}
.catbar a{white-space:nowrap;text-decoration:none;color:var(--tx);border:1px solid var(--line);border-radius:20px;padding:6px 12px;font-size:14px;background:var(--bg)}.catbar a.promo{color:var(--bad);border-color:var(--bad);font-weight:600}
main{max-width:1180px;margin:0 auto;padding:14px 14px 40px}
h1{font-size:26px;line-height:1.25;margin:6px 0 8px}h2{font-size:20px;margin:22px 0 10px}.sr{position:absolute;left:-9999px}.tg{color:var(--mut);margin:12px 0}
.mut{color:var(--mut);font-size:14px}.info{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:18px 0;font-size:14px;color:var(--mut)}
.herow{display:grid;gap:12px}.hero{width:100%;height:auto;border-radius:12px;display:block}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tile{display:flex;flex-direction:column;justify-content:center;gap:2px;border-radius:12px;padding:14px;text-decoration:none;color:#fff;min-height:84px}
.tile b{font-size:16px}.tile span{font-size:13px;opacity:.95}.t1{background:linear-gradient(135deg,#d92d20,#f97316)}.t2{background:linear-gradient(135deg,#0f7d3e,#0e7f3f)}
.band{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(90deg,#0f7d3e,#f59e0b);border-radius:12px;padding:12px 16px;margin:22px 0 10px}.band a{color:#fff;text-decoration:none;font-weight:700;font-size:20px}.band a.more{font-size:14px;font-weight:600}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.pc{background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden;color:var(--tx);display:flex;flex-direction:column}.pc .pl{text-decoration:none;color:var(--tx);flex:1;display:block}
.ph{aspect-ratio:1/1;background:#fff;display:flex;align-items:center;justify-content:center;font-size:34px;color:var(--mut);width:100%;position:relative;border-bottom:1px solid var(--line)}.ph img{width:100%;height:100%;object-fit:contain;display:block}
.pc .b{padding:8px 10px 4px}.pc .n{font-size:14px;line-height:1.3;min-height:2.6em}.pc .u{font-size:13px;color:var(--mut);margin:2px 0}.price{font-weight:700;font-size:16px;color:var(--bad)}
.badge{position:absolute;top:8px;left:8px;background:var(--bad);color:#fff;border-radius:6px;padding:2px 7px;font-size:13px;font-weight:700}.badge.sm{position:static;margin-left:6px;font-size:12px}
.old{color:var(--mut);font-weight:400;font-size:13px}.pr{white-space:nowrap}
.pc .qa,.pc .qa-link{margin:0 10px 10px;display:flex;justify-content:center;align-items:center}
.pc .qa .btn,.pc .qa-link,.pc .qa-pick{width:100%;text-align:center;padding:8px 6px;min-height:42px;font-size:14px;font-weight:600;background:#fff;color:var(--pri);border:1.5px solid var(--pri);border-radius:10px}
.pc .qa .btn:hover,.pc .qa-link:hover,.pc .qa-pick:hover{background:var(--pri);color:#fff}.pc .qa .qty{justify-content:space-between;width:100%}
.chips{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 10px}.chip{border:1px solid var(--line);background:var(--card);border-radius:20px;padding:5px 12px;text-decoration:none;font-size:14px;color:var(--tx)}
.btn{display:inline-block;padding:11px 18px;border:1px solid var(--line);background:var(--card);border-radius:10px;cursor:pointer;min-height:44px;text-decoration:none;color:var(--tx)}
.btn.pri{background:var(--pri);color:var(--prx);border-color:var(--pri);font-weight:600}.btn.bad{color:var(--bad);border-color:var(--bad)}.btn:disabled{opacity:.5;cursor:not-allowed}
input[type=text],input[type=search],input[type=tel],textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card)}
label.f{display:block;margin:12px 0 4px;font-size:14px;color:var(--mut)}
.detail{display:grid;gap:14px}.detail.noimg{grid-template-columns:1fr}
.vopt,.opt{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:10px;margin:6px 0;cursor:pointer;background:var(--card)}.vopt input,.opt input{width:20px;height:20px;accent-color:var(--pri)}
.row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.qty{display:inline-flex;align-items:center;gap:8px}.qty button{width:42px;height:42px;border-radius:10px;border:1px solid var(--line);background:var(--card);font-size:20px;cursor:pointer}
.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:10px}
.err{color:var(--bad)}.ok{color:var(--ok)}.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.toast{position:fixed;left:50%;bottom:84px;transform:translateX(-50%);background:var(--tx);color:var(--bg);padding:10px 16px;border-radius:10px;z-index:30;max-width:90vw}.toast.bad{background:var(--bad);color:#fff}
.crumb{font-size:14px;color:var(--mut)}
.cbar{position:fixed;left:0;right:0;bottom:0;z-index:20;background:var(--card);border-top:1px solid var(--line);padding:10px 14px;display:flex;justify-content:space-between;align-items:center;gap:10px;box-shadow:0 -2px 10px rgba(0,0,0,.08)}
#sort{padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--card);min-height:40px}
.mt8{margin-top:8px}.mt10{margin-top:10px}.mt12{margin-top:12px}.grow{flex:1}.round{border-radius:12px;overflow:hidden}.plain{text-decoration:none;color:inherit}.full{width:100%}.start{justify-content:flex-start}h2.first{margin-top:0}
.fl{margin-bottom:8px}.fl a{color:var(--mut)}ol,ul{padding-left:22px}.row h2{margin:22px 0 10px}
@media(min-width:700px){.grid{grid-template-columns:repeat(4,1fr)}.detail:not(.noimg){grid-template-columns:1fr 1fr}.catbar{display:none}.mmenu{grid-template-columns:repeat(3,1fr)}}
@media(min-width:900px){.loc{display:flex}.herow{grid-template-columns:2fr 1fr}.tiles{grid-template-columns:1fr;grid-template-rows:1fr 1fr}.grid{grid-template-columns:repeat(5,1fr)}}
@media(max-width:699px){.brand{font-size:19px}.hs{order:3;flex:1 1 100%}.hd{gap:8px}.hd .cartlink{margin-left:auto}.sub .wrap>a{display:none}.sub .wrap{gap:0}}

/* ---- bố cục kiểu siêu thị ---- */
.hs{position:relative}.sugg{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;color:var(--tx);border-radius:12px;padding:12px 14px;margin-top:6px;box-shadow:0 8px 24px rgba(0,0,0,.18);z-index:8}
.hs:focus-within .sugg{display:block}.sugg b{display:block;font-size:12px;color:var(--mut);margin:6px 0}.chs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:6px}
.kw{border:1px solid var(--pri);color:var(--pri);border-radius:18px;padding:5px 12px;font-size:14px;text-decoration:none;background:#fff;min-height:36px;display:inline-flex;align-items:center}.kw:hover{background:var(--pri);color:#fff}
.cartw{position:relative}.mini{display:none;position:absolute;right:0;top:100%;width:320px;max-width:92vw;background:#fff;color:var(--tx);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.2);z-index:9;padding:6px 0}
.cartw:hover .mini,.cartw:focus-within .mini{display:block}.mini .mi{padding:10px 14px;border-bottom:1px solid var(--line);font-size:14px}.mini .mn{font-weight:600}.mini .mf{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 14px;font-size:14px}.mini .mf .btn{min-height:40px;padding:8px 16px}.mini-e{padding:12px 14px;margin:0}.red{color:var(--bad)}
.mega{position:absolute;left:0;right:0;top:100%;max-width:1180px;margin:0 auto;background:#fff;box-shadow:0 12px 28px rgba(0,0,0,.18);display:grid;grid-template-columns:260px 1fr;min-height:340px;z-index:7}.mega[hidden]{display:none}
.ml{list-style:none;margin:0;padding:6px 0;background:#fff;border-right:1px solid var(--line)}.mc{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;text-decoration:none;color:var(--tx);font-size:15px;font-weight:600}
.mc.on,.mc:hover{background:var(--pri);color:#fff}.mc.hot{background:var(--bad);color:#fff}.mc i{font-style:normal;font-size:20px}
.mr{padding:18px 24px;display:block}.mp{display:flex;justify-content:space-between;gap:20px}.mp[hidden]{display:none}.mpl{display:flex;flex-direction:column;gap:14px}.mpl a{color:var(--tx);text-decoration:none;font-weight:600}.mpl a:hover{color:var(--pri)}
.mpi{width:230px;height:230px;border-radius:50%;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:110px;flex:none}
.catpage{display:grid;gap:14px}.side{display:none}.sc{border-bottom:1px solid var(--line);padding:6px 0}.sh{display:block;font-weight:600;color:var(--tx);text-decoration:none;padding:8px 6px}.sh.on{color:var(--pri)}.si{display:block;background:var(--bg);margin:4px 0;padding:9px 12px;border-radius:6px;color:var(--tx);text-decoration:none;font-size:14px}.si:hover{color:var(--pri)}
.tabs{display:flex;gap:8px;margin:10px 0;flex-wrap:wrap}.tabs button{border:0;background:var(--bg);padding:10px 16px;cursor:pointer;min-height:44px;font-size:15px;border-bottom:3px solid transparent}.tabs button.on{background:#fff;border-bottom-color:var(--pri);color:var(--pri);font-weight:600}
.pd{display:grid;gap:16px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px}.pimg{border:0;border-radius:12px;aspect-ratio:1/1;max-height:480px}.pinfo h1{font-size:24px;margin:0}.sku{color:var(--mut);font-size:14px;margin-bottom:8px}
.pbox{background:var(--bg);padding:12px 14px;border-radius:8px;margin:8px 0}.prow{display:flex;gap:16px;padding:4px 0;align-items:baseline}.prow>span{width:120px;color:var(--mut);font-size:14px;flex:none}.pp{color:var(--bad);font-size:24px}
.prow2{display:flex;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}.prow2>span:first-child{width:120px;color:var(--mut);font-size:14px;flex:none}
.vchips{display:flex;gap:8px;flex-wrap:wrap}.vchip{position:relative;cursor:pointer}.vchip input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.vchip span{display:inline-block;padding:10px 16px;border:1px solid var(--line);background:#fff;border-radius:4px;min-height:44px}.vchip input:checked+span{background:var(--pri);color:#fff;border-color:var(--pri)}.vchip input:focus-visible+span{outline:3px solid var(--acc)}
.btn.big{width:100%;max-width:340px;margin-top:16px;min-height:50px;font-size:16px;letter-spacing:.3px}
.info2{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden}.info2 th,.info2 td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--line);font-size:15px}.info2 th{width:160px;color:var(--mut);font-weight:400}
.cart2{display:grid;gap:14px}.cl{background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px 14px}.crow{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.cp{text-align:right;min-width:90px;display:flex;flex-direction:column}
.crow .x{border:0;background:none;color:var(--bad);font-size:18px;cursor:pointer;min-width:44px;min-height:44px}.lnk{border:0;background:none;text-decoration:underline;cursor:pointer;padding:12px 0;min-height:44px}
.trust{background:#fff;border-top:3px solid var(--pri);margin-top:20px}.trust .wrap{display:grid;gap:16px;padding-top:24px;padding-bottom:24px}.trust div div,.trust .wrap>div{text-align:center}.trust span{display:block;font-size:34px}.trust b{display:block}.trust small{color:var(--mut)}
footer{background:#2b2f2c;color:#cfd6d1;padding:28px 0;font-size:14px}.fcols{display:grid;gap:22px}footer h3{color:#9aa59e;font-size:14px;margin:0 0 10px}footer a{display:block;color:#fff;text-decoration:none;padding:5px 0}footer div div{padding:2px 0}
@media(min-width:700px){.catbar{display:none}.pd{grid-template-columns:minmax(0,5fr) minmax(0,6fr)}.trust .wrap{grid-template-columns:repeat(3,1fr)}.fcols{grid-template-columns:2fr 1fr 1fr}.cart2{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start}}
@media(min-width:900px){.catpage{grid-template-columns:240px minmax(0,1fr)}.side{display:block;background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px 12px;align-self:start}.catpage .grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:699px){.mega{grid-template-columns:1fr;min-height:0}.mr{display:none}.mini{display:none!important}.prow>span,.prow2>span:first-child{width:90px}}
.pd.noimg{grid-template-columns:1fr}
[hidden]{display:none!important}
.notice{background:#fff7e0;color:#6b4e00;font-size:.92rem;padding:8px 0;text-align:center;border-bottom:1px solid #f0dca0}.notice.closed{background:#fdecea;color:#912018;border-color:#f4c7c3;font-weight:600}
.badge.oos{background:#555}.pc.oosc .ph img{opacity:.45}.crow.oosr{opacity:.75}

/* banner tự lướt */
.car{position:relative;margin:12px 0}.slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:12px}.slides::-webkit-scrollbar{display:none}
.slide{flex:0 0 100%;scroll-snap-align:start;aspect-ratio:1600/592;min-height:130px;display:block;position:relative}.slide img{width:100%;height:100%;object-fit:cover;display:block}
.slide.txt{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:0 6%;color:#fff;text-decoration:none}.slide.txt b{font-size:clamp(18px,4vw,34px);line-height:1.2}.slide.txt span{font-size:clamp(13px,2.2vw,18px);opacity:.95}
.s1{background:linear-gradient(120deg,#d92d20,#f97316)}.s2{background:linear-gradient(120deg,#0f7d3e,#0e7f3f)}.s3{background:linear-gradient(120deg,#1d4ed8,#0ea5e9)}
.dots{position:absolute;left:0;right:0;bottom:8px;display:flex;gap:6px;justify-content:center}.dots button{width:9px;height:9px;padding:0;border-radius:50%;border:0;background:rgba(255,255,255,.6);cursor:pointer;min-height:0;box-shadow:0 0 0 1px rgba(0,0,0,.15)}.dots button.on{background:#fff;width:20px;border-radius:5px}
/* dòng thông tin nhỏ */
.infobar{background:#f0f7f2;border-bottom:1px solid var(--line);font-size:12px;color:var(--mut)}.infobar .wrap{display:flex;flex-wrap:wrap;gap:2px 6px;padding-top:4px;padding-bottom:4px}.infobar i{font-style:normal;opacity:.5}
/* dải giá sốc */
.flash{background:linear-gradient(180deg,#fff4ee,#fff);border:1px solid #ffd9c7;border-radius:12px;padding:10px 10px 6px;margin:12px 0}.fh{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-bottom:8px}.fh h2{margin:0;font-size:18px;color:#c2410c}.fl{background:#d92d20;color:#fff;font-size:12px;font-weight:700;padding:2px 10px;border-radius:99px}.fh .more{margin-left:auto;font-size:14px}
.fs{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px}.fs .pc{flex:0 0 128px;scroll-snap-align:start}
/* thẻ sản phẩm nhỏ gọn + biểu tượng mẫu */
.grid{grid-template-columns:repeat(auto-fill,minmax(108px,1fr))!important;gap:8px}
.pc .b{padding:5px 7px 2px}.pc .n{font-size:12.5px;min-height:2.5em;line-height:1.25}.pc .u{font-size:11.5px;margin:1px 0}.price{font-size:14px}.price .old{font-size:11px}
.pc .qa,.pc .qa-link,.pc .qa-pick{margin:0 7px 7px}.pc .qa .btn,.pc .qa-link,.pc .qa-pick{padding:4px 4px;min-height:32px;font-size:12.5px}.pc .qa .qty button{min-width:30px;min-height:30px}
.ph{font-size:30px}.ph .ico{font-size:clamp(34px,9vw,46px);line-height:1;filter:drop-shadow(0 2px 2px rgba(0,0,0,.12))}.ph .ico.big{font-size:96px}.badge{font-size:11px;padding:1px 6px}
.ph.t0{background:#eaf6ee}.ph.t1{background:#fdecec}.ph.t2{background:#e9f5e1}.ph.t3{background:#e7f1fb}.ph.t4{background:#f1ecfa}.ph.t5{background:#fbf2dc}.ph.t6{background:#fdeede}.ph.t7{background:#e6f6f5}
@media(min-width:900px){.slide{min-height:0}.ph .ico{font-size:50px}.fs .pc{flex-basis:150px}}

.slide{aspect-ratio:3/1;max-height:320px}.slide img{object-position:center}
.infobar .wrap{display:block;padding-top:3px;padding-bottom:3px}.infobar .mq{display:flex;white-space:nowrap}.infobar .mi{padding-right:0}.infobar .dup{display:none}
@media(max-width:699px){.slide{aspect-ratio:2.3/1}.infobar .wrap{overflow:hidden}.infobar .mq{width:max-content;animation:mq 24s linear infinite}.infobar .mi{padding-right:36px}.infobar .dup{display:inline}.infobar:hover .mq{animation-play-state:paused}}
@keyframes mq{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.infobar .mq{animation:none;width:auto;overflow-x:auto}.infobar .dup{display:none}}
/* ---- giao diện xanh tươi kiểu siêu thị (v4) ---- */
:root{--bg:#f3f6f2;--pri:#0e7f3f;--pri2:#0a6a34;--line:#e0e8df;--tx:#1a2a1e;--mut:#64756a;--sale:#12873a;--acc:#facc15;--font:Roboto,"Helvetica Neue",Arial,sans-serif}
body{font-family:var(--font)}input,button,select,textarea{font-family:inherit}
h1,h2,.brand,.mbtn,.btn,.mc,.sh{font-family:var(--font)}h1,h2{font-weight:700;color:#14532d}
header.top{background:#0e7f3f linear-gradient(180deg,#148a47,#0e7f3f)}.brand{font-weight:900;letter-spacing:-.4px}
.hs input{border:0;box-shadow:inset 0 0 0 1px #d7eadb}
.sub{background:#f1f1f1;border-bottom:1px solid #e5e5e5}.mbtn{font-weight:700}
.infobar{background:#eaf7ed;color:#4b6355}
.price,.pp,.cp b{color:var(--sale);font-weight:700;font-variant-numeric:lining-nums}.old{font-variant-numeric:tabular-nums}
.pc{border-radius:12px;box-shadow:0 1px 2px rgba(20,60,30,.06);transition:box-shadow .15s,border-color .15s}.pc:hover{box-shadow:0 6px 16px rgba(20,90,40,.14);border-color:#bfe3c8}
.pc .qa .btn,.pc .qa-link,.pc .qa-pick{border-radius:8px;border-color:var(--pri);color:var(--pri);font-weight:700}.pc .qa .btn:hover,.pc .qa-link:hover,.pc .qa-pick:hover{background:var(--pri);color:#fff}
.badge{background:var(--sale);color:#fff;font-weight:700;border-radius:4px}
.btn.pri{background:var(--pri);border-color:var(--pri);font-weight:700}.btn.pri:hover{background:var(--pri2)}
.catbar a.promo,.mc.hot{color:#fff;background:var(--sale);border-color:var(--sale)}.catbar a.promo{color:var(--sale);background:#fff}
.mc.on,.mc:hover{background:var(--pri)}
.t1{background:linear-gradient(135deg,#12873a,#1c9a54)}
.s1{background:linear-gradient(120deg,#12873a,#1c9a54)}.s2{background:linear-gradient(120deg,#0e7f3f,#7ed957)}.s3{background:linear-gradient(120deg,#0f6b34,#148a47)}
.band{background:linear-gradient(90deg,#0e7f3f,#7ed957)}
.flash{background:linear-gradient(180deg,#eefaf0,#fff);border-color:#bfe8cb}.fh h2{color:#12873a}.fl{background:var(--sale)}
.chip{border-radius:8px;background:#fff}.chip.on,.chip:hover{background:var(--pri);border-color:var(--pri);color:#fff}
.tabs button.on{color:var(--pri2);border-bottom-color:var(--pri)}
.trust{border-top-color:var(--pri)}
footer{background:#14532d;color:#d4ecd9}footer h3{color:#9fd4ad}
/* thanh danh mục bên trái: chỉ mục đang chọn + mục con */
.side .back{display:block;color:var(--mut);text-decoration:none;font-size:13px;padding:8px 6px 4px}.side .back:hover{color:var(--pri)}
.sc{border-bottom:0}.sh.on{color:var(--pri2);font-weight:800;font-size:17px}
.si{display:block;background:#f3f6f2;border-left:3px solid transparent;border-radius:6px;font-weight:500}.si.on{background:#e3f6e8;border-left-color:var(--pri);color:var(--pri2);font-weight:700}
.subsec[hidden]{display:none}.subsec h2{margin-top:16px}


/* biểu tượng nét mảnh một màu (theo màu chữ) */
.i{display:inline-block;width:1.15em;height:1.15em;vertical-align:-.2em;background:currentColor;-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat;flex:none}
.i-cart{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h2l2.7 12.4a2 2 0 002 1.6h7.7a2 2 0 002-1.6L20 8H5.1'/%3E%3Ccircle cx='9' cy='20.5' r='1'/%3E%3Ccircle cx='18' cy='20.5' r='1'/%3E%3Cpath d='M13 9.5v3.5M11.25 11.25h3.5'/%3E%3C/svg%3E")}
.i-store{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l1.5-5h15L21 9'/%3E%3Cpath d='M3 9a3 3 0 006 0 3 3 0 006 0 3 3 0 006 0'/%3E%3Cpath d='M5 12v8h14v-8'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E")}
.i-clock{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")}
.i-check{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.2l3 3 5-6'/%3E%3C/svg%3E")}
.i-pin{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0114 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E")}
.i-phone{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 005 5L15 13l5 2v4a2 2 0 01-2 2A16 16 0 013 6a2 2 0 012-2z'/%3E%3C/svg%3E")}
.i-bag{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l1 13H5L6 7z'/%3E%3Cpath d='M9 7a3 3 0 016 0'/%3E%3C/svg%3E")}
.i-alert{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5M12 16h.01'/%3E%3C/svg%3E")}
.i-mega{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11v2a1 1 0 001 1h2l7 4V6L6 10H4a1 1 0 00-1 1z'/%3E%3Cpath d='M16.5 9a4 4 0 010 6'/%3E%3C/svg%3E")}
.i-menu{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E")}
.i-basket{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16l-1.6 9.2a1 1 0 01-1 .8H6.6a1 1 0 01-1-.8L4 10z'/%3E%3Cpath d='M8 10l3-6M16 10l-3-6M2.5 10h19'/%3E%3C/svg%3E")}
.i-x{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E")}
.i-gps{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='6.5'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3'/%3E%3C/svg%3E")}
.qa .btn.pri::before,[data-addbtn]::before{content:"";display:inline-block;width:1.2em;height:1.2em;margin-right:.35em;vertical-align:-.25em;background:currentColor;-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat;--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h2l2.7 12.4a2 2 0 002 1.6h7.7a2 2 0 002-1.6L20 8H5.1'/%3E%3Ccircle cx='9' cy='20.5' r='1'/%3E%3Ccircle cx='18' cy='20.5' r='1'/%3E%3Cpath d='M13 9.5v3.5M11.25 11.25h3.5'/%3E%3C/svg%3E")}
.trust .i{display:block;width:44px;height:44px;margin:0 auto 8px;color:var(--pri);font-size:44px}
.infobar .i{color:var(--pri);margin-right:2px}
.loc>.i{width:22px;height:22px;color:var(--pri)}
.ph .ico{color:#7dbb8c;filter:none;opacity:.9}.ph .ico.big{width:96px;height:96px}
.notice .i{margin-right:4px}.mbtn .i{margin-right:6px}.cr .x .i,.x .i{width:1em;height:1em}
.ph.t0,.ph.t1,.ph.t2,.ph.t3,.ph.t4,.ph.t5,.ph.t6,.ph.t7{background:#eaf6ee}

/* mục khuyến mãi có đồng hồ đếm ngược */
.flash{background:#fff;border:1px solid #cfe9d6;border-radius:12px;padding:0 0 6px;margin:14px 0;overflow:hidden}
.flash .fh{background:linear-gradient(90deg,#12873a,#148a47 55%,#8cc63f);margin:0 0 10px;padding:12px 16px;border-radius:0;gap:6px 14px;align-items:center}
.flash .fh h2{color:#fff;font-size:20px;font-weight:700;margin:0}
.flash .fl{background:rgba(255,255,255,.2);color:#fff}
.flash .cd{margin-left:auto;display:inline-flex;align-items:center;gap:6px;color:#fff;font-weight:600}
.flash .cd[hidden]{display:none}
.flash .cd i{font-style:normal;background:#0f6b2e;color:#fff;border-radius:4px;min-width:34px;padding:5px 7px;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
.flash .more{color:#fff;text-decoration:underline}
.flash .fs{padding:0 10px 6px}
@media(max-width:699px){.flash .cd{margin-left:0;width:100%}.flash .fh h2{font-size:18px}}
/* popup quảng cáo trang chủ */
.pop{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;padding:16px}.pop[hidden]{display:none}
.pbox{position:relative;max-width:min(92vw,520px);max-height:88vh}.pbox img{display:block;max-width:100%;max-height:88vh;border-radius:12px;box-shadow:0 10px 40px rgba(0,0,0,.4)}
.px{position:absolute;top:-12px;right:-12px;width:36px;height:36px;border-radius:50%;border:0;background:#fff;color:#222;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center;font-size:18px}

.grid.home{grid-template-rows:repeat(3,auto);grid-auto-rows:0;overflow:hidden;row-gap:0}.grid.home>*{margin-bottom:8px}

/* bảng chọn khối lượng */
.noscroll{overflow:hidden}
.sheet-ov{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:50;display:flex;align-items:flex-end;justify-content:center}
.sheet{background:#fff;width:100%;max-width:460px;border-radius:18px 18px 0 0;padding:18px 18px 22px;position:relative;max-height:92vh;overflow:auto;animation:shup .22s ease-out}
@keyframes shup{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
@media(min-width:640px){.sheet-ov{align-items:center}.sheet{border-radius:16px}}
@media(prefers-reduced-motion:reduce){.sheet{animation:none}}
.shx{position:absolute;right:10px;top:8px;border:0;background:none;font-size:30px;line-height:1;cursor:pointer;color:var(--mut);min-width:44px;min-height:44px}
.sht{display:flex;gap:12px;align-items:center;padding-right:40px}.sht img{border-radius:10px;object-fit:cover}
.shn{font-weight:700;font-size:17px}.spp{display:block;font-size:24px;color:var(--pri);margin-top:2px}
.shl{font-size:13px;color:var(--mut);margin:16px 0 8px}
.spcs{display:flex;flex-wrap:wrap;gap:8px}
.spc{border:1.5px solid var(--line);background:#fff;border-radius:10px;padding:10px 16px;min-height:44px;font-weight:600;cursor:pointer}
.spc.on{background:var(--pri);border-color:var(--pri);color:#fff}.spc:disabled{opacity:.45;cursor:not-allowed}
.shnote{font-size:12.5px;margin:10px 0 0}
.sheet .btn.big{width:100%;margin-top:18px;min-height:48px}
/* đồ ăn chín: màu riêng */
html[data-theme=cooked]{--pri:#c2410c;--pri2:#9a3412;--bg:#fff7ed;--line:#fed7aa;--sale:#c2410c;--acc:#fbbf24}
html[data-theme=cooked] .ph{background:#ffedd5}
.catbar a.ckl,.kw.ckl{color:#c2410c;font-weight:700}
.cksec{--pri:#c2410c;--pri2:#9a3412;--line:#fed7aa;background:#fff4e6;border:1px solid #fed7aa;border-radius:16px;padding:14px 12px 16px;margin:22px 0}
.cksec .ph{background:#ffedd5}.cksec .row h2{margin-top:0}
.ckp{display:inline-block;background:#c2410c;color:#fff;border-radius:999px;padding:4px 14px;font-size:13px;font-weight:700;margin-bottom:6px}
.pc .qa-pick{display:block;cursor:pointer}
html[data-theme=cooked] header.top{background:#c2410c linear-gradient(180deg,#ea580c,#c2410c)}
html[data-theme=cooked] h1,html[data-theme=cooked] h2{color:#7c2d12}
html[data-theme=cooked] .ph .ico{color:#f59e0b}
html[data-theme=cooked] .trust{border-top-color:#c2410c}
.cksec h2{color:#7c2d12}.cksec .ph .ico{color:#f59e0b}
/* thực đơn đồ ăn chín (kiểu menu quán) */
.menu-sub{color:#9a3412;font-style:italic;margin:2px 0 12px}
html[data-theme=cooked] h1,.cksec h2,html[data-theme=cooked] .subsec h2{font-family:"Playfair Display",Georgia,"Times New Roman",serif}
html[data-theme=cooked] h1{font-size:34px;font-weight:900;letter-spacing:.2px}
html[data-theme=cooked] .subsec h2{font-size:22px;display:flex;align-items:center;gap:12px;margin:26px 0 6px;color:#7c2d12}
html[data-theme=cooked] .subsec h2::after{content:"";flex:1;border-bottom:2px solid #e8b97a}
.grid.menu{display:block!important;background:#fffaf1;border:1px solid #f0d6ae;border-radius:14px;padding:4px 18px;box-shadow:0 1px 0 #fff inset;overflow:visible!important;margin:0}
@media(min-width:1000px){.grid.menu{columns:2;column-gap:44px}}
.grid.menu .mrow{display:flex!important;flex-direction:row;align-items:center;gap:8px;border:0;border-bottom:1px dashed #ebcf9f;border-radius:0;background:none;box-shadow:none;padding:10px 0;break-inside:avoid;overflow:visible;margin:0!important}
.grid.menu .mrow:hover{box-shadow:none;border-color:#ebcf9f;background:#fff4e0}
.mrow .mn{font-weight:600;color:#431407;text-decoration:none;font-size:16px}
.mrow .mn:hover{color:#c2410c}
.mrow .mu{font-size:12px;color:#9a3412;background:#ffedd5;border-radius:999px;padding:1px 8px;white-space:nowrap}
.mrow .md{flex:1;border-bottom:2px dotted #dfae6d;min-width:10px;transform:translateY(3px)}
.mrow .mp2{color:#c2410c;font-size:16px;white-space:nowrap}
.mrow .qa{margin:0!important;flex:none;width:auto}.mrow .qa .btn{width:auto;min-height:34px;padding:4px 14px;font-size:13px;border-radius:999px}
.mrow .qa .qty{width:auto;gap:4px}.mrow .qa .qty button{min-width:30px;min-height:30px}
.mrow .qa-pick{width:auto!important;margin:0!important;min-height:34px!important;padding:4px 16px!important;font-size:13px!important;border-radius:999px!important;background:#fff;color:#c2410c;border:1.5px solid #c2410c;font-weight:700;cursor:pointer}
.mrow .qa-pick:hover{background:#c2410c;color:#fff}
.mrow .mo{font-size:12px;color:#9a3412}
@media(max-width:520px){.grid.menu{padding:2px 12px}.grid.menu .mrow{flex-wrap:wrap}.mrow .mn{flex:1 1 60%}.mrow .md{display:none}.mrow .mu{order:2}.mrow .mp2{order:3;margin-left:auto}.mrow .qa,.mrow .qa-pick,.mrow .mo{order:4}}

/* nút liên hệ nhanh */
.fab{position:fixed;right:12px;bottom:84px;z-index:20;display:flex;flex-direction:column;gap:8px}
.fab a{display:flex;align-items:center;justify-content:center;gap:6px;min-width:52px;height:46px;padding:0 16px;border-radius:999px;color:#fff;text-decoration:none;font-weight:700;font-size:14px;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.fab-c{background:#0e7f3f}.fab-z{background:#0068ff}
.fab .i{width:18px;height:18px;background:#fff}
@media(min-width:900px){.fab{bottom:20px}}
/* hôm nay có + sắp ra mắt */
.today{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;background:#fff;border:1.5px dashed #ea580c;border-radius:12px;padding:10px 14px;margin:0 0 14px;color:#431407}
.today b{background:#c2410c;color:#fff;border-radius:999px;padding:2px 12px;font-size:13px;white-space:nowrap}
.soon{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#fff;border:1.5px dashed var(--line);border-radius:14px;padding:12px 18px;margin:18px 0}
.soon h2{margin:0 0 2px}.soon p{margin:0;color:var(--mut)}
.soonp{max-width:560px}

/* thanh menu: hai nút cùng kiểu, cùng màu chủ đạo của trang; biểu tượng bát là điểm nhấn cam duy nhất */
.sub{background:#fff;border-bottom:1px solid var(--line)}
.sub .wrap{flex-wrap:wrap;gap:10px;padding-top:7px;padding-bottom:7px}
.sub .mbtn,.sub .navck{display:inline-flex!important;align-items:center;gap:8px;min-height:42px;padding:0 16px;border-radius:12px;background:#fff;border:1.5px solid var(--pri);color:var(--pri2)!important;font-size:15px;font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .15s,color .15s}
.sub .mbtn:hover,.sub .navck:hover{background:var(--pri);color:#fff!important}
.sub .navck .i{width:22px;height:22px;color:#ea580c}
.sub .navck:hover .i{color:#fff}
.i-bowl{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h18a9 9 0 01-9 8 9 9 0 01-9-8z'/%3E%3Cpath d='M8 8.5c0-1.6 1.2-1.6 1.2-3.2M12 8.5c0-1.6 1.2-1.6 1.2-3.2M16 8.5c0-1.6 1.2-1.6 1.2-3.2'/%3E%3C/svg%3E")}
@media(max-width:699px){.sub .wrap{gap:8px;padding-left:10px;padding-right:10px}.sub .mbtn,.sub .navck{min-height:40px;padding:0 12px;font-size:14px}.sub .navck .i{width:20px;height:20px}}

.i-pot{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11h14v3.5a5.5 5.5 0 01-5.5 5.5h-3A5.5 5.5 0 015 14.5z'/%3E%3Cpath d='M2.5 11h19M8 7.5c0-1.4 1-1.4 1-2.8M12 7.5c0-1.4 1-1.4 1-2.8M16 7.5c0-1.4 1-1.4 1-2.8'/%3E%3C/svg%3E")}
/* đồ ăn chín: thẻ có ảnh món */
.ck .ph{aspect-ratio:4/3;background:linear-gradient(135deg,#ffedd5,#fdba74)}
.ck .ph img{width:100%;height:100%;object-fit:cover}
.ck .ph .ico{font-size:clamp(44px,12vw,64px);color:#c2410c;opacity:.55}
.ck .b .u{display:inline-block;font-size:12px;color:#9a3412;background:#ffedd5;border-radius:999px;padding:1px 9px}
.ck .price{color:#c2410c;font-weight:800}
.grid.ckg{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(min-width:700px){.grid.ckg{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1000px){.grid.ckg{grid-template-columns:repeat(4,1fr)}}
.catpage .grid.ckg{grid-template-columns:repeat(2,1fr)}
@media(min-width:700px){.catpage .grid.ckg{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1000px){.catpage .grid.ckg{grid-template-columns:repeat(4,1fr)}}
/* sửa: nút Thêm vào giỏ bị tràn mép thẻ; ô tìm kiếm bo mềm; gợi ý/lịch sử bị chữ trắng trên nền trắng */
.pc>.qa-pick{box-sizing:border-box;display:block;width:calc(100% - 20px);margin:0 10px 10px}
@media(max-width:699px){.pc>.qa-pick{width:calc(100% - 14px);margin:0 7px 7px}}
.pc{overflow:hidden}
.hs input{border-radius:999px;padding-left:22px;padding-right:22px}
.hs input:focus{outline:0;box-shadow:0 0 0 3px rgba(255,255,255,.55)}
.sugg{border-radius:22px;padding:16px 18px;margin-top:8px}
header.top .sugg .kw{color:var(--pri2);border:1.5px solid var(--pri);background:#fff;border-radius:999px;padding:6px 14px;font-weight:600}
header.top .sugg .kw:hover{background:var(--pri);color:#fff}
header.top .sugg .kw.ckl{color:#c2410c;border-color:#c2410c}
header.top .sugg .kw.ckl:hover{background:#c2410c;color:#fff}
/* ===== thực đơn món chín & lẩu: bố cục kiểu thực đơn quán (ảnh bên trái, tab ngang), cùng màu xanh của web ===== */
.catpage.mp{display:block}
.mhero{background:linear-gradient(135deg,#166534,#22863a);color:#fff;border-radius:16px;padding:18px 22px 20px;margin:0 0 12px}
.mhero h1,.mhero .crumb,.mhero .crumb a{color:#fff}
.mhero h1{font-size:32px;margin:4px 0 4px}
.mhero .menu-sub{color:#e7f7ea;font-style:normal;margin:0 0 4px}
.mhero .today{margin:10px 0 0;background:rgba(255,255,255,.14);border:0;color:#fff}
.mhero .today b,.mhero .today span{color:#fff}
.mtabs{position:sticky;top:0;z-index:6;display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 10px;margin:0 0 12px;scrollbar-width:none}
.mtabs::-webkit-scrollbar{display:none}
.mtabs .chip{flex:none;border-radius:999px;padding:7px 15px;font-weight:600;white-space:nowrap;background:#f1f7f2}
.mtabs .chip.on,.mtabs .chip:hover{background:var(--pri);border-color:var(--pri);color:#fff}
.mp .subsec h2{font-size:22px;color:var(--pri2);margin:20px 0 10px}
/* thẻ món: ảnh vuông bên trái, chữ bên phải */
.grid.ckg,.catpage .grid.ckg{display:grid;grid-template-columns:1fr;gap:10px}
@media(min-width:760px){.grid.ckg,.catpage .grid.ckg{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1100px){.grid.ckg,.catpage .grid.ckg{grid-template-columns:repeat(3,1fr)}}
.pc.ck{display:grid;grid-template-columns:104px 1fr;grid-template-rows:1fr auto;column-gap:12px;padding:8px;align-items:stretch;min-height:104px;overflow:hidden}
.ck .pl{display:contents}
.ck .ph{grid-column:1;grid-row:1/3;aspect-ratio:1/1;width:104px;height:104px;border-radius:12px;background:linear-gradient(135deg,#e8f5ea,#c7e6cd);overflow:hidden}
.ck .ph img{width:100%;height:100%;object-fit:cover}
.ck .ph .ico{font-size:46px;color:var(--pri);opacity:.5}
.ck .b{grid-column:2;grid-row:1;padding:2px 0 0;min-width:0}
.ck .b .n{font-weight:700;font-size:16px;line-height:1.25}
.ck .b .u{display:inline-block;font-size:12px;color:var(--pri2);background:#e8f5ea;border-radius:999px;padding:1px 9px;margin:4px 0 2px}
.ck .price{color:var(--pri);font-weight:800;font-size:16px}
.pc.ck>.qa,.pc.ck>.qa-pick{grid-column:2;grid-row:2;margin:6px 0 0!important;width:auto!important;justify-self:end;display:flex}
.pc.ck>.qa .btn,.pc.ck>.qa-pick{width:auto!important;min-height:34px;padding:4px 16px;font-size:13px;border-radius:999px}
.pc.ck>.qa .qty{width:auto}
.soonp{border:1px dashed var(--line);background:#fff}
@media(max-width:699px){.mhero{padding:14px 16px 16px;border-radius:14px}.mhero h1{font-size:25px}.pc.ck{grid-template-columns:92px 1fr}.ck .ph{width:92px;height:92px}}
/* bát giữ làm điểm nhấn vàng cam duy nhất trên thanh menu */
.sub .navck .i{color:#f59e0b}
/* lưới thẻ món chín: ghi đè lưới 9 cột nhỏ của mobile */
.grid.ckg,.catpage .grid.ckg,.catpage.mp .grid.ckg{grid-template-columns:1fr!important;gap:10px}
@media(min-width:760px){.grid.ckg,.catpage .grid.ckg,.catpage.mp .grid.ckg{grid-template-columns:repeat(2,1fr)!important}}
@media(min-width:1100px){.grid.ckg,.catpage .grid.ckg,.catpage.mp .grid.ckg{grid-template-columns:repeat(3,1fr)!important}}
/* menu danh mục phải nằm trên thanh tab dính */
.sub{position:relative;z-index:40}.mega{z-index:60}
/* ô gợi ý tìm kiếm nằm trên thanh menu; thanh tab thực đơn không dính để khỏi chồng lên đầu trang */
header.top{z-index:50}
.mtabs{position:relative;top:auto}
/* thu gọn đầu trang: ô tìm, ô nhận hàng, gợi ý tìm kiếm */
.hd{padding-top:7px;padding-bottom:7px;gap:10px}
.hs input{min-height:38px;padding:7px 20px;font-size:14.5px}
.loc{padding:4px 12px;gap:6px}.loc b{font-size:12px}.loc small{font-size:11px}
.cartlink{min-height:36px;font-size:14px}
.sugg{padding:12px 14px;border-radius:18px;margin-top:6px}
.sugg b{font-size:11px;margin:4px 0 6px}
.chs{gap:6px;margin-bottom:4px}
header.top .sugg .kw,.sugg .kw{font-size:13px;min-height:30px;padding:3px 11px;border-width:1px}
/* thu ngắn ô tìm kiếm và ô địa chỉ trên máy tính */
@media(min-width:900px){
.hs{flex:0 1 420px;max-width:420px;min-width:260px}
.loc{max-width:230px;margin-left:auto;padding:4px 12px}
.loc small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}
.hd{gap:18px}
}
/* Chữ mảnh kiểu Roboto (giữ cỡ chữ) */
body{font-weight:400;-webkit-font-smoothing:antialiased;letter-spacing:.1px}
h1,h2,h3{font-weight:500;letter-spacing:0}
.brand{font-weight:700}
.mbtn,.sub .mbtn,.sub .navck,.cartlink,.sh,.mc,.mpl a,.mini .mn,.mtabs .chip,.mrow .mn,.catbar a.promo,.tabs button.on,.btn.pri,.pc .qa .btn,.pc .qa-link,.pc .qa-pick,.flash .cd,.ck .b .n,.si.on,.shn,.sh.on,.catbar a.ckl,.kw.ckl{font-weight:500}
.price,.pp,.cp b,.ck .price,.band a,.flash .fh h2{font-weight:600}
.badge,.fl{font-weight:600}
html[data-theme=cooked] h1{font-weight:700}
.pc .n,.pc h3,.pc .nm,.pc a.t{font-weight:400}
/* tiêu đề mục và dòng khẩu hiệu: chữ đen */
h1,h2,.tg{color:#111}
/* chữ đen cho nổi: nút menu, nút thêm giỏ, liên kết xem tất cả (viền vẫn xanh) */
.sub .mbtn,.sub .navck,.sub .wrap>a{color:#111!important}
.row>a:not(.plain){color:#111}
.pc .qa .btn,.pc .qa-link,.pc .qa-pick{color:#111}
/* giao diện sáng kiểu siêu thị: nền trắng, thẻ rộng, menu mỏng */
:root{--bg:#fff;--line:#e8e8e8}
body{background:#fff}
.pc{border-color:#ececec;box-shadow:none;border-radius:10px}
.pc:hover{box-shadow:0 4px 14px rgba(0,0,0,.09);border-color:#ddd}
.pc:not(.ck) .ph{background:#f6f6f6}
.pc:not(.ck) .ph .ico{color:#c8c8c8;opacity:1}
.sub{background:#f5f5f5;border-bottom:1px solid #e6e6e6}
.sub .mbtn,.sub .navck{background:none;border:0;border-radius:6px;min-height:38px;padding:0 12px;font-size:14px;font-weight:500}
.sub .mbtn:hover,.sub .navck:hover{background:#e9e9e9}
@media(min-width:700px){.grid{grid-template-columns:repeat(4,1fr)!important;gap:14px}}
@media(min-width:960px){.grid{grid-template-columns:repeat(5,1fr)!important}.pc .b{padding:10px 12px 6px}}
@media(min-width:1100px){.grid{grid-template-columns:repeat(6,1fr)!important;gap:12px}}
/* nút liên hệ nổi: chỉ hiện nút "Liên hệ", bấm mới bung ra */
.fab{align-items:flex-end}
.fab-t{border:0;cursor:pointer;height:44px;padding:0 18px;border-radius:999px;background:#111;color:#fff;font:500 14px Roboto,sans-serif;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.fab:not(.open) a{display:none}
/* nút liên hệ: nhỏ, mờ khi chưa bấm; rõ khi mở */
.fab{right:10px;bottom:14px}
.fab-t{height:32px;padding:0 12px;font-size:12px;background:rgba(0,0,0,.45);box-shadow:none;transition:opacity .15s,background .15s}
.fab:not(.open) .fab-t{opacity:.7}
.fab:not(.open) .fab-t:hover{opacity:1}
.fab.open .fab-t{background:#111}

/* phóng to ảnh sản phẩm (trang chi tiết) */
/* Product magnifier: separate preview on desktop, touch zoom on small screens. */
.pd .pimg{position:relative;overflow:hidden;cursor:zoom-in;touch-action:pan-y}
.pd .pimg img{transition:none;will-change:auto}
.pd .pimg:focus-visible{outline:2px solid var(--pri);outline-offset:3px}
.pd .pimg.zm img{transform:scale(2)}
.pd .pimg.zoom-side img{transform:none}
.pd .pimg .zoom-lens{position:absolute;pointer-events:none;border:1px solid #8b8b8b;background:rgba(255,255,255,.12);box-shadow:0 0 0 1000px rgba(0,0,0,.25);z-index:2}
.zoom-preview{position:fixed;z-index:1200;overflow:hidden;background:#fff;border:1px solid #ddd;box-shadow:0 6px 22px rgba(0,0,0,.2);pointer-events:none}
.zoom-preview img{position:absolute;max-width:none;max-height:none;display:block}
.zoom-preview[hidden],.zoom-lens[hidden]{display:none}
/* ẩn dòng giờ mở cửa / địa chỉ / điện thoại dưới đầu trang (đã có ở chân trang) */
.infobar{display:none!important}
/* bỏ biểu tượng cái tô ở nút Thực đơn trên thanh menu */
.sub .navck>i{display:none!important}

.price,.pd .price{color:#0e7f3f!important}
.more-below{text-align:center;margin:12px 0 22px}
.more-below a{display:inline-block;padding:5px 16px;border:1.5px solid #0e7f3f;border-radius:8px;color:#0e7f3f;font-weight:500;font-size:13px;line-height:1.3;text-decoration:none}
.more-below a:hover{background:#0e7f3f;color:#fff}

.qa-pick,.btn.qa-pick{color:#0e7f3f!important}

/* HEADER_WHITE */
header.top{background:#fff!important;color:#0e7f3f!important;border-bottom:1px solid #dfe6e1;box-shadow:0 1px 4px rgba(0,0,0,.06)}
header.top a,header.top .brand,header.top .hd button{color:#0e7f3f!important}
header.top .hs input{box-shadow:inset 0 0 0 1.5px #0e7f3f!important;background:#fff}
.sub{border-bottom:2px solid #0e7f3f}
.sub .mbtn{background:#0e7f3f;color:#fff!important;border-radius:8px;padding:8px 14px}

/* LOGO_IMG */
header.top .brand{font-size:0!important;line-height:0;display:block;width:82px;height:42px;flex:none;background:url(/chf-logo.png) no-repeat left center/contain}
@media(max-width:600px){header.top .brand{width:68px;height:35px}}

/* NAV_UNDERLINE */
.sub .wrap{align-items:stretch!important}
.sub .mbtn,.sub .wrap>a{display:flex;align-items:center;padding:0;margin:0 14px -2px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none!important;color:#111!important;font-weight:600;white-space:nowrap}
.sub .wrap>a.on,.sub .mbtn.on,.sub .mbtn:hover,.sub .mbtn:focus-visible,.sub .wrap>a:hover{color:#0e7f3f!important;border-bottom-color:#0e7f3f}

/* PRODUCT_DESC */
.pdesc{line-height:1.75;font-size:15px;color:#222;margin-bottom:18px}
.pdesc p{margin:0 0 10px}
.pdesc ul,.pdesc ol{padding-left:22px;margin:0 0 10px}
.pdesc a{color:#0e7f3f;text-decoration:underline}

/* HIDE_TAGLINE */
p.tg{display:none!important}

/* BEST_SELLER */
.best{margin:6px 0 14px}
.best .row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.best .row h2{margin:0;color:#2e7d32;font-size:20px}
.best .cd{background:#2e7d32;color:#fff;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600}
.best .cd b{font-variant-numeric:tabular-nums;font-size:13px;margin-left:3px}
.bst{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;scroll-behavior:smooth;padding:8px 2px 4px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.bst::-webkit-scrollbar{display:none}
.bst>*{flex:0 0 min(190px,56vw);scroll-snap-align:start}
