@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800;900&display=swap');
:root{--ink:#242b3c;--muted:#778091;--teal:#00b5c9;--purple:#8e35d6}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:#f7f9fb;color:var(--ink);font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:14px}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button,a{cursor:pointer}a{text-decoration:none;color:inherit}button{border:0}button:focus-visible,a:focus-visible{outline:3px solid #7935d7;outline-offset:4px}.wrap{max-width:1380px;margin:auto;padding:0 32px}header{background:linear-gradient(110deg,#a655d5,#e8449e 80%,#ee6582);color:white;box-shadow:0 3px 14px #292a4015;position:sticky;top:0;z-index:10}.nav{height:92px;display:flex;align-items:center;gap:14px}.brand{display:flex;gap:12px;align-items:center;white-space:nowrap}.logo{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#e60020;color:#ffec4b;font-size:12px;font-style:italic;font-weight:900}.brand strong{font-size:14px}.brand small{display:block;font-size:10px;margin-top:5px;opacity:.86}.search{margin-left:auto;display:flex;align-items:center;gap:10px;background:#fff;color:#9394a7;border-radius:9px;padding:10px 14px;width:350px}.search span{font-size:25px;line-height:1}.search input{width:100%;border:0;outline:none;background:transparent;font-size:12px}.search kbd{border:1px solid #ddd;border-radius:3px;padding:1px 5px}.navbtn{background:#ffffff25;color:white;border-radius:8px;padding:12px;display:flex;gap:8px;align-items:center;font-size:12px;white-space:nowrap}.navbtn:hover{background:#ffffff40}.cartbtn b{background:white;color:#d5449f;border-radius:50%;padding:2px 5px}.hero{position:relative;overflow:hidden;text-align:center;margin-top:30px;border-radius:24px;background:linear-gradient(120deg,#1bcca9,#1eacc7);color:white;padding:52px 20px 0;min-height:575px;box-shadow:0 7px 23px #6663c42c}.hero-orb{width:82px;height:82px;display:grid;place-items:center;background:#ffffff30;border-radius:50%;margin:0 auto 25px;font-size:44px;transform:rotate(-90deg)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2.5px;color:#d8fff6}.hero h1{font-size:46px;letter-spacing:-1.7px;font-weight:900;margin:17px 0 2px}.hero h2{font-size:38px;color:#ffeb44;letter-spacing:-1px;margin:0;font-weight:900}.hero p{font-size:17px;margin:20px 0 26px}.perks{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.perks span{border:1px solid #ffffff70;border-radius:30px;background:#ffffff25;padding:12px 18px;font-size:12px;font-weight:600}.explore{display:inline-flex;gap:28px;background:white;color:#9735d6;font-weight:700;padding:17px 28px;border-radius:30px;margin:23px 0 48px;box-shadow:0 8px 22px #13637820}.hero-bottom{border-top:1px solid #ffffff25;padding:20px;display:flex;justify-content:center;align-items:center;gap:25px;font-size:10px;letter-spacing:2px;color:#e6ffff}.hero-bottom i{width:4px;height:4px;background:#fff8;border-radius:50%}.section-head{display:flex;justify-content:space-between;align-items:center;margin:30px 0 19px}.overline{font-size:9px;letter-spacing:1.7px;font-weight:700;color:#8995a5}.section-head h2,.how h2,.faq h2{font-size:22px;margin:7px 0 0;letter-spacing:-.5px}.section-head a{color:#8c39c7;font-size:12px;font-weight:600}.section-head a span{margin-left:12px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.card{background:white;border:1px solid #edf0f5;border-radius:13px;padding:14px;box-shadow:0 3px 4px #29354b05;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-4px);box-shadow:0 10px 24px #29354b12}.badge{display:inline-block;color:white;background:#cf292b;border-radius:15px;padding:5px 10px;font-size:9px;font-weight:700}.badge.IF{background:#94d70e}.badge.OK{background:#7b22ca}.art{height:154px;border-radius:7px;margin:11px 0 14px;position:relative;overflow:hidden;color:white;padding:14px 16px;background:linear-gradient(130deg,var(--color),var(--dark));text-align:left;width:100%;display:block}.art:before{content:'';position:absolute;width:220px;height:220px;transform:rotate(35deg);right:-130px;top:-60px;border:35px solid #ffffff20}.art:after{content:'';position:absolute;width:130px;height:130px;border-radius:50%;border:1px solid #ffffff35;right:-35px;bottom:-70px}.art-top{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1px}.network{font-size:43px;font-style:italic;font-weight:900;line-height:1.15;letter-spacing:-2px;margin:8px 0 0;text-shadow:2px 2px #00000015}.art-sub{font-size:11px;font-weight:700;font-style:italic}.art-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.data{font-size:20px;font-weight:900}.days{font-size:10px;background:#fff2;border-radius:5px;padding:5px 8px}.card h3{font-size:13px;margin:0 0 8px;line-height:1.6;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.desc{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 12px}.price-line{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.price{color:#008cce;font-size:21px;font-weight:800;letter-spacing:-.6px}.price small{font-size:12px}.stock{color:#13a454;font-size:9px}.stock.out{color:#ec535a}.buy{width:100%;border-radius:6px;background:linear-gradient(110deg,#079fee,#00b8c6);color:white;font-weight:700;font-size:11px;padding:11px}.buy:disabled{background:#eef1f6;color:#98a0ac;cursor:default}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px;border-bottom:1px solid #e8edf3;padding-bottom:18px}.filters{display:flex;gap:6px}.filters button{padding:10px 16px;border-radius:7px;background:white;color:#7a8190;font-size:11px}.filters button.active{background:#8e35d6;color:white}.sorts{display:flex;align-items:center;gap:18px;font-size:11px;color:#7a8190}.sorts select{border:1px solid #e5e9ef;background:white;padding:9px;border-radius:6px;font-size:11px;color:#646e7f}#resultCount{font-size:11px;color:#8d97a5}.how{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:25px;padding:32px;background:#edf8f8;border-radius:16px;margin:45px 0}.how h2{font-size:20px}.how p{font-size:11px;line-height:1.8;color:#778590}.how article b{color:#16aca9;font-size:25px;font-weight:800}.how h3{font-size:13px}.faq{display:grid;grid-template-columns:1fr 2fr;gap:40px;margin:45px 0 55px}details{border-bottom:1px solid #e5eaf0;padding:17px 0}summary{font-weight:600;font-size:12px;cursor:pointer}details p{font-size:12px;line-height:1.9;color:#7a8490}.footer{display:flex;align-items:center;justify-content:space-between;padding-top:28px;padding-bottom:28px;font-size:10px;color:#8993a1}footer{border-top:1px solid #e7ebef;background:white}.footer .logo{width:44px;height:44px;font-size:9px}.footer a:last-child{color:#8d35c9}.support{position:fixed;bottom:24px;right:24px;width:48px;height:48px;background:#3879ef;color:white;border-radius:50%;box-shadow:0 4px 15px #3879ef40;font-size:23px;z-index:12}.empty{text-align:center;padding:50px;color:#8993a1;line-height:2}.empty button{padding:10px 20px;background:#8e35d6;color:white;border-radius:6px;margin-top:15px}dialog{width:min(540px,calc(100% - 28px));max-height:88vh;border:0;border-radius:16px;padding:25px;color:var(--ink);box-shadow:0 20px 80px #15253730}dialog::backdrop{background:#17213980;backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.modal-head h2{font-size:20px;margin:0}.modal-head button{font-size:26px;background:#f0f3f7;border-radius:50%;width:32px;height:32px}.modal-text{font-size:12px;line-height:1.9;color:#758090}.cart-row{display:flex;gap:12px;align-items:center;border-bottom:1px solid #edf0f5;padding:15px 0}.cart-row h3{font-size:12px;margin:0 0 7px}.cart-row small{color:#008cce}.qty{display:flex;align-items:center;gap:8px;margin-left:auto}.qty button{background:#f0f3f7;border-radius:5px;width:25px;height:25px}.remove{background:none;color:#b54c69;font-size:18px}.total{display:flex;justify-content:space-between;font-weight:700;margin:22px 0}.form label{display:block;font-size:12px;font-weight:600;margin:13px 0}.form input,.form textarea{width:100%;padding:12px;border:1px solid #dce2e9;border-radius:7px;margin-top:7px;font:inherit;resize:vertical}.notice{background:#f3eefb;border-radius:7px;padding:12px;font-size:11px;color:#8551b0;line-height:1.8}.order{border:1px solid #e4e9f0;padding:14px;border-radius:8px;margin:12px 0}.order p{font-size:12px;line-height:1.7}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#252f42;color:white;padding:14px 24px;border-radius:10px;font-size:12px;z-index:30;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}@media(min-width:1600px){.wrap{max-width:1540px}.hero{min-height:650px;padding-top:65px}.hero h1{font-size:54px}.hero h2{font-size:43px}.explore{margin-bottom:75px}.art{height:180px}}@media(max-width:1100px){.brand strong{font-size:11px}.search{width:260px}.navbtn span{display:none}.grid{gap:12px}.art{padding:12px;height:140px}.price{font-size:18px}.hero h1{font-size:38px}.hero h2{font-size:32px}.sorts{gap:8px}.wrap{padding:0 24px}}@media(max-width:760px){.wrap{padding:0 16px}.nav{height:auto;min-height:80px;flex-wrap:wrap;padding-top:13px;padding-bottom:13px;gap:8px}.brand{flex:1}.brand strong{font-size:10px}.brand small{font-size:8px}.logo{width:42px;height:42px;font-size:9px}.search{order:5;width:100%;margin:3px 0 0}.navbtn{padding:10px}.hero{margin-top:18px;min-height:auto;padding:30px 14px 0;border-radius:17px}.hero-orb{width:62px;height:62px;font-size:32px;margin-bottom:18px}.eyebrow{font-size:7px;letter-spacing:1.5px}.hero h1{font-size:27px;line-height:1.4;letter-spacing:-.8px}.hero h2{font-size:24px;line-height:1.5}.hero p{font-size:12px;line-height:1.8}.perks{gap:5px}.perks span{font-size:8px;padding:9px}.explore{font-size:12px;padding:14px 24px;margin-bottom:30px}.hero-bottom{font-size:7px;gap:15px;padding:17px 0}.section-head h2{font-size:17px}.section-head a{font-size:9px}.grid{grid-template-columns:repeat(2,1fr);gap:12px}.card{padding:10px}.art{height:135px;padding:10px}.art-top{font-size:6px}.network{font-size:33px}.art-sub{font-size:9px}.data{font-size:17px}.days{font-size:8px;padding:4px}.card h3{font-size:11px}.price{font-size:17px}.stock{font-size:8px}.badge{font-size:8px}.toolbar{align-items:flex-start;flex-direction:column}.sorts{width:100%;justify-content:space-between}.filters button{font-size:10px;padding:9px 12px}.how{grid-template-columns:1fr 1fr;padding:20px;gap:15px}.how>div{grid-column:span 2}.faq{grid-template-columns:1fr;gap:12px}.footer{flex-wrap:wrap;gap:20px}.footer>span{width:100%;order:3}.overline{font-size:8px}}@media(max-width:360px){.grid{grid-template-columns:1fr}.brand strong{font-size:9px}}
/* Stitch reference redesign */
:root{--teal:#13b79f;--purple:#13b79f;--ink:#202b40}body{background:#f7f9fb}.wrap{max-width:1280px;padding:0 32px}.promo{min-height:39px;padding:10px 16px;background:#e71d2b;color:#fff;text-align:center;font-size:11px;font-weight:600}.promo>span{font-size:9px;color:#e71d2b;border-radius:20px;background:#fff;padding:4px 8px;margin-right:8px}.promo a{text-decoration:underline;margin-left:12px}header{background:#fff;color:var(--ink);box-shadow:0 2px 3px #202b4006}.nav{height:80px;gap:22px}.logo{background:linear-gradient(135deg,#ff7220,#ee212b);font-style:normal;display:flex;flex-direction:column;width:48px;height:48px;gap:0;color:white;font-size:13px;box-shadow:0 3px 5px #e3242020}.logo small{font-size:9px;margin:0;color:#ffeb59;opacity:1}.brand{gap:12px}.brand strong{font-size:20px;letter-spacing:-.8px}.brand em{font-size:12px;background:#fff2f2;color:#ef242a;padding:4px;font-style:normal;letter-spacing:0;font-weight:500}.brand small{font-size:10px;color:#8a9bbb;margin-top:3px}.search{border:1px solid #dce5f0;background:#f7f9fc;border-radius:25px;flex:1;width:auto;margin-left:18px;padding:5px 6px 5px 15px;min-width:170px}.search input{font-size:12px}.search input::placeholder{color:#91a4c1}.search button{border-radius:20px;background:#13b79f;color:white;padding:9px 16px;font-size:11px;white-space:nowrap}.navbtn{color:#32435c;background:#f1f5f9;border-radius:20px;padding:10px 13px;font-size:11px}.navbtn:hover{background:#e8f1f6}.cartbtn{background:white;font-size:25px;position:relative;padding:5px}.cartbtn b{position:absolute;right:-3px;top:0;background:#e91d2a;color:#fff;font-size:8px}.profile{display:flex;align-items:center;gap:10px;background:white;border-left:1px solid #e8edf3;padding-left:14px;color:var(--ink);font-size:10px;text-align:left;white-space:nowrap}.profile>b{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#ef2d45;font-size:14px}.profile small{display:block;color:#0ab485;font-size:9px;margin-top:3px}.hero{margin-top:24px;min-height:520px;border-radius:24px;padding:40px 24px 48px;background:radial-gradient(at 100% 0%,#47c9ae,transparent 45%),linear-gradient(120deg,#1bbab1,#1dbc9e 55%,#21cdbb);box-shadow:0 12px 28px #11b69922}.hero-orb{border-radius:16px;width:64px;height:64px;font-size:30px;transform:none;border:1px solid #ffffff55;background:#ffffff30;margin-bottom:34px}.hero h1{font-size:46px;letter-spacing:-1.8px;margin:0;font-weight:800}.hero h2{font-size:38px;font-weight:800;letter-spacing:0;line-height:1.4;color:#ffe252}.hero p{font-size:18px;line-height:1.6;margin:9px auto 30px;max-width:720px}.perks{gap:14px}.perks span{font-size:12px;padding:10px 16px;line-height:1.3;background:#ffffff30;border-color:#ffffff45;font-weight:500}.hero-actions{display:flex;justify-content:center;gap:16px;margin-top:32px}.explore,.fast{margin:0;padding:16px 30px;display:inline-flex;align-items:center;gap:6px;border-radius:30px;font-size:14px;font-weight:700;box-shadow:0 6px 12px #167d7730}.explore{color:#00bba0}.fast{background:#d53330;color:#fff}.quick{margin-top:48px;background:#fff;border:1px solid #dfe7f0;border-radius:16px;padding:32px;box-shadow:0 2px 2px #24334b04}.quick-heading{display:flex;align-items:center;gap:12px;padding-bottom:18px;border-bottom:1px solid #eff3f7}.quick-heading>span:first-child{background:#effcf8;color:#00ba9a;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:25px}.quick-heading h2{font-size:17px;margin:0 0 5px}.quick-heading p{color:#8292ad;font-size:10px;margin:0}.demo-label{margin-left:auto;font-size:9px;color:#9a7181;background:#fff2f4;padding:6px 9px;border-radius:5px}.quick-form{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:20px;margin-top:24px}.quick-form label{font-size:10px;color:#495a74;display:block;font-weight:600;margin-bottom:9px}.quick-form input,.quick-form select{width:100%;height:42px;background:#f7f9fc;border:1px solid #dce4ee;border-radius:11px;padding:10px;font-size:12px;color:#29364d}.quick-form small{display:block;font-size:9px;color:#91a3bf;margin-top:8px;line-height:1.5}#quickHint{color:#00a997}#quickProviders{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}#quickProviders button{background:white;border:1px solid #dce4ee;border-radius:12px;padding:9px 5px;font-size:10px;white-space:nowrap;color:#34445e}#quickProviders button.selected{border-color:#00b99a;color:#00b99a;box-shadow:inset 0 0 0 1px #00b99a;background:#f4fffb}.quick-submit{padding-top:32px}.quick-submit button{width:100%;height:44px;background:#e71320;color:#fff;border-radius:12px;font-size:12px;font-weight:700;box-shadow:0 4px 5px #ee20201c}.quick-submit button:disabled{background:#a6afbb;box-shadow:none;cursor:default}.quick-submit small{text-align:center}#catalog{margin-top:48px;position:relative}.section-head{margin:0 0 24px}.section-head h2{font-size:25px;font-weight:800}.section-sub{color:#7f91ad;font-size:10px;margin:5px 0 0}.toolbar{border:0;padding:0;position:absolute;right:0;top:5px;gap:10px}.filters button{border-radius:20px;padding:8px 13px;font-size:10px;background:#f0f4f8;color:#34455e}.filters button.active{background:#13b79f}.sorts{display:none}#resultCount{display:none}.grid{gap:24px}.card{padding:16px;border-color:#dce5f0;border-radius:16px;box-shadow:0 2px 2px #32456205}.card-top{display:flex;justify-content:space-between;gap:5px;align-items:center}.badge{border-radius:6px;background:#ed1b23;font-size:9px;padding:6px 9px;text-transform:uppercase;white-space:nowrap}.badge.IF{background:#009d75}.badge.OK{background:#753ad6}.stock{background:#effcf9;padding:5px 7px;border-radius:4px;color:#009c8f;white-space:nowrap;font-size:9px}.stock.out{background:#fff0f1;color:#ef393b}.art{height:176px;margin:12px 0 16px;border-radius:12px;padding:14px;color:#fff}.art:before,.art:after{display:none}.art-top{font-size:10px;letter-spacing:0}.art-top b{background:#0002;padding:4px 8px;border-radius:3px;font-size:9px}.art-top>span{color:#fff24d;font-weight:800}.network{font-size:31px;font-weight:800;text-align:center;margin-top:17px;letter-spacing:0;text-shadow:none}.art-sub{text-align:center;font-size:10px;letter-spacing:1px;font-style:normal}.art-data{margin:8px auto 15px;border-radius:20px;padding:4px 8px;background:#ffd923;color:#122137;font-size:8px;font-weight:700;display:table}.art-bottom{border-top:1px solid #ffffff35;font-size:7px;margin-top:10px;padding-top:9px}.art.IF .network{font-size:28px}.art.IF .art-data{background:white;color:#ff6810}.art.yellow{color:#1657fd}.art.yellow .art-top{color:#151d32}.art.yellow .art-top>span{color:#151d32}.art.yellow .art-sub{color:#f82355;letter-spacing:0}.art.yellow .art-data{background:#2861ef;color:#fff}.art.yellow .art-bottom{color:#273a4e}.art.pink .art-sub{color:#faff34;letter-spacing:0}.art.pink .art-data{background:white;color:#ec3696}.card h3{font-size:12px;line-height:1.6}.desc{font-size:10px;margin-bottom:22px}.price-line{justify-content:flex-start;gap:8px;border-top:1px solid #f4f6f9;padding-top:10px;margin:0 0 14px}.price{color:#2863ff;font-size:19px;letter-spacing:0}.old-price{color:#9aaac4;font-size:10px;text-decoration:line-through}.card-actions{display:flex;gap:8px}.card-actions .buy,.basket{flex:1;width:50%;font-size:10px;border-radius:12px;padding:10px 4px;font-weight:600}.buy{background:#13b79f}.buy:hover{filter:brightness(.96)}.basket{color:#33445e;background:#f0f4f8}.basket:disabled{color:#9aabc3;cursor:default}.buy:disabled{background:#e3e8f0;color:#47556a}.how{margin:72px 0 0;padding:48px;background:#0f182a;border-radius:24px;grid-template-columns:repeat(3,1fr);gap:24px;color:#fff}.how>div{grid-column:1/-1}.how .overline{color:#00c8ae;font-size:11px;letter-spacing:0}.how h2{font-size:30px;margin-top:12px;font-weight:800}.how>div p{font-size:12px;max-width:650px;line-height:1.8;margin:8px 0 15px}.how article{padding:24px;background:#1b283a;border:1px solid #2b3a4f;border-radius:16px}.how article b{display:grid;place-items:center;width:48px;height:48px;background:#1c4952;color:#22c9bb;font-size:18px;border-radius:12px;margin-bottom:18px}.how article:nth-of-type(2) b{background:#50303e;color:#ff5479}.how article:nth-of-type(3) b{background:#504330;color:#ffc11f}.how h3{font-size:14px}.how p{color:#94a3b8;font-size:11px}.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:72px 0 80px}.benefits article{display:flex;gap:14px;border:1px solid #dce5ef;padding:16px;background:white;border-radius:12px}.benefits article>span{flex-shrink:0;width:40px;height:40px;background:#effcf9;color:#00bba0;border-radius:9px;display:grid;place-items:center;font-size:23px}.benefits article:nth-child(2)>span{color:#f02d43;background:#fff2f4}.benefits article:nth-child(3)>span{color:#e79010;background:#fffbed}.benefits article:nth-child(4)>span{color:#2863ff;background:#eff5ff}.benefits h3{font-size:12px;margin:2px 0 5px}.benefits p{font-size:10px;line-height:1.6;margin:0;color:#8293af}.faq{margin:0 0 40px}.faq h2{font-size:20px}.footer-grid{display:grid;grid-template-columns:2.2fr 1fr 1fr 1fr;gap:42px;padding-top:48px;padding-bottom:48px}.footer-grid h3{font-size:12px;margin:0 0 15px}.footer-about h3{font-size:14px;display:flex;gap:8px;align-items:center}.footer-about h3>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e71925;color:white;font-size:12px}.footer-grid p{color:#8292ae;font-size:10px;line-height:1.9;margin:0 0 15px}.footer-grid a,.footer-grid>div>span,.footer-grid>div>button:not(.footer-chip){display:block;font-size:10px;background:none;color:#65758f;padding:0;text-align:left;margin-bottom:10px}.footer-chip{font-size:9px;background:#f0f4f8;padding:7px 9px;border-radius:4px;color:#54647d;margin-right:7px}.payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.payment-grid span{padding:10px 5px;text-align:center;font-size:9px;border:1px solid #dfe7f0;border-radius:8px;background:#f7f9fc;color:#52647e}.footer-bottom{border-top:1px solid #edf1f6;display:flex;justify-content:space-between;padding-top:24px;padding-bottom:24px;color:#96a8c3;font-size:9px}.notice{color:#46796e;background:#ecfaf5}.support{background:#13b79f}
@media(min-width:1600px){.wrap{max-width:1380px}.hero{min-height:520px;padding-top:40px}.hero h1{font-size:46px}.hero h2{font-size:38px}.explore{margin-bottom:0}.art{height:176px}}
@media(max-width:1100px){.nav{gap:12px}.brand strong{font-size:17px}.brand em{display:none}.profile span{display:none}.search{margin-left:0}.hero h1{font-size:38px}.hero h2{font-size:34px}.quick-form{grid-template-columns:1fr 1fr}.toolbar{position:static;margin-bottom:20px}.grid{gap:16px}.card{padding:12px}.art-top b{font-size:7px}.art-top{font-size:8px}.badge{font-size:7px}.stock{font-size:8px}.how{padding:32px;gap:18px}.benefits{gap:14px;grid-template-columns:repeat(2,1fr)}.footer-grid{gap:24px;grid-template-columns:2fr 1fr 1fr}.footer-grid>div:last-child{grid-column:2/4}.price{font-size:17px}.old-price{font-size:8px}}
@media(max-width:760px){.wrap{padding-left:16px;padding-right:16px}.promo{font-size:9px;line-height:1.8}.nav{height:auto;gap:12px;padding-top:14px;padding-bottom:14px}.brand{flex:1}.brand strong{font-size:18px}.brand small{font-size:9px}.navbtn span{display:none}.logo{width:43px;height:43px;font-size:12px}.profile{padding-left:8px}.profile>b{width:32px;height:32px}.search{order:5;flex-basis:100%;padding:5px 5px 5px 12px}.search input{font-size:10px}.search button{font-size:10px}.hero{min-height:auto;padding:28px 14px 32px;border-radius:18px;margin-top:18px}.hero-orb{width:52px;height:52px;margin-bottom:24px}.hero h1{font-size:27px;letter-spacing:-1px;line-height:1.35}.hero h2{font-size:25px;margin-top:10px}.hero p{font-size:12px;margin:12px 0 22px}.hero p br{display:none}.perks{gap:6px}.perks span{font-size:8px;padding:8px}.hero-actions{gap:10px;margin-top:25px}.explore,.fast{font-size:11px;padding:13px 18px}.quick{padding:18px;margin-top:28px}.quick-heading h2{font-size:14px}.quick-heading p{font-size:9px;line-height:1.7}.demo-label{display:none}.quick-form{grid-template-columns:1fr;gap:18px;margin-top:18px}.quick-form label{font-size:11px}.quick-submit{padding-top:0}#quickProviders button{font-size:11px;padding:10px}.quick-form input,.quick-form select{font-size:12px}.section-head h2{font-size:22px}.section-sub{font-size:9px}.filters{flex-wrap:wrap}.filters button{font-size:9px;padding:8px 12px}.grid{gap:12px}.card{padding:10px}.card-top{flex-wrap:wrap;gap:5px}.badge{font-size:6px;padding:5px}.stock{font-size:7px;padding:4px}.art{height:146px;padding:10px;margin:10px 0 12px}.art-top b{font-size:6px;padding:3px 4px}.art-top{font-size:7px}.network{font-size:27px;margin-top:16px}.art.IF .network{font-size:25px}.art-sub{font-size:8px;letter-spacing:.5px}.art-data{font-size:6px;margin:7px auto 11px}.art-bottom{font-size:6px;padding-top:7px;margin-top:7px}.card h3{font-size:11px}.desc{font-size:9px;margin-bottom:14px}.price-line{gap:5px;flex-wrap:wrap}.price{font-size:16px}.old-price{font-size:8px}.card-actions{gap:5px}.card-actions .buy,.basket{font-size:8px;padding:9px 3px;border-radius:8px}.how{padding:24px;grid-template-columns:1fr;margin-top:40px;gap:16px}.how>div{grid-column:auto}.how h2{font-size:24px;line-height:1.5}.how article{padding:20px}.benefits{padding:32px 0;gap:12px}.benefits article{padding:12px;gap:9px;flex-direction:column}.benefits h3{font-size:11px}.benefits p{font-size:9px}.footer-grid{grid-template-columns:1fr 1fr;gap:28px;padding-top:32px;padding-bottom:32px}.footer-about{grid-column:1/-1}.footer-grid>div:last-child{grid-column:1/-1}.payment-grid{grid-template-columns:repeat(4,1fr)}.footer-bottom{gap:12px;flex-direction:column;line-height:1.8}.faq{grid-template-columns:1fr;margin-bottom:28px}}
@media(max-width:360px){.grid{grid-template-columns:1fr}.hero-actions{flex-direction:column;align-items:center}.payment-grid{grid-template-columns:1fr 1fr}}

.more-wrap{text-align:center;margin-top:22px}.more-wrap button{border:1px solid #dce5ee;background:white;color:#548075;border-radius:20px;padding:10px 22px;font-size:11px}.more-wrap button[hidden]{display:none}
/* Complete catalog and purchase experience */
.skip-link{position:fixed;top:-80px;left:16px;z-index:100;background:#fff;padding:14px;border-radius:8px}.skip-link:focus{top:12px}input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #087f75;outline-offset:3px}.search:focus-within{border-color:#087f75;box-shadow:0 0 0 3px #13b79f20}.demo-banner{display:flex;align-items:center;gap:20px;margin:24px 0 0;padding:16px 20px;border:1px solid #dfebe8;border-radius:12px;background:#eef8f5;color:#476960}.demo-banner>span{font-size:10px;letter-spacing:.8px;font-weight:800;white-space:nowrap}.demo-banner p{font-size:12px;line-height:1.7;margin:0;flex:1}.demo-banner a{font-size:11px;white-space:nowrap;font-weight:600}.toolbar{position:static;display:flex;flex-wrap:wrap;justify-content:space-between;padding:16px;background:#edf2f5;border-radius:12px;margin-bottom:24px}.sorts{display:flex;font-size:12px;gap:16px}.sorts label{display:flex;align-items:center;gap:6px;cursor:pointer}.sorts input{accent-color:#079c88;width:17px;height:17px}.sorts select{font-size:12px;padding:10px;border-radius:8px;color:#34445e}#resultCount{display:block;font-size:12px;color:#53657b;white-space:nowrap}.section-sub{font-size:12px;line-height:1.8}.filters button{font-size:12px;background:white;min-height:40px}.card{display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-4px);box-shadow:0 12px 28px #183b3010}.card h3{margin-top:0;min-height:42px}.product-title{padding:0;background:none;color:inherit;text-align:left;font:inherit;font-weight:700;line-height:1.7}.product-title:hover{color:#008d7a}.desc{line-height:1.7;color:#64758b}.price-line{margin-top:auto;justify-content:space-between}.sample-price{font-size:10px;color:#78869a}.card-actions .buy,.basket{font-size:11px;min-height:42px}.art{position:relative;flex-shrink:0;overflow:hidden;text-align:left;background:linear-gradient(125deg,var(--color),var(--dark));box-shadow:inset 0 0 0 1px #ffffff30}.art .network{font-size:40px;text-align:left;line-height:1;margin:23px 0 7px;color:white;text-shadow:0 2px 12px #0002}.art.IF .network{font-size:40px}.art .art-sub{text-align:left;font-size:10px;color:white;letter-spacing:1.8px}.art .art-bottom{display:flex;justify-content:space-between;color:white;margin-top:20px;font-size:8px}.art-top b{max-width:80%;font-size:8px}.sim-chip{position:absolute;right:18px;top:65px;display:grid;place-items:center;width:42px;height:48px;border:1px solid #ffffff70;background:#ffffff20;border-radius:8px;color:#ffefa1;font-size:34px}.art[data-detail="3"]{--color:#b79311!important;--dark:#805b08!important}.card .badge{font-size:8px}.modal-text{font-size:14px;color:#58697b}dialog{width:min(620px,calc(100% - 28px));padding:28px}dialog .art{width:100%;max-width:350px;display:block;margin:0 auto 24px}.modal-head h2{font-size:21px}.modal-head button{flex-shrink:0;width:40px;height:40px}.form label{font-size:13px}.form input,.form textarea{font-size:14px}.notice{font-size:12px}.checkout-summary{border-bottom:1px solid #e3ebe8;padding:12px 0}.checkout-summary p,.order-lines p{display:flex;justify-content:space-between;gap:16px;font-size:12px;line-height:1.8}.checkout-summary strong,.order-lines b{white-space:nowrap}.cart-row h3{font-size:13px;line-height:1.7}.qty button{width:32px;height:36px}.qty span{min-width:18px;text-align:center}.cart-row>div:first-child{flex:1}.cart-row .qty{flex-shrink:0}.order-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.order-status{font-size:10px;color:#96671b;background:#fff4dc;padding:6px 8px;border-radius:5px}.order details{border:0;padding:8px 0}.order details summary{font-size:13px}.order p{overflow-wrap:anywhere}.secondary{background:#f0f4f8;padding:12px 16px;border-radius:8px;color:#46576b;font-size:12px}.empty-state{text-align:center;padding:30px 15px}.empty-state>span{font-size:48px;color:#09a38c}.empty-state p{color:#68798d;font-size:13px;line-height:1.8}dialog .buy{font-size:14px;min-height:46px;border-radius:10px}.quick-form input,.quick-form select{min-height:46px}.quick-form small{font-size:11px}.quick-heading p{font-size:12px}.quick-form label{font-size:12px}.quick-submit button{font-size:14px;height:46px}.quick-submit{padding-top:25px}.how p,.benefits p,.footer-grid p,.footer-grid a,.footer-grid>div>button:not(.footer-chip){font-size:12px}.how h3,.benefits h3{font-size:14px}details p{font-size:13px}.hero:after{content:'';position:absolute;right:-90px;bottom:-160px;width:400px;height:400px;border:55px solid #ffffff0b;border-radius:50%;pointer-events:none}.hero>*{position:relative;z-index:1}.quick-form>div{min-width:0}.search input{min-width:0}.grid>*{min-width:0}#toast{max-width:calc(100vw - 32px);width:max-content;text-align:center;line-height:1.6}
@media(max-width:1100px){.sorts{flex-wrap:wrap}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.art{height:190px}.card h3{min-height:0}.brand strong{font-size:15px}.quick-heading p{line-height:1.6}}
@media(max-width:760px){.demo-banner{align-items:flex-start;gap:8px;flex-direction:column;padding:16px}.demo-banner p{font-size:11px}.toolbar{padding:12px;gap:12px}.sorts{gap:10px;font-size:11px}.sorts select{font-size:11px;max-width:175px}.filters{gap:5px}.filters button{font-size:10px;padding:8px 10px}.section-head{align-items:flex-start;gap:10px}.section-head h2{font-size:21px}.section-sub{font-size:11px}#resultCount{font-size:10px;padding-top:5px}.art{height:155px}.art .network,.art.IF .network{font-size:29px;margin-top:22px}.art .art-sub{font-size:8px;letter-spacing:.5px}.art .art-bottom{font-size:6px;margin-top:18px}.sim-chip{width:28px;height:34px;font-size:24px;top:57px;right:10px}.art-top b{font-size:6px}.card-actions{flex-direction:column}.card-actions .buy,.basket{width:100%;font-size:11px}.card .badge{font-size:7px}.desc{font-size:10px}.card h3{min-height:58px}.price{font-size:17px}.sample-price{font-size:8px}.brand strong{font-size:15px}.brand small{font-size:8px}.nav{gap:8px}.navbtn{padding:9px}.profile{padding-left:7px}.demo-label{display:none}.quick-heading p{font-size:11px}.quick-form label{font-size:12px}.perks{flex-wrap:wrap}.perks span{font-size:10px}.footer-grid h3{font-size:13px}.footer-bottom{font-size:10px}.benefits article{padding:16px}.benefits h3{font-size:12px}.benefits p{font-size:11px}.how p{font-size:12px}dialog{padding:20px}.modal-head h2{font-size:18px}.cart-row{flex-wrap:wrap}.cart-row>div:first-child{flex-basis:100%}.qty{margin-left:0}.order-heading{align-items:flex-start;flex-direction:column}.quick-submit{padding-top:0}.hero-actions{flex-wrap:wrap}}
@media(max-width:360px){.grid{grid-template-columns:1fr}.card h3{min-height:0}.art{height:180px}.art .network{font-size:40px}.card-actions{flex-direction:row}.profile{display:none}.section-head{flex-direction:column}.sorts{align-items:flex-start;flex-direction:column}.sorts select{max-width:100%;width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media(max-width:760px){.nav{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px}.nav .brand{min-width:0;gap:8px}.brand>span:last-child{min-width:0}.brand small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search{grid-column:1/-1;width:100%;margin-top:4px}.nav .profile{display:flex;border:0;padding:0}.nav .profile>b{width:30px;height:30px}.nav .logo{flex-shrink:0}.nav .cartbtn{font-size:20px}.nav .navbtn{font-size:10px;padding:8px}.brand strong{font-size:14px}}
.user-avatar{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:50%;background:#123b42;color:#fff;font-weight:800;font-size:14px;border:2px solid #d9f4ef;text-decoration:none}.user-avatar:hover{background:#0b2a30}.user-avatar[hidden],.navbtn[hidden]{display:none}
@media(max-width:760px){.nav{grid-template-columns:minmax(0,1fr) repeat(4,auto)}.nav .user-avatar{width:30px;height:30px;font-size:12px}}

/* Thanh toán chuyển khoản / VietQR + đơn hàng thật */
.pay-box{display:grid;grid-template-columns:190px 1fr;gap:16px;align-items:center;margin-bottom:12px}
.pay-qr{width:100%;border:1px solid #e4e9f0;border-radius:10px;background:#fff}
.pay-rows p{display:flex;align-items:center;gap:8px;margin:7px 0;font-size:13px}
.pay-rows span{min-width:92px;color:#6b7a8c}
.pay-rows b{flex:1;overflow-wrap:anywhere}
.pay-code{color:#d9232e;letter-spacing:.5px}
.copy-btn{flex-shrink:0;border:1px solid #d5dde8;background:#fff;border-radius:6px;padding:4px 9px;font-size:11px;color:#46576b;cursor:pointer}
.copy-btn:hover{border-color:#13b79f;color:#0d8b78}
.pay-status{margin:12px 0}
.pay-status.ok{background:#e3f8ef;color:#0b7a55;font-weight:600}
.order-status.ok{color:#0b7a55}.order-status.wait{color:#a16207}.order-status.off{color:#8a94a3}
.order-actions{display:flex;gap:8px;margin-top:10px}.order-actions .buy{flex:1;min-height:40px}
@media(max-width:560px){.pay-box{grid-template-columns:1fr}.pay-qr{max-width:230px;margin:0 auto}}

/* Mã nạp thẻ giao cho khách */
.code-box{margin:10px 0;padding:12px 14px;border:1px solid #bbf0de;border-radius:10px;background:#f0fdf8}
.code-box>b{display:block;margin-bottom:6px;color:#0b7a55;font-size:13px}
.code-box>small{display:block;margin-top:6px;color:#6b7a8c;font-size:11px}
.code-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px dashed #cdeee2}
.code-row:first-of-type{border-top:0}
.code-row span{flex:1;display:flex;flex-direction:column;font-size:12px;color:#334155;min-width:0}
.code-row small{color:#8a94a3;font-size:11px}
.code-row strong{font-family:Consolas,Menlo,monospace;font-size:16px;letter-spacing:1px;color:#047857;overflow-wrap:anywhere}
@media(max-width:560px){.code-row{flex-wrap:wrap}.code-row span{flex-basis:100%}}

.hero.hero-compact{min-height:0;padding:44px 24px}.hero-compact h2{margin:6px 0 0}.hero-compact .hero-actions{margin-top:24px}@media(max-width:760px){.hero.hero-compact{padding:28px 14px}.hero-compact .hero-actions{margin-top:18px}}

.art.art-img{padding:0;aspect-ratio:1.58;height:auto;background:#eef2f6}.art.art-img img{display:block;width:100%;height:100%;object-fit:cover}

/* Header & đầu trang trên điện thoại */
@media(max-width:760px){
.promo{display:flex;align-items:center;justify-content:center;gap:10px;min-height:0;padding:9px 16px;font-size:12px;line-height:1.4;white-space:nowrap}
.promo>span:first-child{display:none}
.promo .promo-text{min-width:0;overflow:hidden;text-overflow:ellipsis}
.promo a{margin-left:0;flex-shrink:0;font-weight:700}
.nav{grid-template-columns:minmax(0,1fr) repeat(3,auto);gap:8px;padding-top:12px;padding-bottom:12px;align-items:center}
.nav .brand{gap:10px}
.nav .logo{width:40px;height:40px;font-size:12px;box-shadow:none}
.nav .brand strong{display:block;overflow:hidden;text-overflow:ellipsis;font-size:16px;letter-spacing:-.3px}
.nav .brand>span:last-child small{font-size:11px;margin-top:2px}.nav .logo small{color:#ffeb59;font-size:9px;margin:0}
.nav #category{display:none}
.nav .cartbtn{position:relative;display:grid;place-items:center;width:40px;height:40px;padding:0;border-radius:50%;background:#f1f5f9;font-size:18px}
.nav .cartbtn b{top:-3px;right:-3px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border-radius:9px;border:2px solid #fff;font-size:10px;line-height:1}
.nav #loginLink{height:40px;padding:0 16px;border-radius:20px;background:#13b79f;color:#fff;font-size:13px;font-weight:600}
.nav .profile>b,.nav .user-avatar{width:40px;height:40px}
.nav .profile>b{background:#f1f5f9;color:#32435c;font-size:16px}
.search{height:46px;margin-top:2px;padding:4px 4px 4px 14px}
.search input{font-size:14px}
.search button{height:38px;padding:0 18px;font-size:13px}
.hero.hero-compact{margin-top:16px;padding:28px 16px;border-radius:20px}
.hero-compact h1{font-size:clamp(20px,6.2vw,30px);line-height:1.25;letter-spacing:-.5px}
.hero-compact h2{font-size:clamp(18px,5.4vw,26px);line-height:1.3;margin-top:6px}
.hero-compact .explore{padding:12px 24px;font-size:14px}
#catalog{margin-top:32px}
.section-head h2{font-size:22px}
#resultCount{font-size:12px;white-space:nowrap}
.toolbar{flex-direction:column;align-items:stretch;gap:10px;padding:10px}
.filters{flex-wrap:nowrap;overflow-x:auto;gap:6px;scrollbar-width:none}
.filters::-webkit-scrollbar{display:none}
.filters button{flex-shrink:0;min-height:36px;padding:0 14px;font-size:13px}
.sorts{flex-direction:row;justify-content:space-between;align-items:center;gap:10px}
.sorts select{min-height:38px;max-width:none;width:auto;font-size:13px}
}
@media(max-width:380px){.nav .brand>span:last-child small{display:none}.nav #loginLink{padding:0 12px;font-size:12px}}
.promo>span.promo-text{background:none;color:inherit;padding:0;margin:0;border-radius:0;font-size:inherit}
#loginLink{gap:0}
.account-admin{display:block;text-align:center;margin-bottom:10px;text-decoration:none}

/* Trang tài khoản — đồng bộ giao diện cửa hàng (style.css): xanh ngọc #13b79f, chữ #202b40, thẻ trắng bo 16px */
.pf{padding-top:24px;padding-bottom:56px}
.pf[hidden],main[hidden]{display:none}
.pf-hero{display:flex;align-items:center;gap:20px;padding:28px 32px;border-radius:24px;color:#fff;background:radial-gradient(at 100% 0%,#47c9ae,transparent 45%),linear-gradient(120deg,#1bbab1,#1dbc9e 55%,#21cdbb);box-shadow:0 12px 28px #11b69922}
.pf-avatar{flex:none;display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#ffffff30;border:2px solid #ffffff70;font-size:26px;font-weight:800}
.pf-who{flex:1;min-width:0}
.pf-who h1{margin:0;font-size:26px;font-weight:800;letter-spacing:-.5px;overflow-wrap:anywhere}
.pf-who p{margin:4px 0 10px;opacity:.9;overflow-wrap:anywhere}
.pf-chips{display:flex;flex-wrap:wrap;gap:8px}
.pf-chip{padding:5px 11px;border-radius:20px;background:#ffe252;color:#5b4700;font-size:12px;font-weight:700}
.pf-chip.light{background:#ffffff30;color:#fff;font-weight:500}
.pf-chip:empty{display:none}
.pf-actions{display:flex;flex-wrap:wrap;gap:10px}
.pf-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:21px;font-size:13px;font-weight:700;text-decoration:none}
.pf-btn.light{background:#fff;color:#00a58c}
.pf-btn.ghost{background:#ffffff25;color:#fff;border:1px solid #ffffff70}
.pf-btn.ghost:hover{background:#ffffff40}
.pf-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}
.pf-stats div{padding:16px 18px;background:#fff;border:1px solid #dfe7f0;border-radius:16px}
.pf-stats small{display:block;color:#7f91ad;font-size:12px}
.pf-stats b{display:block;margin-top:4px;font-size:22px;font-weight:800;color:#202b40}
.pf-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px;align-items:start}
.pf-side{display:grid;gap:20px}
.pf-card{padding:22px 24px;background:#fff;border:1px solid #dfe7f0;border-radius:16px;box-shadow:0 2px 2px #24334b04}
.pf-card h2{margin:0 0 16px;font-size:17px;font-weight:800;color:#202b40}
.pf-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.pf-card-head h2{margin:0}
.pf-link{color:#00a58c;font-size:13px;font-weight:600;white-space:nowrap}
.pf-form{display:grid;gap:12px}
.pf-form label{display:grid;gap:6px;font-size:12px;font-weight:600;color:#495a74}
.pf-form input{height:44px;padding:0 12px;border:1px solid #dce4ee;border-radius:11px;background:#f7f9fc;color:#29364d;font-size:14px}
.pf-form input:focus{outline:none;border-color:#13b79f;box-shadow:0 0 0 3px #13b79f20;background:#fff}
.pf-form input:disabled{color:#8a99ae}
.pf-form .buy{min-height:44px;border-radius:12px;font-size:14px;font-weight:700}
.pf-empty{margin:0;padding:24px 8px;text-align:center;color:#7f91ad;line-height:1.7}
.pf-empty a{color:#00a58c;font-weight:600}
.pf-order{padding:16px 0;border-top:1px solid #eef2f6}
.pf-order:first-child{border-top:0;padding-top:0}
.pf-order-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.pf-order-top b{font-size:14px;color:#202b40}
.pf-order-top small{color:#8a99ae;font-size:12px;margin-left:8px}
.pf-badge{padding:5px 9px;border-radius:6px;font-size:11px;font-weight:700;white-space:nowrap}
.pf-badge.ok{background:#e3f8ef;color:#0b7a55}.pf-badge.wait{background:#fff4dc;color:#96671b}.pf-badge.off{background:#f0f3f7;color:#7a8799}.pf-badge.warn{background:#fff0f1;color:#d9232e}
.pf-items{margin:8px 0 0;color:#53657b;font-size:13px;line-height:1.7}
.pf-total{display:flex;justify-content:space-between;margin-top:6px;font-size:13px;color:#53657b}
.pf-total b{color:#2863ff;font-size:16px}
.pf-codes{margin-top:10px;padding:10px 12px;border:1px solid #bbf0de;border-radius:10px;background:#f0fdf8}
.pf-code{display:flex;align-items:center;gap:10px;padding:7px 0;border-top:1px dashed #cdeee2}
.pf-code:first-child{border-top:0}
.pf-code span{flex:1;min-width:0;display:flex;flex-direction:column;font-size:12px;color:#334155}
.pf-code small{color:#8a94a3}
.pf-code strong{font-family:Consolas,Menlo,monospace;font-size:15px;letter-spacing:1px;color:#047857;overflow-wrap:anywhere}
.pf-copy{flex:none;padding:6px 10px;border:1px solid #d5dde8;border-radius:7px;background:#fff;color:#46576b;font-size:12px}
.pf-copy:hover{border-color:#13b79f;color:#0d8b78}
.pf-note{margin-top:10px;padding:10px 12px;border-radius:10px;background:#fff8e6;color:#7a5a12;font-size:12.5px;line-height:1.7}
.pf-note b{color:#d9232e;letter-spacing:.5px}
.pf-order-actions{display:flex;gap:8px;margin-top:10px}
.pf-order-actions button{padding:8px 12px;border-radius:8px;background:#f0f4f8;color:#46576b;font-size:12px;font-weight:600}
.pf-order-actions button.danger{color:#d9232e}
@media(max-width:1000px){.pf-grid{grid-template-columns:1fr}.pf-side{grid-template-columns:1fr 1fr}}
@media(max-width:760px){
.pf{padding-top:16px}
.pf-hero{flex-direction:column;align-items:flex-start;gap:14px;padding:22px 18px;border-radius:20px}
.pf-avatar{width:56px;height:56px;font-size:20px}
.pf-who h1{font-size:21px}
.pf-actions{width:100%}.pf-actions>*{flex:1}
.pf-stats{gap:8px;margin:14px 0}
.pf-stats div{padding:12px}.pf-stats b{font-size:18px}.pf-stats small{font-size:11px}
.pf-side{grid-template-columns:1fr}
.pf-card{padding:18px 16px}
.pf-grid,.pf-side{gap:14px}
}
#reset{background:#13b79f;color:#fff}#reset[hidden]{display:none}
.community-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.community-links[hidden]{display:none}.pf-card .community-links{margin:12px 0 0}.community-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 16px;border-radius:20px;color:#fff;font-size:13px;font-weight:700;text-decoration:none}.community-btn.zalo{background:#0068ff}.community-btn.tele{background:#229ed9}.community-btn:hover{filter:brightness(.95)}.pf-card .community-btn{flex:1}
.footer-grid a.community-btn{display:inline-flex;margin:0;padding:0 16px;color:#fff;font-size:13px;text-align:center}.footer-grid a.community-btn.zalo{background:#0068ff}.footer-grid a.community-btn.tele{background:#229ed9}
.float-community{position:fixed;right:24px;bottom:84px;z-index:12;display:flex;flex-direction:column;gap:10px}.float-community[hidden]{display:none}.float-btn{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;color:#fff;text-decoration:none;font-size:12px;font-weight:800;box-shadow:0 4px 15px #0f172a30;transition:transform .15s}.float-btn:hover{transform:scale(1.06)}.float-btn.zalo{background:#0068ff}.float-btn.tele{background:#229ed9}.float-btn svg{margin-left:-2px}
.community-btn.fb,.footer-grid a.community-btn.fb{background:#1877f2}.float-btn.fb{background:#1877f2}.float-btn.fb svg{margin-left:0}
.logo small,.nav .logo small{font-size:8px;letter-spacing:-.1px}
.coupon-row{display:flex;gap:8px;margin-top:7px}.coupon-row input{margin-top:0!important;flex:1;text-transform:uppercase}.coupon-row button{flex-shrink:0;padding:0 16px;border-radius:7px;background:#f0f4f8;color:#33445e;font-weight:600}.coupon-row button:disabled{opacity:.6}.coupon-msg{margin:-4px 0 10px;font-size:12px;color:#e11d48}.coupon-msg.ok{color:#059669}.total.coupon-sub,.total.coupon-off{margin:10px 0;font-weight:500;color:#64748b}.total.coupon-off span:last-child{color:#059669}
/* Thẻ sản phẩm trên điện thoại: gọn, không chừa khoảng trống, nút giỏ hàng dạng icon cạnh nút Mua ngay */
.basket-ico{display:none}
@media(max-width:760px){.card{padding:9px;border-radius:14px}.card-top{flex-wrap:nowrap;gap:4px}.card-top .badge{overflow:hidden;text-overflow:ellipsis;min-width:0}.art{margin:8px 0 10px}.card h3{min-height:0;margin:0 0 2px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.45}.product-title{line-height:1.45;font-size:12px}.desc{font-size:10px;line-height:1.5;margin:0 0 8px}.price-line{margin:0 0 8px;padding-top:7px}.price{font-size:16px}.card-actions{flex-direction:row;gap:6px}.card-actions .basket{flex:0 0 42px;width:42px;padding:0;font-size:13px}.card-actions .buy{flex:1;width:auto}.card-actions .buy,.card-actions .basket{min-height:38px;border-radius:10px;font-size:12px}.basket-txt{display:none}.basket-ico{display:inline;font-size:13px}}
@media(max-width:360px){.card-actions .basket{flex:0 0 46px}}
.cart-coupon label{margin:16px 0 0}.cart-coupon .coupon-msg{margin:8px 0 0}
/* Flash Sale: banner đếm ngược (renderFlash) + giá gạch trên thẻ */
.flash-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0 6px;padding:20px 24px;border-radius:18px;background:linear-gradient(120deg,#ff4d1f,#ff7a00 55%,#ffb000);color:#fff;box-shadow:0 10px 26px #ff5a1f33;position:relative;overflow:hidden}
.flash-banner:before{content:'⚡';position:absolute;right:-10px;top:-30px;font-size:150px;opacity:.12;pointer-events:none}
.flash-banner[hidden]{display:none}
.flash-info{min-width:0}
.flash-label{display:inline-block;padding:4px 10px;border-radius:20px;background:#fff;color:#ff4d1f;font-size:11px;font-weight:800;letter-spacing:.5px;text-transform:uppercase}
.flash-info h2{margin:8px 0 4px;font-size:22px;line-height:1.3;color:#fff}
.flash-info h2 b{color:#fff35c}
.flash-info p{margin:0;font-size:13px;opacity:.95}
.flash-info a{color:#fff35c;font-weight:700}
.flash-count{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0;position:relative}
.flash-count small{font-size:11px;font-weight:600;opacity:.9;text-transform:uppercase;letter-spacing:.5px}
.flash-clock{display:flex;gap:6px}
.flash-clock span{display:flex;flex-direction:column;align-items:center;min-width:50px;padding:6px 4px;border-radius:10px;background:#1b1b2fcc;font-size:9px;text-transform:uppercase}
.flash-clock b{font-size:22px;line-height:1.1;font-variant-numeric:tabular-nums}
.flash-go{margin-top:4px;padding:9px 16px;border-radius:10px;background:#fff;color:#ff4d1f;font-weight:800;font-size:13px}
.orig-price{color:#94a3b8;font-size:12px}
.flash-tag{margin-left:auto;padding:3px 7px;border-radius:6px;background:#fff1ec;color:#ff4d1f;font-size:10px;font-weight:800;white-space:nowrap}
.price-line:has(.flash-tag){flex-wrap:wrap;gap:4px 8px;justify-content:flex-start}
.order-lines .flash-line{color:#ea580c}
@media(max-width:760px){.flash-banner{flex-direction:column;align-items:stretch;gap:12px;margin:16px 0 4px;padding:16px;border-radius:14px}.flash-info h2{font-size:18px}.flash-info p{font-size:12px}.flash-count{align-items:stretch}.flash-clock{justify-content:space-between}.flash-clock span{flex:1;min-width:0}.flash-clock b{font-size:20px}.flash-go{width:100%;padding:11px}.orig-price{font-size:10px}.flash-tag{font-size:9px;padding:2px 5px}}
/* Flash Sale trên thẻ: hộp giá nổi bật (saleBox) + thanh đếm ngược nổi (flashBar) */
.price-line.sale-box{display:flex;flex-direction:column;align-items:stretch;gap:4px;padding-top:10px}
.sale-ribbon{padding:5px 8px;border-radius:7px;background:linear-gradient(90deg,#ff3d2e,#ff7a00);color:#fff;font-size:10px;font-weight:800;letter-spacing:.6px;text-align:center;text-transform:uppercase}
.sale-ribbon b{color:#fff35c;font-size:12px}
.sale-prices{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;margin-top:4px}
.sale-box .orig-price{color:#8a94a6;font-size:14px;font-weight:600;text-decoration:line-through;text-decoration-color:#ef4444;text-decoration-thickness:2px}
.sale-box .price{color:#ff3d2e;font-size:22px;font-weight:800}
.sale-save{display:inline-block;align-self:flex-start;padding:2px 7px;border-radius:5px;background:#ecfdf5;color:#047857;font-size:10px;font-weight:700}
.sale-now{color:#ff3d2e;font-weight:800}
.flash-tag{margin-left:0}
.cart-row .orig-price,.total .orig-price{text-decoration:line-through;text-decoration-color:#ef4444}
.flash-bar{position:fixed;left:16px;bottom:16px;z-index:40;display:flex;align-items:center;gap:10px;max-width:calc(100% - 100px);padding:9px 10px 9px 16px;border-radius:14px;background:linear-gradient(90deg,#ff3d2e,#ff7a00);color:#fff;box-shadow:0 10px 30px #ff3d2e55;font-size:13px;transform:translateY(140%);opacity:0;transition:transform .25s,opacity .25s;pointer-events:none}
.flash-bar.show{transform:none;opacity:1;pointer-events:auto}
.fb-title{font-weight:800;white-space:nowrap}
.fb-title b{color:#fff35c}
.fb-left{opacity:.9;white-space:nowrap}
.fb-clock{padding:3px 8px;border-radius:7px;background:#1b1b2fcc;font-variant-numeric:tabular-nums;white-space:nowrap}
.fb-go{padding:6px 12px;border-radius:9px;background:#fff;color:#ff3d2e;font-weight:800;font-size:12px;white-space:nowrap}
.fb-close{width:26px;height:26px;border-radius:50%;background:#0002;color:#fff;font-size:16px;line-height:1}
@media(max-width:760px){.sale-ribbon{font-size:8px;padding:4px 5px;letter-spacing:.3px}.sale-ribbon b{font-size:10px}.sale-box .orig-price{font-size:11px}.sale-box .price{font-size:17px}.sale-save{font-size:9px}.flash-bar{left:10px;bottom:12px;max-width:calc(100% - 84px);gap:6px;padding:7px 7px 7px 10px;font-size:11px}.fb-left,.fb-go{display:none}.fb-clock{padding:2px 6px}}
@media(prefers-reduced-motion:reduce){.flash-bar{transition:none}}
/* ── Dark mode: html[data-theme="dark"] (công tắc .theme-switch, lưu localStorage 'vn-theme', mặc định theo hệ điều hành) ── */
@media(max-width:760px){.nav{grid-template-columns:minmax(0,1fr) repeat(4,auto)}}
html[data-theme="dark"]{color-scheme:dark;--ink:#e6ecf5;--muted:#93a1b5;--d-bg:#0d1320;--d-surface:#151d2c;--d-subtle:#1e2839;--d-border:#283447;--d-text2:#b8c4d6}
html[data-theme="dark"] body{background:var(--d-bg);color:var(--ink)}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{color:var(--ink)}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#6f7f96}
/* bề mặt */
html[data-theme="dark"] header,html[data-theme="dark"] .card,html[data-theme="dark"] footer,html[data-theme="dark"] dialog,html[data-theme="dark"] .quick,html[data-theme="dark"] .benefits article,html[data-theme="dark"] .profile,html[data-theme="dark"] .pf-stats div,html[data-theme="dark"] .pf-card,html[data-theme="dark"] .more-wrap button,html[data-theme="dark"] .skip-link,html[data-theme="dark"] .sorts select,html[data-theme="dark"] .filters button,html[data-theme="dark"] #quickProviders button,html[data-theme="dark"] .copy-btn,html[data-theme="dark"] .pf-copy,html[data-theme="dark"] .search{background:var(--d-surface)}
html[data-theme="dark"] header{border-bottom:1px solid var(--d-border)}
html[data-theme="dark"] .search{border-color:var(--d-border)}
html[data-theme="dark"] .navbtn,html[data-theme="dark"] .nav .cartbtn,html[data-theme="dark"] .cartbtn,html[data-theme="dark"] .nav .profile>b,html[data-theme="dark"] .basket,html[data-theme="dark"] .toolbar,html[data-theme="dark"] .modal-head button,html[data-theme="dark"] .qty button,html[data-theme="dark"] .secondary,html[data-theme="dark"] .coupon-row button,html[data-theme="dark"] .footer-chip,html[data-theme="dark"] .payment-grid span,html[data-theme="dark"] .quick-form input,html[data-theme="dark"] .quick-form select,html[data-theme="dark"] .pf-form input,html[data-theme="dark"] .pf-order-actions button,html[data-theme="dark"] .pf-badge.off,html[data-theme="dark"] .art.art-img,html[data-theme="dark"] .buy:disabled,html[data-theme="dark"] .form input,html[data-theme="dark"] .form textarea,html[data-theme="dark"] .form select{background:var(--d-subtle)}
html[data-theme="dark"] .navbtn:hover{background:#273246}
html[data-theme="dark"] .pf-form input:focus{background:var(--d-surface)}
/* chữ */
html[data-theme="dark"] .navbtn,html[data-theme="dark"] .nav .profile>b,html[data-theme="dark"] .basket,html[data-theme="dark"] .filters button,html[data-theme="dark"] .sorts select,html[data-theme="dark"] .secondary,html[data-theme="dark"] .coupon-row button,html[data-theme="dark"] .copy-btn,html[data-theme="dark"] .pf-copy,html[data-theme="dark"] .pf-order-actions button,html[data-theme="dark"] .quick-form label,html[data-theme="dark"] .pf-form label,html[data-theme="dark"] #quickProviders button,html[data-theme="dark"] .footer-chip,html[data-theme="dark"] .code-row span,html[data-theme="dark"] .pf-code span,html[data-theme="dark"] .buy:disabled{color:var(--d-text2)}
html[data-theme="dark"] .pf-stats b,html[data-theme="dark"] .pf-card h2,html[data-theme="dark"] .pf-order-top b,html[data-theme="dark"] .quick-form input,html[data-theme="dark"] .quick-form select,html[data-theme="dark"] .pf-form input{color:var(--ink)}
html[data-theme="dark"] .modal-text{color:#9aa8bb}
html[data-theme="dark"] .price,html[data-theme="dark"] .pf-total b{color:#6f9bff}
html[data-theme="dark"] .cart-row small{color:#5cc3f5}
/* viền */
html[data-theme="dark"] .card,html[data-theme="dark"] .cart-row,html[data-theme="dark"] .order,html[data-theme="dark"] details,html[data-theme="dark"] footer,html[data-theme="dark"] .footer-bottom,html[data-theme="dark"] .price-line,html[data-theme="dark"] .checkout-summary,html[data-theme="dark"] .quick-heading,html[data-theme="dark"] .profile,html[data-theme="dark"] .pf-order,html[data-theme="dark"] .toolbar,html[data-theme="dark"] .sorts select,html[data-theme="dark"] .form input,html[data-theme="dark"] .form textarea,html[data-theme="dark"] .form select,html[data-theme="dark"] .copy-btn,html[data-theme="dark"] .pf-copy{border-color:var(--d-border)}
html[data-theme="dark"] .card:hover{box-shadow:0 12px 28px #0006}
html[data-theme="dark"] dialog{box-shadow:0 20px 80px #000a}
html[data-theme="dark"] dialog::backdrop{background:#000a}
/* khối màu nhạt → bản tối */
html[data-theme="dark"] .stock{background:#0f2c27;color:#34d3b8}
html[data-theme="dark"] .stock.out{background:#3a1519;color:#ff7b82}
html[data-theme="dark"] .notice,html[data-theme="dark"] .demo-banner{background:#13282a;color:#8fd3c4}
html[data-theme="dark"] .order-status,html[data-theme="dark"] .pf-badge.wait,html[data-theme="dark"] .pf-note{background:#2d2410;color:#f5c766}
html[data-theme="dark"] .pay-status.ok,html[data-theme="dark"] .pf-badge.ok{background:#0f2c1f;color:#4ade80}
html[data-theme="dark"] .order-status.ok{color:#4ade80}
html[data-theme="dark"] .pf-badge.warn{background:#3a1519;color:#ff7b82}
html[data-theme="dark"] .code-box,html[data-theme="dark"] .pf-codes{background:#0f2a22}
html[data-theme="dark"] .code-box>b,html[data-theme="dark"] .code-row strong,html[data-theme="dark"] .pf-code strong{color:#4ade80}
html[data-theme="dark"] .quick-heading>span:first-child,html[data-theme="dark"] .benefits article>span{background:#0f2c27}
html[data-theme="dark"] .benefits article:nth-child(2)>span,html[data-theme="dark"] .demo-label,html[data-theme="dark"] .brand em{background:#3a1820}
html[data-theme="dark"] .benefits article:nth-child(3)>span{background:#33270f}
html[data-theme="dark"] .benefits article:nth-child(4)>span{background:#14243f}
html[data-theme="dark"] #quickProviders button.selected{background:#0f2c27}
html[data-theme="dark"] .how{background:#121b2c;border:1px solid var(--d-border)}
html[data-theme="dark"] .flash-tag{background:#3a1a12}
html[data-theme="dark"] .sale-save{background:#0f2c1f;color:#4ade80}
html[data-theme="dark"] .sale-box .orig-price{color:#8492a8}
html[data-theme="dark"] .pay-qr{background:#fff}
html[data-theme="dark"] .nav .cartbtn b,html[data-theme="dark"] .cartbtn b{border-color:var(--d-surface)}
html[data-theme="dark"] .footer-grid p,html[data-theme="dark"] .footer-bottom{color:#8291a8}
/* Popup mời vào nhóm Zalo cho khách đã đăng nhập (app.js: zaloPopup) */
.zalo-pop{width:min(380px,calc(100% - 32px));padding:30px 26px 22px;border:0;border-radius:20px;background:#fff;color:var(--ink);text-align:center;box-shadow:0 24px 70px #0f1e3a40}
.zalo-pop::backdrop{background:#0f172a8c}
.zalo-pop[open]{animation:zp-in .22s ease-out}
@keyframes zp-in{from{opacity:0;transform:translateY(14px) scale(.97)}}
.zp-close{position:absolute;top:12px;right:12px;width:32px;height:32px;border-radius:50%;background:#f0f3f7;color:#46576b;font-size:20px;line-height:1}
.zp-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 14px;border-radius:20px;background:#0068ff;color:#fff;font-weight:800;font-size:18px;box-shadow:0 10px 24px #0068ff45}
.zalo-pop h2{margin:0 0 8px;font-size:19px;line-height:1.35}
.zalo-pop p{margin:0 0 20px;color:#64748b;font-size:13.5px;line-height:1.7}
.zp-join{display:block;padding:13px;border-radius:12px;background:#0068ff;color:#fff;font-weight:700;font-size:15px;text-decoration:none}
.zp-join:hover{background:#0057d6}
.zp-later{width:100%;margin-top:8px;padding:11px;border-radius:12px;background:#f0f4f8;color:#46576b;font-weight:600;font-size:13px}
html[data-theme="dark"] .zalo-pop{background:var(--d-surface)}
html[data-theme="dark"] .zalo-pop p{color:#9aa8bb}
html[data-theme="dark"] .zp-close,html[data-theme="dark"] .zp-later{background:var(--d-subtle);color:var(--d-text2)}
@media(prefers-reduced-motion:reduce){.zalo-pop[open]{animation:none}}
/* Công tắc sáng / tối: mặt trăng (trái) = tối, mặt trời (phải) = sáng; nền trắng trượt sang nút đang chọn */
.theme-switch{position:relative;display:inline-flex;align-items:center;gap:2px;padding:3px;border-radius:999px;background:#eef2f6;flex-shrink:0}
.theme-switch button{position:relative;z-index:1;display:grid;place-items:center;width:30px;height:30px;padding:0;border-radius:50%;background:none;color:#8a97a8;transition:color .3s}
.theme-switch svg{width:16px;height:16px;transition:transform .5s cubic-bezier(.34,1.56,.64,1)}
.ts-thumb{position:absolute;top:3px;left:3px;width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0f172a26,0 2px 8px #0f172a12;transform:translateX(32px);transition:transform .38s cubic-bezier(.34,1.4,.64,1),background .3s}
.theme-switch .ts-sun{color:#f59e0b}
.theme-switch .ts-sun svg{transform:rotate(90deg)}
.theme-switch button:hover{color:#475569}
html[data-theme="dark"] .theme-switch{background:#1e2839}
html[data-theme="dark"] .ts-thumb{background:#334158;box-shadow:0 1px 3px #0008;transform:translateX(0)}
html[data-theme="dark"] .theme-switch .ts-moon{color:#fde68a}
html[data-theme="dark"] .theme-switch .ts-moon svg{transform:rotate(-20deg)}
html[data-theme="dark"] .theme-switch .ts-sun{color:#6f7f96}
html[data-theme="dark"] .theme-switch .ts-sun svg{transform:none}
html[data-theme="dark"] .theme-switch button:hover{color:#cbd5e1}
@media(max-width:760px){.theme-switch button,.ts-thumb{width:28px;height:28px}.ts-thumb{transform:translateX(30px)}html[data-theme="dark"] .ts-thumb{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.ts-thumb,.theme-switch svg,.theme-switch button{transition:none}}

/* ── Gói 6 tháng / 1 năm (nhiều thẻ 1 tháng) ── */
.art{position:relative}
.pack-ribbon{position:absolute;left:10px;bottom:10px;padding:4px 9px;border-radius:999px;background:#ffd923;color:#122137;font-size:10px;font-weight:800;letter-spacing:.2px;box-shadow:0 2px 6px #0002}
.stack-hint{display:block;margin:6px 0 2px;color:#0f766e;font-size:12px}
/* ── Ví số dư + mã mời ở bước đặt hàng ── */
.wallet-pay:empty{display:none}
.balance-opt{display:flex!important;align-items:flex-start;gap:10px;padding:12px;border:1px solid #cdeee2;border-radius:9px;background:#f3fcf8;cursor:pointer}
.balance-opt input{width:auto!important;margin:2px 0 0!important;accent-color:#13b79f}
.balance-opt span{display:flex;flex-direction:column;gap:3px}
.balance-opt small{color:#64748b;font-weight:400}
.wallet-empty{margin:13px 0;font-size:12px;color:#64748b}
.link-btn{padding:0;background:none;color:#0d8b78;font-weight:600;text-decoration:underline}
/* ── Trang tài khoản: ví + mời bạn bè ── */
.pf-stats:has([data-bal]){grid-template-columns:repeat(4,1fr)}
.pf-stats [data-bal] b{color:#0d8b78}
.pf-wallet{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin-bottom:20px}
.pf-topup-btn{width:auto;padding:9px 14px;border-radius:9px;font-size:12px}
.pf-balance{padding:14px 16px;border-radius:12px;background:linear-gradient(120deg,#13b79f,#0ea5b7);color:#fff}
.pf-balance small{display:block;font-size:12px;opacity:.9}
.pf-balance b{display:block;margin-top:2px;font-size:26px;font-weight:800;letter-spacing:-.5px}
.pf-pending{display:flex;flex-direction:column;gap:8px;margin:12px 0}
.pf-pending-row{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px dashed #f3c27a;border-radius:10px;background:#fffbeb}
.pf-pending-row span{flex:1;display:flex;flex-direction:column;font-size:12px;min-width:0}
.pf-pending-row small{color:#92400e}
.pf-pending-row button{padding:7px 10px;border-radius:8px;background:#13b79f;color:#fff;font-size:12px;font-weight:600}
.pf-pending-row button.danger{background:#f0f4f8;color:#d9232e}
.pf-tx{padding:10px 0 0;border-bottom:0}
.pf-tx ul{list-style:none;margin:10px 0 0;padding:0;max-height:320px;overflow:auto}
.pf-tx li{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #eef2f6;font-size:12px}
.pf-tx li span{flex:1;display:flex;flex-direction:column;min-width:0}
.pf-tx li small{color:#8a94a3;font-size:11px;overflow-wrap:anywhere}
.pf-tx b.pos{color:#059669}.pf-tx b.neg{color:#d9232e}
.pf-ref-code{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}
.pf-ref-code strong{padding:8px 14px;border:1px dashed #13b79f;border-radius:10px;background:#effcf9;color:#0d8b78;font-family:Consolas,Menlo,monospace;font-size:20px;letter-spacing:2px}
.pf-ref-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.pf-ref-stats div{padding:10px 12px;border-radius:10px;background:#f7f9fc}
.pf-ref-stats small{display:block;color:#7f91ad;font-size:11px}
.pf-ref-stats b{font-size:18px;font-weight:800}
.topup-presets{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px}
.topup-presets button{padding:9px 12px;border:1px solid #d5dde8;border-radius:8px;background:#fff;color:#33445e;font-size:12px;font-weight:600}
.topup-presets button:hover{border-color:#13b79f;color:#0d8b78}
@media(max-width:760px){.pf-wallet{grid-template-columns:1fr;gap:14px;margin-bottom:14px}.pf-stats:has([data-bal]){grid-template-columns:repeat(2,1fr)}.pf-balance b{font-size:22px}}
html[data-theme="dark"] .balance-opt{border-color:#1f4d45;background:#10241f}
html[data-theme="dark"] .balance-opt small,html[data-theme="dark"] .wallet-empty{color:var(--muted)}
html[data-theme="dark"] .stack-hint,html[data-theme="dark"] .link-btn,html[data-theme="dark"] .pf-stats [data-bal] b{color:#5eead4}
html[data-theme="dark"] .pf-pending-row{border-color:#7c5a1f;background:#2a2213}
html[data-theme="dark"] .pf-pending-row small{color:#fcd34d}
html[data-theme="dark"] .pf-pending-row button.danger,html[data-theme="dark"] .pf-ref-stats div{background:var(--d-subtle)}
html[data-theme="dark"] .pf-tx li{border-color:var(--d-border)}
html[data-theme="dark"] .pf-ref-code strong{border-color:#2dd4bf;background:#10241f;color:#5eead4}
html[data-theme="dark"] .pf-ref-stats b{color:var(--ink)}
html[data-theme="dark"] .topup-presets button{border-color:var(--d-border);background:var(--d-surface);color:var(--ink)}
/* ── Header: số dư ví + Nạp tiền (thay thanh tìm kiếm) ── */
.search.hdr-wallet{flex:0 1 auto;margin-left:auto;justify-content:space-between;gap:14px;padding:5px 6px 5px 6px;color:var(--ink)}
.search.hdr-wallet .hw-info{display:flex;align-items:center;gap:10px;min-width:0}
.search.hdr-wallet .hw-ico{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#13b79f,#0ea5b7);color:#fff;font-size:16px;font-weight:800;line-height:1}
.search.hdr-wallet .hw-text{display:flex;flex-direction:column;min-width:0;font-size:inherit;line-height:1.25}
.search.hdr-wallet .hw-text small{color:#7f91ad;font-size:10px}
.search.hdr-wallet .hw-text b{color:#0d8b78;font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search.hdr-wallet.guest .hw-text b{color:#46576b;font-size:12px;font-weight:600}
.search.hdr-wallet button{flex:none;font-weight:700;font-size:12px}
.search.hdr-wallet .hw-info:hover b{text-decoration:underline}
@media(max-width:760px){.search.hdr-wallet{height:auto;padding:5px 5px 5px 6px}.search.hdr-wallet button{height:36px;font-size:12px}}
html[data-theme="dark"] .search.hdr-wallet .hw-text b{color:#5eead4}
html[data-theme="dark"] .search.hdr-wallet.guest .hw-text b{color:var(--d-text2)}
html[data-theme="dark"] .search.hdr-wallet .hw-text small{color:var(--muted)}
/* ── Popup Zalo: giới thiệu mã mời ── */
.zp-ref{margin:-6px 0 16px;padding:14px;border:1px dashed #13b79f;border-radius:14px;background:#effcf9;text-align:left}
.zp-ref b{display:block;color:#0d8b78;font-size:14px}
.zp-ref span{display:block;margin:6px 0 10px;color:#46576b;font-size:12.5px;line-height:1.6}
.zp-ref-go{width:100%;padding:10px;border-radius:10px;background:#13b79f;color:#fff;font-weight:700;font-size:13px}
.zp-ref-go:hover{filter:brightness(.95)}
.pf-flash{animation:pf-flash 2.4s ease-out}
@keyframes pf-flash{0%,40%{box-shadow:0 0 0 4px #13b79f80}100%{box-shadow:0 0 0 0 #13b79f00}}
html[data-theme="dark"] .zp-ref{border-color:#2dd4bf;background:#10241f}
html[data-theme="dark"] .zp-ref b{color:#5eead4}
html[data-theme="dark"] .zp-ref span{color:var(--d-text2)}
@media(prefers-reduced-motion:reduce){.pf-flash{animation:none;box-shadow:0 0 0 3px #13b79f80}}
/* ── Hoa hồng theo bậc (thẻ Mời bạn bè) ── */
.ref-progress{margin:10px 0;padding:10px 12px;border-radius:10px;background:#f7f9fc}
.ref-progress div{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#46576b}
.ref-progress small{color:#7f91ad;white-space:nowrap}
.ref-progress i{display:block;height:6px;margin-top:8px;border-radius:6px;background:linear-gradient(90deg,#13b79f var(--p),#e3e9f1 var(--p))}
.ref-top{margin:10px 0;font-size:12.5px;color:#0d8b78;font-weight:600}
.ref-tier-list{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 6px;padding:0}
.ref-tier-list li{display:flex;flex-direction:column;align-items:center;min-width:76px;padding:7px 10px;border:1px solid #dfe7f0;border-radius:10px;font-size:11px;color:#7f91ad}
.ref-tier-list li b{font-size:15px;color:#46576b}
.ref-tier-list li.done{border-color:#bfe9dd;background:#f3fcf8}
.ref-tier-list li.on{border-color:#13b79f;background:#effcf9;box-shadow:0 0 0 1px #13b79f inset}
.ref-tier-list li.on b,.ref-tier-list li.done b{color:#0d8b78}
.ref-note{display:block;color:#8a94a3;font-size:11px}
html[data-theme="dark"] .ref-progress{background:var(--d-subtle)}
html[data-theme="dark"] .ref-progress div{color:var(--d-text2)}
html[data-theme="dark"] .ref-progress i{background:linear-gradient(90deg,#2dd4bf var(--p),var(--d-border) var(--p))}
html[data-theme="dark"] .ref-tier-list li{border-color:var(--d-border)}
html[data-theme="dark"] .ref-tier-list li b{color:var(--ink)}
html[data-theme="dark"] .ref-tier-list li.done,html[data-theme="dark"] .ref-tier-list li.on{background:#10241f;border-color:#2dd4bf}
html[data-theme="dark"] .ref-tier-list li.on b,html[data-theme="dark"] .ref-tier-list li.done b,html[data-theme="dark"] .ref-top{color:#5eead4}
.ref-hint{margin:-4px 0 12px;padding:9px 11px;border-radius:9px;background:#fff8e6;color:#92400e;font-size:12px;line-height:1.6}
.pf-reward-wait{display:flex;flex-direction:column;gap:3px;margin:12px 0;padding:10px 12px;border:1px dashed #13b79f;border-radius:10px;background:#effcf9;font-size:12px}
.pf-reward-wait b{color:#0d8b78}.pf-reward-wait small{color:#64748b}
html[data-theme="dark"] .ref-hint{background:#2a2213;color:#fcd34d}
html[data-theme="dark"] .pf-reward-wait{border-color:#2dd4bf;background:#10241f}
html[data-theme="dark"] .pf-reward-wait b{color:#5eead4}
html[data-theme="dark"] .pf-reward-wait small{color:var(--d-text2)}
