/* Hana Japanese Food — rebuilt static site (palette: Cho Tot style) */
:root{
  --red:#F0325E; --red-dark:#C81E45; --cream:#F4F4F4; --paper:#FFFFFF;
  --ink:#222222; --muted:#595959; --muted2:#8C8C8C; --line:#E8E8E8;
  --gold:#FFD400; --amber:#FFBA00; --pink:#F0325E; --blue:#306BD9;
  --green:#12A154; --radius:14px;
  --shadow:0 6px 24px rgba(34,34,34,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Be Vietnam Pro","Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;background:var(--cream);color:var(--ink);line-height:1.55}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer}
input,select,textarea{font-family:inherit;font-size:16px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;width:100%}
input:focus,select:focus,textarea:focus{outline:2px solid #FFE884;border-color:var(--amber)}
.wrap{max-width:1180px;margin:0 auto;padding:0 18px}
.muted{color:var(--muted)}
.small{font-size:13px}
.price{color:var(--red);font-weight:700;font-size:18px}
.price-old{color:var(--muted);text-decoration:line-through;font-size:14px;margin-left:6px}

/* sticky transparent bar: hamburger + crane logo + search & cart icons */
.sticky-bar{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.85);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid rgba(34,34,34,.08)}
.bar-in{display:flex;align-items:center;gap:10px;padding:8px 0}
.bar-logo{height:120px;width:auto;border-radius:10px;cursor:pointer;flex:none}
.bar-spacer{flex:1}
.icon-btn{position:relative;width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:20px;display:flex;align-items:center;justify-content:center}
.icon-btn:hover{background:var(--gold);border-color:var(--gold)}
.icon-btn .n{position:absolute;top:-7px;right:0;background:var(--red);color:#fff;border-radius:50%;min-width:22px;height:22px;font-size:12px;display:flex;align-items:center;justify-content:center;padding:0 5px}
.search-panel{max-height:0;overflow:hidden;transition:max-height .25s ease}
.search-panel.open{max-height:70px}
.search-panel .wrap{padding-bottom:10px}
.search-panel input{border-radius:999px;padding-left:16px}

/* hamburger side menu */
.menu-backdrop{position:fixed;inset:0;background:rgba(34,34,34,.5);z-index:120;opacity:0;pointer-events:none;transition:opacity .25s}
.menu-backdrop.open{opacity:1;pointer-events:auto}
.side-menu{position:fixed;top:0;left:0;bottom:0;width:min(320px,85vw);background:var(--paper);z-index:130;transform:translateX(-105%);transition:transform .28s ease;display:flex;flex-direction:column;box-shadow:10px 0 40px rgba(0,0,0,.2);overflow-y:auto;-webkit-overflow-scrolling:touch}
body.menu-open{overflow:hidden}
.side-menu.open{transform:none}
.side-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--line);font-size:17px}
.side-menu a{display:block;padding:13px 18px;color:var(--ink);font-weight:600;font-size:15.5px;border-bottom:1px solid var(--line)}
.side-menu a:hover,.side-menu a.active{background:#FFF8D6;color:var(--ink);text-decoration:none}
.side-contact{margin-top:auto;padding:16px 18px;border-top:1px solid var(--line);color:var(--muted);font-size:14px}
.side-contact p{margin:4px 0}
/* submenu under "Sản phẩm" — always visible, indented right */
.submenu{display:block}
.submenu a{padding:11px 18px 11px 36px;font-weight:500;font-size:14.5px;background:#FAFAFA}

/* hero — bright white with a soft warm-yellow top so the area reads fresh, not dull on the grey page */
.hero{background:linear-gradient(180deg,#FFF8D6 0%,#FFFFFF 55%);color:#222222;border-bottom:1px solid var(--line)}
.hero-in{padding:38px 18px 30px}
.hero h2{margin:0 0 8px;font-size:clamp(24px,3vw,28px);line-height:1.2;text-wrap:balance}
.hero p{margin:0 0 18px;max-width:640px;color:var(--muted);text-wrap:balance}
@media (min-width:1280px){.hero h2{white-space:nowrap}}
/* hero banner (khách duyệt 18/11): ảnh banner Hana 1376x768, tràn full-width,
   giữ đúng tỉ lệ 16/9 — logo Hana góc trái, sản phẩm giữ nguyên bố cục */
.hero-banner{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.hero .cta{display:flex;gap:10px;flex-wrap:wrap}
.btn{display:inline-block;background:#222222;color:#fff;border:0;border-radius:999px;padding:11px 22px;font-weight:700;font-size:15px}
.btn:hover{background:var(--red);color:#fff}
.btn.ghost{background:transparent;color:#222222;border:2px solid rgba(34,34,34,.5)}
.btn.ghost:hover{border-color:#222222;background:rgba(34,34,34,.08)}
.btn.red{background:var(--gold);color:#222222}
.btn.red:hover{background:var(--amber)}
.btn.line{background:#fff;color:var(--ink);border:1px solid var(--line)}
.badges{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px;margin:22px 12px 0}
.badge{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px 16px;text-align:center;box-shadow:var(--shadow)}
.badge .ic{width:64px;height:64px;margin:0 auto 10px;border-radius:50%;background:#FFF8D6;display:flex;align-items:center;justify-content:center;font-size:32px;line-height:1}
.badge b{display:block;font-size:15px}
.badge span{font-size:13px;color:var(--muted)}

/* sections */
section{padding:34px 0 8px}
.sec-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.sec-head h2{margin:0;font-size:24px;color:var(--ink)}
.sec-head p{margin:0;color:var(--muted)}
.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 16px;font-size:14px;font-weight:600;color:var(--ink)}
.chip:hover{border-color:var(--amber);color:var(--ink)}
.chip.active{background:var(--gold);border-color:var(--gold);color:#222222}
.subchips{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 16px}
.subchips .chip{padding:6px 12px;font-size:13px}

/* product sliders: grouped rows, 3 cards visible at a time, swipe + arrows */
.slider-row{margin:0 12px 30px}
.slider-head{display:flex;align-items:baseline;gap:10px;margin-bottom:12px}
.slider-head h3{margin:0;font-size:20px;color:var(--ink)}
.slider-head h3 a{color:inherit;text-decoration:none}
.slider-head h3 a:hover{text-decoration:underline}
.sec-head h2 a{color:inherit;text-decoration:none}
.sec-head h2 a:hover{text-decoration:underline}
.slider-nav{margin-left:auto;display:flex;gap:6px}
.slider-btn{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;color:var(--ink)}
.slider-btn:hover{background:var(--gold);border-color:var(--gold)}
.slider-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:none}
.slider-track::-webkit-scrollbar{display:none}
.slider-track .card{flex:0 0 calc((100% - 32px)/3);scroll-snap-align:start;min-width:0}
.slider-track .news-card{flex:0 0 320px;scroll-snap-align:start;min-width:0}
.slider-track .video-card{flex:0 0 340px;scroll-snap-align:start;min-width:0}
@media (max-width:900px){.slider-track .card{flex-basis:calc((100% - 16px)/2)}}
@media (max-width:560px){.slider-track .card{flex-basis:78%}.slider-track .news-card{flex-basis:82%}.slider-track .video-card{flex-basis:85%}}
.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .15s}
.card:hover{transform:translateY(-3px)}
.card .thumb{aspect-ratio:4/3;background:#F4F4F4;overflow:hidden;cursor:pointer;position:relative}
.card .thumb img{width:100%;height:100%;object-fit:cover}
.card .body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:6px;flex:1}
.card h3{margin:0;font-size:15.5px;line-height:1.35;cursor:pointer}
.card h3:hover{color:var(--blue)}
.card .cat{font-size:12.5px;color:var(--muted)}
.card .row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.tags{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;gap:6px;align-items:flex-start;z-index:2}
.tag{background:var(--pink);color:#fff;font-size:12px;font-weight:700;border-radius:999px;padding:4px 10px}
.tag.new{background:var(--green)}
.add-btn{background:var(--gold);color:#222222;border:0;border-radius:999px;padding:9px 14px;font-weight:700;font-size:14px;white-space:nowrap}
.add-btn:hover{background:var(--amber)}
.empty{padding:40px;text-align:center;color:var(--muted);background:var(--paper);border:1px dashed var(--line);border-radius:var(--radius)}

/* news / videos */
.news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:16px;margin:0 12px}
.news-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);cursor:pointer}
.news-card .thumb{aspect-ratio:16/9;background:#F4F4F4;overflow:hidden}
.news-card .thumb img{width:100%;height:100%;object-fit:cover}
.news-card .body{padding:14px 16px}
.news-card h3{margin:0 0 6px;font-size:16px;line-height:1.4}
.news-card p{margin:0;color:var(--muted);font-size:14px}
.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));gap:16px;margin:0 12px}
.video-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.video-card iframe{width:100%;aspect-ratio:16/9;border:0;display:block}
.vthumb{position:relative;aspect-ratio:16/9;overflow:hidden;cursor:pointer;background:#222}
.vthumb img{width:100%;height:100%;object-fit:cover;display:block}
.vthumb .play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:56px;height:56px;border-radius:50%;background:rgba(34,34,34,.75);color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;padding-left:4px}
.vthumb:hover .play{background:var(--red)}
.video-card .body{padding:12px 14px}
.video-card h3{margin:0;font-size:15px;line-height:1.4}

/* about / contact */
.about{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px;margin:0 12px}
.about .box{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}
.about .box h3{margin:0 0 8px;color:var(--ink)}
.about .box p{margin:0;color:var(--muted)}
/* footer — company info + purchase info + categories + copyright */
footer.site{background:#fff;color:var(--muted);margin-top:40px;border-top:1px solid var(--line)}
footer.site .cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:24px;padding:34px 18px}
footer.site h3{color:var(--ink);margin:0 0 10px;font-size:17px}
footer.site p,footer.site li{font-size:14.5px;line-height:1.7;margin:0}
footer.site ul{list-style:none;padding:0}
footer.site a{color:var(--blue)}
.copy{border-top:1px solid var(--line);padding:14px 0;text-align:center;font-size:13px;color:var(--muted2)}

/* modal */
.modal-bg{position:fixed;inset:0;background:rgba(34,34,34,.55);z-index:100;display:none;align-items:flex-start;justify-content:center;padding:24px 12px;overflow:auto}
.modal-bg.open{display:flex}
.modal{background:var(--paper);border-radius:18px;max-width:860px;width:100%;padding:22px;position:relative;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.modal .x{position:absolute;top:12px;right:12px;border:0;background:#F4F4F4;width:36px;height:36px;border-radius:50%;font-size:18px}
.modal h2{margin:0 0 4px;font-size:22px;padding-right:40px}
.modal .pimg{border-radius:12px;overflow:hidden;background:#F4F4F4;margin:12px 0}
.modal .pimg img{width:100%;max-height:420px;object-fit:contain;background:#fff}
.modal .desc{white-space:pre-wrap;font-size:15px;color:var(--muted)}
.modal .buyrow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px}
.qty{display:flex;align-items:center;gap:0;border:1px solid var(--line);border-radius:999px;overflow:hidden}
.qty button{border:0;background:#fff;width:38px;height:38px;font-size:18px}
.qty span{min-width:36px;text-align:center;font-weight:700}

/* cart drawer */
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(430px,94vw);background:var(--paper);z-index:110;box-shadow:-10px 0 40px rgba(0,0,0,.25);transform:translateX(105%);transition:transform .25s;display:flex;flex-direction:column}
.drawer.open{transform:none}
.drawer header{padding:16px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}
.drawer header h3{margin:0;font-family:"Playfair Display",Georgia,serif;font-size:24px;color:#7E151B}
.drawer .items{flex:1;overflow:auto;padding:12px 18px;display:flex;flex-direction:column;gap:12px}
.cart-item{display:flex;gap:10px;border:1px solid var(--line);border-radius:12px;padding:10px}
.cart-item img{width:64px;height:64px;object-fit:cover;border-radius:8px}
.cart-item .nm{font-size:14.5px;font-weight:600;line-height:1.3}
.cart-item .pr{color:var(--red);font-weight:700;font-size:14px}
.drawer footer{border-top:1px solid var(--line);padding:14px 18px;flex:0 1 auto;max-height:45%;overflow-y:auto}
.drawer .total{display:flex;justify-content:space-between;font-weight:800;font-size:17px;margin-bottom:12px}
.drawer .subtotal{display:flex;justify-content:space-between;color:var(--muted);font-size:14px;margin-bottom:4px}
.drawer form{display:flex;flex-direction:column;gap:8px;margin-top:12px}
/* payment method in checkout form */
.pay-method{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.pay-method .pay-title{font-weight:700}
.pay-method label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:15px}
.pay-method input[type=radio]{width:auto;accent-color:var(--amber)}
.bank-info{padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#FFF8D6;font-size:14px;line-height:1.7}
.bank-info b{display:block;margin-bottom:2px}
/* shipping fee in cart drawer: district picker + fee row above the total; tap the fee row for the full table */
.ship{border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin-bottom:12px;background:#FFFDF5}
.ship-main{display:flex;align-items:center;gap:8px}
.ship-label{font-weight:700;font-size:14.5px;white-space:nowrap}
.ship-main select{flex:1;min-width:0;padding:8px 10px;font-size:14.5px}
.ship-note{font-size:12.5px;color:var(--green);margin-top:6px}
.ship-fee-row{display:flex;justify-content:space-between;align-items:center;font-size:15px;margin-bottom:4px;cursor:pointer}
.ship-fee-row .info-dot{color:var(--muted);font-size:13px}
#shipFee{font-weight:700;white-space:nowrap}
#shipFee.free{color:var(--green)}
#shipFee.paid{color:var(--red)}
/* shipping fee detail modal */
.ship-modal{position:fixed;inset:0;z-index:150;display:flex;align-items:center;justify-content:center;padding:18px}
.ship-modal[hidden]{display:none}
/* [hidden] must win over display rules (e.g. .acc-form{display:flex} made the
   password-reset form visible on the verifyEmail page) and inline display
   styles (e.g. #aaLinks). Without this, hidden elements with a display
   class show anyway. */
[hidden]{display:none!important}
.ship-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.5)}
.ship-modal-card{position:relative;background:#fff;border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.3);padding:18px;width:min(380px,94vw);max-height:86vh;overflow:auto}
.ship-modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.ship-modal-head h3{margin:0}
.ship-modal-card table{width:100%;font-size:14px;border-collapse:collapse}
.ship-modal-card th{text-align:left;padding:5px 0 2px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.03em}
.ship-modal-card td{padding:5px 0;border-top:1px solid var(--line)}
.ship-modal-card td.r{text-align:right;font-weight:700;white-space:nowrap}
.ship-modal-card td.free{color:var(--green)}
.ship-modal-card td.ward-list{font-size:13.5px;line-height:1.6}
.ship-modal-card p{margin:8px 0 0}
.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%) translateY(80px);background:#222222;color:#fff;padding:12px 20px;border-radius:999px;z-index:200;opacity:0;transition:all .3s;font-size:14.5px;max-width:92vw;text-align:center}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
/* back to top (bottom-center) */
.to-top{position:fixed;right:18px;bottom:82px;z-index:90;width:48px;height:48px;border-radius:50%;border:0;background:var(--gold);color:#222222;font-size:22px;font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.25);opacity:0;pointer-events:none;transform:translateY(10px);transition:all .25s}
.to-top.show{opacity:1;pointer-events:auto;transform:none}
.to-top:hover{background:var(--amber)}
/* chat bubble (bottom-right): online support, opens the chat panel */
.chat-bubble{position:fixed;right:18px;bottom:18px;z-index:90;width:52px;height:52px;border-radius:50%;border:0;background:#7E151B;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px rgba(0,0,0,.25);cursor:pointer}
.chat-bubble svg{width:26px;height:26px;fill:#fff}
.chat-bubble:hover{transform:scale(1.06)}
.chat-panel{position:fixed;right:18px;bottom:82px;z-index:100;width:min(340px,calc(100vw - 36px));max-height:min(480px,70vh);background:#fff;border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.3);display:flex;flex-direction:column;overflow:hidden;opacity:0;pointer-events:none;transform:translateY(12px);transition:opacity .2s,transform .2s}
.chat-panel.open{opacity:1;pointer-events:auto;transform:none}
.chat-head{background:#7E151B;padding:12px 14px;display:flex;align-items:center;gap:10px}
.chat-head .avatar{width:36px;height:36px;border-radius:50%;background:#fff;flex:none;overflow:hidden}
.chat-head .avatar img{width:100%;height:100%;object-fit:cover;display:block}
.chat-head .tt{flex:1;min-width:0}
.chat-head .tt b{display:block;font-size:15px;color:#fff}
.chat-head .tt span{font-size:12px;color:rgba(255,255,255,.85)}
.chat-head .x{background:transparent;border:0;font-size:18px;cursor:pointer;color:#fff;padding:4px}
.chat-body{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;background:#F4F4F4}
.chat-msg{max-width:82%;padding:9px 12px;border-radius:14px;font-size:14px;line-height:1.5;white-space:pre-wrap;word-break:break-word}
.chat-msg.in{background:#fff;border:1px solid #E8E8E8;border-bottom-left-radius:4px;align-self:flex-start}
.chat-msg.out{background:#7E151B;color:#fff;border-bottom-right-radius:4px;align-self:flex-end}
.chat-msg.chat-typing{color:#8C8C8C;font-style:italic}
.chat-input{display:flex;gap:8px;padding:10px;border-top:1px solid #E8E8E8;background:#fff}
.chat-input input{flex:1;min-width:0;border:1px solid #E8E8E8;border-radius:999px;padding:9px 14px;font-size:16px;outline:none}
.chat-input input:focus{border-color:#7E151B}
.chat-input button{flex:none;width:40px;height:40px;border-radius:50%;border:0;background:#7E151B;color:#fff;font-size:17px;cursor:pointer}
/* social FAB (bottom-left): one yellow button, tap to expand Facebook / Zalo / Phone */
.social-fab{position:fixed;left:14px;bottom:14px;z-index:90;display:flex;flex-direction:column;align-items:center;gap:8px}
.fab-items{display:flex;flex-direction:column;gap:8px;opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .2s,transform .2s}
.social-fab.open .fab-items{opacity:1;pointer-events:auto;transform:none}
.fab-main{width:52px;height:52px;border-radius:50%;border:0;background:#FFD400;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px rgba(0,0,0,.25);cursor:pointer}
.fab-main svg{width:26px;height:26px;fill:#222222}
.fab-main .plus{transition:transform .2s}
.social-fab.open .fab-main .plus{transform:rotate(45deg)}
.soc{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#FFD400;box-shadow:0 4px 14px rgba(0,0,0,.25);text-decoration:none}
.soc:hover{transform:scale(1.08);text-decoration:none}
.soc svg{width:22px;height:22px;fill:#222222}

/* admin */
.admin-bar{background:#222222;color:#fff;padding:12px 0}
.admin-bar .wrap{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.admin-bar a{color:var(--gold)}
.admin-logo{height:40px;width:auto;display:block;border-radius:8px}
.admin-bar .logo-link{display:block;line-height:0}
.stat-table{margin-bottom:18px}
.stat-table td:first-child{color:var(--muted)}
.stat-table td:last-child{text-align:right}
.stat-table td b{font-size:18px;color:var(--red)}
.logout-btn{background:transparent;border:0;padding:8px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;vertical-align:middle}
.logout-btn svg{width:22px;height:22px;fill:#fff}
.logout-btn:hover{background:rgba(255,255,255,.12)}
.logout-btn:hover svg{fill:var(--gold)}
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
.tabs button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 18px;font-weight:700}
.tabs button.active{background:var(--gold);border-color:var(--gold);color:#222222}
.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow);margin-bottom:18px}
table.admin{width:100%;border-collapse:collapse;font-size:14px}
table.admin th,table.admin td{border-bottom:1px solid var(--line);padding:9px 8px;text-align:left;vertical-align:middle}
table.admin th{background:#F4F4F4}
table.admin img{width:52px;height:52px;object-fit:cover;border-radius:8px}
table.admin input,table.admin select{padding:7px 9px;font-size:14px}
.btn-sm{padding:7px 13px;font-size:13.5px;border-radius:999px;border:0;font-weight:700}
.btn-sm.red{background:var(--gold);color:#222222}
.btn-sm.line{background:#fff;border:1px solid var(--line)}
.btn-sm.green{background:var(--green);color:#fff}
.login-card{max-width:420px;margin:70px auto;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:var(--shadow)}
#loginView{padding:0 16px}
.login-logo{width:72px;height:72px;object-fit:cover;border-radius:14px;display:block;margin:0 auto 18px}
.login-card form{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.err{color:var(--red);font-size:14px;min-height:20px}
#orderForm .invalid,#shipWard.invalid{border-color:var(--red);background:#FFF5F5}
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:12px;margin-bottom:18px}
.stat{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:16px;text-align:center}
.stat b{display:block;font-size:26px;color:var(--red)}
.stat span{font-size:13.5px;color:var(--muted)}
/* category page: product grid */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr));gap:16px;margin:6px 12px 0}
.cat-grid .card{width:100%}
/* product detail page */
.crumbs{margin:18px 12px 0;font-size:14px;color:var(--muted)}
.crumbs a{color:var(--blue)}
.prod-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin:14px 12px 0}
@media (max-width:700px){.prod-wrap{grid-template-columns:1fr}}
.prod-img{border-radius:var(--radius);overflow:hidden;background:#fff;border:1px solid var(--line)}
.prod-img img{width:100%;display:block;aspect-ratio:1/1;object-fit:contain}
.prod-info{display:flex;flex-direction:column;min-height:0}
.prod-info h1{margin:0 0 6px;font-size:24px;line-height:1.3}
.prod-info .price{font-size:24px;margin:12px 0}
.prod-info .desc{flex:1;min-height:0;overflow-y:auto;font-size:15px;color:var(--ink);margin:12px 0;padding:12px 14px;line-height:1.65;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper)}
.prod-info .desc p{margin:0 0 10px}
.prod-info .desc ul,.prod-info .desc ol{margin:6px 0 12px;padding-left:22px}
.prod-info .desc li{margin:5px 0}
.prod-info .desc>strong{display:block;margin:14px 0 4px;font-size:16px}
@media (max-width:700px){.prod-info{display:block}.prod-info .desc{flex:none;min-height:0;max-height:320px}}
.buyrow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px}
.prod-links{margin:22px 12px 0;display:flex;gap:8px;flex-wrap:wrap}
.prod-links a{background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:8px 14px;font-size:14px;font-weight:600;color:var(--ink)}
.prod-links a:hover{border-color:var(--gold);text-decoration:none}
/* "view all" link under a home section */
.view-all{margin:4px 12px 0;text-align:right}
.view-all a{color:var(--blue);font-weight:600;font-size:14.5px}
/* category shortcut cards on the all-products page */
.cat-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px;margin:0 12px 20px}
.cat-link{display:block;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px;box-shadow:var(--shadow);color:var(--ink)}
.cat-link:hover{text-decoration:none;border-color:var(--gold)}
.cat-link b{display:block;font-size:16px;margin-bottom:2px}
.cat-link span{color:var(--muted);font-size:14px}
@media (max-width:640px){
  .card h3{font-size:14px}
  .price{font-size:16px}
  .bar-logo{height:64px}
}

/* --- Customer accounts (login/register modal + account page) --- */
.auth-btn{display:flex;align-items:center;gap:6px;height:44px;padding:0 14px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:15px;font-weight:700;cursor:pointer;white-space:nowrap}
.auth-btn:hover{background:var(--gold);border-color:var(--gold)}
.auth-btn.logged{background:#FFF8D6;border-color:var(--amber)}
@media (max-width:640px){.auth-btn span{display:none}.auth-btn{padding:0;width:44px;justify-content:center}}
.auth-modal{max-width:430px}
.auth-tabs{display:flex;gap:8px;margin-bottom:16px}
.auth-tabs button{flex:1;padding:10px;border-radius:999px;border:1px solid var(--line);background:#fff;font-weight:700;font-size:15px;cursor:pointer}
.auth-tabs button.active{background:var(--gold);border-color:var(--gold)}
.auth-modal form{display:flex;flex-direction:column;gap:10px}
.auth-err{color:var(--red);font-size:14px}
.auth-err:empty{display:none}
.center{text-align:center}
.acc-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.acc-tabs button{padding:9px 16px;border-radius:999px;border:1px solid var(--line);background:#fff;font-weight:700;font-size:14.5px;cursor:pointer}
.acc-tabs button.active{background:var(--gold);border-color:var(--gold)}
.acc-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;margin-bottom:12px;box-shadow:var(--shadow)}
.acc-card h3{margin:0 0 10px;font-size:17px}
.acc-card .row{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.acc-form{display:flex;flex-direction:column;gap:10px;max-width:520px}
.acc-form label{font-weight:700;font-size:14px;display:flex;flex-direction:column;gap:6px}
.order-items{color:var(--muted);font-size:14px}
.addr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.badge-default{background:var(--gold);border-radius:999px;padding:2px 10px;font-size:12.5px;font-weight:700}
.status-pill{background:#FFF8D6;border-radius:999px;padding:2px 10px;font-size:12.5px;font-weight:700}

/* ============ Homepage — khớp y chang file mẫu khách gửi 19/11
   (trang-chu-hana-foods_0_38mm.html). CSS mẫu được giữ nguyên giá trị,
   chỉ thêm tiền tố body.home-v2 để không ảnh hưởng các trang khác.
   Chức năng riêng của shop (giỏ hàng, form đặt hàng, chat) giữ nguyên. */
body.home-v2{
--red:#7E151B;
        --red-dark:#5E0E13;
        --red-bright:#A61C24;
        --gold:#B8860B;
        --gold-soft:#F3E3BC;
        --sakura:#F4B8C6;
        --sakura-soft:#FDF1F3;
        --sakura-mid:#FBE3E9;
        --ink:#2C2226;
        --ink-soft:#5D4A50;
        --paper:#FFFDFB;
        --line:#F1D9DE;
        --shadow:0 10px 30px rgba(126,21,27,.10);
        --radius:18px;
  --amber:#B8860B;
  --muted:#5D4A50;
}
body.home-v2{
margin:0;
        font-family:"Be Vietnam Pro",system-ui,sans-serif;
        color:var(--ink);
        background:var(--paper);
        line-height:1.55;
        -webkit-font-smoothing:antialiased;
}
body.home-v2 a{
color:var(--red);
}
body.home-v2 .wrap{
width:min(1140px,100% - 32px); margin-inline:auto; padding:0;
}
body.home-v2 .top-strip{
height:30px; overflow:hidden; border-bottom:3px solid var(--red);
}
body.home-v2 .top-strip img{
width:100%; height:100%; object-fit:cover; object-position:center 38%;
}
body.home-v2 header.site{
position:sticky; top:0; z-index:60;
        background:rgba(255,253,251,.96);
        backdrop-filter:blur(6px);
        border-bottom:1px solid var(--line);
}
body.home-v2 .header-in{
display:flex; align-items:center; gap:12px; padding:8px 0;
}
body.home-v2 .brand{
display:flex; align-items:center; gap:10px; text-decoration:none; min-height:48px;
}
body.home-v2 .brand .logo{
width:52px; height:52px; border-radius:50%; object-fit:cover;
        border:2px solid var(--gold-soft); box-shadow:0 2px 8px rgba(126,21,27,.15);
}
body.home-v2 .brand .bname{
font-family:"Playfair Display",serif; font-weight:800; font-size:1.3rem; color:var(--red); line-height:1.05; letter-spacing:.02em;
}
body.home-v2 .brand .bsub{
font-size:.68rem; font-weight:700; letter-spacing:.14em; color:var(--gold); text-transform:uppercase;
}
body.home-v2 nav.main{
display:none; margin-left:auto; gap:4px;
}
body.home-v2 nav.main a{
text-decoration:none; color:var(--ink); font-weight:600; font-size:.95rem;
        padding:10px 14px; border-radius:999px; min-height:44px; display:inline-flex; align-items:center;
}
body.home-v2 nav.main a:hover{
background:var(--sakura-soft); color:var(--red);
}
body.home-v2 .header-actions{
margin-left:auto; display:flex; align-items:center; gap:8px;
}
body.home-v2 nav.main + .header-actions{
margin-left:0;
}
body.home-v2 .btn{
display:inline-flex; align-items:center; justify-content:center; gap:8px;
        border:none; border-radius:999px; font-weight:700; text-decoration:none;
        min-height:46px; padding:10px 20px; font-size:.95rem; transition:transform .15s ease, box-shadow .15s ease;
}
body.home-v2 .btn:active{
transform:scale(.97);
}
body.home-v2 .btn-red{
background:var(--red); color:#fff; box-shadow:0 6px 16px rgba(126,21,27,.28);
}
body.home-v2 .btn-red:hover{
background:var(--red-bright);
}
body.home-v2 .btn-outline{
background:#fff; color:var(--red); border:2px solid var(--red);
}
body.home-v2 .btn-gold{
background:var(--gold); color:#fff; box-shadow:0 6px 16px rgba(184,134,11,.3);
}
body.home-v2 .btn svg{
width:19px; height:19px; flex:none;
}
body.home-v2 .hotline-btn{
display:none;
}
body.home-v2 .cart-btn{
position:relative; width:46px; height:46px; border-radius:50%;
        border:2px solid var(--line); background:#fff; display:inline-flex; align-items:center; justify-content:center;
}
body.home-v2 .cart-btn svg{
width:22px; height:22px; color:var(--red);
}
body.home-v2 .cart-count{
position:absolute; top:-5px; right:-5px; min-width:22px; height:22px; padding:0 5px;
        border-radius:999px; background:var(--red); color:#fff; font-size:.72rem; font-weight:800;
        display:flex; align-items:center; justify-content:center; border:2px solid #fff;
}
body.home-v2 .cart-count[hidden]{
display:none;
}
body.home-v2 .hero{
background:linear-gradient(180deg,#FDF6F0 0%, var(--sakura-soft) 78%, var(--paper) 100%);
}
body.home-v2 .hero-banner{
border-bottom:4px solid var(--red);
}
body.home-v2 .hero-banner img{
width:100%; height:auto;
}
body.home-v2 .hero-card{
position:relative; margin-top:-16px; background:#fff; border-radius:22px;
        box-shadow:var(--shadow); border:1px solid var(--line);
        padding:26px 20px 22px; text-align:center;
}
body.home-v2 .hero-card::before{
content:""; position:absolute; inset:8px; border:1.5px solid var(--gold-soft);
        border-radius:15px; pointer-events:none;
}
body.home-v2 .eyebrow{
color:var(--gold); font-weight:800; letter-spacing:.18em; font-size:.72rem;
        text-transform:uppercase; margin:0 0 8px;
}
body.home-v2 h1{
font-family:"Playfair Display",serif; font-weight:800; color:var(--red);
        font-size:clamp(1.65rem,6.2vw,2.7rem); line-height:1.18; margin:0 0 10px;
}
body.home-v2 .hero-sub{
color:var(--ink-soft); font-size:1rem; margin:0 auto 18px; max-width:560px;
}
body.home-v2 .hero-cta{
display:flex; flex-wrap:wrap; gap:10px; justify-content:center; position:relative; z-index:1;
}
body.home-v2 .hero-stats{
display:grid; grid-template-columns:repeat(3,1fr); gap:8px;
        margin-top:20px; padding-top:18px; border-top:1px dashed var(--line);
}
body.home-v2 .hero-stats .num{
font-family:"Playfair Display",serif; font-size:1.45rem; font-weight:800; color:var(--red); line-height:1;
}
body.home-v2 .hero-stats .lbl{
font-size:.76rem; color:var(--ink-soft); font-weight:600; margin-top:4px;
}
body.home-v2 section{
padding:44px 0 8px;
}
body.home-v2 .sec-head{
text-align:center; margin-bottom:22px;
}
body.home-v2 .sec-head h2{
font-family:"Playfair Display",serif; color:var(--red); font-weight:800;
        font-size:clamp(1.45rem,5vw,2.1rem); margin:0 0 6px; line-height:1.2;
}
body.home-v2 .sec-head p{
color:var(--ink-soft); margin:0; font-size:.98rem;
}
body.home-v2 .sec-head .rule{
width:64px; height:3px; background:var(--gold); border-radius:2px; margin:12px auto 0;
}
body.home-v2 .trust-grid{
display:grid; gap:14px;
}
body.home-v2 .trust-card{
border-radius:var(--radius); padding:22px 18px; text-align:center;
        border:1px solid var(--line); position:relative; overflow:hidden; background:#fff;
        box-shadow:0 4px 14px rgba(126,21,27,.05);
}
body.home-v2 .trust-card::after{
content:""; position:absolute; left:0; right:0; top:0; height:5px;
        background:linear-gradient(90deg,var(--sakura),var(--red),var(--gold));
}
body.home-v2 .trust-card.t1{
background:linear-gradient(180deg,#FFF5F6,#fff 70%);
}
body.home-v2 .trust-card.t2{
background:linear-gradient(180deg,#FDF6E3,#fff 70%);
}
body.home-v2 .trust-card.t3{
background:linear-gradient(180deg,#FDECEF,#fff 70%);
}
body.home-v2 .trust-ico{
width:64px; height:64px; margin:2px auto 12px; border-radius:50%;
        display:flex; align-items:center; justify-content:center;
        background:var(--red); color:#fff; box-shadow:0 8px 18px rgba(126,21,27,.3);
}
body.home-v2 .trust-card.t2 .trust-ico{
background:var(--gold); box-shadow:0 8px 18px rgba(184,134,11,.3);
}
body.home-v2 .trust-ico svg{
width:32px; height:32px;
}
body.home-v2 .trust-card h3{
margin:0 0 6px; font-size:1.08rem; color:var(--ink); font-weight:800;
}
body.home-v2 .trust-card p{
margin:0; color:var(--ink-soft); font-size:.92rem;
}
body.home-v2 .shop-tools{
display:grid; gap:12px; margin-bottom:18px;
}
body.home-v2 .search-box{
position:relative;
}
body.home-v2 .search-box svg{
position:absolute; left:14px; top:50%; transform:translateY(-50%); width:20px; height:20px; color:var(--ink-soft);
}
body.home-v2 .search-box input{
width:100%; min-height:50px; border:2px solid var(--line); border-radius:999px;
        padding:10px 16px 10px 44px; font-size:1rem; font-family:inherit; background:#fff; color:var(--ink);
}
body.home-v2 .search-box input:focus{
outline:none; border-color:var(--red);
}
body.home-v2 .chips{
display:flex; gap:8px; flex-wrap:wrap;
}
body.home-v2 .chip{
border:2px solid var(--line); background:#fff; color:var(--ink); font-weight:700;
        border-radius:999px; padding:9px 16px; min-height:44px; font-size:.9rem;
        display:inline-flex; align-items:center; gap:6px;
}
body.home-v2 .chip .n{
font-size:.78rem; background:var(--sakura-mid); color:var(--red); border-radius:999px; padding:1px 8px; font-weight:800;
}
body.home-v2 .chip.active{
background:var(--red); border-color:var(--red); color:#fff;
}
body.home-v2 .chip.active .n{
background:rgba(255,255,255,.25); color:#fff;
}
body.home-v2 .prod-grid{
display:grid; grid-template-columns:1fr 1fr; gap:12px;
}
body.home-v2 .prod{
background:#fff; border:1px solid var(--line); border-radius:var(--radius);
        padding:16px 14px 14px; display:flex; flex-direction:column; gap:6px;
        box-shadow:0 4px 12px rgba(126,21,27,.04); position:relative; overflow:hidden;
}
body.home-v2 .prod::before{
content:""; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg,var(--sakura),var(--red)); z-index:1;
}
body.home-v2 .prod .pimg{
margin:-16px -14px 10px; height:160px; background:#fff; border-bottom:1px solid var(--line);
}
body.home-v2 .prod .pimg img{
width:100%; height:100%; object-fit:contain; padding:10px;
}
body.home-v2 .prod .pimg img.is-ph{
object-fit:contain; padding:30px; background:var(--sakura-soft);
}
body.home-v2 .prod .cat{
font-size:.7rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--gold);
}
body.home-v2 .prod h3{
margin:0; font-size:.98rem; line-height:1.35; font-weight:700; color:var(--ink);
}
body.home-v2 .prod .spec{
font-size:.82rem; color:var(--ink-soft); margin:0;
}
body.home-v2 .prod .price{
margin-top:auto; padding-top:8px; font-family:"Playfair Display",serif; font-weight:800; color:var(--red); font-size:1.22rem;
}
body.home-v2 .prod .price small{
font-family:"Be Vietnam Pro",sans-serif; font-size:.72rem; color:var(--ink-soft); font-weight:600; display:block;
}
body.home-v2 .prod .price.contact{
font-size:1rem; font-family:"Be Vietnam Pro",sans-serif;
}
body.home-v2 .prod .add, body.home-v2 .prod .call{
margin-top:8px; border:none; border-radius:12px; min-height:46px; width:100%;
        font-weight:800; font-size:.92rem; display:inline-flex; align-items:center; justify-content:center; gap:7px;
        text-decoration:none;
}
body.home-v2 .prod .add{
background:var(--red); color:#fff;
}
body.home-v2 .prod .add:active{
background:var(--red-dark);
}
body.home-v2 .prod .call{
background:var(--sakura-soft); color:var(--red); border:2px solid var(--red);
}
body.home-v2 .prod .add svg, body.home-v2 .prod .call svg{
width:18px; height:18px;
}
body.home-v2 .no-result{
text-align:center; color:var(--ink-soft); padding:26px 10px; display:none;
}
body.home-v2 .vat-note{
text-align:center; color:var(--ink-soft); font-size:.85rem; margin:16px 0 0;
}
body.home-v2 .all-link{
text-align:center; margin-top:14px;
}
body.home-v2 .price-band{
margin-top:44px; background:linear-gradient(120deg,var(--red-dark),var(--red) 55%,var(--red-bright));
        color:#fff; border-radius:22px; padding:28px 22px; text-align:center; position:relative; overflow:hidden;
}
body.home-v2 .price-band::before, body.home-v2 .price-band::after{
content:""; position:absolute; border-radius:50%; background:rgba(244,184,198,.16);
}
body.home-v2 .price-band::before{
width:190px; height:190px; top:-90px; left:-60px;
}
body.home-v2 .price-band::after{
width:150px; height:150px; bottom:-80px; right:-40px;
}
body.home-v2 .price-band .tag{
display:inline-block; background:var(--gold); color:#fff; font-weight:800; font-size:.78rem;
        letter-spacing:.12em; text-transform:uppercase; padding:6px 14px; border-radius:999px; margin-bottom:12px;
}
body.home-v2 .price-band h2{
font-family:"Playfair Display",serif; margin:0 0 8px; font-size:clamp(1.4rem,5.4vw,2rem); line-height:1.25; position:relative; z-index:1;
}
body.home-v2 .price-band p{
margin:0 auto 18px; max-width:520px; color:#FBE3E9; position:relative; z-index:1;
}
body.home-v2 .price-band .btn{
position:relative; z-index:1; background:#fff; color:var(--red);
}
body.home-v2 .price-search{
position:relative; z-index:1; max-width:520px; margin:0 auto 16px;
}
body.home-v2 .price-search svg{
position:absolute; left:14px; top:50%; transform:translateY(-50%); width:20px; height:20px; color:var(--ink-soft);
}
body.home-v2 .price-search input{
width:100%; min-height:50px; border:2px solid transparent; border-radius:999px;
        padding:10px 16px 10px 44px; font-size:1rem; font-family:inherit; background:#fff; color:var(--ink);
}
body.home-v2 .price-search input:focus{
outline:none; border-color:var(--gold);
}
body.home-v2 .price-full{
position:relative; z-index:1; background:#fff; color:var(--ink);
        border-radius:16px; padding:8px 18px 12px; text-align:left;
        box-shadow:0 14px 34px rgba(0,0,0,.22);
}
body.home-v2 .pf-group{
padding:12px 0 4px;
}
body.home-v2 .pf-group + .pf-group{
border-top:2px solid var(--sakura-mid); margin-top:8px;
}
body.home-v2 .pf-group h3{
margin:0 0 4px; font-family:"Playfair Display",serif; color:var(--red);
        font-size:1.18rem; font-weight:800; display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
body.home-v2 .pf-group h3 .cnt{
font-family:"Be Vietnam Pro",sans-serif; font-size:.74rem; font-weight:800; letter-spacing:.05em;
        background:var(--sakura-soft); color:var(--red); border:1px solid var(--line);
        padding:3px 10px; border-radius:999px;
}
body.home-v2 .pf-list{
display:grid;
}
body.home-v2 .pf-row{
display:flex; align-items:center; gap:12px; padding:7px 0; border-bottom:1px dashed var(--line); font-size:.93rem;
}
body.home-v2 .pf-row:last-child{
border-bottom:none;
}
body.home-v2 .pf-thumb{
width:46px; height:46px; flex:none; border-radius:10px; object-fit:contain; padding:2px; background:#fff; border:1px solid var(--line);
}
body.home-v2 .pf-thumb.is-ph{
padding:7px; background:var(--sakura-soft);
}
body.home-v2 .pf-name{
flex:1; min-width:0;
}
body.home-v2 .pf-price{
font-weight:800; color:var(--red); white-space:nowrap;
}
body.home-v2 .pf-price.contact{
color:var(--gold);
}
body.home-v2 .pf-empty{
display:none; text-align:center; color:var(--ink-soft); padding:14px 6px 8px; margin:0; font-size:.93rem;
}
body.home-v2 .pf-more{
position:relative; z-index:1; margin-top:14px;
}
body.home-v2 .price-vat{
position:relative; z-index:1; margin:14px auto 18px; max-width:560px; color:#FBE3E9; font-size:.88rem;
}
@media (min-width:900px){
body.home-v2 .pf-list{
grid-template-columns:1fr 1fr; column-gap:30px;
}
}
body.home-v2 .steps{
display:grid; gap:14px; counter-reset:step;
}
body.home-v2 .step{
background:#fff; border:1px solid var(--line); border-radius:var(--radius);
        padding:18px; display:flex; gap:14px; align-items:flex-start;
}
body.home-v2 .step .no{
flex:none; width:44px; height:44px; border-radius:50%; background:var(--sakura-soft);
        border:2px solid var(--sakura); color:var(--red); font-family:"Playfair Display",serif;
        font-weight:800; font-size:1.2rem; display:flex; align-items:center; justify-content:center;
}
body.home-v2 .step h3{
margin:2px 0 4px; font-size:1rem; font-weight:800;
}
body.home-v2 .step p{
margin:0; color:var(--ink-soft); font-size:.9rem;
}
body.home-v2 .contact-card{
background:linear-gradient(180deg,var(--sakura-soft),#fff); border:1px solid var(--line);
        border-radius:22px; padding:24px 20px; box-shadow:var(--shadow);
}
body.home-v2 .contact-card h2{
font-family:"Playfair Display",serif; color:var(--red); margin:0 0 14px; font-size:1.5rem; text-align:center;
}
body.home-v2 .c-row{
display:flex; gap:12px; padding:10px 0; border-bottom:1px dashed var(--line); align-items:flex-start;
}
body.home-v2 .c-row:last-of-type{
border-bottom:none;
}
body.home-v2 .c-row svg{
width:21px; height:21px; color:var(--red); flex:none; margin-top:2px;
}
body.home-v2 .c-row b{
display:block; font-size:.82rem; letter-spacing:.06em; text-transform:uppercase; color:var(--gold); margin-bottom:2px;
}
body.home-v2 .c-row span, body.home-v2 .c-row a{
color:var(--ink); text-decoration:none; font-weight:600;
}
body.home-v2 .contact-cta{
display:flex; flex-wrap:wrap; gap:10px; margin-top:16px;
}
body.home-v2 .contact-cta .btn{
flex:1 1 150px;
}
body.home-v2 footer{
margin-top:44px; background:var(--red-dark); color:#F6D9DE; padding:30px 0 110px; text-align:center;
}
body.home-v2 footer .fname{
font-family:"Playfair Display",serif; font-size:1.25rem; color:#fff; font-weight:800; margin:0 0 6px;
}
body.home-v2 footer p{
margin:4px 0; font-size:.88rem;
}
body.home-v2 footer a{
color:#fff; font-weight:700; text-decoration:none;
}
body.home-v2 .mobile-bar{
position:fixed; left:0; right:0; bottom:0; z-index:70;
        background:#fff; border-top:1px solid var(--line);
        display:grid; grid-template-columns:1fr 1fr 1fr;
        padding-bottom:env(safe-area-inset-bottom);
        box-shadow:0 -6px 20px rgba(126,21,27,.10);
}
body.home-v2 .mobile-bar a, body.home-v2 .mobile-bar button{
border:none; background:none; text-decoration:none; color:var(--ink);
        display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px;
        min-height:58px; font-size:.74rem; font-weight:700; position:relative;
}
body.home-v2 .mobile-bar svg{
width:22px; height:22px;
}
body.home-v2 .mobile-bar .mb-call{
color:var(--red);
}
body.home-v2 .mobile-bar .mb-cart .cart-count{
top:2px; right:calc(50% - 24px);
}
body.home-v2 .drawer-back{
position:fixed; inset:0; background:rgba(44,20,24,.5); z-index:80;
        opacity:0; pointer-events:none; transition:opacity .2s ease;
}
body.home-v2 .drawer{
position:fixed; left:0; right:0; bottom:0; z-index:90; background:#fff;
        border-radius:22px 22px 0 0; max-height:82vh; display:flex; flex-direction:column;
        transform:translateY(105%); transition:transform .25s ease;
        box-shadow:0 -12px 40px rgba(0,0,0,.25);
}
body.home-v2 .drawer.open{
transform:translateY(0);
}
body.home-v2 .drawer-back.open{
opacity:1; pointer-events:auto;
}
body.home-v2 .drawer-head{
display:flex; align-items:center; justify-content:space-between; padding:18px 20px 10px;
}
body.home-v2 .drawer-head h3{
margin:0; font-family:"Playfair Display",serif; color:var(--red); font-size:1.3rem;
}
body.home-v2 .drawer-close{
width:44px; height:44px; border-radius:50%; border:2px solid var(--line); background:#fff; font-size:1.15rem; color:var(--ink);
}
body.home-v2 .drawer-body{
overflow-y:auto; padding:4px 20px 12px;
}
body.home-v2 .cart-item{
display:flex; gap:10px; align-items:center; padding:12px 0; border-bottom:1px dashed var(--line);
}
body.home-v2 .cart-item .cthumb{
width:46px; height:46px; flex:none; border-radius:10px; object-fit:contain; padding:2px; background:#fff; border:1px solid var(--line);
}
body.home-v2 .cart-item .cthumb.is-ph{
padding:7px; background:var(--sakura-soft);
}
body.home-v2 .cart-item .info{
flex:1; min-width:0;
}
body.home-v2 .cart-item .nm{
font-weight:700; font-size:.92rem; line-height:1.3;
}
body.home-v2 .cart-item .pr{
color:var(--red); font-weight:800; font-size:.9rem;
}
body.home-v2 .qty{
display:flex; align-items:center; gap:2px;
}
body.home-v2 .qty button{
width:38px; height:38px; border-radius:10px; border:2px solid var(--line); background:#fff;
        font-size:1.05rem; font-weight:800; color:var(--red); display:flex; align-items:center; justify-content:center;
}
body.home-v2 .qty .qv{
min-width:28px; text-align:center; font-weight:800;
}
body.home-v2 .cart-empty{
text-align:center; color:var(--ink-soft); padding:28px 8px;
}
body.home-v2 .drawer-foot{
padding:14px 20px calc(18px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:var(--sakura-soft); border-radius:0;
}
body.home-v2 .total-row{
display:flex; justify-content:space-between; font-weight:800; font-size:1.05rem; margin-bottom:6px;
}
body.home-v2 .total-row .amt{
color:var(--red); font-family:"Playfair Display",serif; font-size:1.3rem;
}
body.home-v2 .drawer-foot .note{
font-size:.8rem; color:var(--ink-soft); margin:0 0 12px;
}
body.home-v2 .drawer-foot .btn{
width:100%;
}
body.home-v2 .toast{
position:fixed; left:50%; bottom:78px; transform:translate(-50%,20px); z-index:100;
        background:var(--red); color:#fff; font-weight:700; font-size:.92rem;
        padding:12px 20px; border-radius:999px; box-shadow:0 10px 26px rgba(126,21,27,.4);
        opacity:0; pointer-events:none; transition:all .25s ease; max-width:calc(100% - 32px); text-align:center;
}
body.home-v2 .toast.show{
opacity:1; transform:translate(-50%,0);
}
@media (min-width:760px){
body.home-v2 nav.main{
display:flex;
}
body.home-v2 .hotline-btn{
display:inline-flex;
}
body.home-v2 .header-actions{
margin-left:0;
}
body.home-v2 .trust-grid{
grid-template-columns:repeat(3,1fr);
}
body.home-v2 .prod-grid{
grid-template-columns:repeat(4,1fr); gap:16px;
}
body.home-v2 .steps{
grid-template-columns:repeat(3,1fr);
}
body.home-v2 .shop-tools{
grid-template-columns:1fr auto; align-items:center;
}
body.home-v2 .hero-card{
padding:36px 40px 28px; margin-top:-52px;
}
body.home-v2 .mobile-bar{
display:none;
}
body.home-v2 footer{
padding-bottom:34px;
}
body.home-v2 .toast{
bottom:30px;
}
body.home-v2 .drawer{
left:auto; width:430px; border-radius:22px 0 0 0; top:0; max-height:none; transform:translateX(105%);
}
body.home-v2 .drawer.open{
transform:translateX(0);
}
}
@media (prefers-reduced-motion:reduce){

}
/* --- Chức năng riêng của shop (không có trong mẫu): giỏ hàng dạng
   bottom-sheet trên mobile (top:auto để không kéo full-height), và
   .drawer-foot cuộn được vì chứa cả form đặt hàng --- */
body.home-v2 .drawer{ top:auto; }
/* mobile: drawer tràn full-width (bỏ width min(430px,94vw) của base) */
@media (max-width:759px){ body.home-v2 .drawer{ width:auto; } }
/* .hero-banner là DIV trong mẫu mới (không phải IMG như thiết kế cũ):
   bỏ aspect-ratio 16/9 của base để div ôm đúng chiều cao ảnh 600px */
body.home-v2 .hero-banner{ aspect-ratio:auto; }
body.home-v2 .drawer-foot{ max-height:60%; overflow-y:auto; }
body.home-v2 .drawer .ship, body.home-v2 .drawer .pay-method, body.home-v2 .drawer .bank-info{ background:#fff; }
/* nút số lượng trong modal xem nhanh giữ kiểu pill cũ (không lấy kiểu
   .qty của giỏ hàng trong mẫu) */
body.home-v2 .modal .qty{ display:flex; align-items:center; gap:0; border:1px solid var(--line); border-radius:999px; overflow:hidden; }
body.home-v2 .modal .qty button{ border:0; background:#fff; width:38px; height:38px; font-size:18px; border-radius:0; color:var(--ink); font-weight:400; }
body.home-v2 .modal .qty span{ min-width:36px; text-align:center; font-weight:700; }

/* ===== Trang giỏ hàng toàn trang (cart.html, Phong 19/11): danh sách món
   hiện hết trên một trang thay vì drawer hẹp — thêm nhiều món vẫn xem được ===== */
body.home-v2.cart-page .cart-page-head{ padding:28px 0 4px; }
body.home-v2.cart-page .back-link{ color:var(--red); font-weight:700; font-size:.92rem; text-decoration:none; }
body.home-v2.cart-page .cart-page-head h1{ font-family:"Playfair Display",serif; font-weight:800; color:var(--red); font-size:clamp(1.5rem,5vw,2rem); margin:8px 0 4px; }
body.home-v2.cart-page .cart-page-head h1 span{ font-family:"Be Vietnam Pro",sans-serif; font-size:1rem; font-weight:700; color:var(--ink-soft); }
body.home-v2.cart-page .cart-page-sub{ color:var(--ink-soft); margin:0; }
body.home-v2.cart-page .cart-layout{ display:grid; gap:20px; margin:18px 0 44px; }
@media (min-width:900px){
  body.home-v2.cart-page .cart-layout{ grid-template-columns:1fr 380px; align-items:start; }
  body.home-v2.cart-page .cart-summary-card{ position:sticky; top:84px; }
}
body.home-v2.cart-page .cart-list-card, body.home-v2.cart-page .cart-summary-card{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:20px; box-shadow:0 4px 12px rgba(126,21,27,.04); }
body.home-v2.cart-page .cart-summary-card h2{ font-family:"Playfair Display",serif; font-weight:800; color:var(--red); font-size:1.25rem; margin:0 0 14px; }
body.home-v2.cart-page .cart-summary-card .subtotal{ display:flex; justify-content:space-between; color:var(--muted); font-size:14px; margin-bottom:4px; }
body.home-v2.cart-page .cart-summary-card .note{ font-size:.8rem; color:var(--ink-soft); margin:0 0 12px; }
body.home-v2.cart-page .cart-item:last-child{ border-bottom:0; }
body.home-v2.cart-page .cart-item .cthumb{ width:64px; height:64px; }
body.home-v2.cart-page .cart-empty-page{ text-align:center; background:#fff; border:1px solid var(--line); border-radius:18px; padding:48px 20px; margin:18px 0 44px; }
body.home-v2.cart-page .cart-empty-page p{ color:var(--ink-soft); margin:0 0 18px; }

/* pages content-type fix 2026-11-29 */
