/* Vĩnh Xuân EZCARE – Học trực tuyến. Dùng màu, chữ của theme (biến CSS --forest, --gold, --leaf…). */
.vxh-hero{background:var(--forest,#0f4a2c);color:var(--on-forest,#eef5ef);padding-block:clamp(36px,6vw,72px) clamp(32px,5vw,56px)}
.vxh-hero .wrap{display:grid;gap:14px}
.vxh-hero h1{font-family:var(--f-display);font-size:clamp(1.9rem,1.3rem + 2.6vw,3.1rem);line-height:1.12;margin:0;max-width:820px;text-wrap:balance}
.vxh-hero .lead{color:var(--on-forest-2,#b9cfbf);max-width:720px;margin:0;font-size:1.08rem;line-height:1.65}
.vxh-hero .crumbs a{color:inherit}
.vxh-hero .eyebrow{color:var(--gold)}
.vxh-facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.vxh-facts span{font-size:.85rem;font-weight:600;padding:7px 13px;border-radius:99px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
.vxh-band{padding-block:clamp(32px,5vw,64px) clamp(48px,6vw,88px)}
.vxh-band.tight{padding-top:clamp(18px,3vw,32px)}
.vxh-card{background:var(--surface,#fff);border:1px solid var(--line);border-radius:18px;padding:clamp(18px,2.4vw,26px);box-shadow:var(--shadow)}
.vxh-h2{font-family:var(--f-display);font-size:clamp(1.3rem,1.1rem + .8vw,1.65rem);line-height:1.25;margin:clamp(32px,4vw,48px) 0 16px}
.vxh-small{font-size:.86rem;color:var(--ink-2)}
.vxh-wide{width:100%}
.vxh-i{flex:none;vertical-align:-3px}
.btn .vxh-i{margin-right:-2px}

/* Trang khóa học */
.vxh-course{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:clamp(24px,4vw,56px);align-items:start}
.vxh-course .vxh-main{grid-column:1;grid-row:1}
.vxh-buy{grid-column:2;grid-row:1;position:sticky;top:92px}
.vxh-buy .vxh-card{display:grid;gap:14px}
.vxh-cover{margin:-6px -6px 4px;border-radius:12px;overflow:hidden;aspect-ratio:16/10;background:var(--bg-2)}
.vxh-cover img{width:100%;height:100%;object-fit:cover}
.vxh-price{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.vxh-price b{font-family:var(--f-display);font-size:2rem;line-height:1;color:var(--ink)}
.vxh-price s{color:var(--ink-2);font-size:1rem}
.vxh-buy .btn-ghost{color:var(--forest);border-color:var(--line)}
.vxh-buy .btn{margin:0}
.vxh-inc{list-style:none;margin:2px 0 0;padding:14px 0 0;border-top:1px solid var(--line);display:grid;gap:8px;font-size:.9rem;color:var(--ink-2)}
.vxh-inc li{padding-left:22px;position:relative}
.vxh-inc li::before{content:"";position:absolute;left:2px;top:.5em;width:10px;height:6px;border-left:2px solid var(--leaf);border-bottom:2px solid var(--leaf);transform:rotate(-45deg)}
.vxh-have{display:flex;gap:8px;align-items:center;font-weight:600;color:var(--leaf);margin:0}
.vxh-player{position:relative;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#0b1e14;box-shadow:var(--shadow)}
.vxh-player iframe,.vxh-player video{position:absolute;inset:0;width:100%;height:100%;border:0}
.vxh-player.is-doc{aspect-ratio:9/16;width:min(100%,calc(78vh * 9 / 16));margin-inline:auto}
.vxh-vid-doc{display:none}
@media (max-width:700px) and (orientation:portrait){.vxh-vid-ngang{display:none}.vxh-vid-doc{display:block}}
.vxh-noplayer{display:grid;place-items:center;color:#cfe3d5;font-weight:600}
.vxh-noplayer span{display:flex;gap:10px;align-items:center}
.vxh-box{background:var(--bg-2);border-radius:16px;padding:clamp(18px,2.6vw,28px);margin-top:clamp(24px,3vw,36px)}
.vxh-box .vxh-h2{margin-top:0}
.vxh-cols{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
.vxh-prose{margin-top:clamp(24px,3vw,36px)}
.vxh-coach{display:grid;grid-template-columns:120px 1fr;gap:20px;align-items:center;margin-top:clamp(36px,4vw,52px);padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--surface,#fff)}
.vxh-coach-img img{width:120px;height:120px;border-radius:50%;object-fit:cover;object-position:50% 20%}
.vxh-coach h3{font-family:var(--f-display);margin:6px 0;font-size:1.2rem}
.vxh-coach p{margin:0;color:var(--ink-2);font-size:.95rem;line-height:1.6}
.vxh-faq{margin-top:0}
.vxh-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:clamp(32px,4vw,48px);padding:20px 24px;border-radius:16px;background:var(--forest);color:var(--on-forest)}
.vxh-cta b{display:block;font-family:var(--f-display);font-size:1.15rem}
.vxh-cta span{color:var(--on-forest-2)}
.vxh-cta .btn{margin:0}

/* Danh sách bài */
.vxh-cur{display:grid;gap:10px}
.vxh-ch{border:1px solid var(--line);border-radius:14px;background:var(--surface,#fff);overflow:hidden}
.vxh-ch summary{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 18px;cursor:pointer;font-weight:600;list-style:none}
.vxh-ch summary::-webkit-details-marker{display:none}
.vxh-ch summary::after{content:"";width:8px;height:8px;border-right:2px solid var(--ink-2);border-bottom:2px solid var(--ink-2);transform:rotate(45deg);margin-left:4px;transition:transform .2s;flex:none}
.vxh-ch[open] summary::after{transform:rotate(-135deg)}
.vxh-ch-t{flex:1}
.vxh-ch-m{font-weight:400;font-size:.82rem;color:var(--ink-2);white-space:nowrap}
.vxh-ls{list-style:none;margin:0;padding:0 8px 8px;counter-reset:none}
.vxh-l a{display:flex;align-items:center;gap:10px;padding:10px 10px;border-radius:10px;text-decoration:none;color:var(--ink);font-size:.95rem}
.vxh-l a:hover{background:var(--bg-2)}
.vxh-l-i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--bg-2);color:var(--leaf);flex:none}
.vxh-l-i .vxh-i{width:14px;height:14px}
.vxh-l-t{flex:1;line-height:1.35}
.vxh-l-m{font-size:.8rem;color:var(--ink-2);white-space:nowrap}
.vxh-l.is-locked a,.vxh-l.is-suspended a{color:var(--ink-2)}
.vxh-l.is-locked .vxh-l-i,.vxh-l.is-suspended .vxh-l-i,.vxh-l.is-drip .vxh-l-i{color:var(--ink-2);background:#eef0ec}
.vxh-l.is-done .vxh-l-i{background:var(--leaf);color:#fff}
.vxh-l.is-cur a{background:var(--bg-2);font-weight:600;box-shadow:inset 3px 0 0 var(--leaf)}
.vxh-tag{display:inline-flex;align-items:center;gap:4px;font-size:.72rem;font-weight:700;padding:3px 9px;border-radius:99px;background:#fdf3c4;color:var(--gold-ink,#8a6a00);white-space:nowrap}
.vxh-tag.soft{background:#eef0ec;color:var(--ink-2)}
.vxh-tag.ok{background:#dff2e6;color:var(--leaf)}
.vxh-tag .vxh-i{width:12px;height:12px}

/* Tiến độ */
.vxh-prog{display:grid;gap:6px}
.vxh-prog-bar{height:8px;border-radius:99px;background:var(--bg-2);overflow:hidden}
.vxh-prog-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--leaf),#3cb86f);border-radius:inherit;min-width:4px}
.vxh-prog-t{font-size:.82rem;color:var(--ink-2)}

/* Bài học */
.vxh-lesson-top{background:var(--forest);color:var(--on-forest);padding:14px 0}
.vxh-lesson-top .crumbs{margin:0;color:var(--on-forest-2)}
.vxh-lesson-top a{color:var(--on-forest)}
.vxh-lesson{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:clamp(24px,3.5vw,48px);align-items:start}
.vxh-lt{font-family:var(--f-display);font-size:clamp(1.5rem,1.15rem + 1.5vw,2.2rem);line-height:1.2;margin:8px 0 10px}
.vxh-lmeta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:18px;color:var(--ink-2);font-size:.9rem}
.vxh-lmeta>span{display:inline-flex;gap:6px;align-items:center}
.vxh-side{position:sticky;top:92px}
.vxh-side .vxh-card{padding:16px;display:grid;gap:14px;max-height:calc(100vh - 120px);overflow:auto}
.vxh-side-t{font-family:var(--f-display);font-weight:700;font-size:1.05rem;color:var(--ink);text-decoration:none;line-height:1.3}
.vxh-side .vxh-ch{border-radius:12px}
.vxh-side .vxh-ch summary{padding:11px 12px;font-size:.9rem}
.vxh-side .vxh-ls{padding:0 4px 6px}
.vxh-side .vxh-l a{font-size:.88rem;padding:8px}
.vxh-side .vxh-l-m{display:none}
.vxh-file{display:inline-flex;gap:8px;align-items:center;margin-top:18px;padding:10px 16px;border-radius:12px;border:1px solid var(--line);background:var(--surface,#fff);text-decoration:none;color:var(--forest);font-weight:600}
.vxh-nav{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}
.vxh-nav .btn{margin:0}
.vxh-nav .btn-ghost{color:var(--ink-2);border-color:var(--line)}
.vxh-pn{display:flex;gap:18px;margin-left:auto}
.vxh-pn a{color:var(--forest);font-weight:600;text-decoration:none}
.vxh-lock{display:grid;justify-items:center;text-align:center;gap:10px;padding:clamp(28px,5vw,56px) 20px;border-radius:16px;background:var(--bg-2);border:1px dashed var(--line)}
.vxh-lock>.vxh-i{width:34px;height:34px;color:var(--forest)}
.vxh-lock h2{font-family:var(--f-display);margin:0;font-size:1.35rem}
.vxh-lock p{margin:0;color:var(--ink-2);max-width:460px}
.vxh-lock .btn{margin-top:6px}

/* Mua & thanh toán */
.vxh-narrow{max-width:620px}
.vxh-narrow.wide{max-width:900px}
.vxh-steps{list-style:none;padding:0;margin:0 0 22px;display:flex;gap:8px;counter-reset:s;flex-wrap:wrap}
.vxh-steps li{counter-increment:s;display:flex;align-items:center;gap:8px;font-size:.88rem;font-weight:600;color:var(--ink-2)}
.vxh-steps li::before{content:counter(s);display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#eef0ec;color:var(--ink-2);font-size:.8rem}
.vxh-steps li+li::after{content:none}
.vxh-steps li:not(:last-child){padding-right:10px;border-right:1px solid var(--line);margin-right:2px}
.vxh-steps li.on{color:var(--ink)}
.vxh-steps li.on::before{background:var(--gold);color:#1b2a10}
.vxh-steps li.ok::before{content:"✓";background:var(--leaf);color:#fff}
.vxh-sum{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid var(--line)}
.vxh-sum b{display:block;font-family:var(--f-display);font-size:1.1rem;line-height:1.3}
.vxh-sum-p{font-family:var(--f-display);font-size:1.4rem;font-weight:700;white-space:nowrap}
.vxh-tabs{display:grid;grid-template-columns:1fr 1fr;background:var(--bg-2);border-radius:12px;padding:4px;margin-bottom:18px}
.vxh-tabs button{font:600 .92rem var(--f-body);border:0;background:transparent;padding:10px;border-radius:9px;cursor:pointer;color:var(--ink-2)}
.vxh-tabs button[aria-selected="true"]{background:var(--surface,#fff);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.vxh-form{display:grid;gap:14px}
.vxh-form label{display:grid;gap:6px;font-weight:600;font-size:.92rem}
.vxh-form input{font:400 1rem var(--f-body);padding:12px 14px;border-radius:10px;border:1px solid var(--line);background:var(--bg);width:100%}
.vxh-form input:focus{outline:2px solid var(--leaf);outline-offset:1px;background:#fff}
.vxh-form .btn{margin-top:4px}
.vxh-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.vxh-hp{position:absolute;left:-9999px}
.vxh-err{background:#fdecea;color:#8a1f11;padding:10px 14px;border-radius:10px;font-size:.92rem}
.vxh-ok{background:#dff2e6;color:#0d5b2c;padding:12px 14px;border-radius:10px;font-weight:600}
.vxh-back{margin-top:18px;font-size:.92rem}
.vxh-back a{color:var(--forest);font-weight:600}
.vxh-center{text-align:center;display:grid;gap:10px;justify-items:center}
.vxh-center h2{font-family:var(--f-display);margin:0}
.vxh-pay{display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px;align-items:start}
.vxh-qr{text-align:center;display:grid;gap:10px;justify-items:center}
.vxh-qr img{width:100%;max-width:280px;height:auto;border-radius:10px}
.vxh-pay .vxh-h2{margin-top:0}
.vxh-bank{margin:0;display:grid;gap:0}
.vxh-bank div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}
.vxh-bank dt{color:var(--ink-2);font-size:.9rem}
.vxh-bank dd{margin:0;text-align:right;display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.vxh-bank .hl{background:#fff8d6;margin:0 -12px;padding:11px 12px;border-radius:10px;border-bottom:0}
.vxh-code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:1.15rem;letter-spacing:.04em}
.vxh-copy{font:600 .76rem var(--f-body);border:1px solid var(--line);background:var(--surface,#fff);border-radius:99px;padding:4px 10px;cursor:pointer;color:var(--forest)}
.vxh-note{font-size:.9rem;color:var(--ink);margin:14px 0}
.vxh-pay form{margin-top:6px}

/* Danh sách khóa */
.vxh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px}
.vxh-cc{display:grid;background:var(--surface,#fff);border:1px solid var(--line);border-radius:18px;overflow:hidden;text-decoration:none;color:var(--ink);box-shadow:var(--shadow);transition:transform .2s}
.vxh-cc:hover{transform:translateY(-2px)}
.vxh-cc-img{aspect-ratio:16/10;background:var(--bg-2)}
.vxh-cc-img img{width:100%;height:100%;object-fit:cover}
.vxh-cc-b{padding:18px 20px 20px;display:grid;gap:8px}
.vxh-cc-b h2{font-family:var(--f-display);font-size:1.25rem;margin:0;line-height:1.3}
.vxh-cc-b p{margin:0;color:var(--ink-2);font-size:.95rem}
.vxh-cc-m{display:flex;justify-content:space-between;align-items:center;margin-top:6px;font-size:.88rem;color:var(--ink-2)}
.vxh-cc-m b{color:var(--ink);font-size:1.05rem}

/* Khóa học của tôi */
.vxh-me{display:grid;gap:16px}
.vxh-hello{font-family:var(--f-display);font-size:1.3rem;margin:0}
.vxh-mine{display:grid;gap:16px}
.vxh-mine-c{display:grid;grid-template-columns:200px 1fr;gap:20px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface,#fff)}
.vxh-mine-img img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:10px}
.vxh-mine-b{display:grid;gap:10px}
.vxh-mine-b h3{margin:0;font-family:var(--f-display)}
.vxh-mine-b h3 a{color:var(--ink);text-decoration:none}
.vxh-mine-b .btn{justify-self:start;margin:0}
.vxh-me .btn-gold,.vxh-me .btn-gold:hover{color:#1b2a10;text-decoration:none}
.vxh-orders{margin:0;padding-left:18px}
.vxh-me #loginform{display:grid;gap:12px;max-width:420px}
.vxh-me #loginform p{margin:0;display:grid;gap:6px}
.vxh-me #loginform input[type=text],.vxh-me #loginform input[type=password]{font:400 1rem var(--f-body);padding:12px 14px;border-radius:10px;border:1px solid var(--line)}
.vxh-me #loginform .login-remember{display:block}
.vxh-me #loginform .button{font:600 .97rem var(--f-body);padding:13px 24px;border-radius:999px;border:0;background:var(--gold);color:#1b2a10;cursor:pointer}

@media (max-width:960px){
	.vxh-course,.vxh-lesson{grid-template-columns:1fr}
	.vxh-course .vxh-main,.vxh-buy{grid-column:1;grid-row:auto}
	.vxh-buy,.vxh-side{position:static}
	.vxh-side .vxh-card{max-height:none}
	.vxh-pay{grid-template-columns:1fr}
}
@media (max-width:600px){
	.vxh-lesson .vxh-player:not(.is-doc){margin-inline:calc(-1 * var(--gutter,16px));border-radius:0}
	.vxh-cols,.vxh-two{grid-template-columns:1fr}
	.vxh-coach{grid-template-columns:72px 1fr;gap:14px;padding:16px}
	.vxh-coach-img img{width:72px;height:72px}
	.vxh-mine-c{grid-template-columns:1fr}
	.vxh-steps li:not(:last-child){border-right:0;padding-right:0}
	.vxh-l-m{display:none}
	.vxh-pn{margin-left:0;width:100%;justify-content:space-between}
}
