/* Fallback structural selectors used by existing PHP/JS components.
   All legacy !important declarations have been retired; VexUI is authoritative. */
@layer bm-compatibility {
/* Compatibility structure: style.css */
:root{--blue:#0d99e9;--blue-d:#0879d3;--ink:#152941;--muted:#718096;--border:#e3eaf3;--bg:#f4f7fb;--surface:#fff;--shadow:0 8px 26px rgba(27,52,83,.055);font-family:var(--hm-facebook-font);color:var(--ink)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font-size:14px;line-height:1.55}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.3;letter-spacing:-.025em}h2{font-size:26px}h3{font-size:16px}p{color:var(--muted)}section[id]{scroll-margin-top:30px}.container{max-width:1260px;margin:auto;padding-left:28px;padding-right:28px}.topline{background:#0896eb;color:#fff;font-size:12px}.topline-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:10px;padding-bottom:10px}.topline .signal{color:#b3ffd0}.header{background:#fff}.header-inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:30px}.logo{display:flex;align-items:center;gap:11px;flex-shrink:0}.logo-symbol{display:grid;place-items:center;width:44px;height:44px;background:#e4f5ff;color:var(--blue-d);border:1px solid #b6e5ff;border-radius:15px;font-size:25px;font-weight:900}.logo strong{display:block;font-size:23px;letter-spacing:-.06em;color:#132d49;white-space:nowrap}.logo i{font-style:normal;color:var(--blue)}.logo small{display:block;color:#8495a9;font-size:10px;letter-spacing:.03em}.search{height:44px;max-width:420px;flex:1;display:flex;align-items:center;gap:10px;padding:0 5px 0 14px;border:1px solid #e8edf2;border-radius:11px;background:#f6f8fa;color:#8b9aaa}.search input{background:transparent;border:0;outline:0;min-width:0;flex:1;color:#34485d}.search button{background:white;color:var(--blue-d);border:1px solid #e1e8f1;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:750}.head-actions{display:flex;gap:8px;align-items:center;white-space:nowrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 16px;font-weight:720;font-size:13px;border:1px solid transparent;border-radius:10px;transition:background .2s,border .2s,transform .2s,box-shadow .2s;white-space:nowrap}.button:hover{transform:translateY(-1px)}.button-main{background:var(--blue);color:#fff;box-shadow:0 4px 10px rgba(13,153,233,.16)}.button-main:hover{background:var(--blue-d)}.button-light{background:#f7fafc;color:#25354b;border-color:#e3ebf3}.button-light:hover{background:#ecf6fc}.button-white{background:#fff;color:#0c83d5}.button-ghost{border-color:rgba(255,255,255,.5);color:#fff;background:rgba(255,255,255,.1)}.icon-link{display:grid;place-items:center;border-radius:50%;background:#f5f8fa;width:36px;height:36px;color:#60748d;font-size:20px}.nav{background:#fff;border-top:1px solid #f3f4f7;border-bottom:1px solid #e9eff6}.nav-inner{display:flex;align-items:center;gap:27px;min-height:55px;font-weight:620;color:#66768b;font-size:13px}.nav-inner>a:hover{color:var(--blue)}.nav-spacer{flex:1}.secure-label{font-size:12px;color:#20a07b;white-space:nowrap}.hero{background:linear-gradient(120deg,#087de6,#0b9bf0 52%,#37b4e9);position:relative;overflow:hidden;color:white}.hero:before{content:"";position:absolute;width:650px;height:650px;border:1px solid rgba(255,255,255,.09);border-radius:100%;right:-130px;top:-330px;box-shadow:0 0 0 110px rgba(255,255,255,.035),0 0 0 210px rgba(255,255,255,.026)}.hero-grid{min-height:326px;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.9fr);align-items:center;gap:38px}.hero-copy{padding:49px 0;position:relative;z-index:1}.eyebrow-light{font-weight:850;color:#d9f7ff;letter-spacing:.16em;font-size:11px}.hero h1{font-size:clamp(28px,3vw,39px);line-height:1.2;letter-spacing:-.037em;max-width:600px;margin:11px 0 14px}.hero p{color:#daf5ff;font-size:14px;max-width:560px;line-height:1.8}.hero-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:23px 0}.hero-foot{display:flex;gap:22px;color:#d8f9ff;font-size:12px}.hero-art{height:280px;position:relative}.orb{position:absolute;border-radius:100%;filter:blur(.5px)}.orb-one{width:240px;height:240px;top:12px;left:25%;background:linear-gradient(145deg,rgba(255,255,255,.3),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.22)}.orb-two{width:120px;height:120px;bottom:5px;left:9%;background:rgba(130,216,255,.25)}.float-tile{position:absolute;display:flex;align-items:center;gap:12px;width:285px;max-width:88%;padding:15px 17px;background:rgba(255,255,255,.95);box-shadow:0 18px 38px rgba(4,55,121,.2);color:#254363;border-radius:14px}.float-tile.first{top:60px;left:6%;transform:rotate(-3deg)}.float-tile.second{top:151px;left:19%;transform:rotate(3deg)}.tile-icon{width:38px;height:38px;background:#e0f4ff;border-radius:11px;display:grid;place-items:center;font-size:19px;color:#0d90dc}.tile-icon.purple{background:#f0eaff;color:#7753db}.float-tile b{font-size:13px}.float-tile small{display:block;font-size:11px;color:#8b9aaa}.float-tile strong{margin-left:auto;color:#33b68d}.main-content{padding-top:31px;padding-bottom:45px}.announcement{background:#fff;border:1px solid var(--border);border-radius:16px;padding:23px 25px;display:flex;align-items:flex-start;gap:17px;box-shadow:var(--shadow)}.announce-mark{height:43px;width:43px;background:#e6f5ff;color:#088dde;border-radius:12px;display:grid;place-items:center;font-size:22px;flex-shrink:0}.announce-text{flex:1}.announce-text strong{font-size:15px}.announce-text p{margin:5px 0 7px;color:#617288}.announce-text b{color:#f59426;font-size:12px}.announce-rule{height:1px;background:#ecf1f6;margin:15px 0}.small-arrow{color:#078cda;font-size:12px;white-space:nowrap}.catalog,.news{padding-top:43px}.heading-row{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:21px}.heading-row h2,.heading-row h1{font-size:28px;margin:6px 0}.heading-row h1{font-size:30px}.heading-row p{margin:0}.heading-row em{font-style:normal;color:var(--blue)}.eyebrow{font-weight:850;font-size:11px;color:var(--blue);letter-spacing:.15em}.total-pill{border:1px solid #bfe6fb;color:#078bd4;background:#e8f6ff;font-size:12px;padding:8px 14px;border-radius:24px;white-space:nowrap}.category-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:17px}.category-tab{background:#fff;border:1px solid #e3eaf2;padding:11px 16px;border-radius:9px;font-size:13px;font-weight:700;color:#607089;transition:.2s}.category-tab:hover{border-color:#9bd8ff;color:#0079cf}.category-tab.selected{background:#283547;border-color:#283547;color:#fff}.filter-message{background:#eaf6ff;padding:10px 15px;border-radius:9px}.filter-message a{color:var(--blue-d)}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.product-card{background:#fff;border:1px solid #e0e9f3;border-radius:14px;padding:19px;display:flex;align-items:center;gap:14px;min-height:170px;box-shadow:var(--shadow);transition:border-color .2s,transform .2s}.product-card:hover{border-color:#9fd7f7;transform:translateY(-2px)}.product-avatar{flex:0 0 auto;display:grid;place-items:center;width:52px;height:52px;border-radius:14px;color:#0c8bdf;background:linear-gradient(155deg,#e7f7ff,#d2ebff);font-size:25px}.product-info{flex:1;min-width:0}.product-category{font-size:10px;font-weight:800;color:#148ede;text-transform:uppercase;letter-spacing:.045em}.product-info h3{font-size:14px;margin:3px 0 7px;line-height:1.45}.product-info p{font-size:12px;line-height:1.5;margin:0 0 8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.stock{font-size:11px;font-weight:750}.in-stock{color:#0caa74}.out-stock{color:#f28486}.purchase{align-self:stretch;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:10px;flex:0 0 145px}.price{font-size:18px;font-weight:850;color:#0185d8;text-align:center}.button-buy{background:#eaf7ff;border-color:#a5dfff;color:#007ccc;font-size:12px;padding:9px 7px}.button-buy:hover{background:#d2efff}.button-disabled{background:#f2f4f6;color:#a1acb8;font-size:12px;padding:9px 7px;cursor:not-allowed}.soldout{opacity:.78}.soldout:hover{transform:none}.empty-state{padding:45px;text-align:center;background:#fff;border:1px solid var(--border);border-radius:12px;color:#8291a4}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.news-card{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;box-shadow:var(--shadow);transition:transform .2s}.news-card:hover{transform:translateY(-3px)}.news-cover{height:104px;background:linear-gradient(140deg,#078ee4,#62c9f5);position:relative;color:white;display:flex;align-items:center;justify-content:center}.news-cover>span{font-size:60px;opacity:.24}.news-cover small{position:absolute;bottom:12px;left:17px;font-weight:780;font-size:10px;letter-spacing:.12em}.news-body{padding:17px}.news-date{font-size:11px;color:#90a0b3}.news-card h3{font-size:15px;margin:6px 0}.news-card p{font-size:12px;min-height:55px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.news-card strong{font-size:12px;color:var(--blue-d)}.lower-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:36px}.info-panel{display:flex;gap:17px;background:#fff;border:1px solid var(--border);border-radius:16px;padding:27px;min-height:240px}.info-panel h2{font-size:19px;margin:7px 0 12px}.info-panel p{font-size:13px;line-height:1.75}.info-icon{height:44px;width:44px;display:grid;place-items:center;background:#e9f6ff;color:#048de1;border-radius:12px;font-size:22px;flex-shrink:0}.faq-item{border-top:1px solid #eaf0f7;padding:10px 0}.faq-item summary{font-size:13px;font-weight:720;cursor:pointer}.faq-item p{margin:8px 0 0}.telegram-banner{border-radius:16px;background:linear-gradient(110deg,#097dde,#20b1f0);display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 32px;margin-top:30px;color:#fff}.telegram-banner span{font-size:11px;font-weight:850;letter-spacing:.12em;color:#c4f1ff}.telegram-banner h2{font-size:22px;margin:5px 0}.telegram-banner p{color:#e0f6ff;margin:0}.footer{background:#fff;border-top:1px solid #e5ebf2;margin-top:22px;padding:43px 0 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}.footer-logo{font-size:20px;font-weight:860;color:#0e8cdd}.footer-grid p{font-size:13px;max-width:370px;margin-top:10px}.footer-grid a{display:block;font-size:13px;color:#6b7e92;margin:8px 0}.footer-grid a:hover{color:var(--blue)}.footer-grid h3{font-size:16px}.footer-pill{display:inline-block;background:#eaf9f3;color:#129d72;padding:7px 13px;border-radius:20px;font-size:11px}.footer-bottom{margin-top:28px;border-top:1px solid #edf1f5;padding-top:19px;padding-bottom:19px;display:flex;justify-content:space-between;gap:15px;color:#91a0af;font-size:12px}.float-telegram,.float-top{position:fixed;z-index:20;bottom:25px;display:grid;place-items:center;width:47px;height:47px;border-radius:100%;background:#0a9ee9;color:#fff;box-shadow:0 6px 18px #197ebc44;font-size:23px}.float-telegram{left:22px}.float-top{right:22px}.simple-card,.reading-card,.paper-card{background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow)}.reading-wrap{min-height:55vh;padding-top:40px;padding-bottom:40px;max-width:900px}.reading-card{padding:38px}.reading-card h1{font-size:32px;margin-top:13px}.reading-card .article-lead{font-size:16px}.article-content{font-size:15px;line-height:1.9;overflow-wrap:anywhere}.reading-card hr{border:0;border-top:1px solid var(--border);margin:20px 0}.back-link{display:inline-block;color:var(--blue-d);margin-bottom:17px}.simple-card{max-width:820px;padding:40px;margin-top:50px;margin-bottom:60px}.auth-section{padding:53px 18px 75px;display:flex;justify-content:center;min-height:58vh}.auth-panel{background:#fff;width:min(100%,480px);padding:36px;border:1px solid var(--border);border-radius:18px;box-shadow:0 14px 55px rgba(35,68,102,.08);align-self:flex-start}.auth-badge{font-size:11px;font-weight:850;letter-spacing:.13em;color:#0e8bd6}.auth-panel h1{font-size:29px;margin:10px 0}.auth-panel>p{font-size:13px;margin-bottom:23px}.form-stack{display:flex;flex-direction:column;gap:15px}.form-stack label,.settings-fields label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:750;color:#51657a}.form-stack input,.form-stack textarea,.form-stack select,.settings-fields input,.settings-fields textarea{width:100%;padding:11px 12px;border:1px solid #dce7f2;border-radius:9px;background:#fbfdff;color:#223d59;outline:0;transition:border .15s,box-shadow .15s}.form-stack input:focus,.form-stack textarea:focus,.form-stack select:focus,.settings-fields input:focus,.settings-fields textarea:focus{border-color:#5abaf1;box-shadow:0 0 0 3px #dff4ff}.form-stack textarea,.settings-fields textarea{resize:vertical}.form-stack .toggle{flex-direction:row;align-items:center}.form-stack .toggle input{width:auto}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wide{width:100%}.auth-link{font-size:13px;text-align:center;margin:19px 0 0}.auth-link a{color:var(--blue-d);font-weight:740}.alert{padding:12px 15px;border-radius:10px;border:1px solid #bfe5f9;background:#ebf8ff;color:#0e6592;font-size:13px;margin:13px 0}.alert.success{background:#eafaef;border-color:#b7ebce;color:#147448}.alert.error{background:#fff0ee;border-color:#ffcfc7;color:#ac4130}.alert.warning{background:#fff7e6;border-color:#ffe3ac;color:#95650d}.flash-holder:empty{display:none}.dashboard-content{padding-top:34px;padding-bottom:60px;min-height:50vh}.admin-toolbar{padding-top:18px;padding-bottom:18px;display:flex;gap:26px;justify-content:space-between;align-items:center}.admin-toolbar>span b{display:block;font-size:13px}.admin-toolbar>span small{display:block;color:#8192a5;font-size:11px}.admin-links{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.admin-links a{padding:8px 12px;border-radius:8px;font-weight:710;font-size:12px;background:#edf4fa;color:#526b84}.admin-links a:hover{background:#d9effd;color:#087cce}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.stat-card{background:#fff;padding:24px;border:1px solid var(--border);border-radius:13px}.stat-card span,.stat-card small{display:block;color:#7d8fa3;font-size:12px}.stat-card strong{font-size:34px;display:block;margin:9px 0 3px}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}.quick-tile{padding:25px;background:#fff;border:1px solid var(--border);border-radius:15px;box-shadow:var(--shadow)}.quick-tile b{font-size:15px}.quick-tile p{margin:11px 0 18px;font-size:12px}.quick-tile span{color:var(--blue-d);font-size:12px;font-weight:750}.admin-editor-grid{display:grid;grid-template-columns:minmax(300px,450px) minmax(0,1fr);gap:20px;align-items:start}.paper-card{padding:24px;min-width:0}.paper-card h2{font-size:19px;margin-bottom:20px}.paper-card>p{font-size:13px}.settings-panel{max-width:950px}.settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-fields label:nth-last-of-type(-n+4){grid-column:1/-1}.settings-fields .button{justify-self:start}.table-wrap{overflow:auto}.table-wrap table{border-collapse:collapse;width:100%;font-size:12px}.table-wrap th{text-align:left;padding:12px 10px;background:#f4f8fc;font-size:11px;color:#70839b}.table-wrap td{border-bottom:1px solid #edf2f8;padding:13px 10px;vertical-align:middle}.table-wrap td strong{display:block;min-width:130px;font-size:12px}.table-wrap td small{display:block;color:#9ba8b8}.table-wrap a{color:#078bde;font-weight:750}.inline-form{display:inline-block;margin-left:7px}.danger-link{border:0;background:none;color:#db6470;font-size:12px;font-weight:720;padding:0}.label-pill{border-radius:20px;padding:5px 8px;font-size:10px;font-weight:750}.label-pill.ok{background:#e9f9ef;color:#208b5b}.label-pill.off{background:#f1f3f6;color:#8493a5}.table-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.table-head span{font-size:11px;color:#97a5b4}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.logout-form{margin-top:20px}
@media(max-width:1080px){.header-inner{flex-wrap:wrap;padding-top:17px;padding-bottom:17px}.search{order:3;min-width:100%;max-width:none}.nav-inner{gap:16px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}.admin-toolbar{align-items:flex-start;flex-direction:column}.admin-editor-grid{grid-template-columns:1fr}.footer-grid{gap:25px}}
@media(max-width:760px){.container{padding-left:16px;padding-right:16px}.topline-inner{font-size:11px}.topline-inner>span:last-child{display:none}.header-inner{min-height:auto;gap:15px}.logo strong{font-size:19px}.logo-symbol{width:40px;height:40px}.head-actions{margin-left:auto}.head-actions .icon-link{display:none}.head-actions .button{font-size:11px;padding:8px 10px}.nav-inner{gap:15px;font-size:12px}.secure-label{display:none}.hero-grid{grid-template-columns:1fr}.hero-copy{padding:35px 0}.hero-art{display:none}.hero h1{font-size:29px}.hero-foot{flex-wrap:wrap;gap:7px 20px}.announcement{padding:18px;gap:10px;flex-wrap:wrap}.announce-mark{width:36px;height:36px}.small-arrow{margin-left:46px}.heading-row{align-items:flex-start}.heading-row h2{font-size:23px}.category-pills{flex-wrap:nowrap;overflow-x:auto;padding-bottom:7px}.category-tab{white-space:nowrap}.product-grid,.lower-grid,.account-grid{grid-template-columns:1fr}.news-grid{grid-template-columns:repeat(2,1fr)}.telegram-banner{flex-direction:column;align-items:flex-start}.footer-grid{grid-template-columns:1fr 1fr;gap:18px}.footer-grid>div:first-child{grid-column:1/-1}.stats-grid{grid-template-columns:repeat(2,1fr)}.quick-grid{grid-template-columns:1fr}.settings-fields{grid-template-columns:1fr}.settings-fields label:nth-last-of-type(-n+4){grid-column:auto}.auth-section{padding-top:25px}.auth-panel{padding:25px}.reading-card{padding:23px}}
@media(max-width:500px){.head-actions .button-main{display:none}.nav-inner{gap:12px}.nav-inner>a{white-space:nowrap}.product-card{align-items:flex-start;flex-wrap:wrap}.product-avatar{height:42px;width:42px}.purchase{flex:1 0 100%;flex-direction:row;align-items:center;justify-content:space-between}.price{text-align:left}.news-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.total-pill{display:none}.form-two{grid-template-columns:1fr}.paper-card{padding:17px}}

/* ===========================================================
   WEBSITE 2026 — storefront + member experience, v2 layout
   Kept separate from admin and database structures.
   =========================================================== */
:root{--blue:#078de2;--blue-d:#0873c4;--ink:#192b42;--muted:#738297;--border:#e0e8f2;--bg:#f5f7fa;--shadow:0 5px 20px rgba(32,63,105,.045)}
body{background:var(--bg);color:var(--ink)}
.container{max-width:1280px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #69c6ff;outline-offset:3px}
.topline{background:#0b97e7}.topline-inner{padding-top:7px;padding-bottom:7px;font-size:11px}
.header{border-bottom:0}
.header-inner{min-height:80px;gap:24px}
.logo{gap:10px}
.logo-symbol{width:48px;height:48px;background:linear-gradient(145deg,#0aa1f2,#067acf);color:white;border:0;border-radius:13px;box-shadow:0 6px 13px #159ade30}
.logo strong{font-size:21px;letter-spacing:-.05em}
.logo small{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.search{max-width:450px;height:44px;border-radius:9px;background:#f4f6f9;border-color:#edf0f4}
.search:focus-within{border-color:#9edcff;box-shadow:0 0 0 3px #e8f7ff}
.search button{background:#edf7fd;border:0;color:#0983ce}
.head-actions .button{padding:10px 14px;font-size:12px}
.nav{border-top:1px solid #edf1f5;border-bottom:1px solid #e3e9ef}
.nav-inner{min-height:52px;gap:24px}
.nav-inner>a{white-space:nowrap}
.secure-label{color:#108c70;background:#eaf9f3;border-radius:22px;padding:7px 12px}
.secure-label::first-letter{color:#16b784}
.home-content{padding-top:34px;padding-bottom:56px}
.intro-board{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(260px,.72fr);border:1px solid #e2e9f2;border-radius:13px;box-shadow:0 8px 25px rgba(37,75,112,.065);background:#fff;overflow:hidden;min-height:248px}
.intro-main{padding:30px 36px 27px}
.intro-kicker{font-size:10px;font-weight:850;letter-spacing:.09em;color:#078bdb;display:flex;align-items:center;gap:8px}
.intro-kicker-end{color:#98a8b7}
.live-dot{display:inline-block;width:8px;height:8px;border-radius:100%;background:#13bf82;box-shadow:0 0 0 4px #e0f8eb}
.intro-main h1{font-size:clamp(23px,2.5vw,30px);margin:11px 0 8px;letter-spacing:-.035em}
.intro-lead{font-size:13px;line-height:1.7;max-width:720px;margin:0;color:#6d7e91}
.intro-divider{height:1px;background:#e9eef4;margin:22px 0 21px}
.notice-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}
.notice-block{display:flex;gap:11px;min-width:0}
.notice-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;font-size:15px;font-weight:900}
.notice-blue{color:#067bc7;background:#e7f5ff}.notice-orange{color:#c87d14;background:#fff4df}
.notice-block strong{display:block;font-size:12px;margin:3px 0 5px;color:#273b53}
.notice-block p{font-size:12px;line-height:1.65;margin:0;color:#6d7c90;white-space:normal;overflow-wrap:anywhere}
.intro-side{background:linear-gradient(150deg,#eff9ff 0%,#e4f3ff 100%);padding:29px 24px;border-left:1px solid #dcecf8;display:flex;flex-direction:column;align-items:stretch}
.side-head{display:flex;align-items:center;gap:10px}
.side-symbol{display:grid;place-items:center;width:45px;height:45px;border-radius:13px;background:#139ae6;color:white;font-size:23px;box-shadow:0 6px 15px #0f8bd630}
.side-head strong{display:block;font-size:14px;line-height:1.3}.side-head small{display:block;color:#6f8ba1;font-size:11px;margin-top:2px}
.intro-side>p{font-size:12px;line-height:1.7;margin:15px 0 17px;color:#627b91}
.intro-primary{width:100%;min-height:42px;justify-content:space-between;padding:11px 17px;border-radius:9px;background:linear-gradient(90deg,#087ad0,#13aaf1)}
.intro-primary span,.intro-secondary span{margin-left:auto}
.intro-secondary{display:flex;align-items:center;justify-content:space-between;margin-top:9px;padding:10px 15px;border:1px solid #adddfe;color:#0b78ba;background:white;border-radius:9px;font-size:12px}
.intro-secondary:hover{background:#f4fbff}
.side-safe{font-size:10px;color:#508899;margin-top:auto;padding-top:17px;display:flex;gap:7px;align-items:center;line-height:1.5}
.side-safe span{color:#0bab78;font-weight:900}
.catalog-new{padding-top:39px}
.catalog-heading{display:flex;gap:18px;align-items:end;justify-content:space-between;margin:0 0 20px}
.catalog-heading h2{font-size:25px;margin:5px 0 4px;letter-spacing:-.03em}
.catalog-heading h2 em{font-style:normal;color:#0792db}
.catalog-heading p{font-size:12px;margin:0;color:#7b8b9f}
.catalog-count{background:white;border:1px solid #e3eaf2;border-radius:24px;padding:7px 14px;color:#677e93;font-size:11px;font-weight:800;white-space:nowrap}
.category-pills{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}
.category-tab{background:#fff;border:1px solid #e3e8ef;color:#66798d;border-radius:8px;padding:11px 14px;font-size:12px;font-weight:750;max-width:100%;white-space:normal}
.category-tab.selected{background:#253449;color:white;border-color:#253449}
.category-tab:hover{background:#ebf6ff}
.category-tab.selected:hover{background:#253449}
.category-section{margin-bottom:25px}
.category-heading{background:linear-gradient(92deg,#079bf0,#2788c8);border-radius:10px 10px 8px 8px;box-shadow:0 4px 10px #077cce23;display:flex;align-items:center;gap:11px;padding:12px 17px;min-height:49px;color:#fff;margin-bottom:12px}
.category-heading h3{font-size:15px;color:white;letter-spacing:-.01em;margin:0;line-height:1.35}
.category-heading-icon{display:grid;place-items:center;width:26px;height:26px;background:#ffffff28;border:1px solid #ffffff29;border-radius:6px;font-size:15px;flex-shrink:0}
.category-heading-count{margin-left:auto;border:1px solid #ffffff43;border-radius:20px;background:#ffffff20;padding:3px 9px;font-size:10px;font-weight:750;white-space:nowrap}
.product-list{display:grid;grid-template-columns:1fr;gap:10px}
.product-list .product-card{display:grid;grid-template-columns:54px minmax(0,1fr) minmax(165px,218px);gap:17px;align-items:center;min-height:130px;border:1px solid #e0e8f1;border-radius:11px;background:white;padding:17px 19px;box-shadow:0 3px 12px #203f6910;transition:border-color .18s,box-shadow .18s}
.product-list .product-card:hover{transform:none;border-color:#9bd4f7;box-shadow:0 6px 16px #1b84bb16}
.product-list .product-avatar{width:48px;height:48px;background:#e9f5ff;border-radius:11px;color:#0d92df;border:1px solid #c4eaff}
.product-list .product-info{min-width:0}
.product-list .product-info h4{font-size:14px;line-height:1.45;margin:0 0 5px;color:#23364e;font-weight:820;overflow-wrap:anywhere}
.product-list .product-info p{font-size:12px;line-height:1.62;color:#728096;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0 0 7px;max-width:740px}
.product-list .stock{display:inline-flex;align-items:center;gap:6px;border-radius:30px;padding:4px 9px;font-size:10px}
.product-list .in-stock{background:#eaf9f3;color:#159267}
.product-list .out-stock{background:#fff0f1;color:#c86c79}
.stock-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:currentColor}
.product-list .purchase{display:flex;flex-direction:column;justify-content:center;align-self:center;flex:none;gap:7px;align-items:stretch;width:100%}
.price-caption{text-align:center;font-size:10px;color:#9aabc0;line-height:1.1}
.product-list .price{border:1px solid #c4e7ff;border-radius:22px;background:#f0f9ff;font-size:17px;font-weight:850;color:#0588d6;padding:3px 10px;line-height:1.6}
.product-list .button-buy{border:1px solid #a4dfff;color:#0782c4;background:#e3f6ff;border-radius:8px;min-height:38px;font-weight:800;font-size:12px}
.product-list .button-buy:hover{background:#c7edff}
.product-list .button-disabled{border-radius:8px;min-height:38px;background:#f1f4f8;color:#98a7b7}
.product-list .soldout{opacity:.56}
.product-list .soldout:hover{border-color:#e0e8f1;box-shadow:0 3px 12px #203f6910}
.news-new{padding-top:23px}
.section-text-link{font-size:12px;color:#087fca;font-weight:750;white-space:nowrap}
.news-new .news-grid{gap:14px}
.news-new .news-card{border-radius:11px;box-shadow:0 3px 12px #203f690d}
.news-new .news-cover{height:90px;background:linear-gradient(110deg,#188ee0,#57b8f6)}
.news-new .news-cover>span{font-size:45px}
.news-new .news-body{padding:18px}
.news-new .news-body p{min-height:45px}
.lower-grid{margin-top:28px;gap:13px}
.lower-grid .info-panel{border-radius:12px;padding:25px;min-height:225px;box-shadow:0 3px 12px #203f690d}
.info-panel p{overflow-wrap:anywhere}
.telegram-banner{margin-top:25px;border-radius:12px;padding:25px 30px;box-shadow:0 5px 15px #0b92da22}
.telegram-banner h2{font-size:20px}
.footer{padding-top:36px;margin-top:0}
.footer-grid h3{margin:0 0 9px}
.footer-grid p,.footer-grid a{line-height:1.85}
.footer-bottom{margin-top:32px}
/* Member login & registration — consistent with public site */
.auth-page{padding:22px 0 32px;min-height:0;background:radial-gradient(circle at 5% 0,#e8f5ff 0,transparent 34%),#f4f7fa}
.auth-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.96fr);max-width:1260px;min-height:0;gap:0;align-items:stretch}
.auth-feature{display:flex;flex-direction:column;justify-content:space-between;padding:26px 30px;min-height:390px;background:linear-gradient(151deg,#0878c9 0%,#109de8 63%,#35b5ef 100%);color:#fff;border-radius:17px 0 0 17px;position:relative;overflow:hidden;box-shadow:0 12px 30px rgba(28,77,133,.09)}
.auth-feature::after{content:"";position:absolute;width:370px;height:370px;border:1px solid #ffffff36;border-radius:50%;right:-170px;bottom:-120px;box-shadow:0 0 0 65px #ffffff12,0 0 0 132px #ffffff0c;pointer-events:none}
.auth-feature>*{position:relative;z-index:1}
.auth-feature-logo{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:850;letter-spacing:.085em}
.auth-feature-logo span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#ffffff28;border:1px solid #ffffff50;font-size:18px}
.auth-feature-eyebrow{font-size:11px;color:#c9f0ff;letter-spacing:.13em;font-weight:850}
.auth-feature h2{font-size:clamp(25px,2.7vw,32px);line-height:1.32;letter-spacing:-.035em;margin:10px 0;color:white}
.auth-feature h2 em{font-style:normal;color:#c5f8ff}
.auth-feature p{font-size:13px;color:#e6f6ff;max-width:460px;line-height:1.65}
.auth-feature-items{display:grid;gap:6px;margin-top:13px;font-size:12px;color:#effaff}
.auth-feature-foot{font-size:11px;color:#d5f6ff}
.auth-form-area{display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e3eaf2;border-left:0;border-radius:0 17px 17px 0;padding:22px 28px;box-shadow:0 12px 30px rgba(28,77,133,.09)}
.auth-form-area .auth-panel{padding:0;background:none;border:0;box-shadow:none;border-radius:0;width:100%;max-width:520px;align-self:auto}
.auth-switch{display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:3px;background:#f0f4f8;border:1px solid #e6edf4;border-radius:10px;margin-bottom:14px}
.auth-switch a{text-align:center;padding:7px;border-radius:7px;color:#74859b;font-size:12px;font-weight:800;transition:.18s}
.auth-switch a.active{background:#fff;color:#0785d2;box-shadow:0 2px 8px #2e496a14}
.auth-badge{font-size:10px;letter-spacing:.12em;color:#0b91e3}
.auth-form-area h1{font-size:27px;margin:4px 0 3px}
.auth-subtitle{font-size:12px;color:#7e8c9e;margin-bottom:12px}
.auth-form-area .form-stack{gap:0}
.auth-form-area .form-stack>label{font-size:12px;font-weight:760;color:#344c66;display:block;margin:0 0 4px}
.auth-form-area .input-wrap{display:flex;align-items:center;border:1px solid #e0e7ef;border-radius:9px;background:#fafcff;transition:.18s;margin-bottom:10px;min-height:40px}
.auth-form-area .input-wrap:focus-within{border-color:#66bff2;background:white;box-shadow:0 0 0 3px #e5f6ff}
.auth-form-area .input-wrap input{border:0;outline:0;background:transparent;padding:9px 5px;flex:1;min-width:0;color:#233d5c;font-size:13px}
.auth-form-area .input-wrap input:focus{box-shadow:none}
.input-prefix{width:39px;text-align:center;font-size:16px;color:#93a6ba;flex-shrink:0}
.password-toggle{border:0;background:transparent;padding:10px 12px;color:#0c89d3;font-size:11px;font-weight:800;cursor:pointer}
.password-toggle:hover{text-decoration:underline}
.form-helper{font-size:11px;color:#8495a8;margin:-5px 0 18px}
.auth-form-area .auth-submit{border-radius:9px;min-height:40px;justify-content:space-between;padding:9px 15px;margin-top:3px;box-shadow:0 5px 16px #118ad42b}
.auth-separator{display:flex;align-items:center;gap:10px;color:#95a5b7;font-size:10px;letter-spacing:.06em;justify-content:center;margin:13px 0 10px}
.auth-separator:before,.auth-separator:after{content:"";height:1px;background:#e7edf4;flex:1}
.auth-outline{border:1px solid #c0e2f8;color:#0c83cf;background:#f6fbff;border-radius:9px;font-size:12px;padding:11px}
.auth-outline:hover{background:#e9f7ff}
.auth-footnote{font-size:11px;line-height:1.6;color:#8c9bad;margin:11px 0 0;text-align:center}
.auth-footnote a{color:#0982cb;font-weight:740}
.password-meter{display:flex;gap:4px;margin:-4px 0 6px;min-height:4px}
.password-meter span{display:block;flex:1;height:4px;border-radius:6px;background:#e5ebf2;transition:background .2s}
.password-meter[data-strength="1"] span:nth-child(-n+1),.password-meter[data-strength="2"] span:nth-child(-n+2){background:#ed9d55}
.password-meter[data-strength="3"] span:nth-child(-n+3){background:#2badd7}
.password-meter[data-strength="4"] span:nth-child(-n+4){background:#21b77e}
.password-hint{font-size:10px;color:#899bad;margin:0 0 9px;display:block;line-height:1.5}
/* Shared small layout fixes */
@media(max-width:1100px){.header-inner{gap:14px}.head-actions .button{padding:9px 11px}.intro-board{grid-template-columns:minmax(0,1.5fr) minmax(255px,.78fr)}.notice-grid{gap:13px}.auth-shell{max-width:1260px}.auth-form-area{padding:22px 26px}}
@media(max-width:830px){.header-inner{flex-wrap:wrap;padding-top:15px;padding-bottom:16px;gap:15px}.search{order:3;flex-basis:100%;max-width:none}.head-actions{margin-left:auto}.nav-inner{gap:15px;overflow:auto;flex-wrap:nowrap;scrollbar-width:thin;white-space:nowrap}.nav-spacer,.secure-label{display:none}.intro-board{grid-template-columns:1fr}.intro-main{padding:26px}.intro-side{border-left:0;border-top:1px solid #e3edf6;padding:22px 26px}.intro-side>p{margin:10px 0 15px}.side-safe{padding-top:12px}.notice-grid{grid-template-columns:1fr 1fr}.product-list .product-card{grid-template-columns:48px minmax(0,1fr) 170px;gap:12px;padding:15px}.auth-shell{grid-template-columns:1fr;max-width:1260px}.auth-feature{border-radius:16px 16px 0 0;padding:21px 24px;min-height:0;gap:10px}.auth-feature-content h2{font-size:24px}.auth-feature-items{display:flex;flex-wrap:wrap;gap:8px 15px}.auth-feature-foot{display:none}.auth-feature p{margin-bottom:0}.auth-form-area{border:1px solid #e3eaf2;border-top:0;border-radius:0 0 16px 16px;padding:20px 24px}.auth-feature h2 br{display:none}}
@media(max-width:620px){.home-content{padding-top:18px}.topline-inner{font-size:10px}.header-inner{gap:12px}.logo strong{font-size:18px}.logo-symbol{width:42px;height:42px}.head-actions .button{font-size:11px;padding:7px 9px}.head-actions .icon-link{display:none}.head-actions .button-main{display:inline-flex}.nav-inner{min-height:46px;font-size:11px}.intro-main{padding:23px 19px}.intro-main h1{font-size:23px}.intro-kicker-end{display:none}.notice-grid{grid-template-columns:1fr;gap:15px}.intro-divider{margin:17px 0}.intro-side{padding:20px}.catalog-new{padding-top:31px}.catalog-heading{align-items:start}.catalog-heading h2{font-size:22px}.catalog-heading p{font-size:11px}.catalog-count{font-size:10px}.category-pills{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:6px}.category-tab{white-space:nowrap;flex-shrink:0;min-height:39px;padding:9px 12px}.category-heading{padding:10px 12px;min-height:45px}.category-heading h3{font-size:13px}.category-heading-count{display:none}.product-list .product-card{grid-template-columns:45px minmax(0,1fr);gap:10px;padding:14px}.product-list .product-avatar{width:43px;height:43px}.product-list .product-info h4{font-size:13px}.product-list .product-info p{font-size:11px}.product-list .purchase{grid-column:2;display:grid;grid-template-columns:1fr 1.3fr;align-items:center;gap:7px;margin-top:2px}.product-list .price-caption{display:none}.product-list .price{font-size:14px;padding:5px 6px}.product-list .button-buy,.product-list .button-disabled{font-size:10px;min-height:34px;padding:7px 6px}.news-new .news-grid{grid-template-columns:1fr}.lower-grid{grid-template-columns:1fr}.lower-grid .info-panel{padding:20px;min-height:auto}.telegram-banner{padding:22px}.footer-grid{gap:16px}.footer-bottom{gap:6px}.auth-page{padding-top:14px;padding-bottom:24px}.auth-feature{padding:18px}.auth-form-area{padding:18px}.auth-form-area h1{font-size:25px}}
@media(max-width:390px){.logo small{display:none}.logo strong{font-size:16px}.head-actions{gap:4px}.head-actions .button{padding:7px 7px;font-size:10px}.catalog-count{display:none}.product-list .purchase{grid-template-columns:1fr}.product-list .price{text-align:center}.auth-feature h2{font-size:21px}.auth-form-area{padding:16px 14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button,.product-list .product-card,.auth-switch a{transition:none}}

/* =============================================================
   ARIAL TYPOGRAPHY · readable Vietnamese · 2026-10-16
   Titles are uppercase and bold (700); all other copy retains
   original capitalization. No remote font dependencies.
   ============================================================= */
:root{--font-heading:var(--hm-facebook-font);--font-body:var(--hm-facebook-font);font-family:var(--hm-facebook-font)}
html,body{font-family:var(--hm-facebook-font);font-size:14px;font-weight:400;line-height:1.6;-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
body button,body input,body textarea,body select,body option{font-family:var(--hm-facebook-font);font-weight:400;letter-spacing:normal}
/* Only genuine headings are uppercase; no global uppercasing of other bold text. */
h1,h2,h3,h4,h5,h6{font-family:var(--hm-facebook-font);font-weight:700;text-transform:uppercase;letter-spacing:0;line-height:1.35;overflow-wrap:break-word}
body :where(p,li,label,small,nav,button,input,textarea,select,.product-category,.auth-subtitle,.auth-feature-items,.auth-feature-foot,.form-helper,.auth-footnote){letter-spacing:normal}
p{font-weight:400;line-height:1.7}
/* Consistent brand/header without condensed letter shapes */
.logo strong{font-family:var(--hm-facebook-font);font-weight:700;letter-spacing:-.015em;text-transform:uppercase;font-size:22px}
.logo small{font-size:11px;letter-spacing:0}
.nav-inner{font-family:var(--hm-facebook-font);font-size:14px;font-weight:500;gap:22px}
.button,.search button,.category-tab,.auth-switch a,.auth-outline{font-family:var(--hm-facebook-font);font-weight:600;letter-spacing:0}
.button{font-size:13px}
.search input{font-size:14px}
/* Homepage headings and descriptive text */
.intro-main h1,.hero h1{font-size:clamp(24px,2.5vw,32px);font-weight:700;letter-spacing:0;line-height:1.38}
.catalog-heading h2,.heading-row h1,.heading-row h2{font-size:clamp(22px,2vw,27px);font-weight:700;letter-spacing:0}
.category-heading h3{font-size:15px;font-weight:700;letter-spacing:0}
.product-list .product-info h4,.product-info h3{font-weight:700;letter-spacing:0;line-height:1.5;font-size:14px}
.product-list .product-info p,.news-body p,.intro-lead,.intro-side>p,.info-panel p{font-size:13px;line-height:1.75;font-weight:400;text-transform:none}
.news-body h3,.info-panel h2{font-weight:700;letter-spacing:0;line-height:1.45}
.footer-logo{font-size:20px;font-weight:700;letter-spacing:0}
.footer-grid h3{font-size:16px;font-weight:700}
/* Member authentication - avoid oversized bold Vietnamese headline */
.auth-feature-logo,.auth-feature-eyebrow{font-size:11px;font-weight:700;letter-spacing:.035em}
.auth-feature h2,.auth-feature-content h2{font-family:var(--hm-facebook-font);font-size:clamp(24px,2.3vw,28px);font-weight:700;letter-spacing:0;line-height:1.42}
.auth-feature h2 em{font-family:inherit;font-weight:700}
.auth-feature p{font-size:14px;font-weight:400;line-height:1.75;letter-spacing:0;text-transform:none}
.auth-feature-items{font-size:13px;font-weight:400;line-height:1.65}
.auth-feature-foot{font-size:12px;line-height:1.5}
.auth-form-area h1{font-size:26px;font-weight:700;letter-spacing:0;line-height:1.35}
.auth-badge{font-size:11px;font-weight:700;letter-spacing:.035em}
.auth-subtitle{font-size:13px;line-height:1.6;font-weight:400}
.auth-form-area .form-stack>label{font-size:13px;font-weight:600;letter-spacing:0}
.auth-form-area .input-wrap input{font-size:14px;font-weight:400;letter-spacing:0}
.auth-switch a{font-size:13px;font-weight:600}
.password-toggle{font-size:12px;font-weight:600}
.form-helper,.auth-footnote{font-size:12px;font-weight:400;line-height:1.6}
.auth-outline,.auth-submit{font-size:13px;font-weight:600}
.auth-separator{font-size:11px;letter-spacing:.025em}
/* Administration: tables and headings follow the same typographic scale */
.admin-toolbar b,.admin-links a,.quick-tile b,.table-wrap thead th{font-family:var(--hm-facebook-font);font-weight:700;letter-spacing:0}
.table-wrap td,.table-wrap td strong,.table-wrap label,.form-stack label{font-family:var(--hm-facebook-font);text-transform:none;letter-spacing:normal}
.table-wrap td strong{font-weight:600}
/* Explicit line breaks in the blue panel must not collapse on mobile. */
@media(max-width:830px){.auth-feature h2 br{display:block}}
/* Keep the compact padding and mobile layout from the existing UI. */
@media(max-width:620px){
 .nav-inner{font-size:12px;gap:15px}
 .logo strong{font-size:18px}
 .intro-main h1{font-size:23px}
 .auth-feature h2,.auth-feature-content h2{font-size:23px;line-height:1.42}
 .auth-form-area h1{font-size:24px}
 .auth-feature p{font-size:13px}
 .auth-form-area .input-wrap input{font-size:14px}
}

.site-icon{display:inline-block;vertical-align:-.17em;width:1.1em;height:1.1em;flex:none;overflow:visible;stroke:currentColor;fill:none}
.button,.icon-link,.head-actions>a,.secure-label,.footer-pill,.footer-logo,.icon-inline,.admin-links a{display:inline-flex;align-items:center;gap:6px}
.logo-symbol .site-icon{width:26px;height:26px;stroke-width:2.3}
.logo strong{font-size:23px;font-weight:800}
.topline-inner>span,.topline .signal,.secure-label,.side-safe,.auth-feature-items span{display:inline-flex;align-items:center;gap:6px}
.topline .site-icon{width:13px;height:13px}
.search>.site-icon{width:19px;height:19px}
.icon-link .site-icon{width:20px;height:20px}
.secure-label .site-icon,.footer-pill .site-icon{width:16px;height:16px}
.intro-primary .site-icon,.intro-secondary .site-icon,.button-buy .site-icon,.button-white .site-icon{width:16px;height:16px}
.side-head .site-icon{width:24px;height:24px}
.side-safe .site-icon{width:15px;height:15px}
.notice-icon .site-icon{width:19px;height:19px}
.category-tab{display:inline-flex;align-items:center;gap:7px}
.category-heading-icon .site-icon{width:18px;height:18px}
.product-avatar .site-icon{width:27px;height:27px;stroke-width:1.8}
.news-cover .site-icon{width:36px;height:36px}
.info-icon .site-icon{width:23px;height:23px}
.section-text-link .site-icon,.news-card strong .site-icon{width:14px;height:14px}
.telegram-banner>div>span{display:inline-flex;align-items:center;gap:8px}
.footer-logo .site-icon{width:24px;height:24px}
.footer-grid a{display:flex;align-items:center;gap:7px}
.footer-grid .icon-inline .site-icon{width:15px;height:15px}
.float-telegram .site-icon,.float-top .site-icon{width:23px;height:23px}
.auth-feature-logo .site-icon{width:20px;height:20px}
.auth-feature-items .site-icon{width:15px;height:15px;stroke-width:2.5}
.input-prefix{display:inline-flex;align-items:center;justify-content:center}
.input-prefix .site-icon{width:17px;height:17px}
.password-toggle{display:inline-flex;align-items:center;gap:5px;min-width:70px;justify-content:center}
.password-toggle .site-icon{width:16px;height:16px}
.auth-submit .site-icon{width:17px;height:17px}
.auth-outline .site-icon{width:15px;height:15px}
.quick-tile b,.quick-tile span{display:inline-flex;align-items:center;gap:7px}
.quick-tile b .site-icon{width:19px;height:19px;color:#0a91dd}
.quick-tile span .site-icon{width:14px;height:14px}
.auth-badge .site-icon{width:16px;height:16px}
/* Responsive: preserve the compact member-form spacing requested. */
@media(max-width:620px){.logo strong{font-size:20px}.product-avatar .site-icon{width:23px;height:23px}.auth-feature-logo .site-icon{width:17px;height:17px}}

.table-wrap a,.table-wrap .danger-link{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.table-wrap a .site-icon,.table-wrap .danger-link .site-icon{width:13px;height:13px}
.back-link{display:inline-flex;align-items:center;gap:6px}
.back-link .site-icon{transform:rotate(180deg);width:15px;height:15px}


/* ===========================================================
   ADMIN UI REDESIGN — cleaner, more professional management area
   =========================================================== */
.is-admin body,.is-admin{background:#f3f7fb}
.is-admin .flash-holder{margin-top:18px}
.admin-shell-header{padding:26px 0 0}
.admin-shell-card{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding:26px 28px;border-radius:20px;background:linear-gradient(135deg,#12243a,#1f4b77 55%,#0b9be8);color:#fff;box-shadow:0 16px 40px rgba(12,42,77,.18)}
.admin-shell-copy{max-width:720px}.admin-shell-kicker{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:800;letter-spacing:.14em;color:#cfeeff}.admin-shell-card h1{font-size:31px;margin:10px 0 9px;color:#fff}.admin-shell-card p{margin:0;color:#dbeeff;max-width:650px;line-height:1.75}.admin-shell-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.admin-shell-actions .button-light{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.18);color:#fff}.admin-shell-actions .button-main{background:#fff;color:#0d82d3;box-shadow:none}
.admin-links-card{display:flex;flex-wrap:wrap;gap:10px;background:#fff;border:1px solid #dfe8f1;border-radius:18px;padding:12px;margin-top:14px;box-shadow:0 10px 30px rgba(31,64,101,.06)}
.admin-links-card a{display:inline-flex;align-items:center;gap:9px;padding:11px 15px;border-radius:12px;color:#4f6780;font-size:13px;font-weight:700;background:#f6f9fc;border:1px solid transparent;transition:.18s ease}.admin-links-card a:hover{color:#0b89d8;background:#eef8ff;border-color:#cfe9fb}.admin-links-card a.active{background:linear-gradient(135deg,#0b94e7,#1eacef);color:#fff;box-shadow:0 8px 18px rgba(14,146,227,.2)}
.dashboard-content{padding-top:22px;padding-bottom:64px}
.admin-page-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:18px}.admin-page-intro h2{font-size:30px;margin:8px 0 6px}.admin-page-intro p{margin:0;max-width:720px}.admin-page-actions{display:flex;gap:10px;flex-wrap:wrap}.admin-kpi-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.mini-stat{background:#fff;border:1px solid #e1e9f2;border-radius:16px;padding:16px 18px;display:flex;align-items:center;gap:14px;box-shadow:0 8px 25px rgba(33,61,96,.05)}.mini-stat .site-icon{width:22px;height:22px;color:#0a92e2}.mini-stat b{display:block;font-size:24px;color:#18304b}.mini-stat small{display:block;color:#7f90a3;font-size:12px}
.stats-grid-admin{margin-bottom:20px}.stat-card-rich{display:flex;align-items:center;gap:16px;padding:20px 21px;border:1px solid #e2e9f3;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(32,61,98,.055)}.stat-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,#ecf8ff,#dff1ff);color:#0a92e2}.stat-icon .site-icon{width:26px;height:26px}.stat-meta{display:flex;flex-direction:column}.stat-meta small{font-size:12px;color:#7c8fa3}.stat-meta strong{font-size:32px;color:#18304b;line-height:1.1;margin:6px 0 4px}.stat-meta span{font-size:12px;color:#94a4b4}
.quick-grid-admin{margin-top:0}.quick-tile{border:1px solid #e2e9f3;border-radius:18px;box-shadow:0 10px 28px rgba(32,61,98,.055)}.quick-tile-head{display:flex;align-items:center;gap:12px}.tile-chip{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#ecf8ff;color:#0790df;flex:0 0 auto}.tile-chip .site-icon{width:22px;height:22px}.quick-tile b{font-size:16px;color:#18304b}.quick-tile p{margin:12px 0 18px;color:#708296;line-height:1.7;font-size:13px}.quick-tile span{display:inline-flex;align-items:center;gap:7px;color:#0b88d8;font-size:12px;font-weight:700}
.admin-dual-grid{display:grid;grid-template-columns:1.2fr .95fr;gap:18px;margin-top:20px}.admin-surface{border:1px solid #e2e9f3;border-radius:20px;box-shadow:0 10px 30px rgba(31,63,99,.06);background:#fff}.paper-card.admin-surface{padding:24px 24px 22px}.admin-note-board{display:flex;flex-direction:column;gap:16px;justify-content:center}.note-row{display:flex;gap:14px;align-items:flex-start;padding:15px 16px;border-radius:16px;background:#f8fbfe;border:1px solid #e9f0f6}.note-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#e8f6ff;color:#088bdb;flex:0 0 auto}.note-icon .site-icon{width:21px;height:21px}.note-row strong{display:block;margin-bottom:6px;color:#17334d}.note-row p{margin:0;color:#718396;line-height:1.7;font-size:13px}
.mini-list{display:flex;flex-direction:column;gap:10px}.mini-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border-radius:14px;border:1px solid #e8eff5;background:#fbfdff}.mini-item:hover{border-color:#cfe5f7;background:#f6fbff}.mini-item strong{display:block;font-size:13px;color:#17314d}.mini-item small{display:block;font-size:11px;color:#8da0b2;margin-top:4px}
.admin-editor-grid{gap:18px}.admin-editor-grid-wide{grid-template-columns:minmax(320px,500px) minmax(0,1fr)}.section-title{margin-bottom:18px}.section-title h2{font-size:22px;margin:0 0 7px}.section-title p{font-size:13px;margin:0;color:#728397;line-height:1.7}.toggle-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.toggle-grid .toggle{padding:12px 13px;border:1px solid #e3eaf3;border-radius:12px;background:#fbfdff}
.paper-card h2{font-size:22px;color:#17314d}.table-head{margin-bottom:14px}.table-head h2{font-size:22px;margin:0 0 4px}.table-head span{font-size:12px;color:#8ca0b1}.table-head-action{font-size:12px;padding:9px 13px}.table-wrap{border:1px solid #e9eff5;border-radius:16px;overflow:auto}.table-wrap table{font-size:13px}.table-wrap th{background:#f7fafd;color:#70859b;padding:13px 12px;font-weight:800}.table-wrap td{padding:15px 12px}.table-wrap tbody tr:hover{background:#fbfdff}.table-wrap td strong{font-size:13px;color:#16314a}.table-wrap td small{font-size:11px;margin-top:4px;color:#92a2b2}.status-stack{display:flex;flex-wrap:wrap;gap:6px}.inline-form{margin-left:10px}.danger-link{padding:0;background:none;border:0}.label-pill{font-size:10px;padding:6px 9px}
.settings-panel{max-width:none}.settings-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.settings-fields label{padding:14px;border:1px solid #e7eef5;border-radius:14px;background:#fbfdff}.settings-fields label:nth-last-of-type(-n+4){grid-column:1/-1}.settings-fields .button{margin-top:6px}
.form-stack label,.settings-fields label{font-size:12px;font-weight:700;color:#50657b}.form-stack input,.form-stack textarea,.form-stack select,.settings-fields input,.settings-fields textarea{padding:12px 13px;border-radius:11px;background:#fff}.form-stack .toggle{gap:10px}.form-stack .toggle input{accent-color:#0893e2}
@media(max-width:1080px){.admin-shell-card{flex-direction:column}.admin-shell-actions{justify-content:flex-start}.admin-dual-grid,.admin-kpi-strip,.toggle-grid,.admin-editor-grid-wide{grid-template-columns:1fr}.admin-page-intro{align-items:flex-start;flex-direction:column}.admin-page-actions{width:100%}.admin-page-actions .button{width:auto}.admin-links-card{overflow:auto;flex-wrap:nowrap}.admin-links-card a{white-space:nowrap}}
@media(max-width:760px){.admin-shell-header{padding-top:16px}.admin-shell-card{padding:22px 18px}.admin-shell-card h1{font-size:26px}.admin-links-card{padding:10px}.admin-links-card a{padding:10px 12px;font-size:12px}.admin-page-intro h2{font-size:24px}.stat-card-rich{padding:18px}.stat-meta strong{font-size:28px}.paper-card.admin-surface{padding:19px}.toggle-grid{grid-template-columns:1fr}.table-head{flex-direction:column;align-items:flex-start}.mini-item{align-items:flex-start;flex-direction:column}}

/* Admin navigation: keep Cpanel header/tabs mounted while switching views */
.is-admin .admin-links-card{position:sticky;top:10px;z-index:35;isolation:isolate}
.is-admin .admin-shell-header{position:relative;z-index:35}
.is-admin .admin-shell-header.is-loading .admin-links-card::after{content:"";position:absolute;bottom:0;left:0;height:3px;width:35%;border-radius:5px;background:#0a98e8;animation:admin-nav-progress 1s ease-in-out infinite alternate}
.is-admin .dashboard-content[aria-busy="true"]{opacity:.78;transition:opacity .12s ease}
.is-admin .flash-holder{min-height:0}
.is-admin .flash-holder>.alert{margin:14px 0 0}
.is-admin .admin-links-card a:focus-visible{outline:3px solid #a3dfff;outline-offset:2px}
@keyframes admin-nav-progress{from{transform:translateX(0)}to{transform:translateX(185%)}}
@media (prefers-reduced-motion:reduce){.is-admin .admin-shell-header.is-loading .admin-links-card::after{animation:none;width:100%}}
@media (max-width:760px){.is-admin .admin-links-card{top:0;border-radius:13px}}

/* ============================================================
   Cpanel Admin — Center SVG glyphs within rounded icon tiles.
   Specificity deliberately overrides legacy broad span selectors:
   .stat-card span and .quick-tile span.
   Only admin pages are affected.
   ============================================================ */
.is-admin .stat-card-rich > .stat-icon,
.is-admin .quick-tile .quick-tile-head > .tile-chip,
.is-admin .admin-note-board .note-row > .note-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0;
    line-height: 0;
    text-align: center;
    flex-shrink: 0;
}
.is-admin .stat-card-rich > .stat-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    color: #0a92e2;
}
.is-admin .quick-tile .quick-tile-head > .tile-chip,
.is-admin .admin-note-board .note-row > .note-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
}
.is-admin .stat-card-rich > .stat-icon > .site-icon {
    display: block;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    margin: 0;
    vertical-align: middle;
}
.is-admin .quick-tile .quick-tile-head > .tile-chip > .site-icon {
    display: block;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    margin: 0;
    vertical-align: middle;
}
.is-admin .admin-note-board .note-row > .note-icon > .site-icon {
    display: block;
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    margin: 0;
    vertical-align: middle;
}

/* =============================================================
   BLUE MARKET — PUBLIC WEBSITE REFINEMENT 2026
   Scoped to public pages. PHP forms, Cpanel Admin, AJAX untouched.
   ============================================================= */
:root{--website-navy:#152b45;--website-blue:#078fe2;--website-stroke:#e0eaf3;--website-quiet:#657a91}
body:not(.is-admin){background:#f4f7fb;color:#19314b;font-family:var(--hm-facebook-font);font-weight:400}
body:not(.is-admin) h1,body:not(.is-admin) h2,body:not(.is-admin) h3,body:not(.is-admin) h4{font-family:var(--hm-facebook-font);font-weight:700;letter-spacing:0;line-height:1.35}
body:not(.is-admin) p,body:not(.is-admin) small{letter-spacing:0;text-transform:none}
body:not(.is-admin) .container{max-width:1296px}
body:not(.is-admin) .site-icon{flex:0 0 auto}
body:not(.is-admin) .topline{background:#0c8dde}
body:not(.is-admin) .topline-inner{padding-block:8px;color:#f5fbff}
body:not(.is-admin) .header{border-bottom:1px solid #edf1f6}
body:not(.is-admin) .header-inner{min-height:88px;gap:28px}
body:not(.is-admin) .logo-symbol{width:46px;height:46px;background:linear-gradient(140deg,#13aeef,#047bd3);border-radius:15px;box-shadow:0 8px 18px rgba(10,150,223,.19);color:white}
body:not(.is-admin) .logo-symbol .site-icon{width:24px;height:24px}
body:not(.is-admin) .logo strong{font-size:22px;font-weight:700;letter-spacing:-.02em}
body:not(.is-admin) .logo small{font-size:11px;color:#8296a9;margin-top:3px}
body:not(.is-admin) .search{height:46px;max-width:470px;background:#f5f8fb;border-color:#e3ebf3;border-radius:12px;transition:border-color .18s,box-shadow .18s}
body:not(.is-admin) .search:focus-within{border-color:#6cc7f6;box-shadow:0 0 0 3px #e4f4fd}
body:not(.is-admin) .search input{font-size:13px}
body:not(.is-admin) .search button{height:34px;padding-inline:14px;border-radius:9px;font-weight:700;background:#e4f4ff;color:#087bcb}
body:not(.is-admin) .head-actions .button{min-height:39px;border-radius:10px}
body:not(.is-admin) .nav{background:#fff;position:sticky;top:0;z-index:30;box-shadow:0 5px 14px rgba(16,56,92,.035)}
body:not(.is-admin) .nav-inner{min-height:55px;gap:26px;font-size:13px;font-weight:700}
body:not(.is-admin) .nav-inner>a{transition:color .18s}
body:not(.is-admin) .nav-inner>a:hover{color:#008bdf}
body:not(.is-admin) .secure-label{background:#eaf9f3;border:1px solid #d6f3e5;color:#138969;border-radius:30px;padding:8px 12px;display:inline-flex;align-items:center;gap:7px;font-size:12px}
body:not(.is-admin) .button-main{background:#098fe2;color:white;border-color:#098fe2;box-shadow:0 6px 13px rgba(3,131,213,.13)}
body:not(.is-admin) .button-main:hover{background:#087cca;border-color:#087cca;box-shadow:0 9px 19px rgba(3,131,213,.18)}
body:not(.is-admin) .button:hover{transform:translateY(-1px)}
body:not(.is-admin) .button:focus-visible,body:not(.is-admin) a:focus-visible,body:not(.is-admin) summary:focus-visible{outline:3px solid #79ccf6;outline-offset:3px}
body:not(.is-admin) section[id]{scroll-margin-top:90px}

/* Main area and premium introductory surface */
.home-page .home-content{padding-top:26px;padding-bottom:60px}
.home-page .intro-board{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(305px,.78fr);gap:0;min-height:290px;border:1px solid #dce8f3;border-radius:21px;box-shadow:0 16px 45px rgba(24,58,99,.075);background:#fff;overflow:hidden}
.home-page .intro-main{position:relative;padding:35px 38px 31px;isolation:isolate;background:linear-gradient(125deg,#fff 0%,#f7fcff 64%,#eff8ff 100%)}
.home-page .intro-main:before{content:"";position:absolute;right:-46px;top:-122px;width:280px;height:280px;border-radius:50%;border:1px solid rgba(31,151,233,.105);box-shadow:0 0 0 43px rgba(56,173,240,.035),0 0 0 87px rgba(56,173,240,.023);z-index:-1;pointer-events:none}
.home-page .intro-kicker{display:flex;flex-wrap:wrap;gap:9px;align-items:center;color:#0888d7;font-size:11px;font-weight:700;letter-spacing:.075em;text-transform:uppercase}
.home-page .intro-kicker-end{color:#8fa7bc;font-weight:600}
.home-page .live-dot{width:8px;height:8px;background:#20ba87;box-shadow:0 0 0 4px #e2f8ed}
.home-page .intro-main h1{font-size:clamp(26px,2.45vw,34px);font-weight:700;line-height:1.35;letter-spacing:0;margin:15px 0 9px;color:#17314e;max-width:740px}
.home-page .intro-lead{font-size:14px;line-height:1.75;color:#667e96;max-width:665px;margin:0}
.home-page .intro-quick-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.home-page .intro-quick-links a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:9px 15px;border-radius:10px;border:1px solid #cfe7fa;color:#0b80cf;background:#fff;font-size:12px;font-weight:700;transition:all .18s}
.home-page .intro-quick-links a:first-child{color:white;background:#078fe2;border-color:#078fe2}
.home-page .intro-quick-links a:hover{transform:translateY(-1px);box-shadow:0 5px 13px rgba(20,127,207,.10)}
.home-page .intro-quick-links .site-icon{width:15px;height:15px}
.home-page .intro-divider{background:#dfe9f3;margin:24px 0 21px}
.home-page .notice-grid{gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}
.home-page .notice-block{display:flex;gap:12px;min-width:0}
.home-page .notice-icon{width:36px;height:36px;min-width:36px;display:flex;align-items:center;justify-content:center;border-radius:12px;line-height:0;padding:0}
.home-page .notice-icon .site-icon{width:19px;height:19px}
.home-page .notice-block strong{font-size:12px;color:#223e5b;font-weight:700}
.home-page .notice-block p{font-size:12px;line-height:1.75;color:#73889c;margin-top:6px;overflow-wrap:anywhere}
.home-page .intro-side{display:flex;flex-direction:column;justify-content:center;padding:31px 28px;background:linear-gradient(155deg,#0c3762 0%,#096da9 63%,#0b92d9 100%);border-left:0;position:relative;isolation:isolate;overflow:hidden;color:white}
.home-page .intro-side:before{content:"";position:absolute;width:310px;height:310px;right:-160px;top:-145px;border:1px solid #ffffff2e;border-radius:50%;box-shadow:0 0 0 45px #ffffff09,0 0 0 90px #ffffff06;z-index:-1;pointer-events:none}
.home-page .side-head{display:flex;align-items:center;gap:13px}
.home-page .side-symbol{width:47px;height:47px;min-width:47px;background:#ffffff1c;border:1px solid #ffffff44;border-radius:15px;display:flex;align-items:center;justify-content:center;color:white}
.home-page .side-symbol .site-icon{width:24px;height:24px}
.home-page .side-head strong{display:block;font-size:16px;color:white;font-weight:700;line-height:1.45}
.home-page .side-head small{display:block;color:#bfdef4;font-size:11px;margin-top:4px}
.home-page .intro-side>p{color:#daedfa;line-height:1.75;font-size:12px;margin:17px 0 21px}
.home-page .intro-side .intro-primary{display:flex;width:100%;min-height:44px;justify-content:center;background:white;color:#087bcb;border-color:transparent;box-shadow:0 7px 20px #053b6525}
.home-page .intro-side .intro-primary:hover{background:#edf8ff;color:#076fb8}
.home-page .intro-side .intro-secondary{display:flex;width:100%;min-height:41px;justify-content:center;background:#ffffff13;border:1px solid #ffffff65;color:white;margin-top:9px}
.home-page .intro-side .intro-secondary:hover{background:#ffffff24}
.home-page .intro-side .side-safe{display:flex;gap:8px;align-items:flex-start;font-size:11px;color:#d0eafa;margin-top:20px;line-height:1.6}
.home-page .intro-side .side-safe .site-icon{width:16px;height:16px}

/* Tabs and separated product rows */
.home-page .catalog-new{padding-top:29px}
.home-page .category-pills{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 18px;border:0;background:transparent;padding:0;overflow:visible}
.home-page .category-tab{min-height:41px;display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid #dfe8f1;border-radius:11px;background:#fff;color:#556e86;font-size:12px;font-weight:700;box-shadow:0 3px 8px rgba(27,61,95,.02);transition:background .18s,border-color .18s,color .18s}
.home-page .category-tab .site-icon{width:16px;height:16px}
.home-page .category-tab:hover{border-color:#a8dafa;background:#eef8ff;color:#057ed0}
.home-page .category-tab.selected,.home-page .category-tab.selected:hover{background:#173a5c;border-color:#173a5c;color:white;box-shadow:0 5px 15px rgba(21,57,93,.12)}
.home-page .filter-message{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;background:#eaf6ff;border:1px solid #cfe8f9;border-radius:12px;color:#456b86;padding:12px 16px;margin-bottom:17px;font-size:12px}
.home-page .category-section{margin-top:20px}
.home-page .category-heading{display:flex;align-items:center;gap:12px;min-height:54px;border-radius:13px 13px 0 0;padding:11px 17px;background:linear-gradient(100deg,#087fd0,#0e9dea 64%,#23aceb);box-shadow:0 7px 16px rgba(11,122,201,.14)}
.home-page .category-heading-icon{display:flex;align-items:center;justify-content:center;min-width:32px;width:32px;height:32px;border-radius:10px;background:#ffffff22;border:1px solid #ffffff35;line-height:0;padding:0}
.home-page .category-heading-icon .site-icon{width:19px;height:19px;color:#fff}
.home-page .category-heading h3{font-size:15px;color:#fff;font-weight:700;line-height:1.45;margin:0;letter-spacing:0;min-width:0}
.home-page .category-heading-count{display:inline-flex;align-items:center;font-size:11px;color:#e3f5ff;margin-left:auto;background:#ffffff1b;border:1px solid #ffffff20;padding:6px 10px;border-radius:22px;white-space:nowrap}
.home-page .product-list{display:flex;flex-direction:column;gap:9px;padding-top:11px}
.home-page .product-list .product-card{display:grid;grid-template-columns:54px minmax(0,1fr) minmax(190px,225px);align-items:center;gap:18px;min-height:123px;margin:0;padding:18px 22px;border:1px solid #e1e9f3;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(24,57,94,.035);opacity:1;transform:none;transition:box-shadow .17s,border-color .17s}
.home-page .product-list .product-card:hover{transform:none;border-color:#a9d8f5;box-shadow:0 9px 24px rgba(30,93,140,.075)}
.home-page .product-list .product-avatar{display:flex;align-items:center;justify-content:center;width:54px;height:54px;min-width:54px;border-radius:15px;padding:0;line-height:0;background:#e7f5fe;border:1px solid #d7edfb;color:#088ee0}
.home-page .product-list .product-avatar .site-icon{width:25px;height:25px}
.home-page .product-list .product-info{min-width:0}
.home-page .product-list .product-info h4{font-size:14px;color:#1a3653;font-weight:700;line-height:1.45;margin:0 0 7px;overflow-wrap:anywhere}
.home-page .product-list .product-info p{font-size:12px;line-height:1.65;color:#71859a;margin:0 0 11px;max-width:750px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.home-page .product-list .stock{display:inline-flex;align-items:center;gap:6px;border-radius:16px;background:#eaf9f2;padding:5px 10px;font-size:11px;font-weight:700;color:#168a67}
.home-page .product-list .stock.out-stock{color:#b86868;background:#fff0f0}
.home-page .product-list .stock-dot{width:7px;height:7px;border-radius:50%;background:currentColor;flex:0 0 auto}
.home-page .product-list .purchase{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:9px;width:100%;margin:0;grid-column:auto}
.home-page .product-list .price-caption{display:block;text-align:right;font-size:11px;color:#90a2b2;font-weight:400}
.home-page .product-list .price{font-size:21px;line-height:1.2;color:#0785d6;text-align:right;font-weight:700;letter-spacing:0;margin:0}
.home-page .product-list .button-buy{display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:9px 10px;border-radius:10px;border:1px solid #c0e4fa;background:#e7f6ff;color:#0879c9;font-size:12px;font-weight:700;white-space:nowrap}
.home-page .product-list .button-buy:hover{transform:none;background:#d7f0ff;border-color:#8ed5ff}
.home-page .product-list .button-buy .site-icon{width:15px;height:15px}
.home-page .product-list .button-disabled{min-height:38px;border-radius:10px;padding:10px 9px;background:#f0f3f6;color:#94a4b3;justify-content:center;display:flex;align-items:center;font-size:12px}
.home-page .product-list .soldout{opacity:.66;background:#fbfcfd}
.home-page .product-list .soldout .product-avatar{background:#f0f3f6;border-color:#e7ecf0;color:#a1b2c3}
.home-page .product-list .soldout:hover{box-shadow:0 4px 14px rgba(24,57,94,.035);border-color:#e1e9f3}
.home-page .empty-state{padding:45px 20px;border:1px dashed #c7dce9;border-radius:16px;background:white}

/* Editorial/news, policies, CTA, footer */
.home-page .news-new{padding-top:45px}
.home-page .catalog-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:17px}
.home-page .catalog-heading h2{font-size:25px;color:#183451;line-height:1.35;margin:7px 0 5px}
.home-page .catalog-heading h2 em{font-style:normal;color:#078fe2}
.home-page .catalog-heading p{font-size:13px;margin:0;color:#74879d}
.home-page .eyebrow{font-weight:700;letter-spacing:.07em;font-size:11px}
.home-page .section-text-link{display:inline-flex;align-items:center;gap:7px;color:#087fc8;font-size:12px;font-weight:700}
.home-page .news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home-page .news-new .news-card{border:1px solid #dfe9f3;border-radius:16px;overflow:hidden;box-shadow:0 6px 20px rgba(26,58,92,.043);display:flex;flex-direction:column;transition:box-shadow .18s,border-color .18s,transform .18s;background:white}
.home-page .news-new .news-card:hover{border-color:#b8ddf4;transform:translateY(-2px);box-shadow:0 12px 28px rgba(26,73,117,.09)}
.home-page .news-new .news-cover{height:130px;background:linear-gradient(125deg,#1167b2,#0c9adf);position:relative}
.home-page .news-new .news-card:nth-child(3n+2) .news-cover{background:linear-gradient(135deg,#18456e,#2a92cf)}
.home-page .news-new .news-card:nth-child(3n+3) .news-cover{background:linear-gradient(135deg,#087fba,#44aeda)}
.home-page .news-new .news-cover:after{content:"";position:absolute;right:-42px;top:-65px;width:180px;height:180px;border:1px solid #ffffff39;border-radius:50%;box-shadow:0 0 0 35px #ffffff0b,0 0 0 73px #ffffff08}
.home-page .news-new .news-cover .site-icon{width:48px;height:48px;opacity:.65;color:white}
.home-page .news-new .news-cover small{font-size:10px;letter-spacing:.08em;color:white;opacity:.91}
.home-page .news-new .news-body{padding:20px 20px 22px;display:flex;flex:1;flex-direction:column}
.home-page .news-new .news-date{font-size:11px;color:#8a9bab}
.home-page .news-new .news-body h3{font-size:15px;line-height:1.5;font-weight:700;margin:8px 0}
.home-page .news-new .news-body p{font-size:12px;color:#73879a;line-height:1.7;flex:1;margin:0 0 15px;min-height:40px;overflow-wrap:anywhere}
.home-page .news-new .news-body strong{display:flex;align-items:center;gap:6px;font-size:12px;color:#0589d9}
.home-page .lower-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:36px}
.home-page .lower-grid .info-panel{display:flex;gap:15px;min-height:245px;padding:25px 26px;background:#fff;border:1px solid #e1eaf3;border-radius:17px;box-shadow:0 6px 20px rgba(26,58,92,.035)}
.home-page .lower-grid .info-icon{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border-radius:13px;background:#e7f5ff;color:#078edf;line-height:0}
.home-page .lower-grid .info-icon .site-icon{width:22px;height:22px}
.home-page .lower-grid .info-panel h2{font-size:20px;margin:8px 0 12px;color:#173652;font-weight:700}
.home-page .lower-grid .info-panel p{font-size:13px;color:#6d8296;line-height:1.8;overflow-wrap:anywhere}
.home-page .faq-item{border-top:1px solid #e8eff5;padding:12px 0}
.home-page .faq-item:first-of-type{border-top:0}
.home-page .faq-item summary{font-size:13px;font-weight:700;line-height:1.5;color:#294963;list-style-position:inside}
.home-page .faq-item summary:hover{color:#0888d8}
.home-page .faq-item p{padding-left:15px;margin:10px 0 2px;color:#718399}
.home-page .telegram-banner{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;margin-top:29px;border-radius:18px;padding:30px 34px;background:linear-gradient(105deg,#0b70bc,#0e9de3);box-shadow:0 9px 25px rgba(3,116,185,.18);color:white}
.home-page .telegram-banner h2{font-size:23px;color:white;font-weight:700;margin:7px 0}
.home-page .telegram-banner p{color:#d9f2ff;font-size:13px;margin:0}
.home-page .telegram-banner>div>span{color:#d8f6ff;font-weight:700;font-size:11px}
.home-page .telegram-banner .button-white{background:white;border-color:white;color:#067dc9;min-height:43px;flex-shrink:0}
body:not(.is-admin) .footer{background:#fff;border-top:1px solid #e4edf5;margin-top:18px;padding-top:42px}
body:not(.is-admin) .footer-grid{gap:45px}
body:not(.is-admin) .footer-grid h3{font-size:15px;color:#253e56;font-weight:700;margin-bottom:14px}
body:not(.is-admin) .footer-logo{font-weight:700;color:#087fd1}
body:not(.is-admin) .footer-grid p{line-height:1.75;font-size:13px}
body:not(.is-admin) .footer-grid a{transition:color .15s;line-height:1.65}
body:not(.is-admin) .footer-grid a:hover{color:#078bda}
body:not(.is-admin) .footer-bottom{padding-block:19px}
body:not(.is-admin) .float-telegram,body:not(.is-admin) .float-top{width:46px;height:46px;display:flex;align-items:center;justify-content:center}
body:not(.is-admin) .float-telegram .site-icon,body:not(.is-admin) .float-top .site-icon{width:21px;height:21px}

/* Article and account pages share the same restrained typography */
body:not(.is-admin) .reading-card,body:not(.is-admin) .simple-card{box-shadow:0 10px 34px rgba(29,63,96,.065);border:1px solid #e1eaf3;border-radius:20px}
body:not(.is-admin) .reading-card h1{font-size:clamp(25px,3vw,33px);color:#193a58}
body:not(.is-admin) .reading-card .article-content{font-size:14px;line-height:1.85;color:#415a72}
body:not(.is-admin) .auth-main h1,body:not(.is-admin) .auth-panel h1{font-weight:700;letter-spacing:0}

@media(max-width:1100px){
  .home-page .intro-board{grid-template-columns:minmax(0,1.3fr) minmax(290px,.85fr)}
  .home-page .intro-main{padding:29px}
  .home-page .intro-side{padding:25px}
  .home-page .notice-grid{gap:14px}
  .home-page .product-list .product-card{grid-template-columns:48px minmax(0,1fr) 190px;gap:13px;padding:17px}
  .home-page .product-list .product-avatar{width:48px;height:48px;min-width:48px}
  body:not(.is-admin) .header-inner{gap:16px}
  body:not(.is-admin) .nav-inner{gap:15px}
}
@media(max-width:780px){
  .home-page .home-content{padding-top:18px;padding-bottom:38px}
  .home-page .intro-board{grid-template-columns:1fr;border-radius:17px}
  .home-page .intro-main{padding:26px}
  .home-page .intro-side{padding:24px 26px}
  .home-page .notice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-page .category-pills{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:8px}
  .home-page .category-tab{white-space:nowrap;flex-shrink:0}
  .home-page .product-list .product-card{grid-template-columns:46px minmax(0,1fr) 170px;gap:12px}
  .home-page .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-page .lower-grid{grid-template-columns:1fr}
  .home-page .lower-grid .info-panel{min-height:auto}
  .home-page .telegram-banner{padding:25px;flex-direction:column;align-items:flex-start}
  body:not(.is-admin) .nav-inner{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
  body:not(.is-admin) .nav-inner .nav-spacer{display:none}
}
@media(max-width:620px){
  .home-page .intro-main{padding:24px 19px}
  .home-page .intro-main h1{font-size:25px}
  .home-page .intro-quick-links a{flex:1}
  .home-page .intro-divider{margin-block:20px}
  .home-page .notice-grid{grid-template-columns:1fr;gap:16px}
  .home-page .intro-side{padding:23px 20px}
  .home-page .category-heading{padding:10px 12px;gap:9px}
  .home-page .category-heading h3{font-size:13px;overflow-wrap:anywhere}
  .home-page .category-heading-count{font-size:10px;padding:5px 8px}
  .home-page .product-list .product-card{grid-template-columns:43px minmax(0,1fr);gap:11px;min-height:auto;padding:15px 14px}
  .home-page .product-list .product-avatar{width:43px;height:43px;min-width:43px;border-radius:12px}
  .home-page .product-list .product-avatar .site-icon{width:21px;height:21px}
  .home-page .product-list .product-info h4{font-size:13px}
  .home-page .product-list .purchase{grid-column:1/-1;display:grid;grid-template-columns:1fr minmax(135px,1.25fr);align-items:center;gap:8px;margin-top:2px}
  .home-page .product-list .price-caption{display:none}
  .home-page .product-list .price{text-align:left;font-size:18px}
  .home-page .product-list .button-buy{min-height:37px;font-size:11px;padding:7px 9px;white-space:normal;text-align:center}
  .home-page .news-grid{grid-template-columns:1fr}
  .home-page .news-new .news-cover{height:105px}
  .home-page .catalog-heading{flex-direction:column;align-items:flex-start}
  .home-page .lower-grid .info-panel{padding:20px;gap:11px}
  .home-page .lower-grid .info-icon{width:38px;height:38px;flex-basis:38px}
  .home-page .telegram-banner h2{font-size:21px}
  .home-page .telegram-banner .button-white{width:100%;justify-content:center}
  body:not(.is-admin) .footer-grid{grid-template-columns:1fr 1fr;gap:20px}
  body:not(.is-admin) .footer-grid>div:first-child{grid-column:1/-1}
  body:not(.is-admin) .header-inner{min-height:75px}
  body:not(.is-admin) .logo strong{font-size:19px}
  body:not(.is-admin) .logo-symbol{width:41px;height:41px}
  body:not(.is-admin) .secure-label{display:none}
}
@media(prefers-reduced-motion:reduce){
  .home-page .product-list .product-card,.home-page .news-new .news-card,.home-page .intro-quick-links a,body:not(.is-admin) .button{transition:none;transform:none}
}

/* ===========================================================
   STOREFRONT — PRODUCT DETAIL / QUANTITY / TELEGRAM (PHP)
   Applies only to product detail view and public catalog links.
   =========================================================== */
body:not(.is-admin) .product-name-link{color:inherit;text-decoration:none;transition:color .18s ease}
body:not(.is-admin) .product-name-link:hover{color:#067dcc}
body:not(.is-admin) .product-avatar-link{cursor:pointer;transition:background .18s ease,transform .18s ease}
body:not(.is-admin) .product-avatar-link:hover{background:#cfecff;transform:translateY(-2px)}
body:not(.is-admin) .product-view-button{font-weight:700;justify-content:center;gap:9px}
body:not(.is-admin) .product-view-button .site-icon{width:17px;height:17px}
.product-detail-page{background:linear-gradient(180deg,#f2f8ff,#f5f7fb 280px);padding:26px 0 64px;font-family:var(--hm-facebook-font)}
.product-detail-page .site-icon{display:inline-block;vertical-align:middle;flex-shrink:0}
.product-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#94a2b2;font-size:12px;padding:2px 0 22px}
.product-breadcrumb a{display:inline-flex;align-items:center;gap:7px;color:#617992;font-weight:600}
.product-breadcrumb a:hover{color:#087dcc}
.product-breadcrumb .site-icon{width:15px;height:15px}
.product-breadcrumb [aria-current]{max-width:45ch;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#243b54;font-weight:700}
.detail-layout{display:grid;grid-template-columns:minmax(0,1.56fr) minmax(320px,.86fr);gap:20px;align-items:start}
.detail-main{display:flex;flex-direction:column;gap:18px;min-width:0}
.detail-surface{background:#fff;border:1px solid #e1eaf4;border-radius:19px;box-shadow:0 10px 36px rgba(30,61,101,.055);overflow:hidden}
.detail-visual{min-height:235px;background:radial-gradient(circle at 78% 42%,rgba(255,255,255,.22) 0 14%,transparent 14.5%),linear-gradient(130deg,#0971c9 0%,#0b9ce5 58%,#61c4ed 100%);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.detail-visual:before,.detail-visual:after{content:"";position:absolute;width:290px;height:290px;right:-50px;top:-160px;border:1px solid rgba(255,255,255,.25);border-radius:50%}
.detail-visual:after{width:410px;height:410px;right:-110px;top:-200px;opacity:.45}
.detail-product-symbol{width:114px;height:114px;display:grid;place-items:center;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.32);border-radius:29px;color:#fff;box-shadow:0 15px 45px #004e9342;z-index:1}
.detail-product-symbol .site-icon{width:64px;height:64px}
.detail-visual-tag{position:absolute;bottom:18px;left:22px;display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.93);color:#167ab9;font-size:11px;font-weight:700;padding:9px 11px;border-radius:30px}
.detail-visual-tag .site-icon{width:16px;height:16px}
.detail-heading{padding:25px 29px 29px}
.detail-category{display:inline-flex;align-items:center;gap:7px;color:#087fce;font-size:12px;font-weight:700;background:#ebf7ff;padding:7px 11px;border-radius:40px}
.detail-category .site-icon{width:15px;height:15px}
.detail-heading h1{font-size:clamp(23px,2.4vw,31px);font-weight:700;letter-spacing:-.017em;line-height:1.33;margin:15px 0 18px;color:#142d48;text-transform:none;overflow-wrap:anywhere}
.detail-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px}
.detail-state{display:inline-flex;align-items:center;gap:8px;background:#e8f9ef;padding:7px 12px;border-radius:28px;font-weight:700}
.detail-state.out-stock{background:#fff0f0}
.detail-state .stock-dot{height:8px;width:8px;display:inline-block;border-radius:50%;background:currentColor}
.detail-code{color:#8192a5;padding:7px 11px;border-radius:28px;background:#f5f8fb}
.detail-description{padding:25px 29px 29px}
.detail-section-title{display:flex;gap:13px;align-items:center;margin-bottom:19px}
.detail-section-title .detail-section-icon{width:43px;height:43px;display:grid;place-items:center;background:#eaf6ff;color:#0b8ddd;border-radius:13px}
.detail-section-icon .site-icon{width:22px;height:22px}
.detail-section-title h2{margin:0 0 4px;color:#193450;font-size:19px;letter-spacing:0;font-weight:700;text-transform:none}
.detail-section-title p{font-size:12px;margin:0;color:#8495a8}
.detail-description-body{font-size:14px;line-height:1.92;color:#536b83;overflow-wrap:anywhere;white-space:normal}
.detail-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.detail-small-info{display:flex;gap:11px;align-items:flex-start;background:#fff;border:1px solid #e1eaf4;padding:18px;border-radius:15px}
.detail-small-info>.site-icon{color:#098edb;width:21px;height:21px;margin-top:3px}
.detail-small-info strong{color:#223c56;font-size:12px;display:block;margin-bottom:5px}
.detail-small-info p{font-size:12px;margin:0;line-height:1.7}
.detail-order{padding:24px;position:sticky;top:20px}
.order-kicker{display:inline-flex;align-items:center;gap:7px;color:#078bd7;font-size:10px;font-weight:700;letter-spacing:.065em}
.order-kicker .site-icon{width:17px;height:17px}
.order-header h2{margin:12px 0 7px;font-size:22px;letter-spacing:0;font-weight:700;color:#152f4a;text-transform:none}
.order-header p{font-size:12px;line-height:1.7;margin:0;color:#7b8da1}
.order-unit-price{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 0 20px;border-bottom:1px solid #ecf1f6;font-size:13px;color:#637991}
.order-unit-price strong{font-size:23px;color:#0789d9;font-weight:700;white-space:nowrap}
.order-quantity-block{padding:21px 0 20px;border-bottom:1px solid #ecf1f6}
.order-quantity-block label{display:block;color:#233d59;font-size:13px;font-weight:700;margin-bottom:11px}
.quantity-control{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;width:100%;height:46px;border:1px solid #cfe2f2;border-radius:11px;overflow:hidden;background:#fafdff}
.quantity-control button{border:0;background:#eef7ff;color:#1682ca;font-size:24px;font-weight:500;display:grid;place-items:center}
.quantity-control button:hover:not(:disabled){background:#d9efff}
.quantity-control button:disabled{opacity:.5;cursor:not-allowed}
.quantity-control input{border:0;border-left:1px solid #dceaf5;border-right:1px solid #dceaf5;border-radius:0;background:#fff;color:#142f49;text-align:center;font-size:16px;font-weight:700;width:100%;min-width:0;outline:0;appearance:textfield;-moz-appearance:textfield}
.quantity-control input::-webkit-outer-spin-button,.quantity-control input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.quantity-control:focus-within{outline:3px solid #d7edff;outline-offset:2px}
.order-quantity-block small{display:block;color:#8798aa;font-size:11px;margin-top:10px;line-height:1.55}
.order-total{display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px;padding:22px 0 18px}
.order-total>span{font-size:14px;font-weight:700;color:#213e59}
.order-total strong{font-size:27px;letter-spacing:-.02em;color:#0787d6;font-weight:700}
.order-total small{grid-column:1/-1;text-align:right;font-size:11px;color:#8a9caf}
.detail-buy,.detail-copy{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;white-space:normal;text-align:center}
.detail-buy{background:linear-gradient(110deg,#078de0,#12a8ed);font-weight:700}
.detail-buy .site-icon,.detail-copy .site-icon{width:17px;height:17px}
.detail-copy{margin-top:9px;border:1px solid #c9e4f7;color:#077cc3;background:#f2faff;font-size:12px}
.detail-copy:hover{background:#e6f5ff}
.order-help{font-size:11px;line-height:1.65;color:#7a8d9f;margin:12px 0 0;text-align:center}
.detail-unavailable{display:flex;gap:10px;align-items:flex-start;padding:14px;border-radius:11px;border:1px solid #ffe0c0;background:#fff8ed;color:#916333;font-size:12px;line-height:1.65}
.order-safety{display:flex;gap:9px;align-items:flex-start;border-top:1px dashed #e0ebf3;padding:17px 0 0;margin-top:18px;color:#7f8f9e;font-size:11px;line-height:1.65}
.order-safety .site-icon{width:18px;height:18px;color:#1aa27d}
.detail-related{margin:35px 0 0}
.detail-related-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:16px}
.detail-related-head h2{font-size:22px;font-weight:700;color:#183650;margin:7px 0 0;text-transform:none;letter-spacing:0}
.detail-related-head>a{display:inline-flex;align-items:center;gap:5px;color:#078bdb;font-size:12px;font-weight:700}
.detail-related-head>a .site-icon{width:16px;height:16px}
.detail-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.detail-related-card{background:#fff;border:1px solid #e2eaf3;border-radius:15px;padding:16px;display:flex;align-items:center;gap:13px;transition:border-color .2s,transform .2s}
.detail-related-card:hover{border-color:#9ed8fa;transform:translateY(-2px)}
.related-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;background:#e9f6ff;border-radius:11px;color:#098edf}
.related-icon .site-icon{width:23px;height:23px}
.related-text{display:flex;flex-direction:column;flex:1;min-width:0;gap:5px}
.related-text strong{color:#1b3752;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.related-text small{font-size:11px;color:#708ba1}
.related-price{font-size:13px;font-weight:700;color:#0788db;white-space:nowrap}
.detail-missing{margin:65px auto;max-width:600px;text-align:center;background:#fff;border:1px solid #e1eaf4;border-radius:20px;padding:42px 26px}
.detail-missing-icon{display:grid;place-items:center;margin:0 auto 18px;width:70px;height:70px;border-radius:20px;background:#eaf6ff;color:#0792da}
.detail-missing-icon .site-icon{width:32px;height:32px}
.detail-missing h1{font-size:24px;font-weight:700;letter-spacing:0}
.detail-missing p{font-size:13px;margin:12px 0 21px}
@media(max-width:1000px){.detail-layout{grid-template-columns:minmax(0,1fr) minmax(280px,.85fr);gap:15px}.detail-heading,.detail-description{padding:22px}.detail-order{padding:20px}}
@media(max-width:760px){.product-detail-page{padding:14px 0 42px}.product-breadcrumb{gap:7px;padding-bottom:14px}.detail-layout{grid-template-columns:1fr}.detail-order{position:static;order:-1}.detail-visual{min-height:190px}.detail-heading h1{font-size:23px}.detail-product-symbol{height:96px;width:96px}.detail-product-symbol .site-icon{height:52px;width:52px}.detail-info-grid,.detail-related-grid{grid-template-columns:1fr}.detail-order{order:0}.detail-related-head{align-items:flex-start;flex-direction:column}}
@media(max-width:450px){.detail-order{padding:18px}.detail-heading,.detail-description{padding:18px}.detail-visual-tag{bottom:13px;left:14px}.detail-heading h1{font-size:21px}.detail-visual{min-height:175px}.related-price{font-size:12px}.detail-related-card{padding:12px;gap:8px}}
@media(prefers-reduced-motion:reduce){.product-detail-page .detail-related-card,body:not(.is-admin) .product-avatar-link{transition:none;transform:none}}

@media(max-width:760px){body:has(.product-detail-page) .float-telegram,body:has(.product-detail-page) .float-top{display:none}}


/* ==============================================================
   WEBSITE PUBLIC: COMPACT SPACING, 2026-10-17
   Scope: public storefront, login/register, article & product detail.
   Does not change forms, database, API, or Cpanel Admin logic.
   ============================================================== */

/* Header and navigation remain readable, but stop wasting vertical space. */
body:not(.is-admin) .topline-inner{padding-top:5px;padding-bottom:5px}
body:not(.is-admin) .header-inner{min-height:66px;gap:16px}
body:not(.is-admin) .logo-symbol{width:40px;height:40px;border-radius:11px}
body:not(.is-admin) .logo strong{font-size:20px}
body:not(.is-admin) .search{height:40px}
body:not(.is-admin) .search button{height:31px}
body:not(.is-admin) .nav-inner{min-height:44px;gap:22px}
body:not(.is-admin) .secure-label{padding:6px 10px}
body:not(.is-admin) section[id]{scroll-margin-top:70px}

/* Homepage hero / info / category panels. */
.home-page .home-content{padding-top:15px;padding-bottom:24px}
.home-page .intro-board{min-height:0;border-radius:16px}
.home-page .intro-main{padding:22px 26px 19px}
.home-page .intro-main h1{font-size:clamp(23px,2.2vw,29px);margin:8px 0 7px;line-height:1.3}
.home-page .intro-lead{font-size:13px;line-height:1.58}
.home-page .intro-quick-links{margin-top:12px;gap:8px}
.home-page .intro-quick-links a{min-height:36px;padding:7px 13px}
.home-page .intro-divider{margin:14px 0 13px}
.home-page .notice-grid{gap:13px}
.home-page .notice-block{gap:9px}
.home-page .notice-icon{width:32px;height:32px;min-width:32px;border-radius:10px}
.home-page .notice-block p{line-height:1.55;margin:3px 0 0}
.home-page .intro-side{padding:20px 23px;justify-content:center}
.home-page .side-symbol{width:40px;min-width:40px;height:40px;border-radius:12px}
.home-page .side-head{gap:10px}
.home-page .side-head strong{font-size:14px}
.home-page .intro-side>p{margin:10px 0 13px;line-height:1.55}
.home-page .intro-side .intro-primary{min-height:39px}
.home-page .intro-side .intro-secondary{min-height:37px;margin-top:7px}
.home-page .intro-side .side-safe{margin-top:12px;line-height:1.5}
.home-page .catalog-new{padding-top:16px}
.home-page .category-pills{gap:7px;margin-bottom:11px}
.home-page .category-tab{min-height:36px;padding:7px 12px;border-radius:9px}
.home-page .category-section{margin-top:12px}
.home-page .category-heading{min-height:44px;padding:7px 13px;gap:10px;border-radius:11px 11px 0 0}
.home-page .category-heading-icon{width:29px;height:29px;min-width:29px;border-radius:8px}
.home-page .category-heading h3{font-size:14px}
.home-page .category-heading-count{padding:5px 9px}
.home-page .product-list{gap:7px;padding-top:7px}
.home-page .product-list .product-card{min-height:90px;gap:12px;padding:11px 15px;grid-template-columns:46px minmax(0,1fr) minmax(160px,190px);border-radius:11px}
.home-page .product-list .product-avatar{width:46px;height:46px;min-width:46px;border-radius:11px}
.home-page .product-list .product-avatar .site-icon{width:22px;height:22px}
.home-page .product-list .product-info h4{margin-bottom:4px;line-height:1.4}
.home-page .product-list .product-info p{line-height:1.5;margin-bottom:6px;-webkit-line-clamp:2}
.home-page .product-list .stock{padding:4px 8px}
.home-page .product-list .purchase{gap:5px}
.home-page .product-list .price{font-size:19px}
.home-page .product-list .button-buy{min-height:36px;padding:7px 9px}
.home-page .news-new{padding-top:23px}
.home-page .catalog-heading{margin-bottom:11px}
.home-page .catalog-heading h2{font-size:22px;margin:5px 0 4px}
.home-page .news-grid{gap:11px}
.home-page .news-new .news-cover{height:94px}
.home-page .news-new .news-cover .site-icon{height:40px;width:40px}
.home-page .news-new .news-body{padding:14px 15px 15px}
.home-page .news-new .news-body h3{margin:6px 0}
.home-page .news-new .news-body p{min-height:0;line-height:1.55;margin-bottom:10px}
.home-page .lower-grid{gap:11px;margin-top:22px}
.home-page .lower-grid .info-panel{min-height:0;padding:16px 18px;gap:11px;border-radius:14px}
.home-page .lower-grid .info-icon{flex-basis:38px;width:38px;height:38px;border-radius:11px}
.home-page .lower-grid .info-panel h2{font-size:18px;margin:3px 0 7px}
.home-page .lower-grid .info-panel p{line-height:1.65;margin-bottom:5px}
.home-page .faq-item{padding:8px 0}
.home-page .faq-item p{margin:6px 0 0}
.home-page .telegram-banner{margin-top:17px;padding:19px 22px;gap:13px}

/* Product detail: replace huge decorative 235px masthead with a compact icon
   beside the title, bringing the description immediately below it. */
.product-detail-page{padding-top:13px;padding-bottom:30px;background:linear-gradient(180deg,#f2f8ff,#f5f7fb 170px)}
.product-breadcrumb{padding-bottom:10px;gap:7px}
.detail-layout{gap:12px}
.detail-main{gap:10px}
.detail-surface{border-radius:14px}
.detail-intro{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:16px;padding:15px 18px}
.detail-visual{min-height:0;width:78px;height:78px;border-radius:13px}
.detail-visual:before,.detail-visual:after{display:none}
.detail-product-symbol{width:49px;height:49px;border-radius:13px;box-shadow:none}
.detail-product-symbol .site-icon{width:27px;height:27px}
.detail-visual-tag{display:none}
.detail-heading{min-width:0;padding:0}
.detail-heading h1{font-size:clamp(20px,2.25vw,26px);line-height:1.25;margin:7px 0 9px}
.detail-category{padding:4px 8px;font-size:11px;gap:5px}
.detail-meta{gap:8px}
.detail-state,.detail-code{padding:5px 9px}
.detail-description{padding:16px 19px 18px}
.detail-section-title{gap:9px;margin-bottom:10px}
.detail-section-title .detail-section-icon{width:35px;height:35px;border-radius:10px}
.detail-section-title .detail-section-icon .site-icon{width:19px;height:19px}
.detail-section-title h2{font-size:17px;margin:0}
.detail-description-body{line-height:1.67;font-size:13px}
.detail-order{padding:18px;top:12px}
.order-header h2{font-size:19px;margin:8px 0 5px}
.order-header p{line-height:1.55}
.order-unit-price{padding:13px 0 12px}
.order-unit-price strong{font-size:21px}
.order-quantity-block{padding:13px 0}
.order-quantity-block label{margin-bottom:7px}
.quantity-control{height:40px;grid-template-columns:42px minmax(0,1fr) 42px}
.order-total{padding:14px 0 12px}
.order-total strong{font-size:24px}
.detail-unavailable{padding:11px 12px;line-height:1.55}
.detail-related{margin-top:21px}
.detail-related-head{margin-bottom:10px}
.detail-related-head h2{font-size:19px}
.detail-related-grid{gap:10px}
.detail-related-card{padding:11px 12px;border-radius:12px;gap:9px}
.related-icon{flex-basis:37px;width:37px;height:37px}

/* Accounts, editorial, and footer; do not touch control labels or focus. */
body:not(.is-admin) .auth-section{padding-top:22px;padding-bottom:32px;min-height:0}
body:not(.is-admin) .auth-panel{padding:23px}
body:not(.is-admin) .auth-panel h1{margin:6px 0}
body:not(.is-admin) .auth-panel>p{margin-bottom:15px}
body:not(.is-admin) .form-stack{gap:10px}
body:not(.is-admin) .form-stack label{gap:5px}
body:not(.is-admin) .form-stack input,body:not(.is-admin) .form-stack select,body:not(.is-admin) .form-stack textarea{padding:10px 12px}
body:not(.is-admin) .auth-link{margin-top:12px}
body:not(.is-admin) .reading-wrap{padding-top:20px;padding-bottom:28px;min-height:0}
body:not(.is-admin) .reading-card{padding:24px}
body:not(.is-admin) .reading-card h1{margin-top:8px}
body:not(.is-admin) .reading-card .article-content{line-height:1.7}
body:not(.is-admin) .dashboard-content{padding-top:20px;padding-bottom:30px;min-height:0}
body:not(.is-admin) .paper-card{padding:22px}
body:not(.is-admin) .footer{margin-top:8px;padding-top:25px}
body:not(.is-admin) .footer-grid{gap:23px}
body:not(.is-admin) .footer-grid h3{margin-bottom:8px}
body:not(.is-admin) .footer-grid p{margin-top:6px;line-height:1.55}
body:not(.is-admin) .footer-grid a{margin:6px 0}
body:not(.is-admin) .footer-bottom{margin-top:17px;padding-block:12px}

@media(max-width:1100px){
  .home-page .intro-main{padding:20px 22px}
  .home-page .intro-side{padding:19px 20px}
  .home-page .product-list .product-card{grid-template-columns:44px minmax(0,1fr) 170px;gap:10px;padding:11px 13px}
  .home-page .product-list .product-avatar{width:44px;height:44px;min-width:44px}
}
@media(max-width:780px){
  .home-page .home-content{padding-top:12px;padding-bottom:22px}
  .home-page .intro-main{padding:19px 19px}
  .home-page .intro-side{padding:17px 19px}
  .home-page .product-list .product-card{grid-template-columns:43px minmax(0,1fr) 160px}
  .home-page .news-new{padding-top:20px}
  .home-page .lower-grid{margin-top:17px}
  .product-detail-page{padding-top:10px;padding-bottom:20px}
  .detail-order{position:static;padding:17px}
}
@media(max-width:620px){
  body:not(.is-admin) .header-inner{min-height:63px}
  body:not(.is-admin) .nav-inner{min-height:42px}
  .home-page .intro-main{padding:17px 16px}
  .home-page .intro-main h1{font-size:23px}
  .home-page .intro-side{padding:17px 16px}
  .home-page .intro-divider{margin:12px 0}
  .home-page .notice-grid{gap:10px}
  .home-page .category-pills{gap:6px;margin-bottom:9px}
  .home-page .category-heading{padding:7px 10px;min-height:41px}
  .home-page .product-list .product-card{grid-template-columns:41px minmax(0,1fr);padding:11px 12px;gap:9px;min-height:0}
  .home-page .product-list .product-avatar{width:41px;height:41px;min-width:41px}
  .home-page .product-list .purchase{grid-column:1/-1;display:grid;grid-template-columns:1fr minmax(120px,1.25fr);gap:8px;margin-top:0}
  .home-page .news-grid{gap:10px}
  .home-page .news-new .news-cover{height:80px}
  .home-page .lower-grid .info-panel{padding:14px}
  .home-page .telegram-banner{padding:16px 17px}
  .detail-intro{grid-template-columns:60px minmax(0,1fr);gap:11px;padding:12px}
  .detail-visual{width:60px;height:60px;border-radius:11px}
  .detail-product-symbol{width:40px;height:40px;border-radius:10px}
  .detail-product-symbol .site-icon{width:23px;height:23px}
  .detail-heading h1{font-size:20px;margin:5px 0 7px}
  .detail-description{padding:13px 14px 15px}
  .detail-section-title{margin-bottom:9px}
  .detail-order{padding:14px}
  .detail-related{margin-top:17px}
  body:not(.is-admin) .auth-section{padding:16px 12px 23px}
  body:not(.is-admin) .auth-panel{padding:19px 17px}
  body:not(.is-admin) .reading-card{padding:18px}
  body:not(.is-admin) .paper-card{padding:17px}
  body:not(.is-admin) .footer{padding-top:21px}
}

/* CATEGORY HEADER + PRODUCTS: one continuous panel, no blank strip. */
.home-page .category-section > .category-heading {
  margin-bottom: 0;
  border-radius: 12px 12px 0 0;
  box-shadow: none;
}
.home-page .category-section > .product-list {
  padding-top: 0;
  margin-top: 0;
  gap: 0;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe7f3;
  border-top: 0;
  box-shadow: 0 5px 16px rgba(26, 65, 107, .055);
}
.home-page .category-section > .product-list > .product-card {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #e6edf5;
}
.home-page .category-section > .product-list > .product-card:last-child {
  border-bottom: 0;
}
.home-page .category-section > .product-list > .product-card:hover {
  transform: none;
  background: #f8fcff;
}


/* ===============================================================
   PRODUCT DETAIL: panel alignment, cumulative fix 2026-10-17.
   Preserves compact intro/icon, compact spacing, and joined category.
   On desktop, the description extends to the bottom of the order card.
   On mobile, panels stack naturally, without forced empty heights.
   =============================================================== */
@media (min-width: 761px) {
  .product-detail-page .detail-layout {
    align-items: stretch;
  }
  .product-detail-page .detail-main {
    align-self: stretch;
    height: 100%;
  }
  .product-detail-page .detail-description {
    flex: 1 1 auto;
    min-height: 0;
  }
  .product-detail-page .detail-order {
    position: relative;
    top: auto;
    height: 100%;
  }
}
@media (max-width: 760px) {
  .product-detail-page .detail-layout { align-items: start; }
  .product-detail-page .detail-main { height: auto; }
  .product-detail-page .detail-description { flex: none; }
  .product-detail-page .detail-order { position: static; height: auto; }
}

/* ============================================================
   2026-10-17 · SERVER NOTICE + PRODUCT WIDTH ALIGNMENT
   Inherit all earlier compact/merged/category/detail fixes.
   Main detail container must have the same internal gutters as
   the navbar and homepage container.
   ============================================================ */
body:not(.is-admin) .topline {
  background: transparent;
}
body:not(.is-admin) .topline .topline-inner {
  background: #0c8dde;
  border-radius: 0 0 11px 11px;
}
body:not(.is-admin) main.product-detail-page.container {
  width: 100%;
  max-width: 1296px;
  padding-left: 28px;
  padding-right: 28px;
}
@media (max-width: 760px) {
  body:not(.is-admin) main.product-detail-page.container {
    padding-left: 16px;
    padding-right: 16px;
  }
  body:not(.is-admin) .topline .topline-inner {
    border-radius: 0 0 9px 9px;
  }
}

/* TOP BAR: full viewport width, square corners.
   'Website độc lập BLUE MARKET' and HTTPS notice share the same
   continuous blue strip; text remains aligned with site content. */
body:not(.is-admin) .topline {
  width: 100%;
  max-width: none;
  background: #0c8dde;
  border-radius: 0;
  overflow: visible;
}
body:not(.is-admin) .topline .topline-inner {
  width: 100%;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 760px) {
  body:not(.is-admin) .topline .topline-inner {
    border-radius: 0;
  }
}

/* ================================================================
   2026-10-17 · Public catalog: right-hand login sidebar
   Match the width of the introductory "Hệ thống riêng biệt" panel.
   All previously approved compact, joined-category, detail and
   full-width topbar rules remain intact above this section.
   ================================================================ */
.home-page .catalog-main-grid{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(305px,.78fr);
  gap:16px;
  align-items:start;
}
.home-page .catalog-products-column{min-width:0}
.home-page .catalog-login-sidebar{min-width:0;align-self:start;position:sticky;top:16px}
.home-page .catalog-login-card{
  overflow:hidden;
  padding:20px;
  border-radius:16px;
  border:1px solid #dbe7f2;
  background:#fff;
  box-shadow:0 8px 25px rgba(25,60,100,.065);
}
.home-page .catalog-login-head{display:flex;align-items:center;gap:11px;margin-bottom:10px}
.home-page .catalog-login-icon{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;background:#e7f5ff;border-radius:12px;color:#0a8ed7}
.home-page .catalog-login-icon .site-icon{width:21px;height:21px}
.home-page .catalog-login-eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:.04em;color:#0c8fdc;line-height:1.45}
.home-page .catalog-login-head h2{margin:2px 0 0;font:700 18px/1.35 var(--hm-facebook-font);text-transform:uppercase;letter-spacing:0;color:#183550}
.home-page .catalog-login-desc{margin:0 0 15px;font-size:12px;line-height:1.65;color:#718498}
.home-page .catalog-login-form{display:flex;flex-direction:column;gap:7px}
.home-page .catalog-login-form label{font-weight:700;font-size:12px;color:#536b82;line-height:1.4}
.home-page .catalog-login-form input{
  height:41px;width:100%;min-width:0;margin-bottom:6px;
  padding:9px 12px;
  font:400 13px/1.4 var(--hm-facebook-font);
  border:1px solid #d8e4f0;border-radius:9px;background:#fbfdff;
  color:#1a3450;outline:none;
}
.home-page .catalog-login-form input:focus-visible{border-color:#55aee7;outline:3px solid #dff2ff;outline-offset:0}
.home-page .catalog-login-form input::placeholder{color:#9aabba;opacity:1}
.home-page .catalog-login-submit{display:flex;align-items:center;justify-content:center;width:100%;min-height:41px;padding:9px 12px;margin-top:5px}
.home-page .catalog-login-submit .site-icon{width:16px;height:16px}
.home-page .catalog-login-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;margin-top:15px;padding-top:13px;border-top:1px solid #eaf0f6;font-size:12px;color:#8292a4}
.home-page .catalog-login-footer a{display:inline-flex;align-items:center;gap:5px;font-weight:700;color:#0788d6}
.home-page .catalog-login-footer a:hover{text-decoration:underline}
.home-page .catalog-login-footer .site-icon{width:14px;height:14px}
.home-page .catalog-login-safe{display:flex;align-items:flex-start;gap:8px;margin-top:14px;border-radius:10px;padding:10px;background:#f0f8ff;color:#54738a;font-size:11px;line-height:1.55}
.home-page .catalog-login-safe .site-icon{width:16px;height:16px;flex:0 0 16px;color:#168fce}
.home-page .catalog-member-name{font-size:14px;font-weight:700;color:#1e3a53;margin:7px 0 2px;overflow-wrap:anywhere}
.home-page .catalog-member-email{font-size:12px;color:#8193a5;margin:0 0 15px;overflow-wrap:anywhere}
.home-page .catalog-member-signout{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:12px;color:#6a7d90;font-size:12px;font-weight:600}
.home-page .catalog-member-signout:hover{color:#d45865}
.home-page .catalog-member-signout .site-icon{width:15px;height:15px}
@media(max-width:1100px){
  .home-page .catalog-main-grid{grid-template-columns:minmax(0,1fr) 300px;gap:13px}
  .home-page .catalog-login-card{padding:17px}
}
@media(max-width:920px){
  .home-page .catalog-main-grid{grid-template-columns:minmax(0,1fr)}
  .home-page .catalog-login-sidebar{position:static;max-width:none}
  .home-page .catalog-login-card{padding:19px}
}
@media(max-width:620px){
  .home-page .catalog-main-grid{gap:12px}
  .home-page .catalog-login-card{padding:16px;border-radius:13px}
  .home-page .catalog-login-head h2{font-size:17px}
}


/* ===========================================================
   2026-10-17 · DANH MUC THUOC NAV SAN PHAM / COMPACT ALIGNMENT
   Keep all approved layout, sidebar, full-width header and joined
   catalog panels. The category filter now lives in the navbar.
   =========================================================== */
body:not(.is-admin) .nav,
body:not(.is-admin) .nav-inner{overflow:visible}
body:not(.is-admin) .nav-inner{position:relative}
body:not(.is-admin) .nav-product-menu{position:relative;flex:0 0 auto;align-self:stretch;display:flex;align-items:center;z-index:30}
body:not(.is-admin) .nav-product-trigger{
  display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none;
  white-space:nowrap;color:#66768b;font:inherit;line-height:1.45;
  padding:8px 3px;border-radius:7px;user-select:none;
}
body:not(.is-admin) .nav-product-trigger::-webkit-details-marker{display:none}
body:not(.is-admin) .nav-product-trigger::marker{content:''}
body:not(.is-admin) .nav-product-trigger .site-icon{width:14px;height:14px;transition:transform .16s ease}
body:not(.is-admin) .nav-product-menu[open] .nav-product-trigger,
body:not(.is-admin) .nav-product-menu:hover .nav-product-trigger{color:#087fd1}
body:not(.is-admin) .nav-product-menu[open] .nav-product-trigger .site-icon{transform:rotate(180deg)}
body:not(.is-admin) .nav-product-dropdown{
  position:absolute;top:calc(100% - 1px);left:-10px;z-index:101;
  min-width:240px;width:max-content;max-width:min(340px,calc(100vw - 32px));
  max-height:min(420px,65vh);overflow-y:auto;overscroll-behavior:contain;
  padding:7px;border:1px solid #dce8f3;border-radius:12px;
  background:#fff;box-shadow:0 14px 35px rgba(24,59,94,.14);
}
body:not(.is-admin) .nav-product-choice{
  display:flex;align-items:center;gap:10px;width:100%;max-width:100%;
  padding:11px 12px;border-radius:8px;white-space:normal;
  overflow-wrap:anywhere;color:#405a73;font-size:13px;line-height:1.45;font-weight:600;
}
body:not(.is-admin) .nav-product-choice .site-icon{width:16px;height:16px;flex:0 0 16px;color:#0b8edd}
body:not(.is-admin) .nav-product-choice:hover,
body:not(.is-admin) .nav-product-choice:focus-visible{background:#ecf7ff;color:#0679c5}
body:not(.is-admin) .nav-product-choice.is-current{background:#e7f5ff;color:#086da9}
body:not(.is-admin) .nav-product-trigger:focus-visible{outline:2px solid #55b9f7;outline-offset:3px}
/* Product header and login panel share the exact same top edge. */
.home-page .catalog-products-column>.category-section{margin-top:0}
.home-page .catalog-products-column>.category-section~.category-section{margin-top:12px}
.home-page .catalog-products-column>.alert:first-child,
.home-page .catalog-products-column>.empty-state:first-child{margin-top:0}
@media(max-width:830px){
  body:not(.is-admin) .nav-inner{flex-wrap:wrap;white-space:normal;gap:5px 15px;overflow:visible;padding-top:6px;padding-bottom:6px}
  body:not(.is-admin) .nav-product-menu{position:static;align-self:center}
  body:not(.is-admin) .nav-product-dropdown{left:16px;right:16px;width:auto;max-width:none;min-width:0;top:calc(100% - 1px)}
}
@media(max-width:620px){
  body:not(.is-admin) .nav-inner{gap:3px 12px}
  body:not(.is-admin) .nav-product-trigger{padding:7px 2px}
  body:not(.is-admin) .nav-product-choice{padding:10px 11px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){body:not(.is-admin) .nav-product-trigger .site-icon{transition:none}}


/* ================================================================
   2026-10-17 · Member dashboard sidebar (logged-in state only).
   Built on latest category-hover nav / cumulative site fixes.
   ================================================================ */
.home-page .catalog-login-card.catalog-member-card{padding:0;overflow:hidden;border-radius:16px}
.home-page .catalog-member-card .member-hero{
  position:relative;overflow:hidden;padding:18px 19px 20px;
  color:#fff;background:linear-gradient(116deg,#0979bf 0%,#0c97e1 100%);
}
.home-page .catalog-member-card .member-hero:after{content:"";pointer-events:none;position:absolute;
  width:164px;height:164px;right:-65px;top:-87px;border:1px solid rgba(255,255,255,.16);
  border-radius:50%;box-shadow:0 0 0 44px rgba(255,255,255,.035)}
.home-page .catalog-member-card .member-topline{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;position:relative;z-index:1}
.home-page .catalog-member-card .member-kicker{display:inline-flex;gap:5px;align-items:center;font:700 10px/1.4 var(--hm-facebook-font);letter-spacing:.025em;color:#e9f8ff}
.home-page .catalog-member-card .member-kicker .site-icon{width:14px;height:14px}
.home-page .catalog-member-card .member-session-dot{display:inline-flex;align-items:center;gap:5px;
  padding:4px 8px;border:1px solid rgba(226,255,246,.26);border-radius:99px;
  background:rgba(225,255,240,.16);color:#eafff5;font:600 10px/1.2 var(--hm-facebook-font)}
.home-page .catalog-member-card .member-session-dot .site-icon{width:12px;height:12px}
.home-page .catalog-member-card .member-profile{display:flex;align-items:center;gap:12px;margin-top:18px;position:relative;z-index:1;min-width:0}
.home-page .catalog-member-card .member-avatar{width:56px;height:56px;flex:0 0 56px;
  display:grid;place-items:center;border:2px solid rgba(255,255,255,.65);border-radius:16px;
  background:rgba(255,255,255,.18);color:#fff;box-shadow:0 5px 12px rgba(0,63,114,.13);
  font:700 20px/1 var(--hm-facebook-font);text-transform:uppercase}
.home-page .catalog-member-card .member-identity{min-width:0;flex:1}
.home-page .catalog-member-card .member-greeting{display:block;color:#d3ecff;font-size:11px;line-height:1.4}
.home-page .catalog-member-card .member-identity h2{margin:1px 0 5px;font:700 18px/1.35 var(--hm-facebook-font);
  color:#fff;text-transform:none;letter-spacing:0;overflow-wrap:anywhere}
.home-page .catalog-member-card .member-mail{display:flex;align-items:flex-start;gap:5px;color:#dbf3ff;font-size:11px;line-height:1.5;
  overflow-wrap:anywhere;word-break:break-word}
.home-page .catalog-member-card .member-mail .site-icon{width:13px;height:13px;flex:0 0 13px;margin-top:1px}
.home-page .catalog-member-card .member-content{padding:18px 19px 19px}
.home-page .catalog-member-card .member-section-label{display:flex;align-items:center;gap:7px;color:#183d5a;
  font:700 12px/1.5 var(--hm-facebook-font);margin:0 0 9px}
.home-page .catalog-member-card .member-section-label .site-icon{width:17px;height:17px;color:#058edc}
.home-page .catalog-member-card .member-info-list{margin:0;border:1px solid #e6eef6;border-radius:12px;overflow:hidden;background:#fbfdff}
.home-page .catalog-member-card .member-info-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;
  min-width:0;padding:11px 12px}
.home-page .catalog-member-card .member-info-row+.member-info-row{border-top:1px solid #e9f0f6}
.home-page .catalog-member-card .member-info-row dt{display:flex;align-items:center;gap:6px;margin:0;
  color:#73869a;font-size:11px;line-height:1.5;font-weight:400}
.home-page .catalog-member-card .member-info-row dt .site-icon{width:14px;height:14px;flex:0 0 14px;color:#218bd0}
.home-page .catalog-member-card .member-info-row dd{margin:0;color:#244763;text-align:right;min-width:0;
  font-size:12px;line-height:1.5;font-weight:700;overflow-wrap:anywhere}
.home-page .catalog-member-card .member-safety-note{display:flex;align-items:flex-start;gap:8px;
  padding:11px 0 12px;font-size:11px;line-height:1.55;color:#668096}
.home-page .catalog-member-card .member-safety-note .site-icon{flex:0 0 15px;width:15px;height:15px;margin-top:1px;color:#0b8fd2}
.home-page .catalog-member-card .member-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch}
.home-page .catalog-member-card .member-primary{min-width:0;min-height:41px;margin:0;padding:9px 8px;font-size:12px}
.home-page .catalog-member-card .member-primary .site-icon{width:15px;height:15px}
.home-page .catalog-member-card .member-secondary{min-height:41px;margin:0;padding:9px 11px;background:#f7fafd;
  border:1px solid #dae5ef;color:#48627b;font-size:12px}
.home-page .catalog-member-card .member-secondary .site-icon{width:15px;height:15px}
.home-page .catalog-member-card .member-secondary:hover{background:#edf5fc;color:#c65362}
@media(max-width:1100px){
  .home-page .catalog-member-card .member-hero{padding:16px}
  .home-page .catalog-member-card .member-content{padding:16px}
}
@media(max-width:620px){
  .home-page .catalog-member-card .member-hero{padding:17px}
  .home-page .catalog-member-card .member-content{padding:17px}
  .home-page .catalog-member-card .member-actions{grid-template-columns:minmax(0,1fr) auto}
}
@media(max-width:360px){
  .home-page .catalog-member-card .member-info-row{flex-wrap:wrap;gap:4px}
  .home-page .catalog-member-card .member-info-row dd{text-align:left;padding-left:20px}
}

/* ========================================================================
   2026-10-17 · Homepage right sidebar top-edge alignment (all states)
   Keep cumulative navbar/category/full-width/panel design untouched.
   ======================================================================== */
.home-page .catalog-main-grid{align-items:start}
.home-page .catalog-products-column,
.home-page .catalog-login-sidebar{align-self:start;margin-top:0;padding-top:0;transform:none}
.home-page .catalog-login-sidebar{position:static;top:auto}
.home-page .catalog-login-sidebar>.catalog-login-card{margin-top:0}
.home-page .catalog-products-column>.category-section:first-of-type{margin-top:0}
.home-page .catalog-products-column>.category-section:first-child{margin-top:0}

/* ========================================================================
   Professional member profile · BLUE MARKET (public PHP frontend)
   ======================================================================== */
.account-v2{padding-top:18px;padding-bottom:36px;color:#18344f}
.account-v2 .site-icon{width:17px;height:17px;flex-shrink:0}
.account-breadcrumb{display:flex;align-items:center;gap:10px;color:#8ca0b2;font-size:12px;margin:0 0 13px}
.account-breadcrumb a{color:#607c98}.account-breadcrumb strong{font-weight:600;color:#173b58}
.account-profile-hero{position:relative;display:flex;align-items:center;gap:17px;min-width:0;overflow:hidden;
 padding:22px 26px;border:1px solid #0a91da;border-radius:15px;background:linear-gradient(115deg,#1164a8,#0b93df);
 box-shadow:0 10px 32px rgba(13,80,147,.1);color:white;margin-bottom:15px}
.account-profile-hero:before{content:"";position:absolute;right:-65px;top:-190px;width:400px;height:400px;border:1px solid #ffffff30;border-radius:50%;box-shadow:0 0 0 75px #ffffff0a}
.account-hero-avatar{display:grid;place-items:center;width:70px;height:70px;flex:0 0 70px;border:2px solid #ffffff75;
 border-radius:19px;background:#ffffff2b;color:white;font:700 25px/1 var(--hm-facebook-font);position:relative}
.account-hero-identity{flex:1;min-width:0;position:relative}
.account-hero-eyebrow{display:inline-flex;align-items:center;gap:6px;font:700 10px/1.4 var(--hm-facebook-font);letter-spacing:.06em;color:#d7efff}
.account-hero-eyebrow .site-icon{width:15px;height:15px}
.account-hero-identity h1{font:700 clamp(22px,2.5vw,28px)/1.3 var(--hm-facebook-font);margin:5px 0;color:#fff;letter-spacing:0;text-transform:none;overflow-wrap:anywhere}
.account-hero-identity p{display:flex;align-items:center;gap:6px;color:#e1f4ff;font:400 13px/1.5 var(--hm-facebook-font);margin:0;overflow-wrap:anywhere;word-break:break-word}
.account-hero-status{display:inline-flex;align-items:center;gap:6px;background:#ffffff20;border:1px solid #ffffff55;border-radius:20px;
 padding:8px 11px;color:#fff;white-space:nowrap;font-size:11px;font-weight:700;position:relative}
.account-shell{display:grid;grid-template-columns:minmax(220px,275px) minmax(0,1fr);gap:15px;align-items:start}
.account-side,.account-panel{background:#fff;border:1px solid #dfe9f3;border-radius:15px;box-shadow:0 7px 24px rgba(28,68,109,.045)}
.account-side{padding:17px;position:sticky;top:15px}
.account-side-heading,.account-mini-label,.account-panel-overline{font-size:10px;font-weight:700;letter-spacing:.085em;color:#8296a9}
.account-side-heading{padding:2px 10px 12px}
.account-side-link{display:flex;align-items:center;gap:9px;min-height:42px;border-radius:9px;padding:10px;color:#405b74;font-size:12px;font-weight:600}
.account-side-link:hover{background:#eaf7ff;color:#087bcc}
.account-side-link>.site-icon:last-child{margin-left:auto;width:14px;height:14px;color:#9bafc1}
.account-side-link>.site-icon:first-child{color:#1493dd}
.account-side-divider{border-top:1px solid #e8eef4;margin:13px 0 15px}
.account-mini-label{padding:0 8px 9px}
.account-facts{margin:0;background:#f8fbff;border:1px solid #e8eef7;border-radius:11px;padding:2px 12px}
.account-facts>div{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:11px 0}
.account-facts>div+div{border-top:1px solid #e5eef5}
.account-facts dt,.account-facts dd{margin:0;font-size:11px;line-height:1.5}
.account-facts dt{color:#8193a6}.account-facts dd{font-weight:700;color:#24445e;text-align:right}
.account-side-signout{margin:15px 3px 0}
.account-side-signout a{display:inline-flex;align-items:center;gap:7px;color:#a65360;font-size:12px;font-weight:600;padding:5px 4px}
.account-side-signout a:hover{color:#e44357}
.account-forms{display:flex;flex-direction:column;gap:15px;min-width:0}
.account-panel{padding:24px 26px;scroll-margin-top:20px}
.account-panel-header{display:flex;gap:13px;align-items:flex-start;border-bottom:1px solid #e9eff5;padding-bottom:18px;margin-bottom:20px}
.account-panel-icon{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;background:#e7f5ff;color:#0a8dd8;border-radius:12px}
.account-panel-icon .site-icon{width:21px;height:21px}
.account-panel-icon.account-icon-lock{background:#ecf5ff}
.account-panel-overline{color:#078cdb;letter-spacing:.08em}
.account-panel-header h2{font:700 19px/1.35 var(--hm-facebook-font);text-transform:none;letter-spacing:0;margin:3px 0 4px;color:#153853}
.account-panel-header p{font-size:12px;color:#7b8fa3;margin:0;line-height:1.65}
.account-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.account-field{min-width:0}
.account-field-wide{grid-column:1/-1}
.account-field label{display:block;color:#31516a;font-size:12px;font-weight:700;margin:0 0 7px}
.account-field label span{color:#e06974}
.account-field label em{color:#90a1b2;font-size:11px;font-weight:400;font-style:normal}
.account-field input{display:block;width:100%;min-width:0;background:#fbfdff;border:1px solid #d8e5f0;border-radius:10px;
 padding:11px 13px;min-height:44px;outline:none;color:#213e55;font:400 13px var(--hm-facebook-font);transition:border .15s,box-shadow .15s}
.account-field input:focus{border-color:#0e91dc;box-shadow:0 0 0 3px rgba(18,151,228,.1);background:white}
.account-field small{display:block;color:#8a9cae;font-size:11px;line-height:1.5;margin-top:6px}
.account-form-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:20px;padding-top:16px;border-top:1px solid #edf1f6}
.account-form-actions>span{display:inline-flex;gap:7px;align-items:center;color:#7591a6;font-size:11px;line-height:1.5}
.account-form-actions>span .site-icon{color:#18a878}
.account-form-actions button{min-height:40px}
.account-feedback{display:flex;align-items:center;gap:8px;margin-bottom:15px;padding:11px 14px;border:1px solid #ffcdbd;background:#fff7f2;
 border-radius:10px;color:#9a4439;font-size:12px}
@media(max-width:860px){.account-shell{grid-template-columns:1fr}.account-side{position:static}.account-side-link{display:inline-flex;margin-right:8px}.account-side-link>.site-icon:last-child{display:none}.account-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.account-facts>div{display:block}.account-facts>div+div{border-top:0}.account-facts dd{text-align:left;margin-top:2px}}
@media(max-width:620px){.account-v2{padding-top:12px;padding-bottom:20px}.account-profile-hero{padding:18px 16px;flex-wrap:wrap;gap:12px}.account-hero-avatar{width:54px;height:54px;flex-basis:54px;font-size:19px;border-radius:15px}.account-hero-status{width:max-content;margin-left:66px}.account-panel{padding:17px 16px}.account-field-grid{grid-template-columns:1fr;gap:13px}.account-field-wide{grid-column:auto}.account-form-actions{align-items:stretch;flex-direction:column}.account-form-actions button{width:100%}.account-panel-header{padding-bottom:14px;margin-bottom:16px}.account-facts{grid-template-columns:1fr}.account-facts>div{display:flex}.account-facts>div+div{border-top:1px solid #e5eef5}.account-facts dd{text-align:right}.account-side{padding:13px}}
@media(max-width:375px){.account-profile-hero{gap:9px}.account-hero-avatar{width:46px;height:46px;flex-basis:46px}.account-hero-status{margin-left:0}.account-hero-identity h1{font-size:19px}.account-hero-identity p{font-size:11px}}

/* Mobile profile header: reserve a full readable column for Vietnamese names. */
@media(max-width:620px){
 .account-profile-hero{align-items:center;column-gap:12px;row-gap:12px}
 .account-hero-avatar{flex:0 0 54px}
 .account-hero-identity{flex:1 1 calc(100% - 72px);min-width:0}
 .account-hero-identity h1{font-size:20px;line-height:1.3;word-break:normal}
 .account-hero-identity p{word-break:break-word}
 .account-hero-status{flex:0 0 auto;margin-left:66px}
}
@media(max-width:375px){
 .account-hero-avatar{flex-basis:46px}
 .account-hero-identity{flex-basis:calc(100% - 58px)}
 .account-hero-status{margin-left:58px}
}


/* Compatibility structure: commerce.css */
/* BLUE MARKET public storefront payments — additive, no existing CSS overrides */
.commerce-page{padding-top:22px;padding-bottom:50px;min-height:56vh}.commerce-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 17px}.commerce-head span{color:#0086d5;font-weight:750;font-size:11px}.commerce-head h1{font-size:25px;margin:3px 0 2px;color:#193651}.commerce-head p{margin:0;font-size:12px}.commerce-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.commerce-card{background:#fff;border:1px solid #deeaf5;border-radius:14px;padding:21px;box-shadow:0 7px 24px #17385a08;margin-bottom:12px;min-width:0}.commerce-card h2{font-size:17px;margin:0 0 13px}.commerce-card p{font-size:12px;line-height:1.7}.commerce-label{font-size:11px;font-weight:800;color:#5690ba;letter-spacing:.05em;display:block;margin-bottom:8px}.wallet-balance{font-size:31px;font-weight:800;color:#098dda;margin-bottom:9px}.commerce-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.commerce-form{display:flex;align-items:flex-end;gap:10px;margin:12px 0 10px}.commerce-form label{font-size:12px;font-weight:700;flex:1}.commerce-form input{display:block;border:1px solid #cadfed;min-width:0;width:100%;border-radius:8px;padding:10px;margin-top:5px}.commerce-warning{border:1px solid #ffddab;background:#fff8ea;color:#936b38;padding:12px;border-radius:9px}.commerce-table-wrap{overflow-x:auto}.commerce-table{border-collapse:collapse;width:100%;min-width:590px;font-size:12px}.commerce-table th{text-align:left;background:#f6faff;color:#647f99;font-size:11px}.commerce-table td,.commerce-table th{padding:12px;border-bottom:1px solid #e8eff6;vertical-align:top}.commerce-reference{font-family:Consolas,monospace;color:#087ccc;font-size:13px;user-select:all}.commerce-bank{font-size:11px;margin-top:6px;color:#7b8a9a}.commerce-delivery{display:block;width:100%;padding:12px;border:1px solid #bddaf0;border-radius:9px;background:#f6fbff;font:13px/1.6 Consolas,monospace;resize:vertical;color:#163952}.purchase-live{margin-top:11px}.purchase-live .button{width:100%}.purchase-live small{display:block;margin-top:7px;color:#8497a6;font-size:11px}.purchase-live .commerce-warning{margin-top:8px}
@media(max-width:760px){.commerce-grid{grid-template-columns:1fr}.commerce-head{align-items:flex-start;flex-wrap:wrap}.commerce-form{flex-direction:column;align-items:stretch}.commerce-card{padding:15px}.commerce-head h1{font-size:22px}}


/* Wallet transfer QR & unique NAP reference – independent public website */
.wallet-payment-panel{scroll-margin-top:18px;padding:22px}
.wallet-payment-heading,.wallet-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.wallet-payment-heading h2{font-size:20px;margin:4px 0 0;overflow-wrap:anywhere}
.wallet-section-heading h2{margin:0}
.wallet-section-heading span{font-size:12px;color:#6b8397}
.wallet-status{display:inline-flex;align-items:center;border-radius:30px;padding:6px 11px;background:#fff3dd;color:#9a652a;white-space:nowrap;font-size:12px;font-weight:700}
.wallet-status.is-credited{background:#e3f9ef;color:#138a64}
.wallet-status.is-expired{background:#f3f5f8;color:#78899b}
.wallet-payment-grid{display:grid;grid-template-columns:minmax(260px,330px) minmax(0,1fr);gap:22px;align-items:stretch}
.wallet-qr-box{background:#f5faff;border:1px solid #dcebf9;border-radius:13px;padding:14px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.wallet-qr-img{display:block;width:100%;height:auto;max-width:270px;aspect-ratio:27/32;object-fit:contain;border-radius:8px;background:white}
.wallet-qr-open{color:#087cca;font-size:12px;font-weight:700;margin-top:10px}
.wallet-qr-box>p{margin:9px 0 0;font-size:11px;color:#637d92}
.wallet-payment-details{min-width:0;display:flex;flex-direction:column;gap:0}
.wallet-detail-intro{margin:0 0 10px;color:#4f6d85}
.wallet-detail-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 0;border-bottom:1px solid #e9eff6}
.wallet-detail-row>span{color:#647d93;font-size:12px}
.wallet-detail-row strong{font-size:14px;color:#213e57;overflow-wrap:anywhere}
.wallet-copy-line{display:flex;align-items:center;gap:8px;min-width:0;justify-content:flex-end}
.wallet-copy-button{background:#ecf7ff;border:1px solid #b9e0fa;color:#057bc3;border-radius:8px;padding:7px 10px;white-space:nowrap;font-size:11px;font-weight:700;min-width:72px}
.wallet-copy-button:hover{background:#dbf0ff}
.wallet-copy-button:focus-visible{outline:2px solid #168ad7;outline-offset:2px}
.wallet-ref-row{align-items:flex-start;flex-direction:column;background:#f2f9ff;border:1px solid #d9ecfc;border-radius:11px;padding:12px;margin-top:10px}
.wallet-ref-row .wallet-copy-line{width:100%;justify-content:space-between}
.wallet-reference{font:700 18px/1.5 Consolas,'Courier New',monospace;letter-spacing:.025em;color:#057dcc;word-break:break-all;user-select:all}
.wallet-amount{font-size:19px;color:#008dd9}
.wallet-payment-note{margin-top:12px;background:#fff8ee;border:1px solid #ffe3bd;padding:10px 12px;border-radius:10px;font-size:12px;color:#8f662f}
.wallet-expiry{font-size:12px;color:#617f95;margin-top:12px}
.wallet-finished-message{color:#4f697f;margin:8px 0}
.wallet-intent-link{color:#007dca;font-size:12px;font-weight:700;white-space:nowrap}
.wallet-intent-link:hover{text-decoration:underline}
.wallet-create-card .wallet-form-note{margin:10px 0 0}
@media(max-width:870px){.wallet-payment-grid{grid-template-columns:1fr}.wallet-qr-box{max-width:380px;width:100%;margin:0 auto}}
@media(max-width:620px){.wallet-payment-panel{padding:15px}.wallet-payment-heading{align-items:flex-start;flex-wrap:wrap}.wallet-payment-heading h2{font-size:17px}.wallet-detail-row{align-items:flex-start;flex-direction:column;gap:5px}.wallet-copy-line{width:100%;justify-content:space-between}.wallet-reference{font-size:15px}.wallet-payment-grid{gap:12px}}

.wallet-recent-success,.wallet-success-message{padding:13px 16px;border:1px solid #a9e8c7;background:#eefbf4;color:#127043;border-radius:11px;margin-bottom:14px;font-size:13px;font-weight:600}
.wallet-recent-success strong{color:#086c3e;font-size:17px}

.member-wallet-summary{margin:12px 0;padding:12px 14px;background:#edf7ff;border:1px solid #cde8fc;border-radius:11px;display:grid;gap:3px}
.member-wallet-summary span{font-size:12px;color:#54708b}
.member-wallet-summary strong{font-size:21px;color:#087dca}
.member-wallet-summary a{font-size:12px;color:#087dca;font-weight:700}
.member-topup-success{margin:8px 0 12px;padding:10px 12px;border:1px solid #a9e8c7;background:#eefbf4;color:#127043;border-radius:10px;font-size:12px}
.member-topup-success small{display:block;color:#61917b;margin-top:3px}


/* V15: status polling and confirmation dialog -- based exclusively on authenticated VPS data. */
.wallet-verification{display:flex;gap:13px;align-items:center;padding:14px 16px;margin:0 0 18px;border:1px solid #b6dff8;background:#f0f9ff;border-radius:12px;color:#185883}
.wallet-verification>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.wallet-verification strong{font-size:14px;color:#155a8d}
.wallet-verification span[data-payment-detail]{font-size:12px;line-height:1.55;color:#47738f}
.wallet-verification small{color:#718da4;font-size:11px}
.wallet-verification-spinner{display:inline-block;width:26px;height:26px;flex:0 0 26px;border:3px solid #c4e7ff;border-top-color:#087fd4;border-radius:50%;animation:wallet-verification-spin .85s linear infinite}
.wallet-verification.is-confirmed{background:#edfbf3;border-color:#b8ebcf;color:#19754b}
.wallet-verification.is-confirmed strong{color:#138250}
.wallet-verification.is-confirmed .wallet-verification-spinner,.wallet-verification.is-finished .wallet-verification-spinner{animation:none;border:0;display:grid;place-items:center}
.wallet-verification.is-confirmed .wallet-verification-spinner:after{content:'✓';font-size:22px;color:#11905e;font-weight:800}
.wallet-verification.is-finished .wallet-verification-spinner:after{content:'!';font-size:20px;color:#ac7734;font-weight:800}
@keyframes wallet-verification-spin{to{transform:rotate(360deg)}}
.topup-success-dialog{max-width:min(95vw,510px);width:calc(100vw - 32px);border:1px solid #d4e6f3;border-radius:18px;padding:0;box-shadow:0 24px 80px rgba(10,38,68,.28);background:white;color:#193550}
.topup-success-dialog::backdrop{background:rgba(10,26,47,.62);backdrop-filter:blur(3px)}
.topup-success-content{padding:25px 28px 26px;text-align:center}
.topup-success-symbol{display:grid;place-items:center;margin:0 auto 10px;width:56px;height:56px;background:#dbf9e8;border-radius:50%;color:#12955e;font-size:32px;font-weight:750}
.topup-success-content h2{font-size:22px;margin:0 0 7px;color:#176b4a;letter-spacing:0}
.topup-success-desc{font-size:12px;color:#708799;margin:0 auto 8px;line-height:1.6}
.topup-success-amount{font-size:34px;color:#079b60;font-weight:800;margin:6px 0 17px}
.topup-success-rows{border:1px solid #e2eaf1;border-radius:11px;overflow:hidden;text-align:left}
.topup-modal-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 13px;border-bottom:1px solid #e7edf3;font-size:12px}
.topup-modal-row:last-child{border-bottom:0}
.topup-modal-row>span{color:#687f92;flex:0 0 42%}
.topup-modal-row>strong{color:#203e58;overflow-wrap:anywhere;text-align:right;max-width:58%;font-size:12px}
.topup-success-actions{display:flex;gap:9px;margin-top:18px}
.topup-success-actions .button{flex:1;min-width:0}
@media(max-width:520px){.topup-success-content{padding:20px 16px}.topup-modal-row{gap:7px;padding:10px}.topup-success-actions{flex-direction:column}.topup-success-amount{font-size:29px}}
@media(prefers-reduced-motion:reduce){.wallet-verification-spinner{animation-duration:2.5s}}

.wallet-payment-grid[hidden]{display:none}


/* Compatibility structure: fbclone_catalog_v36.css */
/* FB CLONE V36 | Canonical product-row stylesheet. Only one file owns the catalog design. */
body.hm-body .hm-product-list{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:10px;
}
body.hm-body .hm-product-list > .hm-product-row{
  display:grid;
  grid-column:1/-1;
  grid-template-columns:minmax(0,1fr) clamp(300px,30%,385px);
  align-items:stretch;
  gap:0;
  width:100%;
  min-height:102px;
  padding:0;
  overflow:hidden;
  border:1px solid #e1eaf7;
  border-radius:13px;
  background:#fff;
  box-shadow:0 5px 20px rgba(21,67,128,.065);
  transition:border-color .18s,box-shadow .18s;
}
body.hm-body .hm-product-list > .hm-product-row:hover{
  background:#fff;
  border-color:#a6cbf9;
  box-shadow:0 8px 24px rgba(21,67,128,.11);
}
body.hm-body .hm-product-row .hm-product-row-info{
  display:grid;
  grid-template-columns:70px minmax(150px,1fr) minmax(85px,96px) minmax(85px,96px);
  align-items:center;
  justify-items:stretch;
  gap:11px;
  min-width:0;
  padding:11px 14px;
  position:static;
  background:#fff;
}
/* Remove legacy pseudo-icon so it cannot overlap the real icon cell. */
body.hm-body .hm-product-row .hm-product-row-info::before,
body.hm-body .hm-product-row .hm-product-row-info::after{content:none;display:none}
body.hm-body .hm-product-row .hm-v36-product-icon{
  width:70px;height:70px;min-width:0;
  display:flex;align-items:center;justify-content:center;
  border-radius:14px;
  background:linear-gradient(150deg,#3caeff,#1078ec);
  color:#fff;
  font-family:var(--hm-facebook-font);
  font-size:61px;font-weight:900;line-height:1;
  text-shadow:none;overflow:hidden;
  box-shadow:0 5px 15px rgba(24,118,240,.16);
}
body.hm-body .hm-product-row .hm-v36-primary{
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  gap:4px;min-width:0;margin:0;
}
body.hm-body .hm-product-row .hm-v36-primary h3,
body.hm-body .hm-product-row .hm-v36-primary h2,
body.hm-body .hm-product-row .hm-v36-primary h3 a,
body.hm-body .hm-product-row .hm-v36-primary h2 a{
  display:block;margin:0;padding:0;
  color:#143966;
  font-size:16px;font-weight:800;line-height:1.22;
  overflow-wrap:anywhere;letter-spacing:-.012em;
}
body.hm-body .hm-product-row .hm-v36-description{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;text-overflow:ellipsis;white-space:normal;
  max-height:none;min-height:0;margin:0;padding:0;
  color:#65809f;font-size:11.5px;font-weight:400;line-height:1.35;
}
body.hm-body .hm-product-row .hm-v36-tags{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;
  gap:5px 9px;min-width:0;margin-top:2px;
}
body.hm-body .hm-product-row .hm-v36-tags > .hm-row-tag,
body.hm-body .hm-product-row .hm-v36-tags > .hm-row-category{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:23px;min-width:0;
  padding:4px 10px;margin:0;
  border:0;border-radius:999px;
  background:#1185f5;color:#fff;box-shadow:none;
  white-space:nowrap;font-size:11px;font-weight:700;line-height:1.15;
}
body.hm-body .hm-product-row .hm-v36-tags > .hm-v36-status,
body.hm-body .hm-product-row .hm-v36-tags > .hm-v36-status:hover{
  display:inline;flex:0 0 auto;
  padding:0;margin:0;min-height:0;
  border:0;border-radius:0;outline:0;
  box-shadow:none;background:transparent;background-image:none;
  color:#0b77ea;white-space:nowrap;
  font-size:12px;font-weight:800;line-height:1.2;
}
body.hm-body .hm-product-row .hm-v36-status::before,
body.hm-body .hm-product-row .hm-v36-status::after{content:none}
body.hm-body .hm-product-row .hm-v36-metric{
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  gap:5px;min-width:0;min-height:0;
  margin:0;padding:4px 0 4px 11px;
  border:0;border-left:1px solid #e8eff8;
  border-radius:0;box-shadow:none;background:#fff;
  color:#6c86a4;
}
body.hm-body .hm-product-row .hm-v36-metric-label{
  color:#6c86a4;font-size:11px;font-weight:650;line-height:1.15;
  white-space:nowrap;
}
body.hm-body .hm-product-row .hm-v36-metric-value{
  display:flex;align-items:center;gap:5px;min-height:19px;
  color:#1d436f;font-size:15px;font-weight:800;
}
body.hm-body .hm-product-row .hm-v36-metric-icon{
  display:flex;flex:0 0 19px;align-items:center;justify-content:center;
  width:19px;height:19px;color:#2365b3;
}
body.hm-body .hm-product-row .hm-v36-metric-icon svg{
  display:block;width:19px;height:19px;stroke:currentColor;
}
body.hm-body .hm-product-row .hm-v36-metric-value strong{
  display:inline;margin:0;font-size:15px;font-weight:800;color:#1d436f;
  line-height:1;white-space:nowrap;
}
body.hm-body .hm-product-row .hm-product-row-actions{
  display:flex;flex-direction:column;align-items:stretch;justify-content:center;
  gap:9px;min-width:0;margin:0;padding:12px 14px;
  background:#fff;border:0;border-left:1px solid #e8eff8;border-radius:0;
  box-shadow:none;
}
body.hm-body .hm-product-row .hm-product-row-actions .hm-row-price{
  display:block;min-height:0;width:100%;
  padding:0;margin:0;border:0;border-radius:0;
  background:transparent;color:#096ee3;
  text-align:left;white-space:nowrap;
  font-size:19px;font-weight:850;line-height:1.05;
}
body.hm-body .hm-product-row .hm-v36-buttons{
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  align-items:stretch;gap:6px;width:100%;min-width:0;
}
body.hm-body .hm-product-row .hm-v36-buttons > *{
  min-width:0;max-width:100%;width:100%;
  margin:0;padding:0;box-sizing:border-box;
}
body.hm-body .hm-product-row .hm-v36-buttons > a,
body.hm-body .hm-product-row .hm-v36-buttons > button,
body.hm-body .hm-product-row .hm-v36-buttons > form,
body.hm-body .hm-product-row .hm-v36-buttons > form > button,
body.hm-body .hm-product-row .hm-v36-buttons > form > a{
  display:flex;align-items:center;justify-content:center;
  min-height:36px;width:100%;min-width:0;
  padding:6px 7px;margin:0;
  border:1px solid #1085f4;border-radius:8px;
  background:#0b80ef;color:#fff;box-shadow:none;
  font-size:12px;font-weight:750;line-height:1.2;
  text-align:center;text-decoration:none;white-space:normal;
  cursor:pointer;
}
body.hm-body .hm-product-row .hm-v36-buttons > form{
  background:transparent;border:0;min-height:0;
}
body.hm-body .hm-product-row .hm-v36-buttons > :is(a,button):hover,
body.hm-body .hm-product-row .hm-v36-buttons > form > :is(a,button):hover{
  background:#076ed0;color:#fff;
}
body.hm-body .hm-product-row .hm-v36-buttons .hm-v36-unavailable,
body.hm-body .hm-product-row .hm-v36-buttons .hm-v36-unavailable:hover{
  background:#eaf3ff;border-color:#cfe3ff;color:#6590c6;
  cursor:not-allowed;box-shadow:none;
}
@media(max-width:1450px){
  body.hm-body .hm-product-row .hm-product-row-info{
    grid-template-columns:64px minmax(140px,1fr) minmax(76px,90px) minmax(76px,90px);
    gap:9px;padding:10px 11px;
  }
  body.hm-body .hm-product-row .hm-v36-product-icon{width:64px;height:64px;font-size:55px;border-radius:13px}
  body.hm-body .hm-product-row .hm-v36-metric{padding-left:9px}
  body.hm-body .hm-product-list>.hm-product-row{grid-template-columns:minmax(0,1fr) 320px}
  body.hm-body .hm-product-row .hm-product-row-actions{padding:10px 12px}
  body.hm-body .hm-product-row .hm-v36-buttons{gap:5px}
  body.hm-body .hm-product-row .hm-v36-buttons > :is(a,button),
  body.hm-body .hm-product-row .hm-v36-buttons > form > :is(a,button){font-size:11px;padding:8px 7px}
}
@media(max-width:1200px){
  body.hm-body .hm-product-list>.hm-product-row{grid-template-columns:minmax(0,1fr)}
  body.hm-body .hm-product-row .hm-product-row-actions{
    flex-direction:row;align-items:center;justify-content:space-between;
    border-left:0;border-top:1px solid #e8eff8;
    gap:14px;padding:8px 12px;
  }
  body.hm-body .hm-product-row .hm-product-row-actions .hm-row-price{width:auto;flex:0 0 auto}
  body.hm-body .hm-product-row .hm-v36-buttons{width:auto;flex:1 1 auto;max-width:440px}
  body.hm-body .hm-product-row .hm-product-row-info{
    grid-template-columns:64px minmax(150px,1fr) minmax(80px,96px) minmax(80px,96px);
  }
}
@media(max-width:800px){
  body.hm-body .hm-product-row .hm-product-row-info{
    grid-template-columns:58px minmax(0,1fr) minmax(68px,84px) minmax(68px,84px);
    grid-template-areas:none;
    gap:8px;padding:9px 10px;
  }
  body.hm-body .hm-product-row .hm-v36-product-icon{grid-area:auto;width:58px;height:58px;font-size:50px;border-radius:12px}
  body.hm-body .hm-product-row .hm-v36-primary{grid-area:auto}
  body.hm-body .hm-product-row .hm-v36-stock,
  body.hm-body .hm-product-row .hm-v36-sold{grid-area:auto}
  body.hm-body .hm-product-row .hm-v36-metric{
    min-height:0;padding:3px 0 3px 8px;gap:4px;
    border-left:1px solid #e8eff8;border-top:0;
  }
  body.hm-body .hm-product-row .hm-v36-metric-value{gap:4px}
  body.hm-body .hm-product-row .hm-v36-metric-value strong{font-size:13px}
  body.hm-body .hm-product-row .hm-v36-metric-icon,
  body.hm-body .hm-product-row .hm-v36-metric-icon svg{width:16px;height:16px}
}
@media(max-width:600px){
  body.hm-body .hm-product-row .hm-product-row-info{
    grid-template-columns:54px minmax(0,1fr) minmax(0,1fr);
    grid-template-areas:'icon primary primary' 'stock stock sold';
    row-gap:8px;
  }
  body.hm-body .hm-product-row .hm-v36-product-icon{grid-area:icon;width:54px;height:54px;font-size:47px}
  body.hm-body .hm-product-row .hm-v36-primary{grid-area:primary}
  body.hm-body .hm-product-row .hm-v36-stock{grid-area:stock}
  body.hm-body .hm-product-row .hm-v36-sold{grid-area:sold}
  body.hm-body .hm-product-row .hm-v36-metric{
    border-left:0;border-top:1px solid #e8eff8;
    flex-direction:row;justify-content:flex-start;align-items:center;
    padding:6px 0 0;gap:6px;
  }
  body.hm-body .hm-product-row .hm-v36-metric-label{white-space:nowrap}
  body.hm-body .hm-product-row .hm-product-row-actions{
    flex-direction:column;align-items:stretch;gap:7px;
  }
  body.hm-body .hm-product-row .hm-product-row-actions .hm-row-price{width:100%}
  body.hm-body .hm-product-row .hm-v36-buttons{width:100%;max-width:none}
}
@media(max-width:410px){
  body.hm-body .hm-product-row .hm-product-row-info{
    grid-template-columns:48px minmax(0,1fr);
    grid-template-areas:'icon primary' 'stock sold';
    gap:8px;
  }
  body.hm-body .hm-product-row .hm-v36-product-icon{width:48px;height:48px;font-size:42px}
  body.hm-body .hm-product-row .hm-v36-primary h3{font-size:15px}
  body.hm-body .hm-product-row .hm-v36-buttons{gap:5px}
  body.hm-body .hm-product-row .hm-v36-buttons > :is(a,button),
  body.hm-body .hm-product-row .hm-v36-buttons > form > :is(a,button){font-size:10px;padding:6px 4px;min-height:36px}
}


/* Compatibility structure: account_2fa.css */
/* FB Clone account + login: standalone two-factor styling, aligned to existing blue/white theme. */
.account-two-factor .totp-status{display:flex;justify-content:space-between;gap:18px;align-items:center;background:#f5faff;border:1px solid #e0eefa;border-radius:11px;padding:15px 17px;margin-bottom:17px}
.account-two-factor .totp-status strong{font-size:13px;display:block;color:#20435e}
.account-two-factor .totp-status small{font-size:12px;display:block;color:#758da2;margin-top:5px;line-height:1.6}
.totp-status-pill{flex:0 0 auto;display:inline-flex;align-items:center;border-radius:99px;padding:6px 13px;font-size:11px;font-weight:800;white-space:nowrap}
.totp-status-pill.is-enabled{color:#08794d;background:#dff8ec}
.totp-status-pill.is-disabled{color:#7f8d9e;background:#e8eef4}
.account-two-factor .totp-form{max-width:none;width:100%;min-width:0}
.totp-setup{display:flex;align-items:flex-start;gap:22px;margin:6px 0 20px}
.totp-setup-qr{display:grid;place-items:center;width:226px;height:226px;padding:10px;border:1px solid #e3edf7;border-radius:13px;background:white;flex-shrink:0}
.totp-setup-qr svg{display:block;width:100%;height:auto;max-height:100%;background:white}
.totp-setup-qr p{font-size:12px;color:#617e94;text-align:center}
.totp-setup-info h3,.totp-recovery h3{margin:0 0 11px;font-size:15px;color:#1b496b}
.totp-setup-info p{font-size:12px;color:#668399;line-height:1.65;margin:8px 0}
.totp-setup-info .totp-secret{display:block;width:fit-content;max-width:100%;overflow-wrap:anywhere;background:#edf6ff;border:1px dashed #bcdcf6;border-radius:9px;padding:10px 13px;font-size:14px;font-weight:700;line-height:1.8;letter-spacing:.065em;color:#075ea3;user-select:all}
.totp-setup-info .totp-warning{color:#b66025}
.account-two-factor .totp-form .account-field{max-width:none;width:100%;min-width:0}
.account-two-factor .totp-form .account-field input{width:100%;max-width:none;box-sizing:border-box}
.totp-disable-details{margin-top:14px;padding:13px 16px;border:1px solid #e9edf3;border-radius:10px}
.totp-disable-details summary{cursor:pointer;font-size:12px;font-weight:700;color:#4d7493}
.totp-disable-details>p{font-size:12px;line-height:1.6;color:#7a90a3}
.totp-danger-button{color:#fff;background:#ba4d4d;border:1px solid #ba4d4d}
.totp-recovery{background:#fffaf0;border:1px solid #ead4a7;border-radius:11px;padding:17px;margin:0 0 19px}
.totp-recovery p{font-size:12px;color:#765d28;line-height:1.7}
.totp-recovery pre{white-space:pre-wrap;user-select:all;display:grid;grid-template-columns:repeat(2,1fr);background:white;border:1px dashed #e4c993;border-radius:9px;padding:13px 16px;font-size:13px;letter-spacing:.07em;line-height:1.8;color:#3b3c49}
.totp-cancel-form{margin-top:20px;text-align:center}
.totp-link-button{appearance:none;background:none;border:0;color:#167acc;font-weight:700;font-size:12px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.totp-login-help{margin-top:10px;font-size:11px;color:#788ba1;text-align:center;line-height:1.6}
@media(max-width:660px){.account-two-factor .totp-status{align-items:flex-start;flex-direction:column;gap:10px}.totp-setup{flex-direction:column;gap:15px}.totp-setup-qr{width:min(226px,100%);height:auto;aspect-ratio:1/1}.totp-recovery pre{font-size:12px;grid-template-columns:1fr}}


/* Compatibility structure: public_info_pages.css */
/* Member-facing policy and support pages: one unified full-width white sheet. */
.hm-public-info{width:100%;min-width:0;padding:0 0 26px}
.hm-public-info-sheet{width:100%;min-width:0;background:#fff;border:1px solid #dfe9f3;border-radius:15px;box-shadow:0 7px 24px rgba(28,68,109,.045);overflow:hidden}
.hm-public-info-heading{display:flex;gap:15px;align-items:flex-start;padding:24px 27px;border-bottom:1px solid #e7eef6;background:linear-gradient(140deg,#fff,#f5faff)}
.hm-public-info-icon{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:12px;background:#e8f4ff;color:#0a7dd0}
.hm-public-info-icon .site-icon{width:23px;height:23px}
.hm-public-info-kicker{display:block;margin:0 0 5px;font-size:10px;letter-spacing:.085em;font-weight:800;color:#087bcc}
.hm-public-info-heading h1{margin:0 0 8px;font-size:clamp(19px,2.2vw,24px);line-height:1.3;font-weight:800;color:#174365;letter-spacing:0;text-transform:none}
.hm-public-info-heading p{margin:0;font-size:12px;color:#71879e;line-height:1.6}
.hm-public-policy-body{padding:23px 27px 10px}
.hm-public-policy-body p{margin:0 0 18px;font-size:13px;line-height:1.85;color:#415c71;white-space:normal;overflow-wrap:anywhere}
.hm-public-policy-body p:first-child{font-weight:750;color:#194b70}
.hm-public-empty{margin:0;padding:24px 27px;color:#7a91a7;font-size:13px}
.hm-public-info-bottom{display:flex;align-items:center;gap:6px;flex-wrap:wrap;border-top:1px solid #edf2f7;background:#fafcff;padding:16px 27px;color:#71879e;font-size:12px}
.hm-public-info-bottom a{display:inline-flex;align-items:center;gap:5px;font-weight:700;color:#087bcc}
.hm-public-info-bottom .site-icon{width:14px;height:14px}
.hm-support-methods{padding:14px 27px 20px}
.hm-support-method{display:flex;align-items:center;gap:16px;min-width:0;padding:18px 2px}
.hm-support-method+.hm-support-method{border-top:1px solid #ebf0f5}
.hm-support-symbol{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;background:#f0f7ff;color:#1880cf;border-radius:12px}
.hm-support-symbol .site-icon{width:22px;height:22px}
.hm-support-details{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
.hm-support-details strong{font-size:14px;font-weight:750;color:#1d496b}
.hm-support-details small{font-size:12px;color:#758fa6;overflow-wrap:anywhere;word-break:break-word}
.hm-support-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;flex:0 0 auto;padding:9px 15px;border-radius:9px;background:#0c85d9;color:#fff;font-size:12px;font-weight:750}
.hm-support-action:hover{background:#076cac}
.hm-support-action .site-icon{width:14px;height:14px}
.hm-support-security-note{display:flex;align-items:center;gap:12px;padding:19px 27px;background:#f4f9ff;border-top:1px solid #e4edf5;font-size:12px;color:#58768d;line-height:1.7}
.hm-support-security-note .site-icon{flex-shrink:0;color:#168e6d}
@media(max-width:650px){.hm-public-info-heading{padding:18px 16px;gap:12px}.hm-public-info-icon{width:38px;height:38px;flex-basis:38px}.hm-public-policy-body{padding:17px 17px 4px}.hm-public-info-bottom{padding:15px 17px}.hm-support-methods{padding:8px 16px}.hm-support-method{flex-wrap:wrap;gap:10px;padding:14px 0}.hm-support-method .hm-support-action{margin-left:auto}.hm-support-security-note{padding:15px 17px}}


/* 2026-10-18: Align the Policy / Support heading bar with Danh muc,
   Vi, Tai khoan and other 63px unified tab headers.
   Only page headers change; support cards and disclaimer text are preserved. */
body.hm-body .hm-shell-main .hm-public-info-sheet {
  padding-top:12px;
}
body.hm-body .hm-shell-main .hm-public-info-sheet > .hm-public-info-heading {
  box-sizing:border-box;
  display:flex;
  align-items:center;
  min-height:63px;
  gap:12px;
  margin:0 13px 13px;
  padding:0 6px 11px;
  border:0;
  border-bottom:1px solid #eaf0f6;
  background:transparent;
}
body.hm-body .hm-shell-main .hm-public-info-heading > div {
  flex:1; min-width:0;
}
body.hm-body .hm-shell-main .hm-public-info-heading > .hm-public-info-icon {
  box-sizing:border-box;
  flex:0 0 37px;
  width:37px; height:37px;
  border-radius:10px;
  background:#d9edff; color:#0968dd;
}
body.hm-body .hm-shell-main .hm-public-info-heading > .hm-public-info-icon .site-icon {
  width:22px; height:22px;
}
body.hm-body .hm-shell-main .hm-public-info-heading h1 {
  font-family:var(--hm-facebook-font);
  font-size:18px;
  font-weight:700;
  line-height:1.35;
  letter-spacing:normal;
  color:#0b4d9e;
  text-transform:none;
  margin:0;
}
body.hm-body .hm-shell-main .hm-public-info-heading p {
  font-size:11px;
  line-height:1.5;
  color:#657c95;
  margin:3px 0 0;
}
/* Restore unified page content spacing under the smaller title bar. */
body.hm-body .hm-shell-main .hm-public-policy-body {padding-top:10px;}
body.hm-body .hm-shell-main .hm-support-methods {padding-top:0;}
@media(max-width:650px){
  body.hm-body .hm-shell-main .hm-public-info-sheet {padding-top:9px;}
  body.hm-body .hm-shell-main .hm-public-info-sheet > .hm-public-info-heading {
    min-height:63px; height:auto;
    gap:9px;
    margin:0 9px 10px;
    padding:4px 3px 11px;
  }
  body.hm-body .hm-shell-main .hm-public-info-heading > .hm-public-info-icon {
    flex-basis:34px; width:34px; height:34px;
  }
  body.hm-body .hm-shell-main .hm-public-info-heading h1{font-size:16px;}
  body.hm-body .hm-shell-main .hm-public-info-heading p{font-size:10.5px;}
  body.hm-body .hm-shell-main .hm-public-policy-body {padding-top:6px;}
}


/* Compatibility structure: member_tabs_unified.css */
/* Same visual language as the Danh muc / San pham panel.
   This file loads after hosting_redesign.css, commerce.css and account_2fa.css. */
body.hm-body .hm-shell-main > main.hm-unified-page {
  width:100%; max-width:none; min-width:0;
  padding:12px 13px 15px;
  margin:0 0 12px;
  border:1px solid var(--hm-line,#e2eaf3);
  border-radius:12px;
  background:#fff;
  box-shadow:var(--hm-shadow,0 3px 15px rgba(31,64,104,.055));
  overflow:hidden;
}
/* Make the top edge level with Danh muc, and prevent inherited 12px blank space. */
body.hm-body .hm-shell-main > main.hm-public-info {
  padding-top:0;
  padding-bottom:26px;
  margin-top:0;
}
body.hm-body .hm-shell-main > main.hm-unified-page { padding-top:12px; }
.hm-body .hm-unified-head {
  display:flex; align-items:center; gap:12px;
  min-height:63px; min-width:0;
  margin:0 0 13px; padding:0 6px 11px;
  border-bottom:1px solid #eaf0f6;
  background:transparent;
}
.hm-body .hm-unified-head .hm-section-icon {flex:0 0 37px;width:37px;height:37px}
.hm-body .hm-unified-head-copy {flex:1;min-width:0}
.hm-body .hm-unified-head h1 {
  margin:0; color:#0b4d9e; font-size:18px;
  line-height:1.3; font-weight:800; text-transform:none;letter-spacing:0;
}
.hm-body .hm-unified-head p {
  margin:3px 0 0; font-size:11px;line-height:1.5;color:#657c95;
}
.hm-body .hm-unified-head > .button {flex-shrink:0; min-width:0}
/* Inner cards stay readable, but the outer rounded border is now the visual container. */
.hm-body .hm-unified-page .commerce-card {
  box-shadow:none; border-color:#e4edf7;
  background:#fcfdff; margin-bottom:12px;
}
.hm-body .hm-unified-page .commerce-grid {margin-bottom:0}
.hm-body .hm-unified-page .commerce-grid .commerce-card {margin-bottom:12px}
.hm-body .hm-unified-page > .commerce-card:last-child {margin-bottom:0}
/* Account: one continuous panel (no second outer rounded border). */
.hm-body .hm-shell-main .hm-unified-page.account-v2 .account-shell-single .account-forms {
  background:transparent; border:0;box-shadow:none;border-radius:0;overflow:visible;
}
.hm-body .hm-shell-main .hm-unified-page.account-v2 .account-summary-strip {
  border:1px solid #e2ecf6;border-radius:10px;
  margin:0 0 11px;background:#f4f9ff;overflow:hidden;
}
.hm-body .hm-shell-main .hm-unified-page.account-v2 .account-shell-single .account-panel {
  padding:19px 12px;
}
.hm-body .hm-shell-main .hm-unified-page.account-v2 .account-shell-single .account-panel:first-of-type {padding-top:12px}
.hm-body .hm-shell-main .hm-unified-page.account-v2 .account-shell-single .account-panel+.account-panel {
  border-top:1px solid #e7eef6;
}
/* Icon system: always SVG sprite, never character-glyph pseudoelements. */
.hm-body .hm-icon-button,
.hm-body .wallet-copy-button,
.hm-body .wallet-qr-open {
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  vertical-align:middle; text-align:center;
}
.hm-body .hm-icon-button .site-icon,
.hm-body .wallet-copy-button .site-icon,
.hm-body .wallet-qr-open .site-icon,
.hm-body .hm-row-buy .site-icon {
  width:16px;height:16px;flex:none;fill:none;stroke:currentColor;
}
.hm-body .hm-row-buy {gap:7px}
.hm-body .hm-side-buttons .site-icon{width:15px;height:15px}
.hm-body .wallet-copy-button .site-icon {width:14px;height:14px}
.hm-body .wallet-intent-link .site-icon {width:14px;height:14px}
.hm-body .hm-unified-head .button .site-icon {width:16px;height:16px}
.hm-body .wallet-qr-open{gap:6px}
.hm-body .hm-public-info .hm-support-action{gap:7px}
@media (max-width:650px) {
  body.hm-body .hm-shell-main > main.hm-unified-page {padding:9px}
  .hm-body .hm-unified-head{gap:9px;align-items:center; flex-wrap:wrap;padding:4px 3px 11px;margin-bottom:10px}
  .hm-body .hm-unified-head > .hm-section-icon{width:34px;height:34px;flex-basis:34px}
  .hm-body .hm-unified-head h1{font-size:16px}
  .hm-body .hm-unified-head p{font-size:10.5px}
  .hm-body .hm-unified-head > .button{margin-left:43px;max-width:calc(100% - 43px)}
  .hm-body .hm-unified-page .commerce-card{padding:13px}
  .hm-body .hm-shell-main .hm-unified-page.account-v2 .account-shell-single .account-panel{padding:16px 7px}
  .hm-body .hm-shell-main .hm-unified-page.account-v2 .account-summary-strip{margin:0 0 6px}
}

/* Three action slots assembled by fbclone_ui_v36.js */
.hm-body .hm-product-row .hm-v36-buttons > :is(a,button),
.hm-body .hm-product-row .hm-v36-buttons > form > :is(a,button){
 display:inline-flex;justify-content:center;align-items:center;gap:5px;
}
.hm-body .hm-product-row .hm-v36-buttons .site-icon{
 width:14px;height:14px;flex-shrink:0;
}
.hm-body .quantity-control button .site-icon {width:17px;height:17px}


/* Compatibility structure: member_news_header.css */
/* Compact header, restored to original shared 100px toolbar/logo height. */
@media(min-width:761px) {
  body.hm-body.hm-member { --hm-shared-toolbar-height:100px; }
  body.hm-body.hm-member .hm-header.hm-header-logged {
    display:grid; grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:18px 44px; align-items:stretch;
    align-content:center; column-gap:14px;row-gap:7px; padding:10px 17px;
    height:100px; min-height:100px;
  }
  body.hm-body.hm-member .hm-header-middle {display:contents}
  body.hm-body.hm-member .hm-brand-strap {display:block;grid-column:1/-1;grid-row:1;line-height:18px;font-size:13px;max-width:100%}
  body.hm-body.hm-member .hm-header .hm-search {grid-column:1;grid-row:2;height:44px;min-height:44px;margin:0;align-self:stretch}
  body.hm-body.hm-member .hm-header .hm-search input {height:42px}
  body.hm-body.hm-member .hm-header-actions {align-self:stretch;justify-self:end;grid-row:2;grid-column:2;gap:8px;margin:0;height:44px}
  body.hm-body.hm-member .hm-header-actions .hm-header-action {display:grid;place-items:center;width:44px;height:44px;min-width:44px;flex:0 0 44px;box-sizing:border-box}
  body.hm-body.hm-member .hm-sidebar > .hm-side-brand {height:100px;min-height:100px;max-height:100px}
}
@media(max-width:760px) {
  body.hm-body.hm-member .hm-header.hm-header-logged {
    height:auto; min-height:0;
    grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto;
    align-items:center; gap:8px; padding:10px 12px;
  }
  body.hm-body.hm-member .hm-header .hm-brand-mobile{grid-row:1;grid-column:1}
  body.hm-body.hm-member .hm-header-actions{grid-row:1;grid-column:2;align-self:center;margin:0}
  body.hm-body.hm-member .hm-header-middle{grid-row:2;grid-column:1/-1;display:flex;flex-direction:column;gap:0}
  body.hm-body.hm-member .hm-brand-strap{display:none}
}

/* Match news listing and article pages to Danh muc's panel top edge. */
body.hm-body .hm-shell-main>main.hm-news-page.hm-unified-page,
body.hm-body .hm-shell-main>main.hm-reading-page.hm-unified-page{margin-top:0;padding-top:12px}
body.hm-body .hm-news-page .hm-news-alone{width:100%;padding:0;margin:0;min-height:260px;background:transparent;border:0;border-radius:0;box-shadow:none}
body.hm-body .hm-news-page .hm-section-top.hm-unified-head{background:transparent;border-radius:0;padding:0 6px 11px;margin:0 0 13px;min-height:63px}
body.hm-body .hm-news-page .hm-news-list{padding:0 4px}
body.hm-body .hm-reading-page.reading-wrap{min-height:0;padding-bottom:18px}
body.hm-body .hm-reading-page .hm-article-head{align-items:center}
body.hm-body .hm-reading-page .hm-article-head h1{font-size:clamp(16px,1.5vw,20px);line-height:1.35;overflow-wrap:anywhere}
body.hm-body .hm-reading-page .hm-all-articles-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin:0 0 0 auto;flex:0 0 auto;white-space:nowrap;min-height:36px}
body.hm-body .hm-reading-page .hm-all-articles-link .site-icon{width:15px;height:15px}
body.hm-body .hm-reading-page .hm-reading-body{max-width:none;margin:0;padding:6px 10px 20px;background:transparent;border:0;box-shadow:none;border-radius:0}
body.hm-body .hm-reading-page .hm-reading-body .article-lead{margin:6px 0 16px}
body.hm-body .hm-reading-page .hm-reading-body .article-content{overflow-wrap:anywhere}
@media(max-width:650px){
  body.hm-body .hm-shell-main>main.hm-news-page.hm-unified-page,
  body.hm-body .hm-shell-main>main.hm-reading-page.hm-unified-page{padding-top:9px}
  body.hm-body .hm-reading-page .hm-article-head{flex-wrap:nowrap;align-items:center}
  body.hm-body .hm-reading-page .hm-article-head .hm-section-icon{display:none}
  body.hm-body .hm-reading-page .hm-article-head .hm-all-articles-link{margin-left:auto;min-height:32px;padding:5px 8px;font-size:10px;max-width:none}
  body.hm-body .hm-reading-page .hm-reading-body{padding:4px 5px 12px}
}




/* Compatibility structure: member_market_sidepanel.css */
/* FB CLONE: member panel inside fixed sidebar; product list uses full main width. */
body.hm-body .hm-shell-main > main.hm-home .hm-home-grid{
  display:grid;grid-template-columns:minmax(0,1fr);
  gap:0;min-width:0;
}
body.hm-body .hm-home-grid > .hm-market{min-width:0;width:100%;margin:0 0 12px}
/* Card is part of sidebar chrome, not the catalog outer panel. */
body.hm-body.hm-member .hm-sidebar > .hm-market-member-card{
  display:block;position:static;flex:0 0 auto;
  min-width:0;width:calc(100% - 18px);margin:11px 9px 8px;
  background:#fff;border:1px solid #dce8f6;border-radius:12px;
  box-shadow:0 4px 16px rgba(30,89,157,.055);overflow:hidden;
}
.hm-market-member-head{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  border-bottom:1px solid #eaf0f6;padding:13px 14px;
}
.hm-market-member-title{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:800;color:#164f91;white-space:nowrap}
.hm-market-member-title .site-icon{width:17px;height:17px;color:#1677d5}
.hm-market-member-status{padding:4px 9px;border-radius:20px;background:#ebf6ff;color:#0c69c2;font-size:10px;font-weight:700;white-space:nowrap}
/* Compact profile header: name and email on the left, default user avatar on the right. */
body.hm-body .hm-market-member-body{
  display:flex;flex-direction:column;align-items:stretch;
  gap:12px;min-width:0;padding:14px 15px 15px;
}
body.hm-body .hm-market-member-profile{
  display:grid;grid-template-columns:minmax(0,1fr) 64px;
  align-items:center;gap:10px;
  width:100%;min-width:0;margin:0;padding:0;text-align:left;
}
body.hm-body .hm-market-member-identity{
  display:flex;flex-direction:column;align-items:flex-start;
  justify-content:center;gap:4px;min-width:0;width:100%;box-sizing:border-box;
  padding:10px;background:#f7faff;border:1px solid #e3eef9;border-radius:10px;
  text-align:left;
}
body.hm-body .hm-market-member-name{
  display:block;width:100%;max-width:100%;font-size:14px;line-height:1.35;
  color:#173f6b;font-weight:850;overflow-wrap:anywhere;
}
body.hm-body .hm-market-member-email{
  display:block;width:100%;max-width:100%;font-size:10.5px;line-height:1.35;
  color:#67829e;overflow-wrap:anywhere;
}
body.hm-body .hm-market-member-avatar{
  display:grid;place-items:center;flex:none;
  width:64px;height:64px;border-radius:50%;overflow:hidden;
  background:linear-gradient(145deg,#f4faff,#d6eafa);
  border:1px solid #c6dff5;box-shadow:0 5px 16px rgba(27,105,179,.11);
  box-sizing:border-box;
}
body.hm-body .hm-market-member-avatar svg{
  display:block;width:51px;height:51px;max-width:100%;max-height:100%;
}
.hm-market-member-details{display:flex;flex-direction:column;gap:8px;min-width:0}
.hm-market-member-detail{
  display:flex;align-items:center;justify-content:space-between;gap:9px;
  min-height:43px;min-width:0;padding:10px 11px;
  background:#f6f9fd;border:1px solid #e7eef7;border-radius:9px;
  font-size:11px;text-decoration:none;
}
.hm-market-member-detail-label{display:inline-flex;align-items:center;gap:6px;flex:0 1 auto;min-width:0;color:#67809d;white-space:nowrap}
.hm-market-member-detail .site-icon{width:15px;height:15px;color:#2b77d0}
.hm-market-member-detail strong{flex:0 1 auto;min-width:0;text-align:right;color:#164c81;font-weight:800;font-size:11px;overflow-wrap:anywhere}
.hm-market-member-balance strong{font-size:13px;color:#056ee3}
a.hm-market-member-balance:hover{border-color:#bad8f9;background:#eff7ff}
.hm-market-member-orders{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:10px 11px;border:1px solid #deebfb;border-radius:9px;
  color:#0b67c6;background:#f4f9ff;font-size:12px;font-weight:750;text-decoration:none;
}
.hm-market-member-orders>span{display:inline-flex;align-items:center;gap:7px}
.hm-market-member-orders .site-icon{width:15px;height:15px}
.hm-market-member-orders:hover{background:#e6f3ff;border-color:#b9d9fd}
.hm-market-member-logout{
  display:flex;align-items:center;justify-content:center;gap:7px;
  min-height:39px;width:100%;padding:9px 12px;
  border:1px solid #cfe0f6;border-radius:9px;color:#1c5d9c;
  background:#fff;font-size:12px;font-weight:750;text-decoration:none;
}
.hm-market-member-logout:hover{background:#edf5ff;border-color:#a9cef7}
.hm-market-member-logout .site-icon{width:15px;height:15px}
/* Keep product cards compact while allowing the full-width main content. */
@media(min-width:1361px){
  body.hm-body .hm-home-grid .hm-product-list{gap:8px}
  body.hm-body .hm-home-grid .hm-product-list > .hm-product-row {
    grid-template-columns:minmax(0,1fr) clamp(220px,28%,330px);min-height:88px;
  }
  body.hm-body .hm-home-grid .hm-product-row .hm-product-row-info{
    grid-template-columns:53px minmax(100px,1fr) 78px 78px;
    gap:6px;padding:8px 9px;
  }
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-product-icon{
    width:53px;height:53px;font-size:44px;border-radius:11px;
  }
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-primary h3,
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-primary h3 a{font-size:13px}
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-description{font-size:10.5px}
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-tags{gap:3px 6px}
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-tags>.hm-row-tag{font-size:9px;min-height:19px;padding:3px 7px}
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-tags>.hm-v36-status{font-size:10px}
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-metric{padding-left:6px;gap:4px}
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-metric-label{font-size:10px}
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-metric-value{gap:2px}
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-metric-icon,
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-metric-icon svg{width:14px;height:14px}
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-metric-value strong{font-size:12px}
  body.hm-body .hm-home-grid .hm-product-row .hm-product-row-actions{gap:6px;padding:8px 9px}
  body.hm-body .hm-home-grid .hm-product-row .hm-product-row-actions .hm-row-price{font-size:16px}
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-buttons{gap:4px;grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr)}
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-buttons > :is(a,button),
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-buttons > form > :is(a,button){font-size:9px;min-height:33px;padding:4px 2px;gap:3px}
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-buttons .site-icon{width:12px;height:12px}
  body.hm-body .hm-home-grid .hm-product-row .hm-v36-buttons .hm-v36-action{overflow-wrap:anywhere}
}
@media(max-width:760px){
  body.hm-body .hm-home-grid .hm-market-member-body{padding:12px}
}
/* At phone widths, keep both real inventory counters readable and untruncated. */
@media(max-width:600px){
 body.hm-body .hm-home-grid .hm-product-row .hm-v36-metric{
   flex-direction:column;align-items:flex-start;
   justify-content:center;gap:4px;padding-top:7px;
 }
 body.hm-body .hm-home-grid .hm-product-row .hm-v36-metric-value{min-height:20px}
}
@media(max-width:410px){
 body.hm-body .hm-home-grid .hm-product-row .hm-product-row-info{
   grid-template-columns:48px minmax(0,1fr) minmax(0,1fr);
   grid-template-areas:'icon primary primary' 'stock stock sold';
 }
}

/* SIDEBAR MEMBER CARD: compact proportions for 226-264px column. */
body.hm-body .hm-sidebar .hm-market-member-head{padding:11px 11px 10px;gap:4px}
body.hm-body .hm-sidebar .hm-market-member-title{font-size:11.5px;gap:5px}
body.hm-body .hm-sidebar .hm-market-member-status{font-size:9px;padding:4px 6px}
body.hm-body .hm-sidebar .hm-market-member-body{padding:11px;gap:9px}
body.hm-body .hm-sidebar .hm-market-member-profile{
  grid-template-columns:minmax(0,1fr) 48px;gap:7px;
}
body.hm-body .hm-sidebar .hm-market-member-identity{padding:8px;gap:3px}
body.hm-body .hm-sidebar .hm-market-member-name{font-size:12.5px}
body.hm-body .hm-sidebar .hm-market-member-email{font-size:10px;line-height:1.25}
body.hm-body .hm-sidebar .hm-market-member-avatar{width:48px;height:48px}
body.hm-body .hm-sidebar .hm-market-member-avatar svg{width:39px;height:39px}
body.hm-body .hm-sidebar .hm-market-member-details{gap:6px}
body.hm-body .hm-sidebar .hm-market-member-detail{min-height:37px;padding:7px 8px;gap:4px}
body.hm-body .hm-sidebar .hm-market-member-detail-label{font-size:10px;gap:4px}
body.hm-body .hm-sidebar .hm-market-member-detail strong{font-size:10px}
body.hm-body .hm-sidebar .hm-market-member-balance strong{font-size:11.5px}
body.hm-body .hm-sidebar .hm-market-member-orders{padding:8px;font-size:11px}
body.hm-body .hm-sidebar .hm-market-member-logout{min-height:34px;padding:7px;font-size:11px}
body.hm-body .hm-sidebar .hm-side-links{padding-top:7px}

/* LOGO IN TOOLBAR: desktop 100px, aligned with search and shortcut buttons. */
body.hm-body.hm-member .hm-header .hm-toolbar-brand{
  display:flex;min-width:0;align-items:center;justify-content:center;
  overflow:hidden;grid-area:auto;flex:0 0 auto;
}
body.hm-body.hm-member .hm-header .hm-toolbar-brand img{
  display:block;width:100%;height:70px;
  max-width:190px;max-height:70px;
  object-fit:contain;object-position:center;
  border-radius:0;background:transparent;
}
@media(min-width:761px){
  body.hm-body.hm-member .hm-header.hm-header-logged{
    display:grid;
    grid-template-columns:clamp(126px,15.2vw,202px) minmax(0,1fr) auto;
    grid-template-rows:1fr;
    align-items:center;align-content:center;
    height:100px;min-height:100px;
    padding:10px clamp(10px,1.1vw,18px);
    gap:clamp(8px,1.05vw,16px);
  }
  body.hm-body.hm-member .hm-header .hm-toolbar-brand{grid-column:1;grid-row:1}
  body.hm-body.hm-member .hm-header .hm-header-middle{
    grid-column:2;grid-row:1;min-width:0;
    display:flex;flex-direction:column;gap:8px;
  }
  body.hm-body.hm-member .hm-header .hm-header-actions{
    grid-column:3;grid-row:1;
    align-self:center;justify-self:end;display:flex;
    align-items:center;gap:8px;
  }
  /* No page-dependent breadcrumb: search and shortcuts share one centre line. */
  body.hm-body.hm-member .hm-header .hm-header-middle{
    justify-content:center;align-self:center;gap:0;
  }
  body.hm-body.hm-member .hm-header .hm-header-middle > .hm-search{
    box-sizing:border-box;width:100%;
    min-height:44px;height:44px;
    margin:0;align-self:center;
  }
  body.hm-body.hm-member .hm-header .hm-header-actions{
    margin:0;align-self:center;
  }
  body.hm-body.hm-member .hm-header .hm-header-actions > .hm-header-action{
    box-sizing:border-box;display:inline-flex;
    align-items:center;justify-content:center;
    width:44px;height:44px;min-width:44px;
    min-height:44px;margin:0;
  }
}
@media(max-width:760px){
  body.hm-body.hm-member .hm-header.hm-header-logged{
    display:grid;grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:auto auto;align-items:center;
    height:auto;min-height:0;gap:8px;padding:10px 12px;
  }
  body.hm-body.hm-member .hm-header .hm-toolbar-brand{
    grid-column:1;grid-row:1;justify-content:flex-start;
  }
  body.hm-body.hm-member .hm-header .hm-toolbar-brand img{
    width:min(150px,100%);height:44px;max-height:44px;
  }
  body.hm-body.hm-member .hm-header .hm-header-middle{
    grid-column:1/-1;grid-row:2;min-width:0;
  }
  body.hm-body.hm-member .hm-header .hm-header-actions{
    grid-column:2;grid-row:1;align-self:center;
  }
  body.hm-body.hm-member .hm-sidebar>.hm-market-member-card{max-width:440px;margin:10px auto;width:calc(100% - 20px)}
}


/* =============================================================
   FB CLONE - SIDEBAR TWO-TONE (dark member area + light navigation)
   Account area occupies the whole sidebar width; menu stays white.
   CSS-only: no change to the account API, links, or responsive layout.
   ============================================================= */
body.hm-body.hm-member .hm-sidebar{
  background:#ffffff;
}
body.hm-body.hm-member .hm-sidebar > .hm-market-member-card{
  box-sizing:border-box;
  display:block;
  width:100%;
  margin:0 0 10px;
  padding:8px 9px 13px;
  border:none;
  border-radius:0; /* Full-width flat edge against white navigation region */
  background:linear-gradient(150deg,#1357a5 0%,#094482 47%,#082c64 100%);
  box-shadow:0 5px 16px rgba(8,46,106,.14);
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-head{
  border-bottom:1px solid rgba(255,255,255,.24);
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-title{
  color:#fff;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-title .site-icon{
  color:#cae7ff;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-status{
  color:#e8f5ff;
  background:rgba(255,255,255,.17);
  border:1px solid rgba(255,255,255,.18);
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-identity{
  background:rgba(255,255,255,.105);
  border:1px solid rgba(220,238,255,.24);
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-name{
  color:#ffffff;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-email{
  color:#c5e2ff;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-avatar{
  background:#e8f3ff;
  border:2px solid rgba(255,255,255,.80);
  box-shadow:0 3px 12px rgba(0,18,60,.2);
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-detail,
body.hm-body.hm-member .hm-sidebar .hm-market-member-orders{
  color:#f1f8ff;
  background:rgba(255,255,255,.11);
  border:1px solid rgba(222,241,255,.23);
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-detail-label{
  color:#d0e6ff;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-detail .site-icon,
body.hm-body.hm-member .hm-sidebar .hm-market-member-orders .site-icon{
  color:#d0eaff;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-detail strong{
  color:#ffffff;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-balance strong{
  color:#b9f5ff;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-orders:hover,
body.hm-body.hm-member .hm-sidebar a.hm-market-member-balance:hover{
  background:rgba(255,255,255,.20);
  border-color:rgba(255,255,255,.40);
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-logout{
  color:#0b4a91;
  background:#f9fcff;
  border:1px solid #fff;
  box-shadow:0 2px 5px rgba(0,25,74,.1);
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-logout:hover{
  background:#deefff;
  border-color:#b8e0ff;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-card a:focus-visible{
  outline:2px solid #fff;
  outline-offset:2px;
}
body.hm-body.hm-member .hm-sidebar > .hm-side-links{
  background:#fff;
}
@media(max-width:760px){
  body.hm-body.hm-member .hm-sidebar > .hm-market-member-card{
    width:100%;
    max-width:none;
    margin:0 0 10px;
  }
}

/* =============================================================
   Account sidebar: darker title bar only.
   Preserve the blue account content background underneath.
   ============================================================= */
body.hm-body.hm-member .hm-sidebar > .hm-market-member-card > .hm-market-member-head{
  box-sizing:border-box;
  margin:-8px -9px 0;
  padding:13px 14px;
  width:auto;
  min-width:0;
  background:rgba(0,20,52,.14); /* Subtle ~14% dark overlay; original blue shows through */
  border-radius:0;
  border-bottom:1px solid rgba(255,255,255,.18);
}

/* ==================================================================
   TITLE TYPOGRAPHY — unified with the REAL rendered "San pham noi bat"
   Computed reference in Chromium: Arial/Helvetica, 700, 18px/1.35,
   letter-spacing normal, #0B4D9E; mobile: 16px/1.35.

   The old patch set weight:800 and line-height:1.3, while the market's
   h2 is rendered as 700 and line-height:1.35 due to base h2 rules.
   Explicit H1 selectors are applied after commerce.css and other assets.
   Does not affect headings inside product cards, forms or sidebar.
   ================================================================== */
body.hm-body .hm-shell-main .hm-unified-head h1,
body.hm-body .hm-shell-main .hm-section-top h1,
body.hm-body .hm-shell-main .hm-public-info-heading h1 {
  font-family: var(--hm-facebook-font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: normal;
  font-style: normal;
  text-transform: none;
  color: #0b4d9e;
}
/* Article titles may be long; preserve their separately designed sizing. */
body.hm-body .hm-shell-main .hm-reading-page .hm-article-head h1 {
  font-size: clamp(16px, 1.5vw, 20px);
}
@media (max-width: 480px) {
  body.hm-body .hm-shell-main .hm-unified-head h1,
  body.hm-body .hm-shell-main .hm-section-top h1,
  body.hm-body .hm-shell-main .hm-public-info-heading h1 {
    font-size: 16px;
  }
}

/* ================================================================
   20261018: HET HANG / SOLD OUT STATUS
   Based on the server's actual stock state, not a guess from stock numbers.
   Keep catalog rows compact and do not change available-product buttons.
   ================================================================ */
body.hm-body .hm-product-list .hm-product-row[data-stock-status="Hết hàng"]
.hm-v36-tags > .hm-v36-status,
body.hm-body .hm-product-list .hm-product-row[data-stock-status="Hết hàng"]
.hm-v36-tags > .hm-v36-status:hover {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  vertical-align:middle;
  width:auto;
  min-height:21px;
  padding:3px 9px;
  margin:0;
  border:1px solid #9c1730;
  border-radius:999px;
  background:#b71c39;
  background-image:none;
  color:#fff;
  box-shadow:none;
  font-size:11px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:normal;
  text-decoration:none;
}
body.hm-body .hm-product-list .hm-product-row[data-stock-status="Hết hàng"]
.hm-v36-buttons .hm-v36-outofstock-buy,
body.hm-body .hm-product-list .hm-product-row[data-stock-status="Hết hàng"]
.hm-v36-buttons .hm-v36-outofstock-buy:hover,
body.hm-body .hm-product-list .hm-product-row[data-stock-status="Hết hàng"]
.hm-v36-buttons .hm-v36-outofstock-buy:focus {
  background:#974550;
  background-image:none;
  border-color:#82343f;
  color:#fff;
  opacity:1;
  box-shadow:none;
  cursor:not-allowed;
  filter:none;
}
body.hm-body .hm-product-list .hm-product-row[data-stock-status="Hết hàng"]
.hm-v36-buttons .hm-v36-outofstock-buy .site-icon{
  color:#fff;
}

/* Labels on the policy/support pages match the real 'Sản phẩm nổi bật'
   title (Arial, 700, 18px/1.35, #0b4d9e), not the older 10px kicker. */
body.hm-body .hm-shell-main .hm-public-info-heading .hm-public-info-kicker {
  display:block;
  font-family:var(--hm-facebook-font);
  font-size:18px;
  font-weight:700;
  line-height:1.35;
  letter-spacing:normal;
  font-style:normal;
  text-transform:none;
  color:#0b4d9e;
  margin:0 0 6px;
}
@media (max-width:480px){
  body.hm-body .hm-shell-main .hm-public-info-heading .hm-public-info-kicker {
    font-size:16px;
  }
}


/* ============================================================
   PRODUCT ACTIONS: 3 COLUMNS — GIÁ | XEM CHI TIẾT | MUA NGAY
   Keep three columns at every viewport; override the old stacked
   catalogue styles, including @media max-width:600px and max-width:1200px.
   No price border or rounding; deep-green background, white text.
   ============================================================ */
body.hm-body .hm-product-list > .hm-product-row .hm-product-row-actions {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,2fr);
  grid-template-rows:minmax(40px,auto);
  align-items:stretch;
  justify-content:stretch;
  column-gap:6px;
  row-gap:0;
  min-width:0;
  padding:9px 10px;
  border-radius:0;
}
body.hm-body .hm-product-list > .hm-product-row .hm-product-row-actions > .hm-row-price {
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-width:0;
  width:100%;
  max-width:none;
  min-height:40px;
  margin:0;
  padding:5px 5px;
  border:0;
  outline:0;
  border-radius:0;
  background:#158044;
  background-image:none;
  color:#ffffff;
  box-shadow:none;
  font-family:var(--hm-facebook-font);
  font-size:clamp(11px,1.03vw,15px);
  line-height:1.25;
  font-weight:800;
  white-space:normal;
  overflow-wrap:anywhere;
}
body.hm-body .hm-product-list > .hm-product-row .hm-product-row-actions > .hm-v36-buttons {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:6px;
  width:100%;
  max-width:none;
  min-width:0;
  min-height:40px;
  margin:0;
  padding:0;
  flex:none;
}
body.hm-body .hm-product-list > .hm-product-row .hm-v36-buttons > :is(a,button,form),
body.hm-body .hm-product-list > .hm-product-row .hm-v36-buttons > form > :is(a,button) {
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:40px;
  height:100%;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:6px 5px;
  text-align:center;
  font-size:12px;
  line-height:1.2;
  white-space:normal;
}
body.hm-body .hm-product-list > .hm-product-row .hm-v36-buttons .site-icon {
  width:15px;
  height:15px;
  flex:0 0 15px;
}
/* Restore the quiet red sold-out purchase treatment, never green. */
body.hm-body .hm-product-list > .hm-product-row[data-stock-status="Hết hàng"]
.hm-v36-buttons .hm-v36-outofstock-buy {
  background:#974550;
  border-color:#82343f;
  color:#ffffff;
}
@media(max-width:600px){
  body.hm-body .hm-product-list > .hm-product-row .hm-product-row-actions{
    grid-template-columns:minmax(0,1fr) minmax(0,2fr);
    gap:4px;
    padding:7px 7px;
  }
  body.hm-body .hm-product-list > .hm-product-row .hm-product-row-actions > .hm-v36-buttons{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px;
  }
  body.hm-body .hm-product-list > .hm-product-row .hm-product-row-actions > .hm-row-price{
    font-size:11px;
    padding:4px 3px;
  }
  body.hm-body .hm-product-list > .hm-product-row .hm-v36-buttons > :is(a,button,form),
  body.hm-body .hm-product-list > .hm-product-row .hm-v36-buttons > form > :is(a,button){
    font-size:10.5px;
    padding:5px 3px;
    gap:3px;
  }
  body.hm-body .hm-product-list > .hm-product-row .hm-v36-buttons .site-icon{
    width:13px;height:13px;flex-basis:13px;
  }
}


/* Compatibility structure: member_compact_actions.css */
/* FB Clone | catalog price / product buttons compact layout.
   This CSS contains NO featured banner styles. The banner has been removed
   from the shared layout (all authenticated tabs).
   Load last to override the older three-column stretching rules. */
body.hm-body .hm-product-list > .hm-product-row .hm-product-row-actions {
  grid-template-rows:36px;
  align-content:center;
  align-items:center;
  justify-content:stretch;
  height:100%;
  min-height:0;
  padding-top:7px;
  padding-bottom:7px;
}
/* Price is the same 36px height and 8px rounding as Details and Buy. */
body.hm-body .hm-product-list > .hm-product-row .hm-product-row-actions > .hm-row-price {
  align-self:center;
  height:36px;
  min-height:36px;
  max-height:36px;
  box-sizing:border-box;
  padding:3px 5px;
  border:0;
  border-radius:8px;
  background:#158044;
  color:#fff;
}
body.hm-body .hm-product-list > .hm-product-row .hm-product-row-actions > .hm-v36-buttons {
  align-self:center;
  align-items:center;
  height:36px;
  min-height:36px;
  max-height:36px;
}
body.hm-body .hm-product-list > .hm-product-row .hm-v36-buttons > :is(a,button,form),
body.hm-body .hm-product-list > .hm-product-row .hm-v36-buttons > form > :is(a,button) {
  align-self:center;
  box-sizing:border-box;
  height:36px;
  min-height:36px;
  max-height:36px;
  padding:4px 6px;
  font-size:11px;
  line-height:1.2;
  white-space:normal;
  overflow-wrap:anywhere;
}
body.hm-body .hm-product-list > .hm-product-row .hm-v36-buttons > form {
  margin:0;
  padding:0;
  min-width:0;
}
@media(max-width:600px) {
  body.hm-body .hm-product-list > .hm-product-row .hm-product-row-actions {
    grid-template-rows:34px;
  }
  body.hm-body .hm-product-list > .hm-product-row .hm-product-row-actions > .hm-row-price,
  body.hm-body .hm-product-list > .hm-product-row .hm-product-row-actions > .hm-v36-buttons,
  body.hm-body .hm-product-list > .hm-product-row .hm-v36-buttons > :is(a,button,form),
  body.hm-body .hm-product-list > .hm-product-row .hm-v36-buttons > form > :is(a,button) {
    height:34px;
    min-height:34px;
    max-height:34px;
  }
  body.hm-body .hm-product-list > .hm-product-row .hm-v36-buttons > :is(a,button,form),
  body.hm-body .hm-product-list > .hm-product-row .hm-v36-buttons > form > :is(a,button) {
    font-size:9.8px;
    padding:4px 2px;
  }
}


/* Compatibility structure: seo_deeplinks.css */
/* In-page account anchors remain private/noindex; URLs can be shared within the authenticated session. */
.hm-account-section-links{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}
.hm-account-section-links a{display:inline-flex;padding:9px 13px;border-radius:9px;border:1px solid var(--ht-border,#dae3ee);color:var(--ht-ink,#24354d);background:var(--ht-surface,#fff);font-weight:600;font-size:13px;text-decoration:none}
.hm-account-section-links a[aria-current="page"],.hm-account-section-links a:hover,.hm-account-section-links a:focus-visible{border-color:#468bf5;color:#1973d3}
#thong-tin,#xac-thuc-2fa,#bao-mat{scroll-margin-top:100px}


/* Compatibility structure: product_detail_unified.css */
/* FB CLONE | Product detail page | unified with Danh muc / Tai khoan. */
/* Loaded ONLY on product.php and AFTER existing site CSS. */
body.hm-body .hm-shell-main > main.product-detail-page.hm-unified-page.container {
  box-sizing:border-box;
  width:100%;max-width:none;min-width:0;
  margin:0 0 12px;
  padding:12px 13px 15px;
  background:#fff;
  border:1px solid var(--hm-line,#e2eaf3);
  border-radius:12px;
  box-shadow:var(--hm-shadow,0 3px 15px rgba(31,64,104,.055));
  overflow:hidden;
}
/* The heading uses the SAME wrapper, font and divider as the other tabs. */
body.hm-body .hm-shell-main .hm-product-detail-unified > .hm-product-detail-head {
  display:flex;align-items:center;gap:12px;
  min-width:0;min-height:63px;
  margin:0 0 13px;padding:0 6px 11px;
  border:0;border-bottom:1px solid #eaf0f6;
  background:transparent;
}
body.hm-body .hm-shell-main .hm-product-detail-head .hm-section-icon {
  display:grid;place-items:center;flex:0 0 37px;
  width:37px;height:37px;border-radius:10px;
  background:#d9edff;color:#0968dd;
}
body.hm-body .hm-shell-main .hm-product-detail-head .hm-unified-head-copy {
  flex:1;min-width:0;
}
body.hm-body .hm-shell-main .hm-product-detail-head h1 {
  margin:0;
  font-family:var(--hm-facebook-font);
  font-size:18px;line-height:1.35;
  font-weight:700;letter-spacing:normal;
  text-transform:none;color:#0b4d9e;
}
body.hm-body .hm-shell-main .hm-product-detail-head p {
  margin:3px 0 0;font-size:11px;line-height:1.5;color:#657c95;
}
body.hm-body .hm-shell-main .hm-product-detail-head .hm-product-detail-back {
  display:inline-flex;align-items:center;justify-content:center;
  gap:7px;flex-shrink:0;white-space:nowrap;
  min-height:36px;padding:8px 12px;
  font-size:12px;line-height:1.3;
}
body.hm-body .hm-shell-main .hm-product-detail-back .site-icon {
  width:15px;height:15px;
}
/* Keep the compact product information, order control and desktop columns. */
body.hm-body .hm-shell-main .hm-product-detail-unified .detail-layout {
  width:100%;max-width:none;min-width:0;
  gap:12px;
  margin:0;
}
body.hm-body .hm-shell-main .hm-product-detail-unified .detail-main,
body.hm-body .hm-shell-main .hm-product-detail-unified .detail-order {
  min-width:0;
}
body.hm-body .hm-shell-main .hm-product-detail-unified .detail-surface {
  border-radius:10px;
  border:1px solid #e4edf7;
  box-shadow:none;
  background:#fcfdff;
}
body.hm-body .hm-shell-main .hm-product-detail-unified .detail-heading .detail-product-name {
  font-family:var(--hm-facebook-font);
  font-size:clamp(20px,2.25vw,26px);
  line-height:1.25;letter-spacing:normal;
  font-weight:700;text-transform:none;
  color:#142d48;margin:7px 0 9px;
  overflow-wrap:anywhere;
}
body.hm-body .hm-shell-main .hm-product-detail-unified .detail-missing {
  margin:0;
}
@media(max-width:760px){
  body.hm-body .hm-shell-main > main.product-detail-page.hm-unified-page.container {
    padding:9px;
    margin:0 0 12px;
  }
  body.hm-body .hm-shell-main .hm-product-detail-unified > .hm-product-detail-head {
    min-height:0;flex-wrap:wrap;gap:9px;
    padding:4px 3px 11px;margin-bottom:10px;
  }
  body.hm-body .hm-shell-main .hm-product-detail-head .hm-section-icon {
    flex-basis:34px;width:34px;height:34px;
  }
  body.hm-body .hm-shell-main .hm-product-detail-head h1{font-size:16px}
  body.hm-body .hm-shell-main .hm-product-detail-head p{font-size:10.5px}
  body.hm-body .hm-shell-main .hm-product-detail-head .hm-product-detail-back {
    margin-left:43px;max-width:calc(100% - 43px);
    min-height:34px;
  }
  body.hm-body .hm-shell-main .hm-product-detail-unified .detail-layout {
    grid-template-columns:minmax(0,1fr);
  }
  body.hm-body .hm-shell-main .hm-product-detail-unified .detail-heading .detail-product-name {
    font-size:clamp(18px,4.9vw,22px);
  }
}


/* 2026-10-18: Product detail PANEL titles use the exact header typography
   of "San pham noi bat" (the product NAME keeps its own hierarchy). */
body.hm-body .hm-shell-main .hm-product-detail-unified .detail-section-title h2,
body.hm-body .hm-shell-main .hm-product-detail-unified .order-header h2 {
  font-family:var(--hm-facebook-font);
  font-size:18px;
  font-weight:700;
  line-height:1.35;
  letter-spacing:normal;
  font-style:normal;
  text-transform:none;
  color:#0b4d9e;
}
body.hm-body .hm-shell-main .hm-product-detail-unified .detail-section-title h2 {
  margin:0;
}
body.hm-body .hm-shell-main .hm-product-detail-unified .order-header h2 {
  margin:7px 0 5px;
}
@media(max-width:650px){
  body.hm-body .hm-shell-main .hm-product-detail-unified .detail-section-title h2,
  body.hm-body .hm-shell-main .hm-product-detail-unified .order-header h2 {
    font-size:16px;
  }
}


/* Compatibility structure: member_category_groups.css */
/* FB Clone | individual category groups, the original white toolbar and uppercase tab headings.
   Loaded after existing CSS to avoid older catalog/header selectors overriding it. */

/* Each category: own header, divider, rounded body; no nested global extra toolbar. */
body.hm-body .hm-shell-main .hm-category-groups {
  display:flex; flex-direction:column; gap:13px; min-width:0;
}
body.hm-body .hm-shell-main .hm-category-panel {
  display:block; min-width:0; background:#fff;
  border:1px solid #dce8f7; border-radius:12px;
  overflow:hidden; box-shadow:0 2px 9px rgba(24,65,108,.045);
}
body.hm-body .hm-shell-main .hm-category-panel-heading {
  box-sizing:border-box; min-height:62px; padding:11px 14px;
  display:flex; align-items:center; gap:10px;
  background:#f3f8ff; border-bottom:1px solid #dde9f6;
}
body.hm-body .hm-shell-main .hm-category-panel-icon {
  flex:0 0 34px; width:34px; height:34px; display:grid; place-items:center;
  border-radius:9px; background:#dceeff; color:#0c69c9;
}
body.hm-body .hm-shell-main .hm-category-panel-icon .site-icon { width:18px;height:18px; }
body.hm-body .hm-shell-main .hm-category-panel-copy { flex:1;min-width:0; }
body.hm-body .hm-shell-main .hm-category-panel-copy h3 {
  margin:0; color:#0b4d9e;
  font:700 16px/1.3 var(--hm-facebook-font);
  letter-spacing:normal; text-transform:uppercase;
  overflow-wrap:anywhere;
}
body.hm-body .hm-shell-main .hm-category-panel-copy p {
  margin:3px 0 0; color:#687f99; font:400 11px/1.4 var(--hm-facebook-font);
}
body.hm-body .hm-shell-main .hm-category-panel-link {
  display:inline-flex; align-items:center; gap:5px; flex:none;
  padding:7px 9px; border:1px solid #d1e4f9;
  border-radius:8px; background:#fff; color:#1263b6;
  font-size:11px; font-weight:700; text-decoration:none;
}
body.hm-body .hm-shell-main .hm-category-panel-link:hover { background:#e8f4ff; }
body.hm-body .hm-shell-main .hm-category-panel-link .site-icon { width:14px;height:14px; }
body.hm-body .hm-shell-main .hm-category-panel-content {
  background:#fafcff; padding:10px; min-width:0;
}
/* Preserve JS row normalization and compact 3-column action heights. */
body.hm-body .hm-shell-main .hm-category-panel .hm-product-list {
  margin:0; padding:0; gap:8px;
}
body.hm-body .hm-shell-main .hm-category-panel .hm-product-list>.hm-product-row {
  min-width:0; background:#fff;
}
@media(max-width:600px){
  body.hm-body .hm-shell-main .hm-category-panel-heading { padding:9px 10px; min-height:54px; gap:7px; }
  body.hm-body .hm-shell-main .hm-category-panel-content { padding:7px; }
  body.hm-body .hm-shell-main .hm-category-panel-copy h3 { font-size:14px; }
  body.hm-body .hm-shell-main .hm-category-panel-link { font-size:10px; padding:5px 6px; }
  body.hm-body .hm-shell-main .hm-category-panel-icon { flex-basis:30px;width:30px;height:30px; }
}
/* All primary TAB headings use uppercase text, but product/article names,
   sidebar labels, buttons and informational paragraphs keep natural case. */
body.hm-body .hm-shell-main .hm-market-heading .hm-market-copy>h2,
body.hm-body .hm-shell-main .hm-section-top>div>h1,
body.hm-body .hm-shell-main .hm-unified-head:not(.hm-article-head) .hm-unified-head-copy>h1,
body.hm-body .hm-shell-main .hm-account-unified-head h1,
body.hm-body .hm-shell-main .hm-public-info-heading h1,
body.hm-body .hm-shell-main .hm-public-info-heading .hm-public-info-kicker {
  text-transform:uppercase;
}


/* Toolbar compact v3: 30% less desktop height (100px -> 70px).
   Overrides the earlier 100px header declarations in member_market_sidepanel.css
   without touching the white toolbar, its search, or its wallet/order actions. */
@media (min-width:761px) {
  body.hm-body.hm-member {
    --hm-shared-toolbar-height:70px;
  }
  body.hm-body.hm-member .hm-header.hm-header-logged {
    box-sizing:border-box;
    height:70px;
    min-height:70px;
    max-height:70px;
    padding:6px clamp(10px,1.1vw,18px);
    align-items:center;
    align-content:center;
    grid-template-rows:minmax(0,1fr);
  }
  body.hm-body.hm-member .hm-header .hm-toolbar-brand img {
    height:52px;
    max-height:52px;
    width:100%;
    object-fit:contain;
  }
  /* Search and icon shortcuts remain 44px high and share their centre line. */
  body.hm-body.hm-member .hm-header .hm-header-middle,
  body.hm-body.hm-member .hm-header .hm-header-actions {
    align-self:center;
    margin-block:0;
  }
  body.hm-body.hm-member .hm-header .hm-header-middle > .hm-search {
    height:44px;
    min-height:44px;
    margin:0;
  }
  body.hm-body.hm-member .hm-header .hm-header-actions > .hm-header-action {
    height:44px;
    min-height:44px;
  }
}
/* On small displays, preserve the two-row search layout & tap target sizes,
   but remove excess vertical padding and reduce the logo footprint. */
@media (max-width:760px) {
  body.hm-body.hm-member .hm-header.hm-header-logged {
    padding:6px 10px;
    gap:6px;
  }
  body.hm-body.hm-member .hm-header .hm-toolbar-brand img {
    height:36px;
    max-height:36px;
  }
}

/* PRODUCT NAMES | The headings inside product cards must use the same
   Arial/Helvetica typography, blue color and 700 weight as category titles.
   Keep product names in their original letter case and preserve compact rows.
   This file is loaded last, after fbclone_catalog_v36.css and
   member_market_sidepanel.css; selectors cover both PHP and JS-rendered rows. */
body.hm-body .hm-shell-main .hm-category-panel .hm-product-row .hm-v36-primary > :is(h2,h3),
body.hm-body .hm-shell-main .hm-category-panel .hm-product-row .hm-v36-primary > :is(h2,h3) > a,
body.hm-body .hm-shell-main .hm-category-panel .hm-product-row .hm-product-row-info > :is(h2,h3),
body.hm-body .hm-shell-main .hm-category-panel .hm-product-row .hm-product-row-info > :is(h2,h3) > a {
  font-family:var(--hm-facebook-font);
  font-size:15px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:normal;
  font-style:normal;
  text-transform:none;
  text-decoration:none;
  text-shadow:none;
  color:#0b4d9e;
  overflow-wrap:anywhere;
}
body.hm-body .hm-shell-main .hm-category-panel .hm-product-row .hm-v36-primary > :is(h2,h3) > a:hover,
body.hm-body .hm-shell-main .hm-category-panel .hm-product-row .hm-product-row-info > :is(h2,h3) > a:hover {
  color:#075fb6;
}
@media (max-width:600px) {
  body.hm-body .hm-shell-main .hm-category-panel .hm-product-row .hm-v36-primary > :is(h2,h3),
  body.hm-body .hm-shell-main .hm-category-panel .hm-product-row .hm-v36-primary > :is(h2,h3) > a,
  body.hm-body .hm-shell-main .hm-category-panel .hm-product-row .hm-product-row-info > :is(h2,h3),
  body.hm-body .hm-shell-main .hm-category-panel .hm-product-row .hm-product-row-info > :is(h2,h3) > a {
    font-size:14px;
  }
}


/* Compatibility structure: member_device_security.css */
.hm-security-bell{position:relative;display:flex;align-items:center;justify-content:center}
.hm-security-bell .hm-security-count{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;border-radius:10px;background:#bf263c;color:#fff;font:700 10px/18px var(--hm-facebook-font);padding:0 4px;text-align:center}
.hm-security-bell .hm-security-count[hidden]{display:none}
.hm-device-security-page{padding-top:12px;padding-bottom:24px;display:flex;flex-direction:column;gap:14px}
.hm-device-security-panel{border:1px solid #dde8f7;background:#fff;border-radius:13px;box-shadow:0 7px 16px #103e7710;overflow:hidden;padding:20px 24px}
.hm-device-security-heading{display:flex;gap:12px;align-items:center;border-bottom:1px solid #e5edf6;margin:-8px -8px 20px;padding:0 0 15px}
.hm-device-security-heading h1{font:700 18px/1.3 var(--hm-facebook-font);color:#0b4d9e;margin:0 0 4px;text-transform:uppercase}
.hm-device-security-heading small,.hm-security-muted{font:400 13px/1.55 var(--hm-facebook-font);color:#617592}
.hm-device-security-icon{display:grid;place-items:center;border-radius:10px;background:#e6f2ff;width:40px;height:40px;color:#0771d7;flex-shrink:0}
.hm-device-security-icon svg{width:21px;height:21px}
.hm-device-security-panel h2{font:700 16px/1.4 var(--hm-facebook-font);color:#0b4d9e;margin:15px 0 10px}
.hm-security-status{padding:12px 15px;border-radius:8px;background:#eaf6ff;color:#135489;font:400 14px/1.5 var(--hm-facebook-font)}
.hm-security-error{padding:13px 16px;border-radius:9px;border:1px solid #ffd5dc;background:#fff0f2;color:#98152f}
.hm-security-error a{color:inherit;font-weight:700}
.hm-security-request{border:1px solid #dce7f4;border-radius:10px;padding:17px 16px;margin:10px 0;background:#f8fbff}
.hm-security-request-content{display:flex;flex-direction:column;gap:6px}
.hm-security-request-content strong{color:#123b72}
.hm-security-request-content small{font:400 12px/1.4 var(--hm-facebook-font);color:#526988;word-break:break-word}
.hm-security-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.hm-security-decision,.hm-security-enroll{display:flex;flex-direction:column;gap:9px;min-width:0}
.hm-security-decision label,.hm-security-enroll label{display:flex;flex-direction:column;gap:6px;font:600 12px var(--hm-facebook-font);color:#234875}
.hm-security-decision input,.hm-security-enroll input{width:100%;box-sizing:border-box;border:1px solid #d6e3f1;border-radius:8px;padding:10px;min-height:40px}
.hm-security-allow,.hm-security-deny{display:flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:8px;min-height:41px;cursor:pointer;color:#fff;font:700 13px var(--hm-facebook-font);background:#0878e4;padding:9px 12px}
.hm-security-deny{background:#a53143}
.hm-security-enroll{width:100%;max-width:none;box-sizing:border-box;align-self:stretch}
.hm-security-enroll>label,.hm-security-enroll>.hm-security-allow{width:100%;max-width:none;box-sizing:border-box}
.hm-site-announcement p{white-space:normal;line-height:1.6;color:#33577c}
.trusted-device-remember{display:flex;align-items:center;gap:8px;margin:11px 0;color:#315177;font:500 13px var(--hm-facebook-font)}
.trusted-device-remember input{width:17px;height:17px;flex:none}
.device-pending-state{display:flex;flex-direction:column;gap:12px;line-height:1.6;color:#2c4c73}
.device-pending-state .hm-auth-submit{text-align:center;text-decoration:none;justify-content:center}
@media(max-width:680px){.hm-security-actions{grid-template-columns:1fr}.hm-device-security-panel{padding:16px}.hm-device-security-heading{margin:0 0 16px}.hm-device-security-heading h1{font-size:16px}}

/* History opens as a separate, full-width page, not a second panel/column. */
.hm-device-security-heading>.hm-security-history-link{margin-left:auto;flex-shrink:0}
.hm-security-history-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;border:1px solid #cfe1f5;border-radius:8px;background:#edf6ff;color:#0b4d9e;padding:9px 13px;font:700 12px/1.4 var(--hm-facebook-font);white-space:nowrap;min-height:38px;box-sizing:border-box}
.hm-security-history-link svg{width:17px;height:17px;flex:none}
.hm-security-history-link:hover{background:#e0efff}
.hm-device-security-heading>span:nth-child(2){min-width:0}
.hm-security-request-details>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:14px;justify-content:space-between}
.hm-security-request-details>summary::-webkit-details-marker{display:none}
.hm-security-alert-title{font:700 14px/1.45 var(--hm-facebook-font);color:#123b72}
.hm-security-expand{font:700 12px/1.4 var(--hm-facebook-font);color:#006ccc;white-space:nowrap}
.hm-security-request-details[open] .hm-security-expand{color:#5d7390}
.hm-security-request-content{margin-top:13px}
.hm-security-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:14px 0}
.hm-security-meta>div{min-width:0;padding:10px 12px;border:1px solid #e4edf8;border-radius:8px;background:#fff}
.hm-security-meta dt{font:500 11px/1.4 var(--hm-facebook-font);color:#667b96;margin-bottom:5px}
.hm-security-meta dd{font:600 12px/1.5 var(--hm-facebook-font);color:#1e446c;margin:0;overflow-wrap:anywhere}
.hm-login-history-list{display:flex;flex-direction:column;gap:11px}
.hm-login-history-entry{padding:14px 16px;border:1px solid #dce7f4;border-radius:10px;background:#f8fbff}
.hm-login-history-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.hm-login-history-top strong{color:#123b72;font:700 14px/1.5 var(--hm-facebook-font)}
.hm-login-history-pill{border-radius:100px;padding:5px 9px;font:700 11px/1.3 var(--hm-facebook-font);white-space:nowrap}
.hm-login-history-ok{color:#17744a;background:#dcf7eb}
.hm-login-history-pending{color:#8b5b07;background:#fff1cf}
.hm-login-history-danger{color:#9d263d;background:#ffe1e7}
.hm-login-history-neutral{color:#375573;background:#e4eff8}
.hm-login-history-note{margin-top:18px}
@media(max-width:780px){.hm-device-security-heading{flex-wrap:wrap}.hm-device-security-heading>.hm-security-history-link{margin-left:0}.hm-security-meta{grid-template-columns:1fr}}
@media(max-width:490px){.hm-device-security-heading>.hm-security-history-link{width:100%}.hm-security-request-details>summary{align-items:flex-start;flex-direction:column;gap:5px}.hm-login-history-top{flex-wrap:wrap}}

/* Primary trusted device: same two-column metadata layout as Login History. */
.hm-trusted-device-card{background:#f7fbff;border:1px solid #dbe7f6;border-radius:11px;padding:14px 15px;margin-bottom:18px;min-width:0}
.hm-trusted-device-card .hm-security-meta{margin:12px 0 0}
.hm-trusted-device-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;flex-wrap:wrap}
.hm-trusted-device-remove{min-width:210px;max-width:100%}
.hm-trusted-device-remove>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #efbac2;border-radius:8px;background:#fff0f2;color:#9c2939;min-height:36px;padding:8px 11px;font:700 12px/1.35 var(--hm-facebook-font)}
.hm-trusted-device-remove>summary::-webkit-details-marker{display:none}
.hm-trusted-device-remove>summary .site-icon{width:15px;height:15px}
.hm-trusted-device-remove[open]{width:min(100%,400px)}
.hm-trusted-device-remove-form{display:flex;flex-direction:column;gap:10px;border:1px solid #f0d9df;border-radius:9px;padding:13px;background:#fff;margin-top:10px}
.hm-trusted-device-remove-form p{margin:0;color:#93405a;font:400 12px/1.5 var(--hm-facebook-font)}
.hm-trusted-device-remove-form label{display:flex;flex-direction:column;gap:6px;font:600 12px var(--hm-facebook-font);color:#234875}
.hm-trusted-device-remove-form input{width:100%;box-sizing:border-box;min-height:39px;padding:9px 10px;border:1px solid #d6e3f1;border-radius:8px}
.hm-trusted-device-remove-form .hm-security-deny{min-height:40px}
/* Preserve the category-style header dimensions on the Account tab. */
.hm-body .hm-shell-main>main.hm-unified-page.account-v2 .account-main-heading{padding-bottom:11px;margin-bottom:13px}
@media(max-width:650px){.hm-trusted-device-footer{align-items:stretch;flex-direction:column}.hm-trusted-device-remove,.hm-trusted-device-remove[open]{width:100%}}


/* Compatibility structure: member_notifications.css */
/* Notifications V26: uses the same cards, reading layout, and variable palette as other tabs. */
.hm-notification-page,.hm-notification-detail{width:100%;max-width:1160px;margin-inline:auto}
.hm-notice-heading{gap:12px}.hm-notice-total{font-size:12px;font-weight:750;padding:8px 12px;border:1px solid var(--border,#e2e8f0);border-radius:9px;white-space:nowrap}
.hm-notice-list{background:var(--card-bg,var(--panel,#fff));border:1px solid var(--border,#e5eaf2);border-radius:15px;overflow:hidden;box-shadow:0 4px 18px rgba(9,31,61,.04)}
.hm-notice-item{padding:17px 20px;text-decoration:none;color:inherit;display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--border,#e8edf3);transition:background .16s ease}
.hm-notice-item:last-child{border-bottom:0}.hm-notice-item:hover{background:rgba(68,112,218,.055)}.hm-notice-item.is-unread{background:rgba(64,113,210,.045)}
.hm-notice-item-icon{flex:0 0 43px;width:43px;height:43px;display:grid;place-items:center;border-radius:12px}.hm-notice-general{background:rgba(68,95,210,.12);color:#5770d8}.hm-notice-login{background:rgba(241,148,34,.15);color:#dd8322}
.hm-notice-item-copy{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}.hm-notice-item-top{display:flex;gap:14px;align-items:baseline;justify-content:space-between}.hm-notice-item-top strong{font-size:14px;overflow-wrap:anywhere}.hm-notice-item-top small{font-size:11px;color:var(--text-muted,#8290a2);white-space:nowrap}.hm-notice-excerpt{font-size:12px;opacity:.75;overflow-wrap:anywhere}.hm-notice-item-foot{font-size:11px;color:var(--text-muted,#8091a1);display:flex;gap:10px;align-items:center}.hm-notice-new{font-size:10px;border-radius:7px;background:#2f65d9;color:#fff;padding:3px 7px;font-weight:750}.hm-notice-chevron{opacity:.4}.hm-notice-empty{padding:42px 20px;text-align:center;display:flex;justify-content:center;align-items:center;gap:9px}
.hm-notice-reading{max-width:100%;min-height:200px}.hm-notice-reading-meta{display:flex;gap:15px;align-items:center;color:var(--text-muted,#748398);font-size:12px;margin:6px 0 18px}.hm-notice-tag{font-size:11px;font-weight:800;letter-spacing:.05em;color:#4e6ed5;background:rgba(78,110,213,.11);padding:7px 10px;border-radius:7px}.hm-notice-article-text{line-height:1.9;white-space:normal;overflow-wrap:anywhere;font-size:14px}
.hm-notice-device-info{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:23px 0}.hm-notice-device-info>div{border:1px solid var(--border,#e5eaf2);background:rgba(116,131,161,.055);border-radius:10px;padding:13px}.hm-notice-device-info dt{font-size:11px;opacity:.65;margin-bottom:8px}.hm-notice-device-info dd{font-size:13px;font-weight:650;margin:0;overflow-wrap:anywhere}.hm-notice-security-note{border-radius:10px;background:rgba(241,148,34,.09);padding:14px;display:flex;gap:9px;align-items:center;line-height:1.7;font-size:12px;margin:14px 0}.hm-notice-security-note .site-icon{flex:0 0 20px}.hm-notice-action{display:inline-flex;align-items:center;gap:8px;min-height:38px;margin-top:10px}
html[data-hm-theme="dark"] .hm-notice-list{background:#192537}html[data-hm-theme="dark"] .hm-notice-item.is-unread{background:rgba(80,131,235,.09)}
@media(max-width:640px){.hm-notice-item{padding:14px 11px;gap:10px}.hm-notice-item-icon{width:35px;height:35px;flex-basis:35px;border-radius:9px}.hm-notice-item-top{flex-wrap:wrap;gap:4px}.hm-notice-item-top strong{font-size:12px}.hm-notice-device-info{grid-template-columns:1fr}.hm-notice-total{display:none}}

/* V32 - compact Facebook-like notification typography. Only the detailed notice uses a page. */
body.hm-body .hm-notice-toolbar-wrap{position:relative}
.hm-notification-popover[hidden]{display:none}
.hm-notification-popover{box-sizing:border-box;position:fixed;z-index:10010;display:flex;flex-direction:column;width:min(360px,calc(100vw - 24px));max-width:calc(100vw - 24px);overflow:hidden;background:var(--card-bg,#fff);color:var(--text,#111827);border:1px solid rgba(0,0,0,.08);border-radius:18px;box-shadow:0 12px 28px rgba(0,0,0,.2),0 2px 4px rgba(0,0,0,.1);font-family:var(--hm-facebook-font,inherit);text-align:left}
.hm-notification-popover-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:13px 16px 5px}
.hm-notification-popover-head h2{font-size:18px;font-weight:700;line-height:1.15;margin:0;letter-spacing:-.03em;color:inherit}
.hm-notification-popover-close{display:grid;place-items:center;width:36px;height:36px;min-width:36px;padding:0;cursor:pointer;color:inherit;background:#e4e6eb;border:0;border-radius:50%}
.hm-notification-popover-close:hover{background:#d8dadf}
.hm-notification-popover-tabs{display:flex;align-items:center;gap:8px;padding:4px 16px 10px;flex:none}
.hm-notification-popover-tabs button{border:0;border-radius:999px;background:transparent;color:inherit;min-height:32px;padding:5px 12px;font-size:13px;font-weight:600;cursor:pointer}
.hm-notification-popover-tabs button.is-active{background:#e7f3ff;color:#1877f2}
.hm-notification-popover-tabs button:hover:not(.is-active){background:#f0f2f5}
.hm-notification-popover-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px 6px}
.hm-notification-popover-section-head h3{margin:0;font-size:16px;font-weight:700;letter-spacing:-.02em;line-height:1.25}
.hm-notification-popover-section-head a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 10px;border-radius:8px;text-decoration:none;color:#1877f2;font-size:13px;font-weight:500}
.hm-notification-popover-section-head a:hover{background:#f0f2f5}
.hm-notification-popover-feed{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;min-height:110px;flex:1;padding:0 8px 10px;scrollbar-width:thin}
.hm-notification-popover-feed-inner{display:flex;flex-direction:column;gap:1px}
.hm-bell-item{display:grid;grid-template-columns:54px minmax(0,1fr) 12px;align-items:center;gap:10px;position:relative;min-height:64px;padding:7px 8px;border-radius:12px;text-decoration:none;color:inherit;transition:background .13s ease}
.hm-bell-item:hover,.hm-bell-item:focus-visible{background:#f2f2f2;text-decoration:none}
.hm-bell-avatar-wrap{position:relative;display:block;width:54px;height:54px;flex:0 0 54px}
.hm-bell-avatar{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;overflow:hidden;background:linear-gradient(145deg,#dfe9f7,#bacde8);color:#285192;font-size:18px;font-weight:700;text-transform:uppercase;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55)}
.hm-bell-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.hm-bell-badge{position:absolute;right:-2px;bottom:-2px;display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;border:3px solid var(--card-bg,#fff);box-shadow:0 1px 2px rgba(0,0,0,.18)}
.hm-bell-badge svg{width:12px;height:12px}
.hm-bell-badge.is-general{background:#1877f2;color:#fff}
.hm-bell-badge.is-security{background:#65676b;color:#fff}
.hm-bell-item-body{display:flex;flex-direction:column;min-width:0;gap:3px;align-self:stretch;justify-content:center}
.hm-bell-item-line{display:block;font-size:13px;line-height:1.3;color:inherit;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.hm-bell-item-title{font-weight:700}
.hm-bell-item-excerpt{font-weight:400}
.hm-bell-item-time{font-size:11px;color:#1877f2;font-weight:600}
.hm-bell-item-unread{display:block;justify-self:end;align-self:center;flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:#1877f2}
.hm-bell-feedback{display:flex;min-height:140px;padding:19px 16px;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#65676b;text-align:center;font-size:13px}
.hm-bell-feedback p{margin:0}.hm-bell-feedback svg{opacity:.7}
.hm-notification-popover-foot{border-top:0;padding:6px 16px 14px;text-align:center;flex:none}
.hm-notification-popover-foot a{display:flex;align-items:center;justify-content:center;text-decoration:none;color:#050505;background:#e4e6eb;font-size:14px;font-weight:600;min-height:38px;padding:0 14px;border-radius:10px}
.hm-notification-popover-foot a .site-icon{display:none}
.hm-notification-popover-foot a:hover{background:#d8dadf}
.hm-notification-popover :is(a,button):focus-visible{outline:2px solid #3473e8;outline-offset:2px}
html[data-hm-theme="dark"] .hm-notification-popover{background:#242526;border-color:#3a3b3c;color:#e4e6eb;box-shadow:0 12px 28px rgba(0,0,0,.55),0 2px 4px rgba(0,0,0,.38)}
html[data-hm-theme="dark"] .hm-notification-popover-close{background:#3a3b3c}
html[data-hm-theme="dark"] .hm-notification-popover-close:hover{background:#4e4f50}
html[data-hm-theme="dark"] .hm-notification-popover-tabs button.is-active{background:rgba(24,119,242,.24);color:#8cbcff}
html[data-hm-theme="dark"] .hm-notification-popover-tabs button:hover:not(.is-active),html[data-hm-theme="dark"] .hm-notification-popover-section-head a:hover,html[data-hm-theme="dark"] .hm-bell-item:hover,html[data-hm-theme="dark"] .hm-bell-item:focus-visible{background:#3a3b3c}
html[data-hm-theme="dark"] .hm-bell-item-time{color:#8cbcff}
html[data-hm-theme="dark"] .hm-bell-item-unread{background:#4e9cff}
html[data-hm-theme="dark"] .hm-bell-feedback{color:#b0b3b8}
html[data-hm-theme="dark"] .hm-bell-badge{border-color:#242526}
html[data-hm-theme="dark"] .hm-notification-popover-foot a{background:#3a3b3c;color:#e4e6eb}
html[data-hm-theme="dark"] .hm-notification-popover-foot a:hover{background:#4e4f50}
@media(max-width:600px){.hm-notification-popover{border-radius:16px;width:min(100vw - 16px,360px)}.hm-notification-popover-head{padding:12px 14px 5px}.hm-notification-popover-head h2{font-size:17px}.hm-notification-popover-tabs{padding-inline:14px}.hm-notification-popover-section-head{padding-inline:14px}.hm-bell-item{grid-template-columns:50px minmax(0,1fr) 10px;gap:9px;padding:7px 6px}.hm-bell-avatar-wrap,.hm-bell-avatar{width:50px;height:50px;flex-basis:50px}.hm-bell-item-line{font-size:13px}.hm-notification-popover-foot{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){.hm-bell-item{transition:none}}

/* V33: only the title inside the bell popover is reduced. */
body.hm-body #hm-notification-popover .hm-notification-popover-head > h2{font-size:18px;line-height:1.2}
@media(max-width:600px){body.hm-body #hm-notification-popover .hm-notification-popover-head > h2{font-size:17px}}


/* Compatibility structure: member_tiers.css */
/* Membership tier display — append after existing sidebar stylesheet. */
/* One compact tier pill in the account-card heading; each role has its own color. */
body.hm-body.hm-member .hm-sidebar .hm-tier-badge {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:5px 8px;
  max-width:none;
  min-height:28px;
  border-radius:9px;
  font:700 10px/1.22 var(--hm-facebook-font);
  letter-spacing:0;
  white-space:nowrap;
  overflow-wrap:normal;
  flex-shrink:0;
  border:1px solid transparent;
  box-shadow:none;
}
.hm-tier-icon{display:inline-block;flex:0 0 15px;width:15px;height:15px;vertical-align:-3px}
body.hm-body.hm-member .hm-sidebar .hm-tier-badge.hm-tier-admin {
 background:#DC3545; color:#fff; border-color:#C82D3D;
}
body.hm-body.hm-member .hm-sidebar .hm-tier-badge.hm-tier-standard {
 background:#fff; color:#0B4D9E; border-color:#E2EDFA;
}
body.hm-body.hm-member .hm-sidebar .hm-tier-badge.hm-tier-vip {
 background:#209E57; color:#fff; border-color:#168448;
}
body.hm-body.hm-member .hm-sidebar .hm-tier-badge.hm-tier-ssvip {
 background:#F28C28; color:#fff; border-color:#D97716;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-tier{min-height:36px}
body.hm-body.hm-member .hm-sidebar .hm-market-member-tier .hm-tier-icon{margin-right:3px}
body.hm-body.hm-member .hm-sidebar .hm-market-member-tier-progress{
 font:11px/1.45 var(--hm-facebook-font); color:#d0e9ff;
 padding:0 3px 3px; overflow-wrap:anywhere;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-tier-progress strong{color:#fff}
body.hm-body.hm-member .hm-sidebar .hm-market-member-tier-progress small{display:block;font-size:10px;color:#d0e9ff;margin-top:3px}
@media(max-width:480px){body.hm-body.hm-member .hm-sidebar .hm-tier-badge{font-size:9px}}
/* Discount information on catalog and product details. */
.hm-member-price-original{display:block;font-size:11px;line-height:1.2;color:rgba(255,255,255,.85);text-decoration:line-through;font-weight:500;margin-top:2px}
.hm-member-discount-hint{display:block;font-size:10px;color:#176f35;font-weight:700;margin-top:3px}
.hm-detail-discount-note{padding:7px 10px;border-radius:8px;background:#ecf9f0;color:#126d3a;font-size:12px;font-weight:700;margin:8px 0}
.hm-order-base-price{color:#8594a9;text-decoration:line-through;font-weight:500;font-size:13px;margin-right:7px}

/* Compact perk row: tier name is already shown in the heading, do not repeat it. */
body.hm-body.hm-member .hm-sidebar .hm-market-member-tier strong{
 color:#fff;font-size:11px;white-space:nowrap;
}

/* Never break “Thành viên thường”: the badge moves as a single pill when space is tight. */
body.hm-body.hm-member .hm-sidebar > .hm-market-member-card > .hm-market-member-head {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  column-gap:5px;
  row-gap:6px;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-head .hm-tier-badge {
  width:max-content;
  max-width:100%;
  margin-left:auto;
  white-space:nowrap;
  flex:0 0 auto;
  font-size:10px;
  line-height:1.15;
}

/* Account-only top-up and VIP progress. Matches the blue/white website theme. */
.hm-body .hm-shell-main .account-v2 .account-upgrade-card {
  position:relative;
  margin:18px 22px 20px;
  padding:19px 21px 16px;
  border:1px solid #b8d7f7;
  border-radius:13px;
  background:linear-gradient(125deg,#f2f8ff 0%,#ffffff 75%);
  box-shadow:0 4px 17px rgba(20,100,190,.07);
  font-family:var(--hm-facebook-font);
  color:#18416e;
}
.account-upgrade-header{display:flex;align-items:center;gap:12px;min-width:0}
.account-upgrade-emblem{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#dceeff;color:#0674d5}
.account-upgrade-emblem .hm-tier-icon{width:22px;height:22px;flex-basis:22px}
.account-upgrade-heading{flex:1;min-width:0}
.account-upgrade-eyebrow{display:block;color:#1b77c8;font-size:10px;font-weight:800;letter-spacing:.06em}
.hm-body .hm-shell-main .account-v2 .account-upgrade-heading h2{margin:3px 0;font:700 18px/1.3 var(--hm-facebook-font);color:#0b4d9e;letter-spacing:normal}
.account-upgrade-heading p{margin:0;font-size:12px;line-height:1.5;color:#6a839d}
.account-upgrade-tier{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;white-space:nowrap;padding:8px 12px;border-radius:9px;font-size:11px;line-height:1.2;font-weight:800;border:1px solid transparent}
.account-upgrade-tier-standard{background:#fff;color:#0b4d9e;border-color:#cbdff4}
.account-upgrade-tier-vip{background:#209e57;color:#fff}
.account-upgrade-tier-ssvip{background:#f28c28;color:#fff}
.account-upgrade-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:17px 0 13px}
.account-upgrade-stat{min-width:0;border-radius:10px;padding:12px 14px;background:#fff;border:1px solid #e0ebf7}
.account-upgrade-stat>span{display:block;font-size:12px;color:#617d99;font-weight:600}
.account-upgrade-stat>strong{display:block;font:800 20px/1.35 var(--hm-facebook-font);color:#0a59a6;margin-top:4px;overflow-wrap:anywhere}
.account-upgrade-stat:nth-child(2)>strong{color:#12824c}
.account-upgrade-track-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;font-weight:700;margin:7px 1px 7px;color:#385d85}
.account-upgrade-track-head strong{font-size:12px;color:#0b4d9e}
.account-upgrade-track{height:9px;background:#dfeaf5;border-radius:999px;overflow:hidden}
.account-upgrade-track>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1686eb,#24af75);transition:width .2s ease}
.account-upgrade-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:14px;font-size:11px;line-height:1.4;color:#647d98}
.account-upgrade-link{display:inline-flex;align-items:center;gap:7px;text-decoration:none;border-radius:8px;background:#086ad4;color:#fff;padding:9px 12px;font-size:12px;font-weight:700;white-space:nowrap}
.account-upgrade-link:hover{background:#0757ad}
.account-upgrade-link .site-icon{width:15px;height:15px}
@media(max-width:700px){
  .hm-body .hm-shell-main .account-v2 .account-upgrade-card{margin:12px;padding:15px}
  .account-upgrade-stats{grid-template-columns:1fr}
  .account-upgrade-header{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:10px}
  .account-upgrade-emblem{grid-column:1;grid-row:1 / span 2}
  .account-upgrade-heading{grid-column:2;grid-row:1;min-width:0}
  .account-upgrade-tier{grid-column:2;grid-row:2;justify-self:start;margin-left:0}
  .account-upgrade-stat>strong{font-size:18px}
  .account-upgrade-link{width:100%;justify-content:center}
}

/* V36: Sidebar tier badges use the same flat role palette as the account dropdown. */
body.hm-body.hm-member .hm-sidebar .hm-tier-badge.hm-tier-admin,
body.hm-body.hm-member .hm-sidebar .hm-tier-badge.hm-tier-standard,
body.hm-body.hm-member .hm-sidebar .hm-tier-badge.hm-tier-vip,
body.hm-body.hm-member .hm-sidebar .hm-tier-badge.hm-tier-ssvip {
  border:0;
  box-shadow:none;
}
body.hm-body.hm-member .hm-sidebar .hm-tier-badge.hm-tier-admin{background:#d92d42;color:#fff}
body.hm-body.hm-member .hm-sidebar .hm-tier-badge.hm-tier-standard{background:#e4e6eb;color:#34373d}
body.hm-body.hm-member .hm-sidebar .hm-tier-badge.hm-tier-vip{background:#18894d;color:#fff}
body.hm-body.hm-member .hm-sidebar .hm-tier-badge.hm-tier-ssvip{background:#f0a029;color:#392004}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar .hm-tier-badge.hm-tier-standard{background:#4b4d50;color:#fff}


/* Compatibility structure: member_pjax.css */
/* Keep the global toolbar/sidebar untouched while content is loading. */
.hm-shell-main { position:relative; min-width:0; }
.hm-shell-main::before {
  content:"";position:absolute;z-index:20;top:0;left:0;width:100%;height:3px;
  background:linear-gradient(90deg,#1769e6,#35b6fc,#1769e6);
  background-size:200% 100%;border-radius:5px;
  transform-origin:left;animation:hm-pjax-progress 1.2s linear infinite;
  opacity:0;pointer-events:none;
}
.hm-shell-main.hm-page-loading::before{opacity:1;}
.hm-shell-main.hm-page-loading{cursor:progress;}
@keyframes hm-pjax-progress {0%{background-position:200% 0}100%{background-position:-100% 0}}
@media (prefers-reduced-motion:reduce){.hm-shell-main::before{animation:none;}}
.hm-page-navigation-error{padding:12px 16px;margin:0 0 12px;border:1px solid #efbdbe;border-radius:10px;
  background:#fff5f5;color:#a52230;font:600 14px/1.5 var(--hm-facebook-font);}

/* V63.1: shared multi-colour loader is rendered by bm63_loading.js.
   Remove old single-colour PJAX ring and progress strip. */
.hm-shell-main.hm-page-loading::before,
.hm-shell-main.hm-page-loading::after { content:none; opacity:0; animation:none; }


/* Compatibility structure: member_preferences.css */
/* FB Clone – persistent language / light-dark switches, loaded after site styles. */
body.hm-body .hm-header .hm-toolbar-preferences {
  display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;
  padding:0 7px 0 0;margin:0 2px 0 0;
  border-right:1px solid #d7e4f4;white-space:nowrap;
}
body.hm-body .hm-header .hm-pref-switch {
  flex:0 0 auto;position:relative;display:inline-grid;place-items:center;
  width:66px;height:36px;padding:0;border:1px solid #d4e2f3;border-radius:20px;
  background:#f1f6fc;color:#536f8d;cursor:pointer;overflow:hidden;
  transition:background .18s,border-color .18s;
}
body.hm-body .hm-header .hm-pref-switch:focus-visible{outline:3px solid #64b6ff;outline-offset:2px}
body.hm-body .hm-header .hm-pref-switch-track{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:space-around;z-index:0}
body.hm-body .hm-header .hm-pref-switch-track >span:not(.hm-pref-switch-thumb),
body.hm-body .hm-header .hm-pref-switch-track >svg{z-index:1;position:relative;pointer-events:none}
body.hm-body .hm-header .hm-pref-switch-track >span:not(.hm-pref-switch-thumb){font-size:10px;font-family:var(--hm-facebook-font);font-weight:800;letter-spacing:0}
body.hm-body .hm-header .hm-pref-switch .hm-pref-switch-thumb{
  position:absolute;z-index:0;top:3px;left:3px;width:calc(50% - 3px);height:calc(100% - 6px);
  border-radius:17px;background:white;box-shadow:0 1px 5px #20496a2d;
  transition:transform .2s cubic-bezier(.2,.7,.2,1);
}
body.hm-body .hm-header .hm-pref-switch[aria-checked="true"] .hm-pref-switch-thumb{transform:translateX(100%)}
body.hm-body .hm-header .hm-pref-switch[aria-checked="false"] .hm-pref-switch-track>span:first-child,
body.hm-body .hm-header .hm-pref-switch[aria-checked="true"] .hm-pref-switch-track>span:nth-child(2){color:#0967c3}
body.hm-body .hm-header .hm-pref-switch:hover{border-color:#83baeb}
body.hm-body .hm-header .hm-pref-theme svg{width:15px;height:15px}
body.hm-body .hm-header .hm-pref-theme[aria-checked="false"] svg:first-child{color:#d18d0b}
body.hm-body .hm-header .hm-pref-theme[aria-checked="true"] svg:nth-child(2){color:#156ec6}
/* Keep all three header shortcut icons aligned to the 44px search bar. */
body.hm-body .hm-header .hm-header-actions {display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
body.hm-body .hm-header .hm-toolbar-preferences{align-self:center}
@media(min-width:761px) and (max-width:1040px){
  body.hm-body .hm-header .hm-toolbar-preferences{gap:4px;padding-right:5px;margin-right:0}
  body.hm-body .hm-header .hm-pref-switch{width:58px;height:32px}
  body.hm-body.hm-member .hm-header.hm-header-logged{grid-template-columns:clamp(112px,14vw,148px) minmax(0,1fr) auto;gap:7px}
  body.hm-body.hm-member .hm-header .hm-header-actions{gap:5px}
}
@media(max-width:760px){
  body.hm-body .hm-header .hm-header-actions{flex-wrap:nowrap;gap:5px}
  body.hm-body .hm-header .hm-toolbar-preferences{gap:5px;margin-right:1px;padding-right:6px}
  body.hm-body .hm-header .hm-pref-switch{width:54px;height:31px}
  body.hm-body .hm-header .hm-pref-switch .hm-pref-switch-thumb{top:2px;left:2px;height:calc(100% - 4px);width:calc(50% - 2px)}
  body.hm-body .hm-header .hm-pref-switch-track >span:not(.hm-pref-switch-thumb){font-size:9px}
}
@media(max-width:380px){
  body.hm-body .hm-header .hm-header-actions{gap:3px}
  body.hm-body .hm-header .hm-pref-switch{width:49px;height:30px}
  body.hm-body .hm-header .hm-toolbar-preferences{gap:3px;padding-right:4px}
  body.hm-body .hm-header .hm-header-actions > .hm-header-action{width:36px;min-width:36px;height:38px;min-height:38px}
}
@media(prefers-reduced-motion:reduce){body.hm-body .hm-header .hm-pref-switch *{transition:none}}
/* ========== Dark theme ========== */
html[data-hm-theme="dark"]{color-scheme:dark;--bg:#111b2a;--surface:#1b293b;--ink:#eaf1ff;--muted:#acbdd1;--border:#35475e;--shadow:0 5px 23px rgba(0,0,0,.20)}
html[data-hm-theme="dark"] body.hm-body,
html[data-hm-theme="dark"] body.hm-body:not(.is-admin){background:#111b2a;color:#eaf1ff}
html[data-hm-theme="dark"] body.hm-body .hm-header,
html[data-hm-theme="dark"] body.hm-body .hm-header.hm-header-logged,
html[data-hm-theme="dark"] body.hm-body .hm-sidebar,
html[data-hm-theme="dark"] body.hm-body .hm-footer{background:#172536;border-color:#34485e;color:#eaf1ff}
html[data-hm-theme="dark"] body.hm-body .hm-header .hm-toolbar-brand img{background:transparent}
html[data-hm-theme="dark"] body.hm-body .hm-header .hm-pref-switch {background:#263a50;border-color:#4b6179;color:#cfdeee}
html[data-hm-theme="dark"] body.hm-body .hm-header .hm-pref-switch .hm-pref-switch-thumb{background:#e0efff}
html[data-hm-theme="dark"] body.hm-body .hm-header .hm-toolbar-preferences{border-color:#47617b}
html[data-hm-theme="dark"] body.hm-body :is(.hm-search,.hm-header-action,.hm-side-link,.hm-side-expand>summary,.hm-side-submenu,.hm-mobile-menu,.hm-footer-links a){border-color:#344c64}
html[data-hm-theme="dark"] body.hm-body .hm-header :is(.hm-search,.hm-header-action){background:#23364c;color:#dceeff}
html[data-hm-theme="dark"] body.hm-body .hm-header .hm-search input{color:#eaf1ff;background:transparent}
html[data-hm-theme="dark"] body.hm-body .hm-header .hm-search input::placeholder{color:#acbdd1}
html[data-hm-theme="dark"] body.hm-body :is(.hm-side-link,.hm-side-expand>summary,.hm-side-submenu a,.hm-footer-links a){color:#d1deec}
html[data-hm-theme="dark"] body.hm-body :is(.hm-side-link.is-active,.hm-side-link:hover,.hm-side-expand>summary:hover){background:#294467;color:#fff}
/* Do not alter the distinctive dark-blue member identity card or tier status colors. */
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(
  .hm-market,.hm-home,.hm-category-panel,.hm-product-row,.hm-unified-page,.hm-unified-head,
  .commerce-card,.commerce-panel,.commerce-table-wrap,.hm-account-page,
  .hm-account-card,.hm-account-progress,.hm-account-panel,.hm-article-card,
  .reading-card,.simple-card,.news-card,.product-card,.hm-public-info-page,
  .hm-public-info-card,.hm-public-info-heading,.hm-section-card,.hm-info-card,
  .hm-product-detail-layout,.hm-product-detail-card,.wallet-create-card,.wallet-payment-card,
  .hm-device-card,.hm-security-panel,.hm-security-card,.hm-login-history-row,
  .hm-product-detail-shell,.hm-category-groups,.hm-market-section
){background-color:#1c2b3e;border-color:#364b65;color:#eaf1ff;box-shadow:0 2px 14px rgba(0,0,0,.12)}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(
  .hm-category-panel-heading,.hm-category-panel-content,.hm-market-heading,
  .hm-unified-head,.hm-account-unified-head,.hm-public-info-heading,
  .wallet-section-heading,.wallet-payment-heading,.hm-section-top,
  .hm-v36-primary,.hm-product-row-actions,.hm-v36-metric,
  .hm-product-row-info,.commerce-table th,.commerce-table td,
  .wallet-payment-info,.hm-security-subcard,.hm-account-tier-card,
  .hm-account-progress-card,.hm-account-upgrade,.hm-account-progress-grid>div
){background-color:#23354a;border-color:#3b506a;color:#eaf1ff}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(
  .hm-category-panel-content,.hm-category-panel .hm-product-row,.hm-home .hm-product-row,
  .hm-product-list .hm-product-row,.commerce-table tr,
  .wallet-transaction,.wallet-list-item,.hm-news-item,.hm-list-row
){background-color:#1c2b3e;border-color:#3b506a}
/* Visible, consistent text on cards – preserve colored badge and CTA foregrounds. */
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(h1,h2,h3,h4,.hm-unified-head-copy>h1,.hm-category-panel-copy h3,.hm-v36-primary h3,.commerce-card h2){color:#e7f4ff}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(p,small,.hm-v36-description,.commerce-label,.form-helper,.hm-category-panel-copy p,.hm-market-copy p){color:#b7c9dd}
html[data-hm-theme="dark"] body.hm-body :is(.hm-footer p,.hm-footer small){color:#b7c9dd}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){background:#15253a;border-color:#42607e;color:#ecf4ff}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(input,textarea)::placeholder{color:#a3b6ca}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(label,.form-stack label,.settings-fields label){color:#d9e7f5}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(.button-light,.button-white,.category-tab,.hm-category-panel-link,.button-ghost,.wallet-copy){background:#29415b;color:#e7f1ff;border-color:#49627e}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(.category-tab.selected,.button-main){background:#1175d8;color:#fff}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(.hm-v36-status,.hm-row-tag,.hm-tier-badge,.hm-row-price,.stock,.wallet-status){filter:none}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .hm-row-price{color:#fff}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .hm-v36-status:where(.is-out,.is-soldout){color:#fff}
html[data-hm-theme="dark"] body.hm-body .hm-footer-brand strong{color:#e6f5ff}
html[data-hm-theme="dark"] body.hm-body .hm-flash-area :is(.alert,.flash){background:#29415b;color:#f3f8ff;border-color:#47627c}
html[data-hm-theme="dark"] body.hm-body .hm-body .modal,
html[data-hm-theme="dark"] body.hm-body :is(.modal-content,.dialog-panel,[role="dialog"],.wallet-success-dialog){background:#1e2d40;color:#eaf1ff;border-color:#405773}
html[data-hm-theme="dark"] body.hm-body .hm-auth-viewport :is(.auth-panel,.hm-auth-form,.auth-card){background:#1e2d40;color:#eaf1ff}
html[data-hm-theme="dark"] body.hm-body :focus-visible{outline-color:#61b6ff}


/* === Dark mode coverage and toolbar switch sizing fix: 2026-10-18 === */
/* Two toggles match the 44px notification / wallet / orders shortcuts on desktop. */
body.hm-body .hm-header .hm-header-actions > .hm-toolbar-preferences .hm-pref-switch {
  box-sizing:border-box;width:66px;height:44px;min-height:44px;border-radius:11px;
  align-self:center;
}
body.hm-body .hm-header .hm-toolbar-preferences {align-items:center;}
body.hm-body .hm-header .hm-header-actions > .hm-toolbar-preferences .hm-pref-switch .hm-pref-switch-thumb {
  box-sizing:border-box;border-radius:8px;
}
@media (min-width:761px) and (max-width:1040px) {
  body.hm-body .hm-header .hm-header-actions > .hm-toolbar-preferences .hm-pref-switch {width:58px;height:44px;min-height:44px}
}
@media (max-width:760px) {
  body.hm-body .hm-header .hm-header-actions > .hm-toolbar-preferences .hm-pref-switch {width:54px;height:44px;min-height:44px}
}
@media (max-width:380px) {
  /* This matches the notification icon's 38px height at phone widths <= 380px. */
  body.hm-body .hm-header .hm-header-actions > .hm-toolbar-preferences .hm-pref-switch {width:49px;height:38px;min-height:38px}
}

/* === Unified dark surfaces for Security, Policy and Support === */
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(
  .hm-public-info,.hm-public-info-sheet,.hm-device-security-page,.hm-device-security-panel,
  .hm-site-announcement,.hm-login-history-entry,.hm-trusted-device-card,
  .hm-security-request,.hm-reading-page,.hm-reading-body,.reading-card
) {
  background:#1c2b3e;
  background-image:none;
  color:#eaf1ff;
  border-color:#364b65;
}
/* Parent page area remains uniformly dark, rather than a white rectangle. */
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(
  .hm-public-info-heading,.hm-public-policy-body,.hm-support-methods,
  .hm-support-method,.hm-public-info-bottom,.hm-support-security-note,
  .hm-device-security-heading,.hm-security-request-content,.hm-trusted-device-footer
) {
  background:#1c2b3e;
  background-image:none;
  border-color:#364b65;
  color:#e8f2ff;
}
/* Nested detail tiles and form panels. */
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(
  .hm-security-meta>div,.hm-support-symbol,.hm-public-info-icon,
  .hm-device-security-icon,.hm-security-status,.hm-trusted-device-remove-form,
  .hm-security-request-details[open],.hm-public-empty
) {
  background:#253950;
  background-image:none;
  border-color:#415873;
  color:#e8f2ff;
}
/* Preserve a clear distinction in status badges; keep action buttons colored. */
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(
  .hm-device-security-panel,.hm-public-info-sheet,.hm-trusted-device-card
) :is(h1,h2,h3,h4,.hm-security-alert-title,.hm-login-history-top strong,
        .hm-support-details strong,.hm-security-request-content strong) {
  color:#f1f7ff;
}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(
  .hm-public-info-sheet,.hm-device-security-page,.hm-device-security-panel
) :is(p,dt,dd,small,li,.hm-security-muted,.hm-public-info-heading p,
        .hm-support-details small,.hm-public-policy-body p,.hm-public-info-bottom,
        .hm-site-announcement p,.hm-login-history-note) {
  color:#dce8f8;
}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(
  .hm-public-info-heading h1,.hm-device-security-heading h1,
  .hm-device-security-panel h2
) {color:#eef6ff;}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(
  .hm-support-method,.hm-security-meta>div,.hm-public-info-heading,.hm-device-security-heading
) {border-color:#405671;}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(
  .hm-public-info-sheet,.hm-device-security-panel
) :is(a:not(.hm-support-action),.hm-security-expand,.hm-public-info-bottom a) {
  color:#7cc8ff;
}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(
  .hm-security-history-link,.hm-trusted-device-remove>summary
) {background:#2a425e;border-color:#486483;color:#f3f8ff;}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .hm-trusted-device-remove-form input,
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .hm-security-decision input,
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .hm-security-enroll input {
  background:#15253a;color:#edf6ff;border-color:#47627f;
}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(
  .hm-security-error,.hm-login-history-danger
) {background:#562637;border-color:#9e5561;color:#ffe7ed;}
/* Reading article: the white writing card and dark text previously survived theme changes. */
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(
  .hm-reading-page,.hm-reading-body,.reading-wrap,.reading-card,
  .hm-article-head,.hm-reading-body .article-content
) {background:#1c2b3e;background-image:none;border-color:#364b65;color:#f1f6ff;}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(
  .hm-reading-body .article-content,.hm-reading-body .article-lead,
  .hm-reading-body .article-content p,.hm-reading-body .article-content li,
  .hm-reading-body .article-content blockquote,.hm-reading-body .article-content span,
  .hm-reading-body .article-content strong,.hm-reading-body .article-content em,
  .reading-card .article-content,.reading-card .article-lead
) {color:#f1f6ff;}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .hm-reading-body .article-content :is(h1,h2,h3,h4,h5,h6){color:#fff;}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .hm-reading-body :is(hr,blockquote){border-color:#425a78;}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .hm-reading-body .article-content a{color:#80c7ff;}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .hm-reading-body .article-content :is(code,pre){background:#263a51;color:#e6f3ff;}

/* ============================================================
   Dark mode - sidebar navigation contrast (2026-10-18 v3)
   An older layout stylesheet forces .hm-side-links to white
   with. Override that only while Dark Mode is on.
   The blue account card, tier badges and light mode stay intact.
   ============================================================ */
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar {
  background:#172536;
  border-color:#34485e;
  color:#e8f1fc;
  scrollbar-color:#4c6480 #172536;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar > .hm-side-links,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar nav.hm-side-links {
  background:#172536;
  background-image:none;
  border-color:#34485e;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar .hm-side-link,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar .hm-side-expand > summary.hm-side-link,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar .hm-side-submenu a {
  background:transparent;
  color:#dce9f8;
  border-color:transparent;
  text-shadow:none;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar .hm-side-link .site-icon,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar .hm-side-submenu .site-icon {
  color:#a9c8eb;
  stroke:currentColor;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar :is(
  a.hm-side-link:hover,a.hm-side-link:focus-visible,
  .hm-side-expand > summary.hm-side-link:hover,
  .hm-side-expand > summary.hm-side-link:focus-visible,
  .hm-side-expand[open] > summary.hm-side-link,
  .hm-side-submenu a:hover,.hm-side-submenu a:focus-visible
) {
  background:#253d5b;
  color:#fff;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar :is(
  a.hm-side-link.is-active,
  .hm-side-submenu a[aria-current="page"]
) {
  background:#304b76;
  color:#fff;
  font-weight:700;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar :is(
  .hm-side-link:hover,.hm-side-link:focus-visible,.hm-side-link.is-active,
  .hm-side-expand[open] > summary.hm-side-link
) .site-icon {color:#e4f2ff;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar .hm-side-submenu {
  background:#172536;
  border-color:#34485e;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar .hm-mobile-menu {
  background:#172536;
  border-color:#34485e;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar .hm-mobile-menu > summary {
  background:transparent;
  color:#e1edfb;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar .hm-mobile-menu > summary .site-icon {
  color:#b9d7f5;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar .hm-side-link:focus-visible,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar .hm-side-submenu a:focus-visible {
  outline:2px solid #79c7ff;
  outline-offset:2px;
}


/* ============================================================
   Dark Mode v4: account + 2FA surfaces and flicker-proof toggle.
   CSS loaded LAST in layout.php. No light-mode changes.
   ============================================================ */
/* The initial button markup says aria-checked=false until deferred JS runs.
   Render from saved html[data-hm-theme] immediately so the thumb never flickers. */
html[data-hm-theme="dark"] body.hm-body .hm-header #hm-theme-switch .hm-pref-switch-thumb {
  transform:translateX(100%);
}
html[data-hm-theme="dark"] body.hm-body .hm-header #hm-theme-switch .hm-pref-switch-track>svg:nth-of-type(2){color:#156ec6;}
html[lang="en"] body.hm-body .hm-header #hm-language-switch .hm-pref-switch-thumb {
  transform:translateX(100%);
}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main,
html[data-hm-theme="dark"] body.hm-body .hm-shell-main>.hm-flash-area {
  background-color:#111b2a;
}
/* Keep the parent frame and nested account forms dark together; older CSS
   forces the account shell white or uses hard-coded pastel fills. */
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-v2,
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-v2 .account-shell-single,
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-v2 .account-forms,
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-v2 .account-panel {
  background:#1c2b3e;
  background-image:none;
  border-color:#364b65;
  color:#edf5ff;
}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-v2 :is(
  .account-summary-strip,.account-upgrade-card,.account-upgrade-stat,
  .totp-status,.totp-disable-details,.totp-setup-info,
  .totp-recovery,.totp-recovery pre,.account-facts,.account-facts>div
){
  background:#253950;
  background-image:none;
  border-color:#405873;
  box-shadow:none;
  color:#eff6ff;
}
/* Security status panel explicitly used a #f5faff background. */
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-two-factor .totp-status {
  background:#263c55;
  border:1px solid #496481;
}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-two-factor .totp-status :is(strong,small),
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-v2 :is(
  .account-summary-strip span,.account-summary-strip strong,
  .account-panel-header p,.account-panel-header h2,.account-panel-overline,
  .account-upgrade-heading p,.account-upgrade-heading h2,.account-upgrade-eyebrow,
  .account-upgrade-stat>span,.account-upgrade-stat>strong,
  .account-upgrade-track-head,.account-upgrade-track-head strong,
  .account-upgrade-footer,.account-form-actions span,.account-field small,
  .totp-setup-info h3,.totp-setup-info p,.totp-disable-details summary,
  .totp-disable-details p,.totp-recovery p
){color:#e7f1ff;}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-v2 :is(
  .account-panel-header,.account-panel+.account-panel,
  .account-summary-strip>div+div
){border-color:#405873;}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-v2 .account-upgrade-track{
  background:#344b67;
}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-two-factor .totp-status-pill.is-disabled{
  background:#334a66;color:#e8f2ff;
}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-two-factor .totp-status-pill.is-enabled{
  background:#165e45;color:#f0fff8;
}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-two-factor .totp-setup-qr,
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-two-factor .totp-setup-qr svg {
  /* QR MUST remain white so Authenticator can scan it reliably. */
  background:#fff;color:#111;
}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-two-factor .totp-setup-info .totp-secret{
  background:#142b42;border-color:#527294;color:#a9deff;
}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-v2 :is(.account-feedback,.totp-recovery){
  border-color:#5b7797;
}
html[data-hm-theme="dark"] body.hm-body .hm-shell-main .account-v2 .totp-recovery pre{
  background:#18293d;
}
/* Dark transitions must never repaint via a white intermediate background. */
html[data-hm-theme="dark"] body.hm-body .hm-shell-main :is(
  .hm-unified-page,.hm-public-info-page,.hm-public-info-sheet,
  .hm-device-security-page,.hm-device-security-panel,.commerce-card,
  .hm-category-groups,.hm-category-panel,.hm-category-panel-content
){background-color:#1c2b3e;}
html[data-hm-theme="dark"] body.hm-body .hm-page-navigation-error{
  background:#392b3b;border-color:#75506e;color:#ffe7f0;
}


/* ===============================================================
   UI polish v5: account dividers + understated, elegant toggles.
   Only the logged-in member shell participates in Dark Mode.
   The standalone login/register screens are not themed.
   =============================================================== */
/* Clear dark-mode lines: never leave near-white rules on account cards. */
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .account-v2 :is(
  .hm-unified-head,.account-main-heading,.account-panel-header,.account-form-actions,
  .account-summary-strip,.account-summary-strip>div,.account-facts,
  .account-facts>div,.account-upgrade-header,.account-upgrade-footer,
  .account-upgrade-track-head,.account-two-factor .totp-status,
  .totp-disable-details,.totp-setup-info,.totp-recovery,
  .account-panel,.account-field-grid,.account-upgrade-card,
  .account-upgrade-stat,.account-upgrade-stats
) {
  border-color:#3b5069;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .account-v2 :is(
  .account-panel-header,.account-form-actions,
  .account-summary-strip>div+div,.account-facts>div+div,
  .account-upgrade-header,.account-upgrade-footer,.hm-unified-head
) {
  border-top-color:#3b5069;
  border-bottom-color:#3b5069;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .account-v2 :is(
  hr,.divider,.separator,.account-divider,.account-separator,
  .account-form-divider,.account-section-divider
){
  background-color:#3b5069;
  border-color:#3b5069;
  color:#3b5069;
}
/* Account headings/icons should stay vibrant without unwanted white lines. */
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .account-v2 .account-panel-icon{
  background-color:#264762;color:#a6d9ff;
}

/* Switches: subtly raised segmented controls with a smooth inset selection. */
body.hm-body.hm-member .hm-header .hm-toolbar-preferences{
  display:inline-flex;align-items:center;gap:8px;
  padding-right:11px;margin-right:3px;
  border-right:1px solid #d8e4f0;
}
body.hm-body.hm-member .hm-header .hm-header-actions > .hm-toolbar-preferences .hm-pref-switch{
  width:70px;height:44px;min-height:44px;flex-shrink:0;
  display:inline-grid;place-items:center;
  padding:3px;margin:0;
  border:1px solid #d3dfeb;border-radius:13px;
  background:#eef3f9;
  color:#71869d;
  box-shadow:inset 0 1px 2px rgba(13,53,96,.04);
  transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease;
}
body.hm-body.hm-member .hm-header .hm-pref-switch .hm-pref-switch-track{
  width:100%;height:100%;display:flex;align-items:center;justify-content:space-around;
}
body.hm-body.hm-member .hm-header .hm-pref-switch .hm-pref-switch-thumb{
  top:0;left:0;width:50%;height:100%;border-radius:9px;
  background:#fff;
  box-shadow:0 1px 5px rgba(23,62,102,.16),0 0 0 1px rgba(22,67,119,.045);
  transition:transform .2s cubic-bezier(.2,.75,.2,1),background-color .18s ease;
}
body.hm-body.hm-member .hm-header .hm-pref-switch .hm-pref-switch-track>span:not(.hm-pref-switch-thumb){
  color:#71869d;font-size:11px;line-height:1;font-weight:800;letter-spacing:.02em;
}
body.hm-body.hm-member .hm-header .hm-pref-theme svg{
  width:16px;height:16px;color:#8191a7;
}
/* Selected half stays legible; the actual switch semantics are unchanged. */
body.hm-body.hm-member .hm-header .hm-pref-language[aria-checked="false"] .hm-pref-switch-track>span:first-child,
body.hm-body.hm-member .hm-header .hm-pref-language[aria-checked="true"] .hm-pref-switch-track>span:nth-child(2){color:#176bc4;font-weight:800}
body.hm-body.hm-member .hm-header .hm-pref-theme[aria-checked="false"] .hm-pref-switch-track>svg:first-child{color:#c38a22}
body.hm-body.hm-member .hm-header .hm-pref-theme[aria-checked="true"] .hm-pref-switch-track>svg:nth-of-type(2){color:#176bc4}
body.hm-body.hm-member .hm-header .hm-pref-switch:hover{
  border-color:#9fbddb;background:#e8f1fb;
  box-shadow:0 2px 8px rgba(22,66,109,.09);
}
body.hm-body.hm-member .hm-header .hm-pref-switch:active{box-shadow:inset 0 1px 3px rgba(22,66,109,.13)}
body.hm-body.hm-member .hm-header .hm-pref-switch:focus-visible{
  outline:2px solid #3699e6;outline-offset:3px;
}
/* Dark scheme for MEMBER toggles only, preserving the guest login styling. */
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-toolbar-preferences{border-color:#425973}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-pref-switch{
  background:#1a2a3d;
  border-color:#455c74;
  color:#bfd2e4;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.16);
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-pref-switch .hm-pref-switch-thumb{
  background:#355579;
  box-shadow:0 1px 5px rgba(0,0,0,.2),inset 0 0 0 1px rgba(172,209,241,.1);
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-pref-switch .hm-pref-switch-track>span:not(.hm-pref-switch-thumb),
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-pref-theme svg{color:#aebfd1}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-pref-language[aria-checked="false"] .hm-pref-switch-track>span:first-child,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-pref-language[aria-checked="true"] .hm-pref-switch-track>span:nth-child(2){color:#fff}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-pref-theme[aria-checked="false"] .hm-pref-switch-track>svg:first-child{color:#ffcf78}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-pref-theme[aria-checked="true"] .hm-pref-switch-track>svg:nth-of-type(2){color:#d5eeff}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-pref-switch:hover{border-color:#6684a7;background:#253b53}
@media(min-width:761px) and (max-width:1040px){
  body.hm-body.hm-member .hm-header .hm-header-actions > .hm-toolbar-preferences .hm-pref-switch{width:60px}
  body.hm-body.hm-member .hm-header .hm-toolbar-preferences{gap:5px;padding-right:6px;margin-right:0}
}
@media(max-width:760px){
  body.hm-body.hm-member .hm-header .hm-header-actions > .hm-toolbar-preferences .hm-pref-switch{width:54px;height:44px;min-height:44px;padding:3px}
  body.hm-body.hm-member .hm-header .hm-toolbar-preferences{gap:5px;padding-right:6px;margin-right:0}
}
@media(max-width:380px){
  body.hm-body.hm-member .hm-header .hm-header-actions > .hm-toolbar-preferences .hm-pref-switch{width:49px;height:38px;min-height:38px;padding:2px}
  body.hm-body.hm-member .hm-header .hm-toolbar-preferences{gap:3px;padding-right:4px;margin-right:0}
  body.hm-body.hm-member .hm-header .hm-pref-switch .hm-pref-switch-track>span:not(.hm-pref-switch-thumb){font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  body.hm-body.hm-member .hm-header .hm-pref-switch,
  body.hm-body.hm-member .hm-header .hm-pref-switch .hm-pref-switch-thumb{transition:none}
}

/* Resolve inherited border tokens in remaining member tabs (dark only). */
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main {
  --hm-line:#405774;
  --hm-border:#405774;
  --line:#405774;
  --divider:#405774;
  --border:#405774;
}

/* -----------------------------------------------------------------------
   FB Clone Dark Mode v6 - detail page + residual dividers, member-only.
   The public login/register page remains untouched.
   Specificity intentionally beats the legacy product-detail
   white backgrounds and dynamically appended PJAX page stylesheets.
   ----------------------------------------------------------------------- */
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main > main.product-detail-page.hm-unified-page.hm-product-detail-unified {
  background:#1b293b;
  background-image:none;
  border-color:#354b64;
  color:#eaf1ff;
  box-shadow:0 3px 16px rgba(0,0,0,.18);
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified :is(
  .detail-surface,.detail-small-info,.detail-related-card,.detail-missing,
  .detail-intro,.detail-description,.detail-order
) {
  background:#213149;
  background-image:none;
  border-color:#3b526f;
  color:#eaf1ff;
  box-shadow:none;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified > .hm-product-detail-head {
  background:transparent;
  border-color:#405774;
  border-bottom-color:#405774;
  box-shadow:none;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified :is(
  .detail-heading,.detail-section-title,.order-header,.detail-meta,
  .detail-layout,.detail-main,.detail-info-grid,.order-total
) {
  color:#eaf1ff;
  border-color:#405774;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified :is(
  .hm-product-detail-head h1,.detail-product-name,.detail-section-title h2,
  .detail-related-head h2,.order-header h2,.detail-small-info strong,
  .order-total>span,.order-quantity-block label,.detail-missing h1
){color:#f2f7ff;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified :is(
  .detail-description-body,.detail-description-body p,.detail-description-body span,
  .detail-description-body li,.detail-description-body strong,.order-header p,
  .detail-small-info p,.order-help,.order-safety,.detail-meta,.detail-code,
  .order-unit-price,.detail-missing p,.hm-product-detail-head p,
  .order-quantity-block small,.order-total small
){color:#cbd9e9;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified .detail-description-body :is(h1,h2,h3,h4,h5,h6){color:#f0f7ff;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified .detail-description-body a{color:#83ceff;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified :is(
  .order-unit-price,.order-quantity-block,.order-total,.order-safety,
  .detail-section-title,.detail-related-head,hr,.detail-divider
){border-color:#405774;border-top-color:#405774;border-bottom-color:#405774;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified :is(
  .order-unit-price,.order-quantity-block,.order-total,.order-safety
)::before,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified :is(
  .order-unit-price,.order-quantity-block,.order-total,.order-safety
)::after{border-color:#405774;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified :is(
  .detail-code,.detail-category,.detail-visual-tag
){background:#30465e;color:#afdfff;border-color:#47627c;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified .detail-state.in-stock{background:#154e3b;color:#bafbdd;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified .detail-state.out-stock{background:#703044;color:#ffe0e8;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified :is(
  .detail-section-icon,.detail-missing-icon,.detail-section-title .detail-section-icon
){background:#2e4661;color:#96d2ff;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified :is(
  .quantity-control,.quantity-control input,.quantity-control button,
  .detail-copy
){background:#233b54;border-color:#476482;color:#e7f4ff;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified :is(
  .order-unit-price strong,.order-total strong
){color:#7ed1ff;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-detail-unified .detail-unavailable{
  background:#423326;border-color:#6b523b;color:#ffdfb9;
}
/* Keep primary buy button, brand-blue artwork and status colors intact. */

/* Divider sweep for pages with legacy light-only border-color or inline border
   rules. Scope to structural separators, not buttons, badges or colored icons. */
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main :is(
  hr,.hm-unified-head,.hm-account-unified-head,.hm-section-top,.hm-section-heading,
  .hm-section-header,.hm-panel-heading,.hm-category-panel-heading,
  .hm-category-panel-content,.hm-market-heading,.hm-public-info-heading,
  .hm-device-security-heading,.hm-device-security-panel,
  .hm-product-detail-head,.hm-article-head,.hm-news-head,.hm-news-header,
  .hm-reading-head,.hm-wallet-header,.wallet-section-heading,
  .commerce-card,.commerce-panel,.commerce-table-wrap,
  .account-panel-header,.account-form-actions,.account-summary-strip,
  .account-facts,.account-facts>div,.account-panel,.account-upgrade-header,
  .account-upgrade-footer,.totp-status,.totp-disable-details,
  .detail-surface,.detail-section-title,.order-safety,
  .order-unit-price,.order-quantity-block
){border-color:#405774;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main :is(
  hr,.account-divider,.account-section-divider,.account-form-divider,
  .hm-section-divider,.hm-panel-divider,.hm-unified-divider,
  .wallet-divider,.detail-divider
){background-color:#405774;border-color:#405774;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main :is(
  .hm-unified-head,.hm-category-panel-heading,.hm-public-info-heading,
  .hm-device-security-heading,.account-panel-header,.account-form-actions,
  .detail-section-title,.order-unit-price,.order-quantity-block,.order-safety
){border-bottom-color:#405774;border-top-color:#405774;}

/* First-paint switch state should never visibly slide after F5. */
html[data-hm-pref-booting="1"] body.hm-body.hm-member .hm-header .hm-pref-switch,
html[data-hm-pref-booting="1"] body.hm-body.hm-member .hm-header .hm-pref-switch .hm-pref-switch-thumb {transition:none;animation:none;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header #hm-theme-switch .hm-pref-switch-thumb{transform:translateX(100%);}
html[data-hm-theme="light"] body.hm-body.hm-member .hm-header #hm-theme-switch .hm-pref-switch-thumb{transform:translateX(0);}
html[lang="en"] body.hm-body.hm-member .hm-header #hm-language-switch .hm-pref-switch-thumb{transform:translateX(100%);}
html[lang="vi"] body.hm-body.hm-member .hm-header #hm-language-switch .hm-pref-switch-thumb{transform:translateX(0);}


/* ================================================================
   FB Clone | Dark Mode V8 – catalog contrast + news separators
   Applied only in the member area while Dark Mode is active.
   The original blue/green/red buttons and badges are deliberately
   left untouched. Specific selectors beat legacy rules.
   ================================================================ */
/* The original news stylesheet paints the row separator #e8eff6.
   Do not eliminate row distinction; tone it down to muted navy. */
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-news-page .hm-news-list > .hm-news-list-item {
  border-color:#31475e;
  border-bottom-color:#31475e;
  background-color:#1c2b3e;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-news-page .hm-news-list > .hm-news-list-item:last-child {
  border-bottom-width:0;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-news-page :is(
  .hm-news-alone,.hm-news-list,.hm-news-list-copy,.hm-news-empty
){background-color:#1c2b3e;color:#eaf2ff;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-news-page .hm-news-list-copy :is(h2,h2 a,h2 a:visited){
  color:#eef6ff;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-news-page .hm-news-list-copy h2 a:hover {
  color:#8fd0ff;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-news-page .hm-news-list-copy > span{color:#aac2df;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-news-page .hm-news-list-copy > p{color:#c2d2e5;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-news-page .hm-news-read{color:#90ceff;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-news-page :is(.hm-section-top,.hm-unified-head){
  border-color:#31475e;
  border-bottom-color:#31475e;
}

/* Force product name anchors light; old catalog stylesheet hard-codes
   #143966, which looks invisible on #22354a. */
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-row .hm-v36-primary :is(h2,h3),
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-row .hm-v36-primary :is(h2,h3) a,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-row .hm-product-row-info > :is(h2,h3),
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-row .hm-product-row-info > :is(h2,h3) a {
  color:#eef6ff;
  text-shadow:none;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-row .hm-v36-primary :is(h2,h3) a:hover,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-row .hm-product-row-info > :is(h2,h3) a:hover {
  color:#94d4ff;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-row .hm-v36-description {
  color:#c2d3e6;
}

/* Stock/sold-out metrics have independently hard-coded light-theme text,
   labels, values, SVG stroke and a near-white dividing rule. */
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-row .hm-v36-metric {
  background-color:#22354a;
  color:#d0e2f3;
  border-color:#344b64;
  border-left-color:#344b64;
  border-top-color:#344b64;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-row .hm-v36-metric-label {
  color:#bdd1e6;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-row .hm-v36-metric-value,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-row .hm-v36-metric-value strong {
  color:#f0f7ff;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-row .hm-v36-metric-icon,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-row .hm-v36-metric-icon .site-icon,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-row .hm-v36-metric-icon svg {
  color:#84c9ff;
  stroke:currentColor;
}

/* Card headers and item cells: dark understated rules rather than white.
   Keep badge, row price, and CTA backgrounds/colors as-is. */
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main :is(
  .hm-category-panel,.hm-category-panel-heading,.hm-category-panel-content,
  .hm-product-row,.hm-product-row-info,.hm-product-row-actions,
  .hm-market-heading,.hm-section-top,.hm-unified-head,.hm-market-section
){border-color:#344b64;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-category-panel-heading {
  border-bottom-color:#344b64;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-category-panel .hm-product-row {
  border-color:#344b64;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-product-row :is(
  .hm-product-row-info,.hm-product-row-actions
){border-color:#344b64;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main :is(
  .hm-market-heading,.hm-unified-head,.hm-section-top,.hm-section-header,.hm-news-head,
  .hm-news-header,.hm-category-panel-heading
)::after {
  border-color:#344b64;
}


/* ================================================================
   FIX V9 – 2 dividing lines in SẢN PHẨM NỔI BẬT (DARK MODE ONLY)
   hosting_redesign.css sets .hm-category-bar border-top/bottom
   to #eaf0f6. Override EXACT selector on the existing catalog.
   Do not replace the rest of member_preferences.css.
   ================================================================ */
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-market > .hm-category-bar,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .hm-home .hm-market .hm-category-bar {
  border-top: 1px solid #31475e;
  border-bottom: 1px solid #31475e;
  box-shadow: none;
}


/* ---------------------------------------------------------------
   V11 - theme switch paint lock. Keep these rules LAST.
   Zero transitions during F5, BFCache restore and PJAX mount.
   Only an explicit toolbar click can enable the thumb animation.
   --------------------------------------------------------------- */
html body.hm-body.hm-member .hm-header #hm-theme-switch .hm-pref-switch-thumb,
html body.hm-body.hm-member .hm-header #hm-language-switch .hm-pref-switch-thumb {
  transition:none;
  animation:none;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header #hm-theme-switch .hm-pref-switch-thumb {
  transform:translateX(100%);
}
html:not([data-hm-theme="dark"]) body.hm-body.hm-member .hm-header #hm-theme-switch .hm-pref-switch-thumb {
  transform:translateX(0);
}
html[lang="en"] body.hm-body.hm-member .hm-header #hm-language-switch .hm-pref-switch-thumb {
  transform:translateX(100%);
}
html:not([lang="en"]) body.hm-body.hm-member .hm-header #hm-language-switch .hm-pref-switch-thumb {
  transform:translateX(0);
}
html[data-hm-user-toggle="1"] body.hm-body.hm-member .hm-header #hm-theme-switch .hm-pref-switch-thumb,
html[data-hm-user-toggle="1"] body.hm-body.hm-member .hm-header #hm-language-switch .hm-pref-switch-thumb {
  transition:transform .20s cubic-bezier(.2,.75,.2,1);
}


/* Compatibility structure: member_macos_icons.css */
/* FB Clone Hosting | macOS Pro colored SVG icon system (member shell only)
   Loaded AFTER member_preferences.css; no global icon or login overrides. */

body.hm-body.hm-member {
  --hm-icon-blue:#0a84ff;
  --hm-icon-indigo:#5965e9;
  --hm-icon-cyan:#008ebf;
  --hm-icon-orange:#ed8431;
  --hm-icon-purple:#8754d9;
  --hm-icon-green:#16a66b;
  --hm-icon-coral:#ed5b70;
  --hm-icon-violet:#7259d5;
  --hm-icon-teal:#079eaa;
}

body.hm-body.hm-member .hm-macos-icon{
  --hm-icon-bg:var(--hm-icon-blue);
  display:inline-flex;
  flex:0 0 30px;
  width:30px;height:30px;
  box-sizing:border-box;
  align-items:center;justify-content:center;
  border:0;
  border-radius:9px;
  background:var(--hm-icon-bg);
  color:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.09);
  vertical-align:middle;
  position:relative;
}
body.hm-body.hm-member .hm-macos-icon svg,
body.hm-body.hm-member .hm-macos-icon .site-icon{
  display:block;
  width:16px;height:16px;
  color:#fff;
  stroke:currentColor;
  flex:none;
}
body.hm-body.hm-member .hm-macos-icon--home{--hm-icon-bg:var(--hm-icon-blue)}
body.hm-body.hm-member .hm-macos-icon--account{--hm-icon-bg:var(--hm-icon-indigo)}
body.hm-body.hm-member .hm-macos-icon--products{--hm-icon-bg:var(--hm-icon-cyan)}
body.hm-body.hm-member .hm-macos-icon--news{--hm-icon-bg:var(--hm-icon-orange)}
body.hm-body.hm-member .hm-macos-icon--categories{--hm-icon-bg:var(--hm-icon-purple)}
body.hm-body.hm-member .hm-macos-icon--wallet{--hm-icon-bg:var(--hm-icon-green)}
body.hm-body.hm-member .hm-macos-icon--orders{--hm-icon-bg:var(--hm-icon-coral)}
body.hm-body.hm-member .hm-macos-icon--policy{--hm-icon-bg:var(--hm-icon-violet)}
body.hm-body.hm-member .hm-macos-icon--support{--hm-icon-bg:var(--hm-icon-teal)}
body.hm-body.hm-member .hm-macos-icon--bell{--hm-icon-bg:#7155d9}
body.hm-body.hm-member .hm-macos-icon--user{--hm-icon-bg:#388cf0}
body.hm-body.hm-member .hm-macos-icon--balance{--hm-icon-bg:#10a774}
body.hm-body.hm-member .hm-macos-icon--tier{--hm-icon-bg:#e69a22}
body.hm-body.hm-member .hm-macos-icon--date{--hm-icon-bg:#6179d6}
body.hm-body.hm-member .hm-macos-icon--logout{--hm-icon-bg:#dd5263}

/* Sidebar: colored icon wells sit at the beginning of each navigation row.
   Keep the original link hit areas, active-state logic and submenu behavior. */
body.hm-body.hm-member .hm-sidebar .hm-side-link{
  display:flex;
  align-items:center;
  column-gap:10px;
  min-width:0;
}
body.hm-body.hm-member .hm-sidebar .hm-side-link>.hm-macos-icon{
  flex:0 0 30px;
}
body.hm-body.hm-member .hm-sidebar .hm-side-expand>summary.hm-side-link>.site-icon:last-child{
  margin-left:auto;
  flex:none;
}
body.hm-body.hm-member .hm-sidebar .hm-side-link:hover .hm-macos-icon,
body.hm-body.hm-member .hm-sidebar .hm-side-link.is-active .hm-macos-icon{
  box-shadow:0 2px 8px rgba(20,35,85,.18);
}

/* Member account panel: separate solid-color SVG wells, without changing
   the trusted member tier badge, balance text or account actions. */
body.hm-body.hm-member .hm-sidebar .hm-market-member-title{
  display:inline-flex;min-width:0;align-items:center;gap:6px;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-title>.hm-macos-icon{
  flex:0 0 24px;width:24px;height:24px;border-radius:7px;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-title>.hm-macos-icon svg{
  width:13px;height:13px;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-head{
  flex-wrap:wrap;row-gap:6px;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-status{
  white-space:nowrap;max-width:100%;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-detail-label{
  display:inline-flex;align-items:center;gap:7px;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-detail-label>.hm-macos-icon,
body.hm-body.hm-member .hm-sidebar .hm-market-member-orders .hm-macos-icon,
body.hm-body.hm-member .hm-sidebar .hm-market-member-logout>.hm-macos-icon{
  flex:0 0 25px;width:25px;height:25px;border-radius:7px;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-detail-label>.hm-macos-icon svg,
body.hm-body.hm-member .hm-sidebar .hm-market-member-orders .hm-macos-icon svg,
body.hm-body.hm-member .hm-sidebar .hm-market-member-logout>.hm-macos-icon svg{
  width:14px;height:14px;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-detail,
body.hm-body.hm-member .hm-sidebar .hm-market-member-orders,
body.hm-body.hm-member .hm-sidebar .hm-market-member-logout{
  min-height:36px;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-detail-label{
  min-width:0;
}
body.hm-body.hm-member .hm-sidebar .hm-market-member-detail strong{
  max-width:100%;
}

/* Toolbar: same solid SVG icons, but the toolbar controls stay 44px tall
   and keep their old destinations and notification counter. */
body.hm-body.hm-member .hm-header .hm-header-actions>a.hm-header-action{
  display:inline-flex;align-items:center;justify-content:center;
}
body.hm-body.hm-member .hm-header .hm-header-actions>a.hm-header-action>.hm-macos-icon{
  flex:0 0 30px;width:30px;height:30px;border-radius:9px;
}
body.hm-body.hm-member .hm-header .hm-header-actions>a.hm-header-action>.hm-macos-icon svg{
  width:17px;height:17px;
}
body.hm-body.hm-member .hm-security-bell .hm-security-count{
  position:absolute;z-index:2;
}
body.hm-body.hm-member .hm-search>svg.site-icon{color:#6384ae}

/* No changes to the login screen; the dark-mode engine controls background
   and typography, these wells remain white-on-solid in both themes. */
@media(max-width:760px){
  body.hm-body.hm-member .hm-sidebar .hm-side-link{column-gap:8px}
  body.hm-body.hm-member .hm-sidebar .hm-market-member-head{gap:6px}
}
@media(prefers-reduced-motion:reduce){
  body.hm-body.hm-member .hm-macos-icon{transition:none}
}


/* ===== Sidebar icon alignment + genuine SVG submenu icons (V2) =====
   Uses the actual .hm-side-submenu markup. Prior icon color rules above
   are preserved verbatim; light/dark mode and PJAX are unaffected. */
body.hm-body.hm-member .hm-sidebar .hm-side-expand > summary.hm-side-link > .hm-macos-icon--products {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  padding: 0;
  box-sizing: border-box;
  flex: 0 0 30px;
  position: relative;
  line-height: 1;
}
body.hm-body.hm-member .hm-sidebar .hm-side-expand > summary.hm-side-link > .hm-macos-icon--products > svg.site-icon {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  flex: none;
}
body.hm-body.hm-member .hm-sidebar .hm-side-submenu > a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  box-sizing: border-box;
}
body.hm-body.hm-member .hm-sidebar .hm-side-submenu > a > span:last-child {
  min-width: 0;
  line-height: 1.25;
}
body.hm-body.hm-member .hm-sidebar .hm-side-submenu .hm-macos-subicon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  padding: 0;
  box-sizing: border-box;
  border-radius: 7px;
  color: #fff;
  background-color: #2563eb;
  vertical-align: middle;
}
body.hm-body.hm-member .hm-sidebar .hm-side-submenu .hm-macos-subicon--category {
  background-color: #8b5cf6;
}
body.hm-body.hm-member .hm-sidebar .hm-side-submenu > a:nth-of-type(3n) .hm-macos-subicon--category {
  background-color: #0891b2;
}
body.hm-body.hm-member .hm-sidebar .hm-side-submenu > a:nth-of-type(3n + 1):not(:first-child) .hm-macos-subicon--category {
  background-color: #f97316;
}
body.hm-body.hm-member .hm-sidebar .hm-side-submenu .hm-macos-subicon > svg.site-icon {
  display: block;
  position: static;
  transform: none;
  width: 13px;
  height: 13px;
  margin: 0;
  padding: 0;
  color: #fff;
  stroke: currentColor;
  flex: none;
}
/* Avoid covering real SVGs with duplicate decorative pseudo-icons. */
body.hm-body.hm-member .hm-sidebar .hm-side-submenu > a::before {
  content: none;
  display: none;
}


/* Compatibility structure: member_account_popover_v34.css */
/* V35 | Member dropdown matches the V33 bell popover's actual rendered typography and surfaces.
   Scoped to the dropdown: does not affect the toolbar avatar trigger or account pages. */
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown {
  box-sizing:border-box;
  right:0;
  width:min(360px, calc(100vw - 24px));
  max-width:calc(100vw - 24px);
  padding:13px 12px 12px;
  gap:7px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  background:#fff;
  color:#050505;
  box-shadow:0 12px 28px rgba(0,0,0,.2),0 2px 4px rgba(0,0,0,.1);
  font-family:var(--hm-facebook-font,"Segoe UI",system-ui,sans-serif);
  line-height:1.3;
  font-size:13px;
  overflow-wrap:break-word;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown :is(a,span,strong,small,nav) {
  font-family:var(--hm-facebook-font,"Segoe UI",system-ui,sans-serif);
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-head {
  min-height:54px;
  padding:5px 4px 5px;
  gap:11px;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-avatar.large {
  width:48px;height:48px;flex-basis:48px;
  font-size:17px;
  border-radius:50%;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-identity {
  max-width:calc(100% - 60px);
  gap:4px;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-identity strong {
  color:#050505;
  font-size:18px;
  font-weight:700;
  line-height:1.22;
  letter-spacing:-.015em;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-identity small {
  color:#65676b;
  font-size:11px;
  line-height:1.4;
  font-weight:400;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-tier {
  max-width:100%;
  border-radius:999px;
  padding:5px 10px;
  line-height:1.25;
  font-size:11px;
  font-weight:600;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-balance {
  min-height:45px;
  padding:8px 11px;
  gap:10px;
  font-size:13px;
  line-height:1.35;
  font-weight:500;
  background:#f0f2f5;
  border:0;
  border-radius:10px;
  color:#050505;
  text-decoration:none;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-balance:hover {
  background:#e4e6eb;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-balance > span {
  font-size:13px;
  font-weight:500;
  white-space:normal;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-balance strong {
  font-size:13px;
  line-height:1.3;
  font-weight:700;
  color:#1877f2;
  white-space:nowrap;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-meta {
  padding:3px 4px;
  gap:10px;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-meta > span {
  color:#65676b;
  font-size:11px;
  line-height:1.35;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-meta strong {
  color:#050505;
  font-size:13px;
  line-height:1.35;
  font-weight:600;
  margin-top:3px;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-links {
  gap:1px;
  padding-top:9px;
  border-top:1px solid #e4e6eb;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-links > a {
  box-sizing:border-box;
  min-height:44px;
  padding:8px 10px;
  gap:11px;
  border-radius:9px;
  color:#050505;
  font-size:13px;
  font-weight:600;
  line-height:1.35;
  text-decoration:none;
  transition:background-color .15s ease;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-links > a:hover {
  background:#f0f2f5;
  color:#050505;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-links .hm-macos-icon {
  display:grid;place-items:center;
  height:28px;width:28px;
  min-width:28px;
  border-radius:50%;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-links .site-icon {
  height:15px;width:15px;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-links > a.hm-toolbar-user-logout {
  margin-top:4px;
  padding-top:10px;
  border-top:1px solid #e4e6eb;
  border-radius:9px;
  color:#c53545;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-links > a.hm-toolbar-user-logout:hover {
  background:rgba(220,53,69,.08);
  color:#c53545;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown :is(a,summary):focus-visible {
  outline:2px solid #1877f2;
  outline-offset:2px;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown {
  background:#242526;
  border-color:#3a3b3c;
  color:#e4e6eb;
  box-shadow:0 12px 28px rgba(0,0,0,.55),0 2px 4px rgba(0,0,0,.38);
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-identity strong,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-meta strong,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-links > a {
  color:#e4e6eb;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-identity small,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-meta > span {
  color:#b0b3b8;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-balance {
  background:#3a3b3c;color:#e4e6eb;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-balance:hover,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-links > a:hover {
  background:#4e4f50;color:#e4e6eb;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-balance strong {
  color:#8cbcff;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-links,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-links > a.hm-toolbar-user-logout {
  border-color:#3a3b3c;
}

/* Match the top-line typography of the notification bell popup. */
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-dropdown-title{
  display:flex;align-items:center;min-height:30px;padding:0 4px 2px;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-dropdown-title h2{
  margin:0;color:#050505;font-family:var(--hm-facebook-font,"Segoe UI",system-ui,sans-serif);
  font-size:18px;font-weight:700;line-height:1.2;letter-spacing:-.03em;text-transform:none;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-title h2{color:#e4e6eb;}

@media(max-width:600px){
  body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown {
    right:0;width:min(360px,calc(100vw - 16px));max-width:calc(100vw - 16px);
    padding:12px;border-radius:16px;
  }
  body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-identity strong {font-size:17px;}
  body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-dropdown-title h2 {font-size:17px;}
  body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-links > a {min-height:42px;}
}
@media(max-width:440px){
  body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown {
    right:-3px;
    width:min(360px,calc(100vw - 16px));
  }
}
@media(prefers-reduced-motion:reduce){
  body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-links > a {transition:none;}
}

/* V36: Membership badges: solid colors for all tiers, with no outline/border. */
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-tier.hm-tier-badge {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:6px 11px;
  min-height:27px;
  width:max-content;
  max-width:100%;
  border:0;
  outline:0;
  box-shadow:none;
  border-radius:7px;
  font:700 12px/1.25 var(--hm-facebook-font,"Segoe UI",system-ui,sans-serif);
  white-space:nowrap;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-tier.hm-tier-badge .hm-tier-icon {
  width:15px;height:15px;flex:0 0 15px;
  stroke:currentColor;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-tier.hm-tier-admin {
  background:#d92d42;color:#fff;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-tier.hm-tier-standard {
  background:#e4e6eb;color:#34373d;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-tier.hm-tier-vip {
  background:#18894d;color:#fff;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-tier.hm-tier-ssvip {
  background:#f0a029;color:#392004;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-tier.hm-tier-standard {
  background:#4b4d50;color:#fff;
}
/* The title is uppercase in the PHP markup as well (including on F5). */
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown .hm-toolbar-user-dropdown-title h2 {
  text-transform:uppercase;
}


/* Compatibility structure: bm63_loading.css */
/* BLUE MARKET V63.1 - 12 colourful orbiting dots, recreated in CSS.
   Decorative only: transparent, no backdrop, no blocked clicks.
   Applies to native navigation and existing PJAX navigation. */
.bm63-loader {
  position: fixed;
  left: 50%; top: 50%;
  width: 304px; height: 304px;
  transform: translate(-50%, -50%) scale(0.34);
  transform-origin: center;
  z-index: 150;
  border: 0; background: transparent; box-shadow: none;
  pointer-events: none; user-select: none;
  opacity: 0; visibility: hidden;
  transition: opacity 160ms ease, visibility 0s linear 160ms;
}
body.bm63-native-loading .bm63-loader,
body.bm63-route-loading .bm63-loader {
  opacity: 1; visibility: visible;
  transition: opacity 160ms ease, visibility 0s;
}
/* Centre in the content area on desktop, respecting the sidebar. */
body.hm-member .bm63-loader { left: calc(50% + 112px); }
.bm63-loader__orbit {
  position: absolute; inset: 0;
  animation: bm63-dots-orbit 3.1s linear infinite;
  transform-origin: center;
}
.bm63-loader__dot {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--bm63-size); height: var(--bm63-size);
  background: var(--bm63-color);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(var(--bm63-angle)) translateY(-120px);
  box-shadow: none;
}
/* Clockwise around the fixed LOADING label, matched to the supplied image. */
.bm63-loader__dot:nth-child(1)  { --bm63-angle: 0deg;   --bm63-size: 55px; --bm63-color: #075db4; }
.bm63-loader__dot:nth-child(2)  { --bm63-angle: 30deg;  --bm63-size: 18px; --bm63-color: #77449d; }
.bm63-loader__dot:nth-child(3)  { --bm63-angle: 60deg;  --bm63-size: 22px; --bm63-color: #ae3c9f; }
.bm63-loader__dot:nth-child(4)  { --bm63-angle: 90deg;  --bm63-size: 25px; --bm63-color: #e33891; }
.bm63-loader__dot:nth-child(5)  { --bm63-angle: 120deg; --bm63-size: 29px; --bm63-color: #f41b37; }
.bm63-loader__dot:nth-child(6)  { --bm63-angle: 150deg; --bm63-size: 33px; --bm63-color: #f97719; }
.bm63-loader__dot:nth-child(7)  { --bm63-angle: 180deg; --bm63-size: 37px; --bm63-color: #fc9619; }
.bm63-loader__dot:nth-child(8)  { --bm63-angle: 210deg; --bm63-size: 40px; --bm63-color: #ffc018; }
.bm63-loader__dot:nth-child(9)  { --bm63-angle: 240deg; --bm63-size: 42px; --bm63-color: #fff100; }
.bm63-loader__dot:nth-child(10) { --bm63-angle: 270deg; --bm63-size: 46px; --bm63-color: #86f400; }
.bm63-loader__dot:nth-child(11) { --bm63-angle: 300deg; --bm63-size: 49px; --bm63-color: #04a993; }
.bm63-loader__dot:nth-child(12) { --bm63-angle: 330deg; --bm63-size: 52px; --bm63-color: #039ed4; }
.bm63-loader__label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26px; font-weight: 600;
  line-height: 1.2; letter-spacing: .015em;
  white-space: nowrap;
  color: #20242b;
  text-shadow: none;
}
html[data-hm-theme="dark"] .bm63-loader__label,
body.hm-dark .bm63-loader__label { color: #f5f7ff; }
@keyframes bm63-dots-orbit { to { transform: rotate(360deg); } }
@media (max-width: 780px) {
  body.hm-member .bm63-loader { left: 50%; }
  .bm63-loader { width: 304px; height: 304px; transform: translate(-50%, -50%) scale(.28); }
}
@media (prefers-reduced-motion: reduce) {
  .bm63-loader__orbit { animation: none; }
  .bm63-loader { transition: none; }
}


/* Compatibility structure: member_auth_embedded.css */
/* BLUE MARKET 2026-10-21: single white authentication canvas with shared sidebar/toolbar. */
/* Elevated white authentication panel. Uses the site's content column only.
   Empty space below the form is part of the full-height panel, not a promo pane. */
body.hm-body.hm-member .hm-shell-main > main.hm-auth-page {
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:center;
  width:100%;
  max-width:none;
  min-width:0;
  min-height:max(520px,calc(100dvh - 106px));
  height:auto;
  margin:0;
  padding:0;
  background:#fff;
  border:1px solid #e1e9f3;
  border-radius:14px;
  box-shadow:0 5px 18px rgba(30,55,85,.09),0 20px 48px rgba(26,55,86,.045);
  overflow:hidden;
}
body.hm-body.hm-member .hm-shell-main > main.hm-auth-page > .hm-auth-form-wrap {
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:stretch;
  width:100%;
  max-width:none;
  min-height:max(520px,calc(100dvh - 106px));
  height:auto;
  margin:0;
  padding:clamp(25px,4vw,54px);
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}
body.hm-body.hm-member .hm-auth-form-wrap > :is(.hm-auth-form-heading,.hm-auth-form,.hm-auth-switch,.device-pending-state,.totp-cancel-form,.totp-login-help){
  box-sizing:border-box;
  width:100%;
  max-width:530px;
  margin-left:auto;
  margin-right:auto;
}
body.hm-body.hm-member .hm-auth-form-heading{margin-bottom:23px}
body.hm-body.hm-member .hm-auth-form-heading h2{font-size:clamp(22px,2.1vw,29px);line-height:1.3}
body.hm-body.hm-member .hm-auth-form :is(input[type=email],input[type=password],input[type=text]),
body.hm-body.hm-member .hm-auth-field input {
  background:#f8fbff;border:1px solid #dbe5f1;color:#193753;
  border-radius:9px;transition:border-color .17s,box-shadow .17s;
}
body.hm-body.hm-member .hm-auth-form :is(input[type=email],input[type=password],input[type=text]):focus,
body.hm-body.hm-member .hm-auth-field input:focus {
  background:#fff;border-color:#2189d9;box-shadow:0 0 0 3px rgba(26,122,213,.13);
}
body.hm-body.hm-member .hm-auth-submit{background:#0874d1;border-radius:9px;box-shadow:none;min-height:45px}
body.hm-body.hm-member .hm-auth-submit:hover{background:#0564b7}
body.hm-body.hm-member .hm-auth-submit:focus-visible,
body.hm-body.hm-member .hm-auth-switch a:focus-visible{outline:3px solid #7bbdfe;outline-offset:3px}
body.hm-body.hm-member .hm-auth-form-wrap .trusted-device-remember{line-height:1.55}
body.hm-body.hm-member .hm-auth-register-form{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main > main.hm-auth-page {
  background:#1c2b3d;border-color:#3a506a;
  color:#e7f1fe;box-shadow:0 8px 30px rgba(0,0,0,.27);
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main > main.hm-auth-page > .hm-auth-form-wrap {
  background:transparent;color:#e7f1fe;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-auth-form-heading h2{color:#f1f7ff}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-auth-form-heading p,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-auth-switch{color:#b6c7df}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-auth-form label,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-auth-field label{color:#dce8f8}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-auth-form :is(input[type=email],input[type=password],input[type=text]),
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-auth-field input{
  background:#233950;color:#f0f6ff;border-color:#48617e;
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-auth-form :is(input[type=email],input[type=password],input[type=text]):focus,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-auth-field input:focus{
  background:#2b435d;border-color:#7ac4ff;box-shadow:0 0 0 3px rgba(67,161,238,.21);
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-auth-switch{border-top-color:#425570}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-auth-switch a{color:#88caff}
@media(max-width:760px){
 body.hm-body.hm-member .hm-shell-main > main.hm-auth-page,
 body.hm-body.hm-member .hm-shell-main > main.hm-auth-page > .hm-auth-form-wrap{min-height:max(460px,calc(100dvh - 205px))}
 body.hm-body.hm-member .hm-shell-main > main.hm-auth-page > .hm-auth-form-wrap{padding:28px 20px}
}
@media(max-width:480px){
 body.hm-body.hm-member .hm-shell-main > main.hm-auth-page > .hm-auth-form-wrap{padding:24px 14px}
 body.hm-body.hm-member .hm-auth-register-form{grid-template-columns:1fr}
}


/* Compatibility structure: member_public_gate.css */
/* Public home and product-membership gate: same white panels as the main site. */
/* Public pages keep their SEO-visible content; product gate is a raised white card. */
body.hm-body.hm-member .hm-shell-main > main.hm-visitor-page {
  box-sizing:border-box;width:100%;max-width:none;min-width:0;
  min-height:max(520px,calc(100dvh - 106px));
  display:flex;flex-direction:column;gap:13px;
  background:transparent;margin:0;padding:0;
}
body.hm-body.hm-member .hm-shell-main > main.hm-visitor-page > .hm-visitor-panel{
  box-sizing:border-box;position:relative;background:#fff;
  border:1px solid #e1e9f3;border-radius:14px;
  box-shadow:0 5px 18px rgba(30,55,85,.09),0 20px 48px rgba(26,55,86,.045);
  padding:clamp(24px,4vw,54px);
}
.hm-visitor-kicker{display:flex;align-items:center;gap:7px;color:#1175c6;font-size:11px;font-weight:800;letter-spacing:.05em}
.hm-visitor-panel h1{font-size:clamp(24px,2.7vw,34px);line-height:1.28;color:#183a5b;letter-spacing:-.015em;margin:13px 0 12px}
.hm-visitor-panel p{color:#5b738c;font-size:14px;line-height:1.8;max-width:760px;margin:0}
.hm-visitor-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:23px}
.hm-visitor-actions a{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:44px;border-radius:9px;padding:10px 18px;font-size:13px;font-weight:750;text-decoration:none;transition:background .18s,box-shadow .18s}
.hm-visitor-primary{background:#0874d1;color:#fff}
.hm-visitor-primary:hover{background:#055da9;color:#fff}
.hm-visitor-secondary{background:#eef5fd;color:#0c65b2}
.hm-visitor-secondary:hover{background:#e0eefc}
.hm-visitor-panel .site-icon,.hm-visitor-links .site-icon{width:19px;height:19px}
.hm-visitor-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:15px}
.hm-visitor-links a{position:relative;display:flex;flex-direction:column;gap:8px;padding:19px;background:#fff;border:1px solid #e1eaf3;border-radius:10px;text-decoration:none;min-width:0;color:#195687}
.hm-visitor-links a:hover{background:#f8fbff;border-color:#b1d6f2}
.hm-visitor-links a strong{color:#254667;font-size:16px}
.hm-visitor-links a span{font-size:12px;line-height:1.6;color:#71879c}
.hm-visitor-links a .site-icon:last-child{position:absolute;right:15px;top:18px;width:16px;height:16px}
.hm-visitor-gate{flex:1 0 auto;min-height:max(450px,calc(100dvh - 108px));display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.hm-visitor-gate p{max-width:610px}
.hm-visitor-gate .hm-visitor-actions{justify-content:center}
.hm-visitor-lock{display:grid;place-items:center;border-radius:14px;width:53px;height:53px;background:#edf6fe;color:#1175c6;margin-bottom:16px}
.hm-visitor-lock .site-icon{width:24px;height:24px}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main > main.hm-visitor-page > .hm-visitor-panel{
 background:#1c2b3d;color:#e2f1ff;border-color:#3a526f;
 box-shadow:0 8px 30px rgba(0,0,0,.27);
}
html[data-hm-theme="dark"] .hm-visitor-links a{background:#1c2b3d;color:#e2f1ff;border-color:#3a526f}
html[data-hm-theme="dark"] .hm-visitor-panel h1,
html[data-hm-theme="dark"] .hm-visitor-links a strong{color:#e6f1ff}
html[data-hm-theme="dark"] .hm-visitor-panel p,
html[data-hm-theme="dark"] .hm-visitor-links a span{color:#b6c8df}
html[data-hm-theme="dark"] .hm-visitor-secondary{background:#243e58;color:#a1d4ff}
html[data-hm-theme="dark"] .hm-visitor-lock{background:#29435c;color:#9cd2ff}
@media(max-width:850px){.hm-visitor-links{grid-template-columns:1fr}}
@media(max-width:760px){
 body.hm-body.hm-member .hm-shell-main > main.hm-visitor-page{min-height:max(460px,calc(100dvh - 205px))}
 .hm-visitor-gate{min-height:max(460px,calc(100dvh - 205px))}
}
@media(max-width:520px){
 body.hm-body.hm-member .hm-shell-main > main.hm-visitor-page{padding:0}
 body.hm-body.hm-member .hm-shell-main > main.hm-visitor-page > .hm-visitor-panel{padding:28px 18px}
 .hm-visitor-actions a{width:100%}
}


/* Compatibility structure: refund_v57.css */
/* BLUE MARKET V57 — isolated refund form. Loaded via the page <head> so PJAX can sync styles. */
body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57{display:block;box-sizing:border-box;margin:16px 0 2px;padding:16px 18px;max-width:100%;border:1px solid #c7d7e7;border-radius:12px;background:#f7fbff;color:#243d57;}
body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 .bm-refund-heading-v57{display:block;margin:0 0 7px;font-size:16px;font-weight:750;line-height:1.4;color:inherit;}
body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 .bm-refund-help-v57{display:block;margin:0 0 14px;font-size:13px;line-height:1.55;color:#536e86;}
body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 form.bm-refund-form-v57{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:9px;width:100%;max-width:100%;margin:0;padding:0;float:none;position:static;}
body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 .bm-refund-label-v57{display:block;position:static;width:100%;max-width:100%;margin:0;padding:0;font-size:13px;font-weight:650;line-height:1.5;color:#324f6a;float:none;}
body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 .bm-refund-label-v57 span{font-size:12px;font-weight:450;opacity:.8;}
body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 textarea.bm-refund-reason-v57{display:block;position:static;float:none;box-sizing:border-box;align-self:stretch;flex:0 0 auto;width:100%;min-width:0;max-width:100%;height:105px;min-height:105px;max-height:260px;padding:12px 14px;margin:0;border:1px solid #bed0e2;border-radius:10px;background:#fff;color:#243d57;font:inherit;font-size:13px;line-height:1.55;resize:vertical;box-shadow:none;}
body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 textarea.bm-refund-reason-v57:focus-visible{outline:none;border-color:#168de2;box-shadow:0 0 0 3px rgba(22,141,226,.16);}
body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 .bm-refund-footer-v57{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:5px 0 0;padding:0;}
body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 button.bm-refund-submit-v57{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;position:static;flex:0 0 auto;width:auto;max-width:100%;min-width:0;height:38px;min-height:38px;box-sizing:border-box;padding:0 16px;margin:0;border:0;border-radius:9px;background:#1683d4;color:#fff;font-size:13px;font-weight:700;line-height:1;white-space:normal;cursor:pointer;}
body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 button.bm-refund-submit-v57:hover{background:#116bb1;}
body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 .bm-refund-footer-v57 small{display:block;max-width:100%;margin:0;font-size:12px;line-height:1.5;color:#58728a;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57{background:#1c2b42;border-color:#405773;color:#edf3fd;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 .bm-refund-help-v57,html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 .bm-refund-footer-v57 small{color:#b7c8df;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 .bm-refund-label-v57{color:#e1ecfa;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 textarea.bm-refund-reason-v57{background:#162238;border-color:#3d5474;color:#eaf2fc;}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 textarea.bm-refund-reason-v57::placeholder{color:#92a7c1;opacity:1;}
@media(max-width:640px){body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57{padding:14px 12px;}body.hm-body.hm-member .hm-shell-main .bm-refund-request-v57 button.bm-refund-submit-v57{width:100%;}}


}

/* ===============================================================
 BLUE MARKET · VEXUI CRM-INSPIRED INTERFACE · 2026-10-21
 One loaded CSS file; legacy theme layers no longer referenced.
 Theme is original, no VexUI commercial CSS, fonts or imagery copied.
 =============================================================== */
@layer bm-compatibility;
:root{--vx-font:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;--vx-bg:#f7f8fc;--vx-panel:#fff;--vx-heading:#111827;--vx-text:#344054;--vx-muted:#8390a5;--vx-line:#e8eaf1;--vx-strongline:#dce0e9;--vx-primary:#6657e8;--vx-hover:#5140d3;--vx-soft:#f0efff;--vx-lilac:#9691f5;--vx-success:#119f75;--vx-glow:0 5px 26px rgba(16,24,40,.035);--vx-shadow:0 4px 16px rgba(21,29,65,.035);--vx-sidebar:260px;--hm-sidebar-width:260px;--hm-facebook-font:var(--vx-font);--blue:var(--vx-primary);--blue-d:var(--vx-hover);--ink:var(--vx-heading);--muted:var(--vx-muted);--border:var(--vx-line);--bg:var(--vx-bg);--surface:var(--vx-panel);--ht-bg:var(--vx-bg);--ht-surface:var(--vx-panel);--ht-soft:#f7f8fc;--ht-input:var(--vx-panel);--ht-ink:var(--vx-heading);--ht-secondary:var(--vx-muted);--ht-muted:var(--vx-muted);--ht-line:var(--vx-line);--ht-rule:var(--vx-line);--ht-hover:#f5f4ff;--ht-active:var(--vx-soft);--ht-link:var(--vx-primary);color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
html{min-width:320px;background:var(--vx-bg);scroll-behavior:smooth}
body.hm-body{background:var(--vx-bg);color:var(--vx-text);margin:0;font:400 13px/1.6 var(--vx-font);-webkit-font-smoothing:antialiased;letter-spacing:-.008em}
body.hm-body :is(button,input,textarea,select,option,a,summary,table,label,p,span,strong,h1,h2,h3,h4){font-family:var(--vx-font)}
body.hm-body :is(h1,h2,h3,h4){color:var(--vx-heading);letter-spacing:-.035em;font-weight:750;line-height:1.3}
body.hm-body :is(p,small){color:var(--vx-muted)}
body.hm-body :is(a,button,summary){-webkit-tap-highlight-color:transparent;transition:background-color .16s,border-color .16s,color .16s,box-shadow .16s,transform .16s}
body.hm-body :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid color-mix(in srgb,var(--vx-primary) 55%,transparent);outline-offset:2px}
body.hm-body .site-icon{height:18px;width:18px;flex:0 0 18px;display:inline-block;color:inherit;stroke:currentColor}
body.hm-body [hidden]{display:none!important}
/* Shell: one sidebar and one header, no leftover floating legacy containers. */
body.hm-body.hm-member{padding:0;margin:0;min-height:100vh;min-height:100dvh;max-width:none;width:100%;background:var(--vx-bg);--hm-outer-gap:0px}
body.hm-body.hm-member .hm-shell{display:block;max-width:none;width:calc(100% - var(--vx-sidebar));margin:0 0 0 var(--vx-sidebar);padding:0;border:0;background:transparent;min-height:calc(100dvh - 72px)}
body.hm-body.hm-member .hm-shell-main{display:block;position:relative;min-width:0;max-width:none;width:100%;padding:25px 27px 32px;margin:0;overflow:visible;background:var(--vx-bg);min-height:calc(100dvh - 72px)}
body.hm-body.hm-member .hm-sidebar{display:flex;flex-direction:column;position:fixed;top:0;bottom:0;left:0;z-index:50;width:var(--vx-sidebar);height:100dvh;min-height:0;max-height:none;background:var(--vx-panel);margin:0;padding:0;border:0;border-right:1px solid var(--vx-line);border-radius:0;box-shadow:none;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;gap:0}
body.hm-body.hm-member .hm-sidebar > .ht-sidebar-header-panel{display:contents;background:none;border:0;box-shadow:none;padding:0;margin:0}
body.hm-body.hm-member .hm-sidebar .ht-sidebar-brand{order:0;display:flex;align-items:center;gap:11px;flex:0 0 73px;width:100%;height:73px;min-height:73px;max-height:73px;padding:12px 20px;margin:0;border:0;border-bottom:1px solid var(--vx-line);border-radius:0;box-shadow:none;background:var(--vx-panel);text-decoration:none}
body.hm-body.hm-member .ht-sidebar-brand-mark{height:39px;width:39px;min-width:39px;flex:0 0 39px;display:grid;place-items:center;color:#fff;background:linear-gradient(137deg,#8276f0,#5c4bda);border-radius:12px;border:0;box-shadow:0 4px 12px rgba(105,87,232,.2)}
body.hm-body.hm-member .ht-sidebar-brand-mark .site-icon{stroke:#fff;color:#fff;width:20px;height:20px;opacity:1}
body.hm-body.hm-member .ht-sidebar-brand-copy{display:flex;flex-direction:column;gap:0;min-width:0}
body.hm-body.hm-member .ht-sidebar-brand-copy strong{color:var(--vx-heading);font-size:14.5px;font-weight:800;letter-spacing:-.035em;line-height:1.35}
body.hm-body.hm-member .ht-sidebar-brand-copy small{font-size:9px;color:#98a1b2;font-weight:700;letter-spacing:.10em;line-height:1.6}
body.hm-body.hm-member .hm-side-links{order:1;flex:1 0 auto;display:flex;flex-direction:column;gap:3px;padding:20px 12px 13px;margin:0;background:transparent;border:0;overflow:visible}
body.hm-body.hm-member .hm-side-links::before{content:'MENU CHÍNH';font:700 10px/1.4 var(--vx-font);letter-spacing:.14em;color:#9ca4b3;padding:0 11px;margin:0 0 9px}
body.hm-body.hm-member .hm-side-link,body.hm-body.hm-member .hm-side-expand > summary.hm-side-link{display:flex;align-items:center;gap:10px;min-height:41px;margin:0;padding:9px 12px;width:100%;font-size:12.6px;line-height:1.45;font-weight:550;color:#667085;border:0;background:transparent;border-radius:9px;box-shadow:none;text-decoration:none;white-space:nowrap;cursor:pointer}
body.hm-body.hm-member .hm-side-link:hover,body.hm-body.hm-member .hm-side-expand > summary.hm-side-link:hover{background:#f6f5ff;color:var(--vx-primary)}
body.hm-body.hm-member .hm-side-link.is-active,body.hm-body.hm-member .hm-side-link[aria-current="page"]{background:var(--vx-soft);color:var(--vx-primary);font-weight:730}
body.hm-body.hm-member .hm-side-link .hm-macos-icon{height:28px;width:28px;min-width:28px;border:0;display:grid;place-items:center;background:transparent;border-radius:7px;box-shadow:none;padding:0;color:inherit}
body.hm-body.hm-member .hm-side-link .hm-macos-icon .site-icon{width:18px;height:18px;color:inherit;stroke:currentColor;opacity:1;filter:none}
body.hm-body.hm-member .hm-side-submenu{padding:5px 7px 8px 31px;border:0;background:none;box-shadow:none}
body.hm-body.hm-member .hm-side-submenu a{display:flex;align-items:center;min-height:34px;gap:7px;border-radius:7px;padding:6px 9px;font-size:12px;color:var(--vx-muted)}
body.hm-body.hm-member .hm-side-submenu a:hover,body.hm-body.hm-member .hm-side-submenu a[aria-current="page"]{background:var(--vx-soft);color:var(--vx-primary)}
body.hm-body.hm-member .hm-side-submenu .hm-macos-subicon{display:grid;place-items:center;width:22px;height:22px;border:0;background:transparent;color:inherit;border-radius:0;box-shadow:none}
body.hm-body.hm-member .hm-side-submenu .site-icon{height:15px;width:15px}
body.hm-body.hm-member .ht-sidebar-preferences{order:2;position:relative;flex:0 0 auto;display:flex;flex-direction:column;width:100%;padding:18px 15px 22px;margin:0;border:0;border-top:1px solid var(--vx-line);border-radius:0;background:var(--vx-panel);box-shadow:none;gap:7px}
body.hm-body.hm-member .ht-sidebar-preferences-heading{font-size:10px;letter-spacing:.12em;font-weight:750;color:#98a2b3;padding-left:8px;margin:0 0 4px}
body.hm-body.hm-member .hm-toolbar-preferences{display:grid;gap:8px;width:100%;padding:0;background:none;border:0;box-shadow:none}
body.hm-body.hm-member .ht-sidebar-preference-row{display:flex;align-items:center;justify-content:space-between;min-height:43px;width:100%;padding:4px 8px;background:none;border:0;box-shadow:none;border-radius:7px;gap:6px}
body.hm-body.hm-member .ht-sidebar-pref-label{display:flex;align-items:center;gap:9px;font-size:11.5px;font-weight:550;color:var(--vx-text)}
body.hm-body.hm-member .ht-sidebar-pref-icon{width:24px;height:24px;min-width:24px;display:grid;place-items:center;background:var(--vx-soft);border:0;border-radius:7px;color:var(--vx-primary);font-size:10px}
body.hm-body.hm-member .hm-pref-switch{flex:0 0 auto;border:0;background:transparent;width:51px;height:27px;min-height:27px;padding:0;box-shadow:none;border-radius:15px}
body.hm-body.hm-member .hm-pref-switch-track{height:26px;min-height:26px;width:50px;border-radius:30px;background:#f0f1f8;border:1px solid #e4e6ef;box-shadow:none;overflow:hidden}
body.hm-body.hm-member .hm-pref-switch-thumb{background:var(--vx-primary);border-radius:12px;box-shadow:0 1px 3px rgba(15,23,42,.13)}
body.hm-body.hm-member .hm-sidebar .hm-mobile-menu{display:none}
/* Header: lightweight CRM utility navigation. */
body.hm-body.hm-member .hm-header.hm-header-logged{position:sticky;top:0;z-index:45;display:flex;align-items:center;justify-content:space-between;gap:18px;width:calc(100% - var(--vx-sidebar));min-width:0;height:73px;min-height:73px;padding:0 26px;margin:0 0 0 var(--vx-sidebar);background:var(--vx-panel);border:0;border-bottom:1px solid var(--vx-line);border-radius:0;box-shadow:none}
body.hm-body.hm-member .hm-header .hm-header-middle{display:flex;align-items:center;min-width:0;flex:1;gap:20px;padding:0;margin:0;background:none;border:0}
body.hm-body.hm-member .ht-toolbar-location{display:flex;align-items:center;gap:12px;min-width:160px;width:auto;padding:0;margin:0;background:transparent;border:0;box-shadow:none;border-radius:0}
body.hm-body.hm-member .ht-toolbar-location-icon{display:grid;place-items:center;width:35px;height:35px;min-width:35px;border-radius:9px;background:var(--vx-soft);color:var(--vx-primary);border:0;box-shadow:none}
body.hm-body.hm-member .ht-toolbar-location-icon .site-icon{width:18px;height:18px;color:inherit}
body.hm-body.hm-member .ht-toolbar-location-copy{display:flex;flex-direction:column;min-width:0;gap:0}
body.hm-body.hm-member .ht-toolbar-location-copy small{font-size:10px;line-height:1.4;color:#98a2b3;letter-spacing:.065em;font-weight:650}
body.hm-body.hm-member .ht-toolbar-location-copy strong{font-size:14px;line-height:1.4;font-weight:750;color:var(--vx-heading);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.hm-body.hm-member .hm-header .hm-search{display:flex;align-items:center;gap:9px;max-width:460px;flex:1 1 200px;min-width:0;min-height:39px;height:39px;padding:0 4px 0 11px;border:1px solid var(--vx-line);border-radius:9px;background:#f9fafc;color:var(--vx-muted);box-shadow:none}
body.hm-body.hm-member .hm-header .hm-search input{flex:1 1 auto;min-width:0;background:none;border:0;box-shadow:none;outline:none;font-size:12.5px;color:var(--vx-heading);height:100%}
body.hm-body.hm-member .hm-header .hm-search button{display:inline-flex;align-items:center;gap:4px;justify-content:center;background:var(--vx-primary);color:#fff;border:0;border-radius:7px;min-height:30px;height:30px;padding:0 11px;font-size:11px;font-weight:700;box-shadow:none}
body.hm-body.hm-member .ht-toolbar-quicklinks{display:flex;align-items:center;gap:8px;margin-left:auto}
body.hm-body.hm-member .ht-toolbar-quick{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:35px;padding:0 12px;background:#f5f6fa;color:#5f6b7f;border:1px solid var(--vx-line);box-shadow:none;border-radius:8px;font-size:11.7px;font-weight:650;white-space:nowrap}
body.hm-body.hm-member .ht-toolbar-quick:hover{background:var(--vx-soft);color:var(--vx-primary);border-color:#dcd9fc}
body.hm-body.hm-member .ht-toolbar-quick .site-icon{width:15px;height:15px;flex-basis:15px}
body.hm-body.hm-member .hm-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto;margin:0;padding:0;background:none;border:0}
body.hm-body.hm-member .hm-header-action{height:35px;width:35px;min-width:35px;border:1px solid var(--vx-line);border-radius:9px;display:grid;place-items:center;background:#fff;box-shadow:none;color:#667085}
body.hm-body.hm-member .hm-header-action:hover{background:var(--vx-soft);color:var(--vx-primary)}
body.hm-body.hm-member .hm-notification-popover,body.hm-body.hm-member [role="dialog"]{color:var(--vx-text);border:1px solid var(--vx-line);background:var(--vx-panel);box-shadow:0 18px 40px rgba(16,24,40,.13);border-radius:13px}
body.hm-body.hm-member .hm-notification-popover :is(h2,h3){color:var(--vx-heading)}
/* Page outer surface and nested dashboard cards */
body.hm-body.hm-member .hm-shell-main > main{min-width:0;margin:0;max-width:100%;width:100%;background:transparent;color:var(--vx-text)}
body.hm-body.hm-member .hm-shell-main > main.hm-unified-page,body.hm-body.hm-member .hm-shell-main > main.hm-home,body.hm-body.hm-member .hm-shell-main > main.hm-public-info{display:block;padding:0;box-shadow:none;border:0;border-radius:0;background:transparent}
body.hm-body.hm-member :is(.hm-market,.hm-public-info-sheet,.hm-unified-panel,.hm-auth-form-wrap,.hm-visitor-panel,.commerce-card,.account-panel,.reading-card,.hm-device-security-panel,.wallet-card,.hm-category-panel,.hm-category-group,.hm-product-card,.hm-v36-card,.hm-news-card,.hm-public-info-card,.hm-account-card,.hm-notification-card,.hm-news-item,.hm-login-history-entry,.hm-trusted-device-card,.hm-visitor-links a){background:var(--vx-panel);color:var(--vx-text);border:1px solid var(--vx-line);border-radius:13px;box-shadow:var(--vx-shadow)}
body.hm-body.hm-member :is(.hm-market,.hm-public-info-sheet,.hm-unified-panel,.commerce-card,.account-panel,.reading-card,.hm-device-security-panel,.wallet-card){padding:22px}
body.hm-body.hm-member :is(.hm-market,.hm-public-info-sheet,.hm-unified-panel) > :is(h1,h2,h3):first-child{margin-top:0}
body.hm-body.hm-member :is(.hm-public-info-sheet,.hm-market) .hm-section-title{font-weight:750}
body.hm-body.hm-member :is(.hm-news-grid,.news-grid,.hm-product-list,.hm-category-groups){gap:15px}
body.hm-body.hm-member :is(.hm-category-panel,.hm-category-group){margin-bottom:15px}
body.hm-body.hm-member .hm-v36-card{transition:border-color .18s,box-shadow .18s,transform .18s}
body.hm-body.hm-member .hm-v36-card:hover{border-color:#d5d4f4;box-shadow:0 8px 24px rgba(31,37,83,.08);transform:translateY(-1px)}
body.hm-body.hm-member .hm-v36-status{border-radius:7px;font-size:11px}
body.hm-body.hm-member :is(.hm-row-view,.hm-row-buy,.hm-v36-action,.button-main,.button-primary,.hm-auth-submit){display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:8px;background:var(--vx-primary);color:white;font-size:12px;font-weight:700;padding:10px 16px;line-height:1.4;box-shadow:none;text-decoration:none}
body.hm-body.hm-member :is(.hm-row-view,.hm-row-buy,.hm-v36-action,.button-main,.button-primary,.hm-auth-submit):hover:not(:disabled){background:var(--vx-hover);color:#fff}
body.hm-body.hm-member :is(.hm-row-buy[disabled],.hm-v36-action[disabled]){opacity:.5;cursor:not-allowed}
body.hm-body.hm-member :is(.button,.hm-visitor-secondary,.hm-row-view,.hm-auth-switch a){font-weight:700}
body.hm-body.hm-member :is(input[type="text"],input[type="password"],input[type="email"],input[type="search"],input[type="number"],input[type="tel"],textarea,select){background:var(--vx-panel);border:1px solid var(--vx-strongline);border-radius:8px;color:var(--vx-heading);box-shadow:none;min-height:41px;padding:10px 12px;font-size:13px}
body.hm-body.hm-member :is(input,textarea,select):focus{border-color:#9890f7;box-shadow:0 0 0 3px rgba(102,87,232,.10);outline:0}
body.hm-body.hm-member :is(input,textarea)::placeholder{color:#a7adba}
body.hm-body.hm-member :is(label,legend){color:var(--vx-text);font-weight:650}
body.hm-body.hm-member table{border-collapse:separate;border-spacing:0;background:var(--vx-panel);border-radius:9px;overflow:hidden;color:var(--vx-text)}
body.hm-body.hm-member table :is(th,td){padding:11px 13px;border-bottom:1px solid var(--vx-line);font-size:12.3px}
body.hm-body.hm-member table th{font-weight:700;background:#f9fafc;color:#7c8798}
body.hm-body.hm-member table tr:hover td{background:#fbfaff}
body.hm-body.hm-member :is(.hm-tier-badge,.hm-row-tag,.stock,.hm-v36-status,.hm-notification-badge){border-radius:7px}
body.hm-body.hm-member :is(.hm-tabs a,.hm-tabs button,.account-tabs a,.category-tab){border-radius:8px;font-weight:650}
body.hm-body.hm-member :is(.hm-tabs .is-active,.account-tabs a.active,.category-tab.selected){background:var(--vx-soft);color:var(--vx-primary)}
body.hm-body.hm-member .hm-flash-area{width:100%;max-width:none;margin:0;padding:0}
body.hm-body.hm-member .hm-flash-area :is(.alert,.flash){border-radius:9px;border:1px solid var(--vx-line);box-shadow:none;background:var(--vx-panel)}
/* Guest home adapted as modern CRM hero + compact shortcut tiles. */
body.hm-body.hm-member .hm-shell-main > main.hm-visitor-page{display:flex;flex-direction:column;gap:16px;min-height:calc(100dvh - 122px);padding:0;border:0;box-shadow:none;background:transparent}
body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel{position:relative;flex:1 0 auto;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.92fr);grid-template-rows:1fr;align-items:center;gap:35px;overflow:hidden;min-height:420px;padding:50px 53px;margin:0;border:1px solid var(--vx-line);background:var(--vx-panel);border-radius:15px;box-shadow:var(--vx-glow);text-align:left;isolation:isolate}
body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel::before{content:'';position:absolute;left:0;top:0;right:0;height:4px;background:linear-gradient(90deg,#6f5de7,#a9a2fa 58%,#edeaff);z-index:1}
body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel::after{content:'';position:absolute;width:380px;height:380px;right:-120px;top:-175px;border-radius:50%;background:radial-gradient(circle,rgba(102,87,232,.07),transparent 70%);pointer-events:none}
body.hm-body.hm-member .hm-visitor-lock{grid-column:1;grid-row:1;align-self:start;justify-self:start;position:absolute;left:53px;top:39px;display:grid;place-items:center;width:42px;height:42px;background:var(--vx-soft);color:var(--vx-primary);border-radius:11px;margin:0;border:0}
body.hm-body.hm-member .hm-visitor-lock .site-icon{width:19px;height:19px}
body.hm-body.hm-member .hm-visitor-kicker{grid-column:1;grid-row:1;align-self:center;position:relative;display:inline-flex;align-items:center;max-width:fit-content;margin-top:-139px;padding:5px 11px;font-size:10.5px;letter-spacing:.055em;font-weight:750;color:var(--vx-primary);background:var(--vx-soft);border-radius:100px;white-space:nowrap}
body.hm-body.hm-member .hm-visitor-panel h1{grid-column:1;grid-row:1;align-self:center;position:relative;z-index:2;max-width:660px;margin:-48px 0 0;font-size:clamp(30px,2.9vw,43px);line-height:1.18;font-weight:800;letter-spacing:-.055em;color:var(--vx-heading);text-align:left;text-transform:none}
body.hm-body.hm-member .hm-visitor-panel p{grid-column:1;grid-row:1;align-self:center;position:relative;max-width:570px;margin:104px 0 0;color:#798499;font-size:13.4px;line-height:1.85;text-align:left}
body.hm-body.hm-member .hm-visitor-actions{grid-column:1;grid-row:1;align-self:center;justify-content:flex-start;display:flex;flex-wrap:wrap;gap:11px;margin:249px 0 0;position:relative;z-index:3}
body.hm-body.hm-member .hm-visitor-actions a{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;min-width:132px;padding:10px 17px;border:1px solid transparent;border-radius:8px;font-size:12.2px;font-weight:750;box-shadow:none}
body.hm-body.hm-member .hm-visitor-actions .hm-visitor-primary{background:var(--vx-primary);color:#fff;border-color:var(--vx-primary)}
body.hm-body.hm-member .hm-visitor-actions .hm-visitor-primary:hover{background:var(--vx-hover)}
body.hm-body.hm-member .hm-visitor-actions .hm-visitor-secondary{background:var(--vx-panel);color:var(--vx-primary);border-color:#d9d6fa}
body.hm-body.hm-member .hm-visitor-actions .hm-visitor-secondary:hover{background:var(--vx-soft)}
body.hm-body.hm-member .hm-visitor-page .bm-vex-visitor-art{grid-column:2;grid-row:1;position:relative;display:block;align-self:center;justify-self:center;max-width:100%;width:min(460px,100%);height:auto;object-fit:contain;filter:none;margin:0;z-index:2}
body.hm-body.hm-member .hm-visitor-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0}
body.hm-body.hm-member .hm-visitor-links a{position:relative;display:grid;grid-template-columns:39px minmax(0,1fr);grid-template-rows:auto auto;gap:2px 12px;min-height:99px;align-items:center;margin:0;padding:18px 19px;border-radius:12px;border:1px solid var(--vx-line);background:var(--vx-panel);box-shadow:var(--vx-shadow);color:var(--vx-muted);text-decoration:none}
body.hm-body.hm-member .hm-visitor-links a:hover{border-color:#d4d0fb;box-shadow:0 5px 19px rgba(61,51,158,.07);transform:translateY(-1px)}
body.hm-body.hm-member .hm-visitor-links a > .site-icon:first-child{grid-row:1 / span 2;grid-column:1;display:grid;place-self:center;width:39px;height:39px;padding:10px;color:var(--vx-primary);background:var(--vx-soft);border-radius:9px}
body.hm-body.hm-member .hm-visitor-links a strong{grid-column:2;grid-row:1;font-size:13px;font-weight:750;color:var(--vx-heading)}
body.hm-body.hm-member .hm-visitor-links a span{grid-column:2;grid-row:2;font-size:11px;line-height:1.55;color:var(--vx-muted)}
body.hm-body.hm-member .hm-visitor-links a > .site-icon:last-child{display:none}
/* Products access gate: centered compact card, no fake inventory. */
body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel:not(:has(.bm-vex-visitor-art)){display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-height:390px;padding:45px}
body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel:not(:has(.bm-vex-visitor-art)) :is(.hm-visitor-lock,.hm-visitor-kicker,h1,p,.hm-visitor-actions){position:static;inset:auto;grid-column:auto;grid-row:auto;margin:0;text-align:center;align-self:center;justify-self:center}
body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel:not(:has(.bm-vex-visitor-art)) .hm-visitor-lock{margin-bottom:17px}
body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel:not(:has(.bm-vex-visitor-art)) h1{margin:15px 0}
body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel:not(:has(.bm-vex-visitor-art)) .hm-visitor-actions{margin:23px 0 0}
/* Form pages */
body.hm-body.hm-member .hm-shell-main > main.hm-auth-page{display:flex;justify-content:center;align-items:center;min-height:calc(100dvh - 122px);padding:36px 18px;margin:0;border:1px solid var(--vx-line);border-radius:15px;box-shadow:var(--vx-glow);background:var(--vx-panel)}
body.hm-body.hm-member .hm-auth-form-wrap{display:flex;flex-direction:column;width:min(470px,100%);max-width:470px;padding:25px 28px 27px;margin:0;background:var(--vx-panel);border:1px solid var(--vx-line);border-radius:13px;box-shadow:0 8px 32px rgba(16,24,40,.055);color:var(--vx-text)}
body.hm-body.hm-member .hm-auth-form-heading{text-align:left;margin:0 0 21px;display:block}
body.hm-body.hm-member .hm-auth-form-heading .hm-auth-form-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:10px;background:var(--vx-soft);color:var(--vx-primary);margin:0 0 14px}
body.hm-body.hm-member .hm-auth-form-heading > span:not(.hm-auth-form-icon){display:block;font-size:10px;color:var(--vx-primary);letter-spacing:.12em;font-weight:750;margin:0 0 5px}
body.hm-body.hm-member .hm-auth-form-heading h2{font-size:23px;line-height:1.25;font-weight:790;color:var(--vx-heading);margin:0 0 6px}
body.hm-body.hm-member .hm-auth-form-heading p{font-size:12.2px;color:var(--vx-muted);line-height:1.7;margin:0}
body.hm-body.hm-member .hm-auth-form{display:flex;flex-direction:column;gap:8px;margin:0}
body.hm-body.hm-member .hm-auth-form label{font-size:12.3px;font-weight:650;margin:6px 0 0;color:var(--vx-text)}
body.hm-body.hm-member .hm-auth-form .hm-auth-field{display:flex;flex-direction:column;gap:5px;margin:0}
body.hm-body.hm-member .hm-auth-form input:not([type="checkbox"]){width:100%;height:44px;min-height:44px;border-radius:8px;padding:10px 12px;font-size:13px}
body.hm-body.hm-member .hm-auth-form .trusted-device-remember{display:flex;align-items:flex-start;gap:9px;font-size:11.5px;line-height:1.55;color:var(--vx-muted);font-weight:450;margin:7px 0 11px}
body.hm-body.hm-member .trusted-device-remember input{flex:0 0 15px;width:15px;height:15px;min-height:15px;margin:2px 0 0;accent-color:var(--vx-primary)}
body.hm-body.hm-member .hm-auth-form .hm-auth-submit{width:100%;min-height:44px;margin:7px 0 0}
body.hm-body.hm-member .hm-auth-switch{padding:16px 0 0;color:var(--vx-muted);font-size:12px;text-align:center}
body.hm-body.hm-member .hm-auth-switch a{color:var(--vx-primary);font-weight:750}
/* Public editorial pages */
body.hm-body.hm-member .hm-shell-main > main.hm-public-info > .hm-public-info-sheet{background:var(--vx-panel);border:1px solid var(--vx-line);border-radius:13px;box-shadow:var(--vx-shadow);padding:24px 27px;min-height:calc(100dvh - 124px);max-width:none;width:100%}
body.hm-body.hm-member .hm-public-info-sheet :is(.hm-public-info-heading,.hm-public-info-header){border-bottom:1px solid var(--vx-line)}
body.hm-body.hm-member .hm-public-info-card{background:var(--vx-panel);border:1px solid var(--vx-line);border-radius:11px;box-shadow:none}
/* Modal, select, action panels */
body.hm-body.hm-member :is(.modal,.dialog-panel,.modal-content,.wallet-success-dialog){border-radius:13px;background:var(--vx-panel);border-color:var(--vx-line);color:var(--vx-text)}
body.hm-body.hm-member :is(.hm-dropdown-menu,.hm-toolbar-member-menu,.hm-account-popover){background:var(--vx-panel);border:1px solid var(--vx-line);box-shadow:0 16px 36px rgba(16,24,40,.12);border-radius:12px}
body.hm-body.hm-member :is(.hm-dropdown-menu,.hm-toolbar-member-menu,.hm-account-popover) a:hover{background:var(--vx-soft);color:var(--vx-primary)}
/* Page loader: compact 3-dot VexUI feedback and thin route progress. */
body.hm-body.hm-member .bm63-loader{position:fixed;left:calc(50% + 130px);top:50%;z-index:350;display:grid;place-items:center;width:155px;height:82px;padding:10px;opacity:0;visibility:hidden;transform:translate(-50%,-50%);pointer-events:none;background:var(--vx-panel);border:1px solid var(--vx-line);border-radius:11px;box-shadow:0 16px 32px rgba(16,24,40,.10)}
body.hm-body.hm-member.bm63-native-loading .bm63-loader,body.hm-body.hm-member.bm63-route-loading .bm63-loader{opacity:1;visibility:visible}
body.hm-body.hm-member .bm63-loader__orbit{position:absolute;top:18px;left:50%;inset:auto;display:flex;align-items:center;justify-content:center;gap:6px;width:55px;height:14px;transform:translateX(-50%);animation:none}
body.hm-body.hm-member .bm63-loader__dot{display:none}
body.hm-body.hm-member .bm63-loader__dot:nth-child(-n+3){display:block;position:static;inset:auto;transform:none;height:9px;width:9px;min-width:9px;border-radius:50%;background:var(--vx-primary);box-shadow:none;animation:vx-bounce .9s ease-in-out infinite alternate}
body.hm-body.hm-member .bm63-loader__dot:nth-child(2){background:#958bf8;animation-delay:.16s}
body.hm-body.hm-member .bm63-loader__dot:nth-child(3){background:#c9c4ff;animation-delay:.32s}
body.hm-body.hm-member .bm63-loader__label{position:absolute;inset:auto;top:52px;left:50%;white-space:nowrap;transform:translate(-50%,-50%);font-size:0;color:var(--vx-text)}
body.hm-body.hm-member .bm63-loader__label::after{content:'Đang tải';font:650 12px var(--vx-font);color:var(--vx-text)}
@keyframes vx-bounce{from{opacity:.4;transform:translateY(3px) scale(.75)}to{opacity:1;transform:translateY(-3px) scale(1.1)}}
body.hm-body.hm-member .hm-shell-main.hm-page-loading::before{content:'';position:fixed;left:var(--vx-sidebar);right:0;top:72px;width:auto;height:2px;background:linear-gradient(90deg,#ece9ff,#6657e8,#b0a7fa);background-size:200% 100%;animation:vx-progress 1s linear infinite;opacity:1;z-index:70;pointer-events:none}
@keyframes vx-progress{from{background-position:200% 0}to{background-position:-100% 0}}
/* dark theme: same interface with deep navy surfaces */
html[data-hm-theme="dark"]{--vx-bg:#101522;--vx-panel:#1a2232;--vx-heading:#f2f4fb;--vx-text:#d7deec;--vx-muted:#95a3b7;--vx-line:#2b3548;--vx-strongline:#38435a;--vx-primary:#9589ff;--vx-hover:#b3aaff;--vx-soft:#302c52;--vx-shadow:0 5px 25px rgba(0,0,0,.15);--vx-glow:0 5px 22px rgba(0,0,0,.12);color-scheme:dark}
html[data-hm-theme="dark"] body.hm-body.hm-member{--ht-bg:var(--vx-bg);--ht-surface:var(--vx-panel);--ht-soft:#242d40;--ht-ink:var(--vx-heading);--ht-secondary:var(--vx-muted);--ht-line:var(--vx-line);--ht-rule:var(--vx-line);--ht-active:var(--vx-soft);background:var(--vx-bg);color:var(--vx-text)}
html[data-hm-theme="dark"] body.hm-body.hm-member :is(.hm-sidebar,.hm-header,.hm-visitor-panel,.hm-visitor-links a,.hm-auth-form-wrap,.hm-auth-page,.hm-public-info-sheet,.hm-v36-card,.hm-category-panel,.hm-market,.commerce-card,.hm-notification-popover,.hm-account-card,.account-panel,.wallet-card,.hm-public-info-card,.hm-news-card,.hm-news-item,.hm-device-security-panel,.hm-category-group,.hm-product-card,.reading-card){background:var(--vx-panel);border-color:var(--vx-line);color:var(--vx-text)}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main{background:var(--vx-bg)}
html[data-hm-theme="dark"] body.hm-body.hm-member :is(.ht-sidebar-brand-copy strong,.ht-toolbar-location-copy strong,.hm-visitor-panel h1,.hm-visitor-links strong,.hm-auth-form-heading h2,h1,h2,h3,h4){color:var(--vx-heading)}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar .hm-side-link{color:var(--vx-text)}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar .hm-side-link.is-active{color:var(--vx-primary);background:var(--vx-soft)}
html[data-hm-theme="dark"] body.hm-body.hm-member :is(input,select,textarea,.hm-header .hm-search,.hm-header-action){background:#232d40;border-color:var(--vx-line);color:var(--vx-heading)}
html[data-hm-theme="dark"] body.hm-body.hm-member :is(.hm-visitor-actions .hm-visitor-secondary,.ht-toolbar-quick){background:#252b40;border-color:#474064;color:#c9c4ff}
html[data-hm-theme="dark"] body.hm-body.hm-member table th{background:#222b3e;color:var(--vx-muted)}
html[data-hm-theme="dark"] body.hm-body.hm-member table tr:hover td{background:#252a3d}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-visitor-panel::after{opacity:.35}
/* Responsive contract: mobile menus and forms stay usable, no horizontal scrollbar. */
@media(max-width:1190px){body.hm-body.hm-member .hm-shell-main{padding:21px}body.hm-body.hm-member .ht-toolbar-quicklinks{display:none}body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel{padding:35px;gap:19px;grid-template-columns:minmax(0,1.1fr) minmax(255px,.9fr)}body.hm-body.hm-member .hm-visitor-lock{left:35px;top:30px}body.hm-body.hm-member .hm-visitor-panel h1{font-size:32px}}
@media(max-width:900px){:root{--vx-sidebar:224px;--hm-sidebar-width:224px}body.hm-body.hm-member .hm-header.hm-header-logged{padding:0 17px}body.hm-body.hm-member .hm-visitor-panel h1{font-size:27px}body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel{gap:5px;padding:27px;grid-template-columns:minmax(0,1fr) minmax(180px,.6fr)}body.hm-body.hm-member .hm-visitor-lock{left:27px}body.hm-body.hm-member .hm-visitor-panel p{font-size:12px}}
@media(max-width:760px){:root{--vx-sidebar:0px;--hm-sidebar-width:0px}body.hm-body.hm-member .hm-header.hm-header-logged{position:sticky;z-index:44;top:0;width:100%;height:auto;min-height:60px;margin:0;padding:9px 14px;gap:7px}body.hm-body.hm-member .hm-header .ht-toolbar-location-copy small{display:none}body.hm-body.hm-member .hm-header .ht-toolbar-location-icon{height:32px;width:32px;min-width:32px}body.hm-body.hm-member .hm-header .ht-toolbar-location-copy strong{font-size:12px}body.hm-body.hm-member .hm-shell{display:flex;flex-direction:column;width:100%;margin:0;padding:0;min-height:0}body.hm-body.hm-member .hm-sidebar{position:relative;inset:auto;top:auto;left:auto;right:auto;order:0;width:100%;height:auto;min-height:0;max-height:none;border:0;border-bottom:1px solid var(--vx-line);overflow:visible}body.hm-body.hm-member .hm-sidebar .ht-sidebar-brand{min-height:54px;max-height:54px;flex-basis:54px;padding:8px 14px;border:0}body.hm-body.hm-member .hm-sidebar .ht-sidebar-brand-mark{width:32px;height:32px;min-width:32px;flex-basis:32px;border-radius:9px}body.hm-body.hm-member .hm-sidebar .hm-mobile-menu{display:block;order:1;min-height:38px;margin:0;padding:0 13px}body.hm-body.hm-member .hm-sidebar .hm-side-links{order:2;flex:0 0 auto;max-height:240px;overflow-y:auto;gap:0;padding:7px 12px}body.hm-body.hm-member .hm-sidebar .hm-side-links::before{display:none}body.hm-body.hm-member .ht-sidebar-preferences{order:3;padding:6px 12px}body.hm-body.hm-member .ht-sidebar-preferences-heading{display:none}body.hm-body.hm-member .ht-sidebar-preference-row{min-height:35px}body.hm-body.hm-member .hm-shell-main{min-height:calc(100dvh - 200px);padding:13px}body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:385px;padding:34px 24px;gap:0}body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel :is(.hm-visitor-lock,.hm-visitor-kicker,h1,p,.hm-visitor-actions){position:static;grid-column:auto;grid-row:auto;align-self:auto;justify-self:auto;margin:0}body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel .hm-visitor-lock{margin-bottom:15px;width:40px;height:40px}body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel .hm-visitor-kicker{margin-bottom:12px}body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel h1{margin-bottom:13px;font-size:29px}body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel p{margin-bottom:18px}body.hm-body.hm-member .hm-visitor-page .bm-vex-visitor-art{display:none}body.hm-body.hm-member .hm-visitor-links{grid-template-columns:1fr;gap:9px}body.hm-body.hm-member .hm-visitor-links a{min-height:79px}body.hm-body.hm-member .hm-shell-main > main.hm-auth-page{min-height:calc(100dvh - 250px);padding:20px 10px}body.hm-body.hm-member .hm-auth-form-wrap{padding:20px}body.hm-body.hm-member .hm-shell-main > main.hm-public-info > .hm-public-info-sheet{padding:18px;min-height:250px}body.hm-body.hm-member .bm63-loader{left:50%}body.hm-body.hm-member .hm-shell-main.hm-page-loading::before{left:0;top:0}}
@media(max-width:480px){body.hm-body.hm-member .hm-header .ht-toolbar-location{min-width:0}body.hm-body.hm-member .hm-header-actions{gap:4px}body.hm-body.hm-member .hm-header .hm-search{min-width:0}body.hm-body.hm-member .hm-visitor-page > .hm-visitor-panel{padding:27px 20px;min-height:400px}body.hm-body.hm-member .hm-visitor-panel h1{font-size:27px}body.hm-body.hm-member .hm-visitor-actions a{min-width:0;flex:1 1 auto}body.hm-body.hm-member .hm-auth-form-wrap{padding:17px}body.hm-body.hm-member .hm-shell-main{padding:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body.hm-body *,body.hm-body *::before,body.hm-body *::after{animation-duration:.01ms;transition-duration:.01ms}}

/* Final layout reconciliation: no legacy flex-wrapping and a semantic hero copy column. */
body.hm-body.hm-member .hm-header .hm-header-middle.ht-toolbar-main { height:100%;min-height:0;max-height:73px;flex-wrap:nowrap;align-items:center;align-content:center;justify-content:flex-start;overflow:visible; }
body.hm-body.hm-member .hm-header .ht-toolbar-location {flex:0 0 auto;min-width:165px;min-height:35px;width:auto;max-width:260px;}
body.hm-body.hm-member .hm-header .ht-toolbar-quicklinks {flex:0 0 auto;margin-left:auto;align-self:center;}
body.hm-body.hm-member .hm-header .hm-header-actions:empty{display:none}
body.hm-body.hm-member .hm-visitor-panel .bm-vex-hero-copy {display:flex;grid-column:1;grid-row:1;align-items:flex-start;justify-content:center;flex-direction:column;gap:0;position:relative;min-width:0;max-width:600px;z-index:2}
body.hm-body.hm-member .hm-visitor-panel .bm-vex-hero-copy > :is(.hm-visitor-lock,.hm-visitor-kicker,h1,p,.hm-visitor-actions) {display:flex;position:relative;inset:auto;top:auto;left:auto;right:auto;bottom:auto;grid-row:auto;grid-column:auto;align-self:auto;justify-self:auto;max-width:100%;transform:none;margin:0;text-align:left}
body.hm-body.hm-member .hm-visitor-panel .bm-vex-hero-copy > .hm-visitor-lock{display:grid;position:static;margin-bottom:18px}
body.hm-body.hm-member .hm-visitor-panel .bm-vex-hero-copy > .hm-visitor-kicker {display:inline-flex;margin:0 0 12px;padding:5px 11px;white-space:normal}
body.hm-body.hm-member .hm-visitor-panel .bm-vex-hero-copy > h1{display:block;margin:0 0 13px;line-height:1.20}
body.hm-body.hm-member .hm-visitor-panel .bm-vex-hero-copy > p{display:block;margin:0 0 20px;line-height:1.75}
body.hm-body.hm-member .hm-visitor-panel .bm-vex-hero-copy > .hm-visitor-actions {display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:10px;margin:4px 0 0}
body.hm-body.hm-member .hm-visitor-panel:not(:has(.bm-vex-visitor-art)) .bm-vex-hero-copy{justify-content:center;align-items:center;text-align:center}
body.hm-body.hm-member .hm-visitor-panel:not(:has(.bm-vex-visitor-art)) .bm-vex-hero-copy > :is(h1,p,.hm-visitor-actions){text-align:center;justify-content:center}
@media(max-width:760px){
 body.hm-body.hm-member .hm-header .hm-header-middle.ht-toolbar-main{height:auto;min-height:39px;max-height:none}
 body.hm-body.hm-member .hm-header .ht-toolbar-location{min-width:0;max-width:100%}
 body.hm-body.hm-member .hm-sidebar .hm-side-links{display:none;max-height:300px;overflow-y:auto}
 body.hm-body.hm-member .hm-sidebar .hm-mobile-menu[open] ~ .hm-side-links{display:flex}
 body.hm-body.hm-member .hm-sidebar .hm-mobile-menu summary{cursor:pointer;display:flex;align-items:center;gap:9px;min-height:36px;color:var(--vx-text);font-weight:650;font-size:12px;list-style:none}
 body.hm-body.hm-member .hm-sidebar .hm-mobile-menu summary::-webkit-details-marker{display:none}
 body.hm-body.hm-member .ht-sidebar-preferences{display:grid;grid-template-columns:1fr;gap:0;padding:8px 12px}
 body.hm-body.hm-member .ht-sidebar-preferences .hm-toolbar-preferences{display:grid;grid-template-columns:1fr 1fr;gap:6px}
 body.hm-body.hm-member .ht-sidebar-preference-row{min-width:0;gap:3px;padding:4px}
 body.hm-body.hm-member .ht-sidebar-pref-label{font-size:10.5px;gap:5px}
 body.hm-body.hm-member .hm-visitor-panel .bm-vex-hero-copy{width:100%;max-width:100%;}
 body.hm-body.hm-member .hm-visitor-panel .bm-vex-hero-copy > :is(.hm-visitor-lock,.hm-visitor-kicker,h1,p,.hm-visitor-actions){position:static;inset:auto;grid-column:auto;grid-row:auto;margin:0;align-self:auto}
 body.hm-body.hm-member .hm-visitor-panel .bm-vex-hero-copy > .hm-visitor-lock{margin:0 0 16px}
 body.hm-body.hm-member .hm-visitor-panel .bm-vex-hero-copy > .hm-visitor-kicker{margin:0 0 12px}
 body.hm-body.hm-member .hm-visitor-panel .bm-vex-hero-copy > h1{margin:0 0 12px}
 body.hm-body.hm-member .hm-visitor-panel .bm-vex-hero-copy > p{margin:0 0 18px}
 body.hm-body.hm-member .hm-visitor-panel .bm-vex-hero-copy > .hm-visitor-actions{margin:0}
}
/* Header layout guard: older flex-direction rules are intentionally retired. */
body.hm-body.hm-member .hm-header .hm-header-middle.ht-toolbar-main{flex-direction:row;flex-wrap:nowrap;height:100%;min-height:0;max-height:73px;justify-content:flex-start;align-items:center;align-content:center}
body.hm-body.hm-member .hm-header .ht-toolbar-location{align-self:center;justify-self:auto}
body.hm-body.hm-member .hm-header .ht-toolbar-quicklinks{align-self:center;justify-self:auto}
@media(max-width:760px){body.hm-body.hm-member .hm-header .hm-header-middle.ht-toolbar-main{max-height:none;height:auto;min-height:35px}}
/* Product rows and signed-in header: prevent cramped controls on narrow dashboards. */
@media(min-width:1001px){
 body.hm-body.hm-member .hm-header:has(.hm-search) .ht-toolbar-quicklinks{display:none}
 body.hm-body.hm-member .hm-header .hm-search{flex:1 1 280px;max-width:460px;min-width:190px}
}
body.hm-body.hm-member .hm-header .hm-search button{white-space:nowrap;flex-shrink:0}
body.hm-body.hm-member .hm-product-row{grid-template-columns:minmax(0,1fr) minmax(315px,auto);gap:0}
body.hm-body.hm-member .hm-product-row-info{min-width:0}
body.hm-body.hm-member .hm-product-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:315px;width:auto;grid-template-columns:none;min-height:0}
body.hm-body.hm-member .hm-row-price{flex:0 0 auto;white-space:nowrap}
body.hm-body.hm-member .hm-v36-buttons{display:flex;align-items:center;justify-content:flex-end;gap:7px;grid-template-columns:none;flex:0 0 auto;width:auto;min-width:0}
body.hm-body.hm-member .hm-v36-buttons .hm-v36-action{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-width:93px;min-height:35px;height:auto;white-space:nowrap;word-break:normal;overflow-wrap:normal;padding:8px 10px;font-size:11px;text-align:center}
body.hm-body.hm-member .hm-v36-buttons .hm-v36-action .site-icon{width:14px;height:14px;flex-basis:14px}
@media(max-width:1100px){
 body.hm-body.hm-member .hm-product-row{display:flex;flex-direction:column;align-items:stretch}
 body.hm-body.hm-member .hm-product-row-info{width:100%;max-width:100%}
 body.hm-body.hm-member .hm-product-row-actions{width:100%;min-width:0;justify-content:space-between;border-left:0;border-top:1px solid var(--vx-line)}
}
@media(max-width:560px){
 body.hm-body.hm-member .hm-product-row-actions{flex-wrap:wrap;gap:8px}
 body.hm-body.hm-member .hm-v36-buttons{flex:1 1 auto;justify-content:flex-end}
 body.hm-body.hm-member .hm-v36-buttons .hm-v36-action{min-width:72px;padding:8px;font-size:10.6px}
 body.hm-body.hm-member .hm-header .hm-search button span{display:none}
 body.hm-body.hm-member .hm-header .hm-search button{width:31px;padding:0}
}
/* Enforce true horizontal row actions (retire earlier vertical/100%-width rules). */
body.hm-body.hm-member .hm-product-row .hm-product-row-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-end;align-content:center;gap:8px;padding:7px 9px;width:100%;min-width:0;max-width:none}
body.hm-body.hm-member .hm-product-row .hm-product-row-actions > .hm-row-price{display:inline-flex;width:auto;max-width:none;min-width:0;flex:0 0 auto;align-self:center;margin:0;padding:7px;font-size:13px;white-space:nowrap}
body.hm-body.hm-member .hm-product-row .hm-v36-buttons{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:6px;min-width:0;width:auto;max-width:none;flex:0 0 auto;align-self:center;margin:0}
body.hm-body.hm-member .hm-product-row .hm-v36-buttons .hm-v36-action{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:86px;max-width:none;width:auto;height:35px;padding:8px;white-space:nowrap;text-wrap:nowrap;line-height:1.2}
@media(max-width:560px){body.hm-body.hm-member .hm-product-row .hm-product-row-actions{flex-wrap:wrap;justify-content:space-between}body.hm-body.hm-member .hm-product-row .hm-v36-buttons{flex:1 1 auto;justify-content:flex-end}}


/* ============================================================================
  VEXUI CRM · COMPONENT REPAIR R2
  Account layout, member dropdown, shopping catalog & small-screen behavior.
  Corrects missing structural rules in the new design; previous theme sheets
  remain unloaded and are not copied into this release.
  ============================================================================ */

/* ACCOUNT: the former 275px sidebar grid MUST NOT constrain single-column pages */
body.hm-body.hm-member .hm-shell-main main.account-v2{width:100%;max-width:none;min-width:0;overflow:visible}
body.hm-body.hm-member .hm-shell-main main.account-v2 > .account-shell.account-shell-single{
 display:block;grid-template-columns:none;grid-template-rows:none;min-width:0;width:100%;max-width:none;margin:0;padding:0;
}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-shell-single > .account-forms{
 display:flex;flex-direction:column;align-items:stretch;gap:17px;width:100%;max-width:none;min-width:0;
 margin:0;padding:0;border:0;box-shadow:none;border-radius:0;background:transparent;overflow:visible;
}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-summary-strip{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;align-items:center;
 width:100%;min-width:0;margin:0;padding:0;background:var(--vx-panel);
 border:1px solid var(--vx-line);border-radius:12px;box-shadow:var(--vx-shadow);overflow:hidden;
}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-summary-strip > div{
 display:flex;align-items:center;justify-content:flex-start;gap:9px;min-height:61px;
 padding:14px 22px;min-width:0;background:none;border:0;
}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-summary-strip > div + div{border-left:1px solid var(--vx-line)}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-summary-strip span{font-size:12px;color:var(--vx-muted)}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-summary-strip strong{font-size:13px;font-weight:750;color:var(--vx-heading);overflow-wrap:anywhere}
body.hm-body.hm-member .hm-shell-main main.account-v2 .hm-account-section-links{
 display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px;
 width:100%;max-width:none;min-width:0;margin:0;padding:0;border:0;background:transparent;
}
body.hm-body.hm-member .hm-shell-main main.account-v2 .hm-account-section-links a{
 display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:0;
 padding:9px 15px;margin:0;border:1px solid var(--vx-line);background:var(--vx-panel);
 color:var(--vx-text);border-radius:9px;font-size:12.5px;font-weight:650;white-space:normal;
 box-shadow:var(--vx-shadow);text-decoration:none;
}
body.hm-body.hm-member .hm-shell-main main.account-v2 .hm-account-section-links a:hover,
body.hm-body.hm-member .hm-shell-main main.account-v2 .hm-account-section-links a[aria-current="page"]{
 border-color:#cbc5ff;color:var(--vx-primary);background:var(--vx-soft);
}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-shell-single .account-panel{
 display:block;width:100%;max-width:none;min-width:0;margin:0;padding:24px 27px;
 border:1px solid var(--vx-line);border-radius:13px;box-shadow:var(--vx-shadow);
 background:var(--vx-panel);scroll-margin-top:96px;overflow-wrap:break-word;
}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-shell-single .account-panel + .account-panel{
 border:1px solid var(--vx-line);
}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-panel-header{
 display:flex;align-items:flex-start;gap:14px;width:100%;min-width:0;
 margin:0 0 22px;padding:0 0 19px;border-bottom:1px solid var(--vx-line);
}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-panel-header > div{flex:1;min-width:0}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-panel-icon{
 display:grid;place-items:center;width:43px;height:43px;min-width:43px;flex:0 0 43px;
 background:var(--vx-soft);color:var(--vx-primary);border-radius:11px;
}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-panel-overline{color:var(--vx-primary);font-size:10px;font-weight:750;letter-spacing:.09em}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-panel-header h2{font-size:19px;line-height:1.3;margin:4px 0 5px;color:var(--vx-heading)}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-panel-header p{margin:0;font-size:12.5px;color:var(--vx-muted)}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-form{display:block;min-width:0;width:100%;max-width:none;margin:0}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-field-grid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 19px;
 width:100%;max-width:940px;min-width:0;margin:0;
}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-field{display:block;min-width:0;width:100%;max-width:none}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-field-wide{grid-column:1/-1}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-field label{display:block;margin:0 0 7px;color:var(--vx-heading);font-size:12.5px;font-weight:700}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-field :is(input,textarea,select){display:block;width:100%;min-width:0;max-width:none;min-height:43px;padding:10px 13px;border:1px solid var(--vx-strongline);border-radius:9px;background:var(--vx-panel);color:var(--vx-heading);font-size:13px}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-field small{display:block;margin:6px 0 0;font-size:11.5px;line-height:1.5;color:var(--vx-muted)}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-form-actions{
 display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:12px;
 width:100%;margin:23px 0 0;padding:17px 0 0;border-top:1px solid var(--vx-line);
}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-form-actions > button{min-height:40px}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-upgrade-card{
 width:100%;max-width:none;margin:0;padding:23px 25px;border:1px solid var(--vx-line);
 border-radius:13px;background:var(--vx-panel);color:var(--vx-text);box-shadow:var(--vx-shadow);overflow:hidden;
}
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-upgrade-header,
body.hm-body.hm-member .hm-shell-main main.account-v2 .account-upgrade-stats{min-width:0;max-width:100%}
body.hm-body.hm-member .hm-shell-main main.account-v2 :is(.totp-status,.totp-setup,.totp-disable-details){max-width:100%;min-width:0}

/* MEMBER POPOVER: details/summary native markers and unpositioned content were leaking. */
body.hm-body.hm-member .hm-header .hm-toolbar-user-menu{
 position:relative;display:block;flex:0 1 auto;width:auto;max-width:214px;min-width:0;
 margin:0;padding:0;z-index:120;color:var(--vx-text);line-height:1.4;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-menu > .hm-toolbar-user-toggle{
 display:flex;align-items:center;justify-content:flex-start;gap:9px;min-height:43px;
 width:auto;max-width:214px;min-width:0;padding:5px 8px 5px 5px;
 cursor:pointer;list-style:none;appearance:none;border:1px solid transparent;
 border-radius:10px;background:transparent;white-space:nowrap;user-select:none;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-toggle::marker{content:''}
body.hm-body.hm-member .hm-header .hm-toolbar-user-toggle::-webkit-details-marker{display:none}
body.hm-body.hm-member .hm-header .hm-toolbar-user-toggle:hover,
body.hm-body.hm-member .hm-header .hm-toolbar-user-menu[open] > .hm-toolbar-user-toggle{
 background:var(--vx-soft);border-color:var(--vx-line);
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-avatar{
 display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;
 border-radius:50%;background:var(--vx-primary);border:0;color:#fff;
 font-size:13px;font-weight:750;line-height:1;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-avatar.large{flex-basis:45px;width:45px;height:45px;font-size:16px}
body.hm-body.hm-member .hm-header .hm-toolbar-user-identity,
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-identity{
 display:flex;flex-direction:column;justify-content:center;gap:2px;flex:1 1 auto;
 max-width:130px;min-width:0;overflow:hidden;white-space:normal;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-identity strong,
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-identity strong{
 display:block;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 color:var(--vx-heading);font-size:12.5px;font-weight:750;line-height:1.35;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-identity small,
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-identity small{
 display:block;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 color:var(--vx-muted);font-size:10.5px;font-weight:500;line-height:1.35;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-chevron{flex:0 0 auto;display:grid;place-items:center;color:var(--vx-muted)}
body.hm-body.hm-member .hm-header .hm-toolbar-user-chevron .site-icon{width:14px;height:14px;transition:transform .17s}
body.hm-body.hm-member .hm-header .hm-toolbar-user-menu[open] .hm-toolbar-user-chevron .site-icon{transform:rotate(180deg)}
body.hm-body.hm-member .hm-header .hm-toolbar-user-menu:not([open]) > .hm-toolbar-user-dropdown{display:none}
body.hm-body.hm-member .hm-header .hm-toolbar-user-menu[open] > .hm-toolbar-user-dropdown{
 display:flex;flex-direction:column;position:absolute;top:calc(100% + 10px);right:0;left:auto;
 width:min(332px,calc(100vw - 20px));max-width:calc(100vw - 20px);
 max-height:min(650px,calc(100dvh - 90px));overflow-y:auto;overflow-x:hidden;
 gap:11px;margin:0;padding:17px;z-index:125;
 border:1px solid var(--vx-line);background:var(--vx-panel);color:var(--vx-text);
 border-radius:14px;box-shadow:0 16px 42px rgba(16,24,40,.17);white-space:normal;
}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-title{display:block;padding:0 0 10px;margin:0;border-bottom:1px solid var(--vx-line)}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-title h2{margin:0;color:var(--vx-muted);font-size:10px;letter-spacing:.11em;font-weight:800}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-head{display:flex;align-items:center;min-width:0;gap:11px;margin:0;padding:0}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-head .hm-toolbar-user-dropdown-identity{max-width:calc(100% - 56px)}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-identity strong{font-size:14px}
body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown-identity small{font-size:11px}
body.hm-body.hm-member .hm-header .hm-toolbar-user-tier{display:inline-flex;align-items:center;align-self:flex-start;gap:6px;max-width:100%;font-size:10.5px;font-weight:700;border-radius:7px;padding:5px 9px;background:var(--vx-soft);color:var(--vx-primary)}
body.hm-body.hm-member .hm-header .hm-toolbar-user-tier .hm-tier-icon{width:15px;height:15px}
body.hm-body.hm-member .hm-header .hm-toolbar-user-balance{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0;padding:11px 12px;border:1px solid var(--vx-line);border-radius:9px;background:var(--vx-soft);font-size:12px}
body.hm-body.hm-member .hm-header .hm-toolbar-user-balance > span{display:inline-flex;align-items:center;gap:7px;min-width:0;color:var(--vx-muted)}
body.hm-body.hm-member .hm-header .hm-toolbar-user-balance > strong{flex:0 0 auto;font-weight:750;color:var(--vx-heading)}
body.hm-body.hm-member .hm-header .hm-toolbar-user-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
body.hm-body.hm-member .hm-header .hm-toolbar-user-meta > span{display:flex;flex-direction:column;gap:2px;min-width:0;padding:8px;border:1px solid var(--vx-line);border-radius:8px;color:var(--vx-muted);font-size:10.5px}
body.hm-body.hm-member .hm-header .hm-toolbar-user-meta strong{color:var(--vx-heading);font-size:11.5px;overflow-wrap:anywhere}
body.hm-body.hm-member .hm-header .hm-toolbar-user-links{display:grid;grid-template-columns:1fr;gap:3px;padding:10px 0 0;margin:0;border-top:1px solid var(--vx-line);width:100%;min-width:0}
body.hm-body.hm-member .hm-header .hm-toolbar-user-links > a{display:flex;align-items:center;gap:10px;min-height:39px;margin:0;padding:9px 10px;border-radius:8px;text-decoration:none;color:var(--vx-text);font-size:12.5px;font-weight:600;background:transparent}
body.hm-body.hm-member .hm-header .hm-toolbar-user-links > a:hover{color:var(--vx-primary);background:var(--vx-soft)}
body.hm-body.hm-member .hm-header .hm-toolbar-user-links > a .hm-macos-icon{display:grid;place-items:center;width:23px;height:23px;flex:0 0 23px;border-radius:7px;background:var(--vx-soft);color:var(--vx-primary)}
body.hm-body.hm-member .hm-header .hm-toolbar-user-links > a .site-icon{width:16px;height:16px}
body.hm-body.hm-member .hm-header .hm-toolbar-user-links > a.hm-toolbar-user-logout{color:#dc4768;border-top:1px solid var(--vx-line);border-radius:0;padding-top:13px;margin-top:5px}
body.hm-body.hm-member .hm-header .hm-toolbar-user-links > a.hm-toolbar-user-logout .hm-macos-icon{color:#dc4768;background:#fff0f4}
body.hm-body.hm-member .hm-header .hm-toolbar-user-links > a.hm-toolbar-user-logout:hover{background:#fff0f4}

/* HOME: trim oversized nested page blocks, make catalog rows consistent. */
body.hm-body.hm-member .hm-shell-main .hm-market{width:100%;max-width:none;min-width:0}
body.hm-body.hm-member .hm-market .hm-category-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;min-width:0}
body.hm-body.hm-member .hm-market .hm-categories{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-width:0}
body.hm-body.hm-member .hm-market .hm-category-chip{display:inline-flex;align-items:center;min-height:32px;padding:6px 11px;border:1px solid var(--vx-line);border-radius:8px;background:var(--vx-panel);color:var(--vx-muted);font-size:12px;font-weight:650}
body.hm-body.hm-member .hm-market .hm-category-chip.is-selected{background:var(--vx-soft);border-color:#cbc5ff;color:var(--vx-primary)}
body.hm-body.hm-member .hm-market .hm-product-count{margin-left:auto;white-space:nowrap;color:var(--vx-muted);font-size:12px}
body.hm-body.hm-member .hm-market .hm-category-panel{min-width:0;overflow:hidden;padding:0;border:1px solid var(--vx-line);border-radius:11px;box-shadow:none;background:var(--vx-panel)}
body.hm-body.hm-member .hm-market .hm-category-panel-heading{display:flex;align-items:center;gap:12px;min-width:0;min-height:60px;margin:0;padding:13px 17px;border-bottom:1px solid var(--vx-line);background:#fafaff}
body.hm-body.hm-member .hm-market .hm-category-panel-copy{flex:1;min-width:0}
body.hm-body.hm-member .hm-market .hm-category-panel-copy h3{font-size:13.5px;margin:0;color:var(--vx-heading)}
body.hm-body.hm-member .hm-market .hm-category-panel-copy p{font-size:11px;line-height:1.45;margin:2px 0 0;color:var(--vx-muted)}
body.hm-body.hm-member .hm-market .hm-category-panel-icon{flex:0 0 33px;display:grid;place-items:center;width:33px;height:33px;color:var(--vx-primary);background:var(--vx-soft);border-radius:9px}
body.hm-body.hm-member .hm-market .hm-category-panel-link{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;margin-left:auto;min-height:31px;padding:6px 9px;border:1px solid var(--vx-line);border-radius:8px;color:var(--vx-primary);background:var(--vx-panel);font-size:11.5px}
body.hm-body.hm-member .hm-market .hm-category-panel-content{min-width:0;padding:10px}
body.hm-body.hm-member .hm-market .hm-product-list{display:flex;flex-direction:column;gap:10px;min-width:0}
body.hm-body.hm-member .hm-market .hm-product-row{display:flex;align-items:center;gap:15px;min-width:0;margin:0;padding:13px 15px;border:1px solid var(--vx-line);border-radius:10px;background:var(--vx-panel);box-shadow:0 2px 8px rgba(20,28,56,.03)}
body.hm-body.hm-member .hm-market .hm-product-row-info{display:flex;align-items:center;gap:11px;flex:1 1 auto;min-width:0}
body.hm-body.hm-member .hm-market .hm-v36-primary{display:flex;flex-direction:column;justify-content:center;gap:3px;flex:1 1 auto;min-width:0}
body.hm-body.hm-member .hm-market .hm-v36-primary h3{font-size:13.5px;line-height:1.35;margin:0}
body.hm-body.hm-member .hm-market .hm-v36-primary h3 a{color:var(--vx-primary);text-decoration:none}
body.hm-body.hm-member .hm-market .hm-v36-primary .hm-v36-description{font-size:11.5px;line-height:1.55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;margin:0}
body.hm-body.hm-member .hm-market .hm-v36-tags{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
body.hm-body.hm-member .hm-market .hm-product-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 0 auto;min-width:0;margin:0;padding:0}
body.hm-body.hm-member .hm-market .hm-row-price{font-size:13px;white-space:nowrap;border-radius:7px}
body.hm-body.hm-member .hm-market .hm-v36-buttons{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:7px}
body.hm-body.hm-member .hm-market .hm-v36-buttons .hm-v36-action{min-height:36px;padding:7px 11px;white-space:nowrap;font-size:11.5px}
body.hm-body.hm-member .hm-market .hm-v36-metric{flex:0 0 auto;min-width:64px}

/* RESPONSIVE: content becomes one column, not a squeezed desktop grid. */
@media(max-width:1270px){
 body.hm-body.hm-member .hm-header .hm-toolbar-user-identity{max-width:94px}
 body.hm-body.hm-member .hm-market .hm-product-row{align-items:stretch;flex-wrap:wrap}
 body.hm-body.hm-member .hm-market .hm-product-row-actions{flex-basis:100%;justify-content:flex-end;padding-top:10px;border-top:1px solid var(--vx-line)}
}
@media(max-width:860px){
 body.hm-body.hm-member .hm-shell-main main.account-v2 .account-upgrade-header{flex-wrap:wrap}
 body.hm-body.hm-member .hm-shell-main main.account-v2 .account-panel{padding:20px}
 body.hm-body.hm-member .hm-header .hm-toolbar-user-menu{max-width:55px}
 body.hm-body.hm-member .hm-header .hm-toolbar-user-identity{display:none}
 body.hm-body.hm-member .hm-header .hm-toolbar-user-toggle{padding:4px;gap:3px}
 body.hm-body.hm-member .hm-header .hm-toolbar-user-menu .hm-toolbar-user-chevron{display:none}
}
@media(max-width:760px){
 body.hm-body.hm-member .hm-header.hm-header-logged{z-index:110}
 body.hm-body.hm-member .hm-header .hm-toolbar-user-menu{z-index:150}
 body.hm-body.hm-member .hm-header .hm-toolbar-user-menu[open] > .hm-toolbar-user-dropdown{top:calc(100% + 11px);right:-4px;width:min(320px,calc(100vw - 18px));max-height:calc(100dvh - 85px)}
 body.hm-body.hm-member .hm-shell-main main.account-v2 .account-summary-strip{grid-template-columns:1fr}
 body.hm-body.hm-member .hm-shell-main main.account-v2 .account-summary-strip > div + div{border-left:0;border-top:1px solid var(--vx-line)}
 body.hm-body.hm-member .hm-shell-main main.account-v2 .account-summary-strip > div{padding:12px 15px;min-height:48px}
 body.hm-body.hm-member .hm-shell-main main.account-v2 .account-field-grid{grid-template-columns:1fr;gap:14px}
 body.hm-body.hm-member .hm-shell-main main.account-v2 .account-field-wide{grid-column:1}
 body.hm-body.hm-member .hm-shell-main main.account-v2 .account-shell-single .account-panel{padding:18px 16px}
 body.hm-body.hm-member .hm-shell-main main.account-v2 .hm-account-section-links{gap:7px}
 body.hm-body.hm-member .hm-shell-main main.account-v2 .hm-account-section-links a{flex:1 1 auto;font-size:11.5px;padding:8px 10px}
 body.hm-body.hm-member .hm-market .hm-product-row-info{flex-wrap:wrap}
 body.hm-body.hm-member .hm-market .hm-v36-primary{flex:1 1 calc(100% - 70px)}
 body.hm-body.hm-member .hm-market .hm-product-row-actions{flex-wrap:wrap;justify-content:flex-start}
 body.hm-body.hm-member .hm-market .hm-v36-buttons{flex:1 1 auto;flex-wrap:wrap;justify-content:flex-start}
 body.hm-body.hm-member .hm-market .hm-category-panel-link{white-space:normal;text-align:center}
}
@media(max-width:430px){
 body.hm-body.hm-member .hm-header .hm-header-actions{gap:5px}
 body.hm-body.hm-member .hm-header .hm-toolbar-user-dropdown{width:min(320px,calc(100vw - 14px))}
 body.hm-body.hm-member .hm-market .hm-v36-buttons{width:100%}
 body.hm-body.hm-member .hm-market .hm-v36-buttons .hm-v36-action{flex:1 1 120px}
 body.hm-body.hm-member .hm-shell-main main.account-v2 .account-panel-header h2{font-size:17px}
}
/* DARK mode: keep all repaired cards on theme surfaces, not hardcoded white. */
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-market .hm-category-panel-heading{background:#22283b}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-header .hm-toolbar-user-menu[open] > .hm-toolbar-user-dropdown{background:var(--vx-panel);box-shadow:0 18px 44px rgba(0,0,0,.35)}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-market .hm-category-chip.is-selected{border-color:#59518c}

/* PRODUCT ROW HOTFIX: old flex action area stretched across the whole row. */
body.hm-body.hm-member .hm-market .hm-product-row{
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
 gap:16px;width:100%;min-width:0;max-width:100%;
}
body.hm-body.hm-member .hm-market .hm-product-row-info{
 display:flex;flex:1 1 auto;align-items:center;gap:12px;
 width:auto;max-width:none;min-width:0;margin:0;padding:0;border:0;
}
body.hm-body.hm-member .hm-market .hm-v36-product-icon{
 display:grid;place-items:center;flex:0 0 49px;width:49px;min-width:49px;
 height:49px;border-radius:11px;overflow:hidden;
}
body.hm-body.hm-member .hm-market .hm-v36-primary{display:flex;flex:1 1 180px;width:auto;min-width:0;max-width:none}
body.hm-body.hm-member .hm-market .hm-v36-primary h3{width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.hm-body.hm-member .hm-market .hm-product-row-actions{
 display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;
 width:max-content;max-width:100%;min-width:0;margin:0;padding:0;border:0;
}
body.hm-body.hm-member .hm-market .hm-v36-metric{width:auto;max-width:100%;min-width:68px;flex:0 0 auto}
@media(max-width:1270px){
 body.hm-body.hm-member .hm-market .hm-product-row{grid-template-columns:minmax(0,1fr)}
 body.hm-body.hm-member .hm-market .hm-product-row-info{width:100%;max-width:100%;flex-wrap:wrap}
 body.hm-body.hm-member .hm-market .hm-product-row-actions{
  width:100%;max-width:none;justify-content:flex-end;
  padding:11px 0 0;border-top:1px solid var(--vx-line)
 }
}
@media(max-width:600px){
 body.hm-body.hm-member .hm-market .hm-product-row-info{align-items:flex-start;gap:8px}
 body.hm-body.hm-member .hm-market .hm-v36-primary{flex:1 1 calc(100% - 67px)}
 body.hm-body.hm-member .hm-market .hm-v36-metric{flex:1 1 83px}
 body.hm-body.hm-member .hm-market .hm-product-row-actions{justify-content:flex-start;flex-wrap:wrap}
 body.hm-body.hm-member .hm-market .hm-row-price{margin-right:auto}
}

/* MOBILE HEADER: search on its own full-width row, never a blank squeezed box. */
@media(max-width:760px){
 body.hm-body.hm-member .hm-header.hm-header-logged{
  display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;
  align-items:center;column-gap:8px;row-gap:7px;width:100%;height:auto;min-height:58px;
  padding:9px 12px 10px;margin:0;overflow:visible;
 }
 body.hm-body.hm-member .hm-header .hm-header-middle{display:contents}
 body.hm-body.hm-member .hm-header .ht-toolbar-location{
  display:flex;grid-row:1;grid-column:1;min-width:0;max-width:100%;gap:9px;
 }
 body.hm-body.hm-member .hm-header .ht-toolbar-location-copy{min-width:0}
 body.hm-body.hm-member .hm-header .ht-toolbar-location-copy strong{font-size:13px}
 body.hm-body.hm-member .hm-header .hm-header-actions{
  display:flex;grid-row:1;grid-column:2;align-items:center;justify-content:flex-end;
  gap:4px;min-width:0;max-width:100%;height:auto;
 }
 body.hm-body.hm-member .hm-header .hm-search{
  display:flex;grid-column:1 / -1;grid-row:2;flex:1 1 100%;
  width:100%;max-width:none;min-width:0;height:39px;min-height:39px;
  margin:0;padding:0 4px 0 9px;border:1px solid var(--vx-line);
 }
 body.hm-body.hm-member .hm-header .hm-search input{width:100%;font-size:12px}
 body.hm-body.hm-member .hm-header .hm-search button{font-size:11px;padding:0 10px;white-space:nowrap}
 body.hm-body.hm-member .hm-header .ht-toolbar-quicklinks{display:none}
}
@media(max-width:390px){
 body.hm-body.hm-member .hm-header .hm-header-action{height:33px;width:33px;min-width:33px}
 body.hm-body.hm-member .hm-header .hm-toolbar-user-avatar{height:33px;width:33px;flex-basis:33px}
 body.hm-body.hm-member .hm-header .ht-toolbar-location-copy strong{font-size:12px}
}


/* ===== R3 QUALITY FIXES: auth pages, news list, sidebar preference switches ===== */
/* Public auth screens: remove the fake 3-column feeling and use one centered elevated card. */
body.hm-body.hm-member .hm-shell-main > main.hm-auth-page{
  width:min(760px,100%);
  max-width:760px;
  min-height:0;
  margin:0 auto;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
}
body.hm-body.hm-member .hm-shell-main > main.hm-auth-page > .hm-auth-form-wrap{
  width:100%;
  max-width:none;
  min-height:max(560px,calc(100dvh - 165px));
  margin:0;
  padding:34px clamp(22px,4vw,46px);
  background:var(--vx-panel);
  border:1px solid var(--vx-line);
  border-radius:16px;
  box-shadow:var(--vx-shadow);
}
body.hm-body.hm-member .hm-auth-form-wrap > :is(.hm-auth-form-heading,.hm-auth-form,.hm-auth-switch,.device-pending-state,.totp-cancel-form,.totp-login-help){
  max-width:100%;
}
body.hm-body.hm-member .hm-auth-form-heading{margin-bottom:24px}
body.hm-body.hm-member .hm-auth-form-heading h2{font-size:clamp(24px,2.25vw,32px)}
body.hm-body.hm-member .hm-auth-form{gap:11px}
body.hm-body.hm-member .hm-auth-form input:not([type="checkbox"]),
body.hm-body.hm-member .hm-auth-field input{height:46px;min-height:46px}
body.hm-body.hm-member .hm-auth-form .trusted-device-remember{margin:10px 0 10px}
body.hm-body.hm-member .hm-auth-form .trusted-device-remember input{margin-top:2px}
body.hm-body.hm-member .hm-auth-switch{margin-top:2px;padding-top:16px;border-top:1px solid var(--vx-line)}
body.hm-body.hm-member .hm-auth-submit{margin-top:4px}
body.hm-body.hm-member .hm-auth-register-form{display:grid;grid-template-columns:1fr;gap:10px}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main > main.hm-auth-page{background:transparent;border:0;box-shadow:none}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-shell-main > main.hm-auth-page > .hm-auth-form-wrap{background:var(--vx-panel);border-color:var(--vx-line);box-shadow:var(--vx-shadow)}

/* News page: render as real cards instead of raw stacked text. */
body.hm-body.hm-member .hm-shell-main > main.hm-news-page.hm-unified-page{padding-top:0}
body.hm-body.hm-member .hm-news-page .hm-news-alone{padding:0;background:transparent;border:0;box-shadow:none}
body.hm-body.hm-member .hm-news-page .hm-section-top.hm-unified-head{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid var(--vx-line)}
body.hm-body.hm-member .hm-news-page .hm-news-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(290px,1fr));
  gap:16px;
  padding:0;
}
body.hm-body.hm-member .hm-news-page .hm-news-list > .hm-news-list-item{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
  padding:18px;
  background:var(--vx-panel);
  border:1px solid var(--vx-line);
  border-radius:14px;
  box-shadow:var(--vx-shadow);
  min-width:0;
}
body.hm-body.hm-member .hm-news-page .hm-news-list > .hm-news-list-item:last-child{margin:0}
body.hm-body.hm-member .hm-news-page .hm-news-art{
  display:grid;
  place-items:center;
  width:50px;
  height:50px;
  min-width:50px;
  border-radius:14px;
  color:var(--vx-primary);
  background:linear-gradient(135deg,#f2edff,#e6f4ff);
  border:1px solid #e8ebff;
}
body.hm-body.hm-member .hm-news-page .hm-news-art .site-icon{width:21px;height:21px}
body.hm-body.hm-member .hm-news-page .hm-news-art-1{background:linear-gradient(135deg,#e8f7ff,#eef2ff)}
body.hm-body.hm-member .hm-news-page .hm-news-art-2{background:linear-gradient(135deg,#eef2ff,#f8ecff)}
body.hm-body.hm-member .hm-news-page .hm-news-art-3{background:linear-gradient(135deg,#edf9f4,#e8f4ff)}
body.hm-body.hm-member .hm-news-page .hm-news-list-copy{display:flex;flex-direction:column;gap:8px;min-width:0;width:100%}
body.hm-body.hm-member .hm-news-page .hm-news-list-copy > span{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--vx-primary)}
body.hm-body.hm-member .hm-news-page .hm-news-list-copy h2{margin:0;font-size:19px;line-height:1.32;color:var(--vx-heading);overflow-wrap:anywhere}
body.hm-body.hm-member .hm-news-page .hm-news-list-copy h2 a{color:inherit;text-decoration:none}
body.hm-body.hm-member .hm-news-page .hm-news-list-copy h2 a:hover{color:var(--vx-primary)}
body.hm-body.hm-member .hm-news-page .hm-news-list-copy > p{margin:0;color:var(--vx-muted);font-size:13px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
body.hm-body.hm-member .hm-news-page .hm-news-read{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:auto;
  padding:9px 12px;
  border-radius:10px;
  background:var(--vx-soft);
  color:var(--vx-primary);
  font-size:12px;
  font-weight:700;
}
body.hm-body.hm-member .hm-news-page .hm-news-empty{
  padding:28px 22px;
  background:var(--vx-panel);
  border:1px dashed var(--vx-line);
  border-radius:14px;
  color:var(--vx-muted);
}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-news-page .hm-news-list > .hm-news-list-item,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-news-page .hm-news-empty{background:var(--vx-panel);border-color:var(--vx-line)}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-news-page .hm-news-read{background:#2a3147;color:#d7cfff}

/* Sidebar preference widgets: fix broken VI/EN and light/dark switches. */
body.hm-body.hm-member .hm-sidebar .hm-pref-switch{display:inline-flex;align-items:center;justify-content:center;width:54px;min-width:54px;height:28px;min-height:28px}
body.hm-body.hm-member .hm-sidebar .hm-pref-switch-track{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:0;
  width:54px;
  height:28px;
  min-height:28px;
  padding:0 7px;
  border-radius:999px;
  background:#f2f4fb;
  border:1px solid #e2e6f0;
  overflow:hidden;
}
body.hm-body.hm-member .hm-sidebar .hm-pref-switch-track > span:not(.hm-pref-switch-thumb),
body.hm-body.hm-member .hm-sidebar .hm-pref-switch-track > svg{
  position:relative;
  z-index:1;
  flex:0 0 auto;
  line-height:1;
  color:#97a0b1;
}
body.hm-body.hm-member .hm-sidebar .hm-pref-language .hm-pref-switch-track > span:not(.hm-pref-switch-thumb){font-size:9.5px;font-weight:800;letter-spacing:.02em}
body.hm-body.hm-member .hm-sidebar .hm-pref-theme .hm-pref-switch-track > svg{width:13px;height:13px;stroke-width:2}
body.hm-body.hm-member .hm-sidebar .hm-pref-switch-thumb{
  position:absolute;
  top:2px;
  left:2px;
  width:24px;
  height:24px;
  border-radius:999px;
  background:var(--vx-primary);
  box-shadow:0 1px 3px rgba(15,23,42,.15);
  transition:transform .18s ease;
}
body.hm-body.hm-member .hm-sidebar #hm-language-switch[aria-checked="true"] .hm-pref-switch-thumb,
body.hm-body.hm-member .hm-sidebar #hm-theme-switch[aria-checked="true"] .hm-pref-switch-thumb{transform:translateX(26px)}
body.hm-body.hm-member .hm-sidebar #hm-language-switch[aria-checked="false"] .hm-pref-switch-track>span:first-child,
body.hm-body.hm-member .hm-sidebar #hm-language-switch[aria-checked="true"] .hm-pref-switch-track>span:nth-child(2){color:var(--vx-primary)}
body.hm-body.hm-member .hm-sidebar #hm-theme-switch[aria-checked="false"] .hm-pref-switch-track>svg:first-child{color:#c98810}
body.hm-body.hm-member .hm-sidebar #hm-theme-switch[aria-checked="true"] .hm-pref-switch-track>svg:nth-of-type(2){color:#226fd4}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar .hm-pref-switch-track{background:#262e41;border-color:var(--vx-line)}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar .ht-sidebar-pref-label{color:var(--vx-text)}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar #hm-language-switch[aria-checked="false"] .hm-pref-switch-track>span:first-child,
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar #hm-language-switch[aria-checked="true"] .hm-pref-switch-track>span:nth-child(2){color:#fff}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar #hm-theme-switch[aria-checked="false"] .hm-pref-switch-track>svg:first-child{color:#ffd17c}
html[data-hm-theme="dark"] body.hm-body.hm-member .hm-sidebar #hm-theme-switch[aria-checked="true"] .hm-pref-switch-track>svg:nth-of-type(2){color:#d8eeff}

@media(max-width:760px){
  body.hm-body.hm-member .hm-shell-main > main.hm-auth-page{width:100%;max-width:none}
  body.hm-body.hm-member .hm-shell-main > main.hm-auth-page > .hm-auth-form-wrap{min-height:0;padding:24px 18px}
  body.hm-body.hm-member .hm-news-page .hm-news-list{grid-template-columns:1fr}
}
@media(max-width:480px){
  body.hm-body.hm-member .hm-shell-main > main.hm-auth-page > .hm-auth-form-wrap{padding:20px 14px}
  body.hm-body.hm-member .ht-sidebar-preferences .hm-toolbar-preferences{grid-template-columns:1fr}
  body.hm-body.hm-member .ht-sidebar-preference-row{padding:2px 0}
}


/* ===== R4 QUALITY FIXES: product category placement + bottom loading indicator ===== */
/* Product heading: integrate filters into the panel header instead of floating alone above products. */
body.hm-body.hm-member .hm-market .hm-market-heading.hm-market-heading-has-filters{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  padding-bottom:16px;
  margin-bottom:14px;
  border-bottom:1px solid var(--vx-line);
}
body.hm-body.hm-member .hm-market .hm-market-heading-main{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:0;
  flex:1 1 320px;
}
body.hm-body.hm-member .hm-market .hm-market-toolbar{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
  min-width:min(100%,320px);
  flex:0 1 480px;
}
body.hm-body.hm-member .hm-market .hm-product-count{
  margin:0;
  white-space:nowrap;
  color:var(--vx-muted);
  font-size:12px;
  font-weight:650;
}
body.hm-body.hm-member .hm-market .hm-categories{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
  min-width:0;
  width:100%;
}
body.hm-body.hm-member .hm-market .hm-category-chip{
  min-height:34px;
  padding:7px 12px;
  border-radius:10px;
  background:#fbfbfe;
}
body.hm-body.hm-member .hm-market .hm-category-chip:hover{
  border-color:#cbc5ff;
  color:var(--vx-primary);
  background:#f7f4ff;
}
body.hm-body.hm-member .hm-market .hm-category-chip.is-selected{
  background:var(--vx-soft);
  border-color:#cbc5ff;
  color:var(--vx-primary);
  box-shadow:none;
}
/* Old standalone category bar is no longer used. */
body.hm-body.hm-member .hm-market .hm-category-bar{display:none}

/* Loading widget: place it near the bottom so it doesn't cover product rows. */
body.hm-body.hm-member .bm63-loader{
  top:auto;
  bottom:20px;
  left:calc(50% + 130px);
  transform:translateX(-50%);
  z-index:320;
  width:168px;
  height:74px;
  border-radius:12px;
}
body.hm-body.hm-member .bm63-loader__orbit{top:17px}
body.hm-body.hm-member .bm63-loader__label{top:50px;transform:translate(-50%,0)}
body.hm-body.hm-member .bm63-loader__label::after{content:'Đang tải';font:650 12px var(--vx-font);color:var(--vx-text)}

html[data-hm-theme="dark"] body.hm-body.hm-member .bm63-loader{box-shadow:0 18px 34px rgba(0,0,0,.34)}

@media(max-width:920px){
  body.hm-body.hm-member .hm-market .hm-market-toolbar{align-items:flex-start;flex:1 1 100%;min-width:0}
  body.hm-body.hm-member .hm-market .hm-categories{justify-content:flex-start}
}
@media(max-width:760px){
  body.hm-body.hm-member .bm63-loader{left:50%;bottom:14px;width:154px;height:70px}
  body.hm-body.hm-member .hm-market .hm-market-heading.hm-market-heading-has-filters{padding-bottom:13px;margin-bottom:12px}
}
@media(max-width:480px){
  body.hm-body.hm-member .hm-market .hm-category-chip{padding:6px 10px;font-size:11.5px}
}



/* R5 - Standalone guest-home promotion slider. No changes to protected catalogue. */
body.hm-body.hm-member .hm-visitor-page > .bm-promo-carousel {
  display:block;position:relative;isolation:isolate;width:100%;min-width:0;
  min-height:460px;overflow:hidden;margin:0;padding:0;
  background:linear-gradient(116deg,#ffffff 10%,#f8f7ff 66%,#ededff 100%);
  border:1px solid var(--vx-line);border-radius:19px;
  box-shadow:0 10px 30px rgba(62,56,139,.045);
}
body.hm-body.hm-member .bm-promo-carousel::before{content:'';position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#6657e8,#a59afa,#ddd7ff);z-index:5}
body.hm-body.hm-member .bm-promo-viewport{height:460px;position:relative;overflow:hidden}
body.hm-body.hm-member .bm-promo-slide {
  position:absolute;inset:0;display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(300px,.92fr);align-items:center;gap:20px;
  padding:44px 65px 61px;
  visibility:hidden;opacity:0;transform:translateX(-100%);
  transition:transform .70s cubic-bezier(.2,.7,.2,1),opacity .55s ease,visibility 0s linear .70s;
  pointer-events:none;z-index:1;
}
body.hm-body.hm-member .bm-promo-slide.is-active{visibility:visible;opacity:1;transform:translateX(0);transition-delay:0s;pointer-events:auto;z-index:2}
body.hm-body.hm-member .bm-promo-slide.is-exiting{visibility:visible;opacity:1;transform:translateX(103%);transition-delay:0s;pointer-events:none;z-index:3}
body.hm-body.hm-member .bm-promo-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;max-width:620px;min-width:0;position:relative;z-index:2}
body.hm-body.hm-member .bm-promo-eyebrow{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:99px;background:#efecff;color:#6253db;font-size:10.5px;line-height:1.25;letter-spacing:.07em;font-weight:800;margin-bottom:16px}
body.hm-body.hm-member .bm-promo-eyebrow .site-icon{width:14px;height:14px}
body.hm-body.hm-member .bm-promo-copy :is(h1,h2){font-size:clamp(29px,2.9vw,43px);line-height:1.16;letter-spacing:-.046em;max-width:630px;font-weight:800;margin:0 0 16px;color:var(--vx-heading);text-transform:none}
body.hm-body.hm-member .bm-promo-copy :is(h1,h2) em{font-style:normal;color:var(--vx-primary)}
body.hm-body.hm-member .bm-promo-copy p{color:#697995;font-size:13.5px;line-height:1.72;margin:0 0 17px;max-width:515px}
body.hm-body.hm-member .bm-promo-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:23px}
body.hm-body.hm-member .bm-promo-tags span{display:inline-flex;align-items:center;gap:6px;border:1px solid #eceafc;border-radius:9px;background:#fff;color:#586685;font-size:11.5px;font-weight:650;padding:8px 10px}
body.hm-body.hm-member .bm-promo-tags .site-icon{color:var(--vx-primary);height:15px;width:15px}
body.hm-body.hm-member .bm-promo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
body.hm-body.hm-member .bm-promo-actions a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:11px 17px;font-size:12px;font-weight:750;border-radius:9px;line-height:1.3;text-decoration:none;border:1px solid transparent;white-space:normal;text-align:center}
body.hm-body.hm-member .bm-promo-actions .bm-promo-primary{background:var(--vx-primary);border-color:var(--vx-primary);color:#fff;box-shadow:0 5px 13px rgba(102,87,232,.12)}
body.hm-body.hm-member .bm-promo-actions .bm-promo-primary:hover{background:var(--vx-hover);transform:translateY(-1px)}
body.hm-body.hm-member .bm-promo-actions .bm-promo-secondary{background:#fff;border-color:#d8d5fa;color:var(--vx-primary)}
body.hm-body.hm-member .bm-promo-actions .bm-promo-secondary:hover{background:#f2efff}
body.hm-body.hm-member .bm-promo-actions .site-icon{width:16px;height:16px}
body.hm-body.hm-member .bm-promo-art{display:block;position:relative;width:100%;height:auto;max-width:520px;max-height:365px;object-fit:contain;justify-self:center;align-self:center;z-index:1;filter:drop-shadow(0 12px 18px rgba(93,83,196,.04))}
body.hm-body.hm-member .bm-promo-controls{position:absolute;bottom:16px;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:16px;z-index:9;pointer-events:none}
body.hm-body.hm-member .bm-promo-arrow{display:grid;place-items:center;width:32px;height:32px;border:1px solid #e3e0f9;border-radius:50%;background:#fff;color:var(--vx-primary);cursor:pointer;pointer-events:auto;padding:0;box-shadow:0 2px 6px rgba(54,47,145,.04)}
body.hm-body.hm-member .bm-promo-arrow:hover{background:#efedff;border-color:#c4bcf7}
body.hm-body.hm-member .bm-promo-arrow .site-icon{height:17px;width:17px}
body.hm-body.hm-member .bm-promo-dots{display:flex;align-items:center;justify-content:center;gap:8px;pointer-events:auto}
body.hm-body.hm-member .bm-promo-dots button{width:8px;height:8px;min-width:8px;margin:0;padding:0;border:0;border-radius:99px;background:#cbc8ec;cursor:pointer;transition:width .2s ease,background .2s ease}
body.hm-body.hm-member .bm-promo-dots button.is-current{width:27px;background:var(--vx-primary)}
html[data-hm-theme="dark"] body.hm-body.hm-member .bm-promo-carousel{background:linear-gradient(110deg,#1e2537 0%,#262844 70%,#302a52 100%);border-color:var(--vx-line)}
html[data-hm-theme="dark"] body.hm-body.hm-member .bm-promo-eyebrow{color:#d8d1ff;background:#323058}
html[data-hm-theme="dark"] body.hm-body.hm-member .bm-promo-tags span{color:#d2d7eb;background:#2a3045;border-color:#414368}
html[data-hm-theme="dark"] body.hm-body.hm-member .bm-promo-copy :is(h1,h2){color:var(--vx-heading)}
html[data-hm-theme="dark"] body.hm-body.hm-member .bm-promo-copy p{color:#bbc2dc}
html[data-hm-theme="dark"] body.hm-body.hm-member .bm-promo-actions .bm-promo-secondary,
html[data-hm-theme="dark"] body.hm-body.hm-member .bm-promo-arrow{background:#30334d;color:#dfd9ff;border-color:#484368}
@media(max-width:1160px){body.hm-body.hm-member .bm-promo-slide{padding:38px 37px 59px;grid-template-columns:minmax(0,1fr) minmax(220px,.85fr)}body.hm-body.hm-member .bm-promo-copy :is(h1,h2){font-size:clamp(26px,3vw,37px)}}
@media(max-width:820px){
 body.hm-body.hm-member .hm-visitor-page > .bm-promo-carousel{min-height:585px}
 body.hm-body.hm-member .bm-promo-viewport{height:585px}
 body.hm-body.hm-member .bm-promo-slide{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:6px;padding:32px 24px 60px}
 body.hm-body.hm-member .bm-promo-copy{width:100%;max-width:none;align-items:flex-start}
 body.hm-body.hm-member .bm-promo-copy :is(h1,h2){font-size:30px;max-width:550px;margin-bottom:12px}
 body.hm-body.hm-member .bm-promo-eyebrow{margin-bottom:12px}
 body.hm-body.hm-member .bm-promo-copy p{font-size:12.7px;line-height:1.6;margin-bottom:11px}
 body.hm-body.hm-member .bm-promo-tags{margin-bottom:14px}
 body.hm-body.hm-member .bm-promo-art{max-height:230px;max-width:400px;align-self:center}
}
@media(max-width:480px){
 body.hm-body.hm-member .hm-visitor-page > .bm-promo-carousel{min-height:615px;border-radius:14px}
 body.hm-body.hm-member .bm-promo-viewport{height:615px}
 body.hm-body.hm-member .bm-promo-slide{padding:24px 17px 56px}
 body.hm-body.hm-member .bm-promo-copy :is(h1,h2){font-size:27px}
 body.hm-body.hm-member .bm-promo-tags span{font-size:10px;padding:6px 7px}
 body.hm-body.hm-member .bm-promo-actions{width:100%;gap:7px}
 body.hm-body.hm-member .bm-promo-actions a{flex:1 1 auto;font-size:11.5px;padding:9px 11px;min-height:40px}
 body.hm-body.hm-member .bm-promo-art{max-height:195px}
 body.hm-body.hm-member .bm-promo-controls{bottom:9px}
}
@media(prefers-reduced-motion:reduce){body.hm-body.hm-member .bm-promo-slide{transition:none!important}body.hm-body.hm-member .bm-promo-dots button{transition:none!important}}


/* ===== R6 QUALITY FIXES: policy/support title consistency + stable promo slider ===== */
/* Policy & support should share the same flat tab title style as account/news/wallet pages. */
body.hm-body.hm-member .hm-shell-main > main.hm-unified-page.hm-public-info{padding:0 0 26px}
body.hm-body.hm-member .hm-shell-main > main.hm-unified-page.hm-public-info > .hm-unified-head{
  margin:0 0 14px;
  padding:0 6px 14px;
  min-height:63px;
  border-bottom:1px solid var(--vx-line);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
body.hm-body.hm-member .hm-shell-main > main.hm-unified-page.hm-public-info > .hm-public-info-sheet{
  padding:0;
  min-height:calc(100dvh - 205px);
}
body.hm-body.hm-member .hm-shell-main > main.hm-unified-page.hm-public-info > .hm-public-info-sheet .hm-public-policy-body,
body.hm-body.hm-member .hm-shell-main > main.hm-unified-page.hm-public-info > .hm-public-info-sheet .hm-public-empty,
body.hm-body.hm-member .hm-shell-main > main.hm-unified-page.hm-public-info > .hm-public-info-sheet .hm-support-methods,
body.hm-body.hm-member .hm-shell-main > main.hm-unified-page.hm-public-info > .hm-public-info-sheet .hm-support-security-note,
body.hm-body.hm-member .hm-shell-main > main.hm-unified-page.hm-public-info > .hm-public-info-sheet .hm-public-info-bottom{padding-left:27px;padding-right:27px}
body.hm-body.hm-member .hm-shell-main > main.hm-unified-page.hm-public-info > .hm-public-info-sheet .hm-support-methods{padding-top:16px}
body.hm-body.hm-member .hm-shell-main > main.hm-unified-page.hm-public-info > .hm-public-info-sheet .hm-public-policy-body{padding-top:24px}
@media(max-width:760px){
  body.hm-body.hm-member .hm-shell-main > main.hm-unified-page.hm-public-info > .hm-public-info-sheet{min-height:0}
  body.hm-body.hm-member .hm-shell-main > main.hm-unified-page.hm-public-info > .hm-public-info-sheet .hm-public-policy-body,
  body.hm-body.hm-member .hm-shell-main > main.hm-unified-page.hm-public-info > .hm-public-info-sheet .hm-public-empty,
  body.hm-body.hm-member .hm-shell-main > main.hm-unified-page.hm-public-info > .hm-public-info-sheet .hm-support-methods,
  body.hm-body.hm-member .hm-shell-main > main.hm-unified-page.hm-public-info > .hm-public-info-sheet .hm-support-security-note,
  body.hm-body.hm-member .hm-shell-main > main.hm-unified-page.hm-public-info > .hm-public-info-sheet .hm-public-info-bottom{padding-left:18px;padding-right:18px}
}

/* Promo slider: clearer direction classes to avoid broken manual navigation. */
body.hm-body.hm-member .bm-promo-slide{
  visibility:hidden;
  opacity:0;
  transform:translateX(-100%);
  transition:transform .72s cubic-bezier(.2,.7,.2,1), opacity .48s ease, visibility 0s linear .72s;
}
body.hm-body.hm-member .bm-promo-slide.is-active{
  visibility:visible;
  opacity:1;
  transform:translateX(0);
  pointer-events:auto;
  z-index:3;
  transition-delay:0s;
}
body.hm-body.hm-member .bm-promo-slide.is-prep-left,
body.hm-body.hm-member .bm-promo-slide.is-prep-right{
  visibility:visible;
  opacity:1;
  pointer-events:none;
  z-index:2;
  transition:none;
}
body.hm-body.hm-member .bm-promo-slide.is-prep-left{transform:translateX(-100%)}
body.hm-body.hm-member .bm-promo-slide.is-prep-right{transform:translateX(100%)}
body.hm-body.hm-member .bm-promo-slide.is-exiting-right,
body.hm-body.hm-member .bm-promo-slide.is-exiting-left{
  visibility:visible;
  opacity:1;
  pointer-events:none;
  z-index:4;
  transition-delay:0s;
}
body.hm-body.hm-member .bm-promo-slide.is-exiting-right{transform:translateX(103%)}
body.hm-body.hm-member .bm-promo-slide.is-exiting-left{transform:translateX(-103%)}

/* R7 - Product analytics. Isolated selectors; does not change shared tab styles. */
body.hm-body.hm-member .hm-shell-main > .bm-stats-page{width:100%;max-width:none;padding:0;margin:0;background:transparent;border:0;box-shadow:none}
body.hm-body.hm-member .bm-stats-page .bm-stats-titlebar{margin:0 0 20px;padding:0 0 14px;border-bottom:1px solid var(--vx-line);background:transparent;border-radius:0;box-shadow:none}
body.hm-body.hm-member .bm-stats-titlebar .hm-unified-head-copy{flex:1 1 auto}
body.hm-body.hm-member .bm-stats-period{display:inline-flex;align-items:center;gap:7px;color:var(--vx-primary);background:var(--vx-soft);border:1px solid var(--vx-line);border-radius:9px;padding:9px 12px;font-size:11px;font-weight:750;white-space:nowrap}
body.hm-body.hm-member .bm-stats-period .site-icon{height:15px;width:15px}
body.hm-body.hm-member .bm-stats-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}
body.hm-body.hm-member .bm-stats-kpi{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:140px;padding:20px 19px;background:var(--vx-panel);border:1px solid var(--vx-line);border-radius:13px;box-shadow:var(--vx-shadow)}
body.hm-body.hm-member .bm-stats-kpi-label{font-size:10px;font-weight:800;letter-spacing:.08em;color:var(--vx-muted);line-height:1.4}
body.hm-body.hm-member .bm-stats-kpi-main{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
body.hm-body.hm-member .bm-stats-kpi-main strong{color:var(--vx-heading);font-size:clamp(22px,2.4vw,31px);line-height:1.1;font-weight:800;letter-spacing:-.025em;overflow-wrap:anywhere}
body.hm-body.hm-member .bm-stats-kpi-icon{display:grid;place-items:center;width:45px;height:45px;flex:0 0 45px;border-radius:50%;background:var(--vx-soft);color:var(--vx-primary);border:1px solid var(--vx-line)}
body.hm-body.hm-member .bm-stats-kpi-icon .site-icon{height:21px;width:21px}
body.hm-body.hm-member .bm-stats-kpi p{font-size:11px;color:var(--vx-muted);margin:0;line-height:1.4}
body.hm-body.hm-member .bm-stats-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:16px;align-items:stretch}
body.hm-body.hm-member .bm-stats-card{display:flex;flex-direction:column;min-width:0;background:var(--vx-panel);border:1px solid var(--vx-line);border-radius:13px;overflow:hidden;box-shadow:var(--vx-shadow)}
body.hm-body.hm-member .bm-stats-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:81px;padding:18px 22px;border-bottom:1px solid var(--vx-line)}
body.hm-body.hm-member .bm-stats-card-head h2{font-size:15px;font-weight:800;color:var(--vx-heading);margin:0 0 4px;line-height:1.4;letter-spacing:-.015em}
body.hm-body.hm-member .bm-stats-card-head p{font-size:11px;line-height:1.5;color:var(--vx-muted);margin:0}
body.hm-body.hm-member .bm-stats-card-head>.site-icon{height:19px;width:19px;color:var(--vx-primary);flex:0 0 19px}
body.hm-body.hm-member .bm-stats-chip{background:var(--vx-soft);border-radius:8px;padding:6px 11px;color:var(--vx-primary);font-weight:800;font-size:10px;white-space:nowrap}
body.hm-body.hm-member .bm-stats-chart-scroll{flex:1;min-width:0;padding:20px 16px 8px;overflow-x:auto}
body.hm-body.hm-member .bm-stats-svg{display:block;width:100%;min-width:450px;height:auto;max-height:315px}
body.hm-body.hm-member .bm-stats-svg-grid{stroke:var(--vx-line);stroke-width:1}
body.hm-body.hm-member .bm-stats-svg-back{fill:var(--vx-soft)}
body.hm-body.hm-member .bm-stats-svg-bar{fill:var(--vx-primary)}
body.hm-body.hm-member .bm-stats-svg-count{fill:var(--vx-heading);font:700 12px 'Inter',system-ui,sans-serif}
body.hm-body.hm-member .bm-stats-svg-name{fill:var(--vx-muted);font:600 10px 'Inter',system-ui,sans-serif}
body.hm-body.hm-member .bm-stats-ranking{padding:8px 20px 14px}
body.hm-body.hm-member .bm-stats-rank{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid var(--vx-line);min-width:0}
body.hm-body.hm-member .bm-stats-rank:last-child{border:0}
body.hm-body.hm-member .bm-stats-rank-number{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:7px;background:var(--vx-soft);color:var(--vx-primary);font-size:11px;font-weight:800}
body.hm-body.hm-member .bm-stats-rank-main{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
body.hm-body.hm-member .bm-stats-rank-main a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;font-size:12px;color:var(--vx-heading)}
body.hm-body.hm-member .bm-stats-rank-main a:hover{color:var(--vx-primary)}
body.hm-body.hm-member .bm-stats-rank-main small{font-size:10px;color:var(--vx-muted)}
body.hm-body.hm-member .bm-stats-rank>strong{font-size:12px;flex:0 0 auto;color:var(--vx-heading)}
body.hm-body.hm-member .bm-stats-page progress{appearance:none;-webkit-appearance:none;display:block;overflow:hidden;width:100%;height:7px;border:0;border-radius:999px;background:var(--vx-soft);accent-color:var(--vx-primary)}
body.hm-body.hm-member .bm-stats-page progress::-webkit-progress-bar{background:var(--vx-soft);border-radius:999px}
body.hm-body.hm-member .bm-stats-page progress::-webkit-progress-value{background:var(--vx-primary);border-radius:999px}
body.hm-body.hm-member .bm-stats-page progress::-moz-progress-bar{background:var(--vx-primary);border-radius:999px}
body.hm-body.hm-member .bm-stats-ranking progress{margin-top:4px}
body.hm-body.hm-member .bm-stats-mini-table{padding:8px 20px;display:flex;flex-direction:column}
body.hm-body.hm-member .bm-stats-mini-row{display:flex;align-items:center;gap:12px;min-height:66px;padding:12px 0;border-bottom:1px solid var(--vx-line);min-width:0}
body.hm-body.hm-member .bm-stats-mini-row:last-child{border:0}
body.hm-body.hm-member .bm-stats-mini-row:hover .bm-stats-mini-name{color:var(--vx-primary)}
body.hm-body.hm-member .bm-stats-mini-index{display:grid;place-items:center;width:27px;height:27px;flex:0 0 27px;border-radius:8px;background:var(--vx-soft);color:var(--vx-primary);font-weight:800;font-size:12px}
body.hm-body.hm-member .bm-stats-mini-name{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:var(--vx-heading);min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.hm-body.hm-member .bm-stats-mini-name small{font-size:10px;color:var(--vx-muted);font-weight:500}
body.hm-body.hm-member .bm-stats-mini-row>strong{font-size:11px;color:var(--vx-primary);white-space:nowrap;font-weight:800}
body.hm-body.hm-member .bm-stats-category-list{padding:24px 22px;display:flex;flex-direction:column;gap:19px}
body.hm-body.hm-member .bm-stats-cat-row{display:flex;flex-direction:column;gap:9px}
body.hm-body.hm-member .bm-stats-cat-text{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--vx-text)}
body.hm-body.hm-member .bm-stats-cat-text strong{color:var(--vx-heading)}
body.hm-body.hm-member .bm-stats-category-list progress{height:9px}
body.hm-body.hm-member .bm-stats-empty{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;min-height:150px;padding:26px;color:var(--vx-muted);font-size:12px;text-align:center}
body.hm-body.hm-member .bm-stats-pending{flex-direction:column;gap:11px;line-height:1.6}
body.hm-body.hm-member .bm-stats-pending>.site-icon{width:27px;height:27px;color:var(--vx-primary)}
body.hm-body.hm-member .bm-stats-pending strong{color:var(--vx-heading);font-size:14px}
body.hm-body.hm-member .bm-stats-pending span{max-width:340px}
body.hm-body.hm-member .bm-stats-pending code{font-size:11px;color:var(--vx-primary)}
body.hm-body.hm-member .bm-stats-data-note{display:flex;align-items:flex-start;gap:8px;margin:18px 1px 12px;color:var(--vx-muted);font-size:11px;line-height:1.6}
body.hm-body.hm-member .bm-stats-data-note .site-icon{height:15px;width:15px;flex:0 0 15px;color:var(--vx-primary)}
html[data-hm-theme="dark"] body.hm-body.hm-member .bm-stats-pending code{color:#cfc8ff}
@media(max-width:1180px){body.hm-body.hm-member .bm-stats-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:920px){body.hm-body.hm-member .bm-stats-grid{grid-template-columns:1fr}}
@media(max-width:650px){body.hm-body.hm-member .bm-stats-kpis{gap:9px}body.hm-body.hm-member .bm-stats-kpi{padding:14px;min-height:121px;gap:8px}body.hm-body.hm-member .bm-stats-kpi-main strong{font-size:24px}body.hm-body.hm-member .bm-stats-kpi-icon{height:36px;width:36px;flex-basis:36px}body.hm-body.hm-member .bm-stats-card-head{padding:14px 16px}body.hm-body.hm-member .bm-stats-titlebar{flex-wrap:wrap}body.hm-body.hm-member .bm-stats-period{margin-left:auto}body.hm-body.hm-member .bm-stats-mini-table,body.hm-body.hm-member .bm-stats-ranking{padding-left:14px;padding-right:14px}}
@media(max-width:400px){body.hm-body.hm-member .bm-stats-kpi-label{font-size:9px}body.hm-body.hm-member .bm-stats-kpi-main strong{font-size:20px}body.hm-body.hm-member .bm-stats-kpi p{font-size:10px}}
