:root{
  --lw-navy:#0b2346;
  --lw-navy-2:#173963;
  --lw-gold:#c79a36;
  --lw-gold-deep:#826012;
  --lw-cream:#f8f3e7;
  --lw-cream-2:#fffaf0;
  --lw-ink:#142033;
  --lw-muted:#697386;
  --lw-line:#e7dfd0;
  --lw-white:#fff;
  --lw-shadow:0 12px 34px rgba(11,35,70,.09);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.product-page{margin:0;background:#fff;color:var(--lw-ink);font-family:"Sarabun",system-ui,sans-serif;line-height:1.68;padding-bottom:82px;-webkit-font-smoothing:antialiased}
.product-page a{color:inherit;text-decoration:none}
.product-page img{max-width:100%;display:block}
.product-page button{font:inherit}
.product-page a.lw-btn{font:inherit;font-family:"Noto Sans Thai",sans-serif;font-weight:800}
.js-product-buy>*{pointer-events:none}
.lw-svg{width:24px;height:24px;display:block;flex:none}
.lw-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.lw-shell{width:min(calc(100% - 32px),720px);margin:0 auto}
.lw-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid rgba(231,223,208,.8);backdrop-filter:blur(10px)}
.lw-header-inner{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.lw-brand{display:flex;align-items:center;gap:10px;min-width:0}
.lw-brand img{width:40px;height:40px;object-fit:contain}
.lw-brand span{display:flex;flex-direction:column;line-height:1.18}
.lw-brand strong{font-family:"Noto Sans Thai",sans-serif;color:var(--lw-navy);font-size:.98rem}
.lw-brand small{color:var(--lw-muted);font-size:.74rem}
.lw-menu{width:42px;height:42px;display:grid;place-items:center;color:var(--lw-navy);border:1px solid #e9dfca;border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(11,35,70,.05)}
.lw-menu .lw-svg{width:22px;height:22px}

.lw-hero{padding:32px 0 28px;background:linear-gradient(180deg,#fffdf8 0%,#fff 100%)}
.lw-hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:center}
.lw-hero-copy{min-width:0}
.lw-hero-product-cover{width:min(100%,380px);margin:18px auto 0;padding:14px;display:grid;place-items:center;background:linear-gradient(145deg,#f8f2e5,#fff);border:1px solid #eadfca;border-radius:24px;box-shadow:var(--lw-shadow)}
.lw-hero-product-cover img{display:block;width:min(100%,320px);height:auto;object-fit:contain;border-radius:14px;box-shadow:0 16px 36px rgba(11,35,70,.14)}
.lw-kicker,.lw-eyebrow{margin:0 0 8px;color:var(--lw-gold-deep);font-size:.8rem;font-weight:800;letter-spacing:.03em}
.lw-kicker span{margin:0 4px;color:#bba66d}
.lw-hero h1,.lw-hero h2,.lw-section h2,.lw-mid-cta h2,.lw-final h2{font-family:"Noto Sans Thai",sans-serif;color:var(--lw-navy);letter-spacing:-.035em}
.lw-hero h1{margin:0;font-size:clamp(2.25rem,10vw,3.2rem);line-height:1.08}
.lw-hero h2{margin:10px 0 0;font-size:clamp(1.15rem,3vw,1.48rem);line-height:1.35}
.lw-lead{margin:14px 0 0;color:#586477;font-size:1.04rem;max-width:36rem}
.lw-price-row{display:flex;align-items:center;gap:12px;margin-top:20px}
.lw-price-row strong{font-family:"Noto Sans Thai",sans-serif;color:var(--lw-gold-deep);font-size:2rem;line-height:1}
.lw-price-row span{padding:7px 11px;border-radius:999px;background:#eef4f8;color:var(--lw-navy);font-weight:700;font-size:.88rem}
.lw-actions{display:grid;gap:10px;margin-top:18px}
.lw-btn{min-height:52px;border-radius:16px;padding:13px 18px;border:1px solid transparent;font-family:"Noto Sans Thai",sans-serif;font-weight:800;text-align:center;display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer}
.lw-btn-icon{display:inline-grid;place-items:center}
.lw-btn-icon .lw-svg{width:20px;height:20px}
.lw-btn-primary{background:linear-gradient(135deg,#d9b34f,#b88824);color:#0b2346;box-shadow:0 12px 28px rgba(184,136,36,.24);transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.product-page a.lw-btn-primary{color:#0b2346}
.product-page a.lw-btn-primary:hover{background:linear-gradient(135deg,#e5c66c,#d4ac47);color:#0b2346;box-shadow:0 15px 32px rgba(11,35,70,.18);transform:translateY(-1px)}
.product-page a.lw-btn-secondary:hover,.lw-final-links a:hover{background:#f3eddf;border-color:#b89b58}
.product-page a:focus-visible,.product-page button:focus-visible{outline:3px solid #0b2346;outline-offset:3px}
.lw-mid-cta .lw-btn:focus-visible,.lw-sticky-buy a:focus-visible{outline-color:#fff}
.lw-btn-secondary{background:#fff;color:var(--lw-navy);border-color:#d8c89f}
.lw-order-status{min-height:1.4em;margin:8px 0 0;color:var(--lw-gold-deep);font-size:.86rem}

.lw-preview{padding:24px 0 38px;background:linear-gradient(180deg,#fff,#f8fbfd)}
.lw-section{padding:40px 0}
.lw-section[id],.lw-hero[id]{scroll-margin-top:82px}
.lw-soft{background:#f5f8fa}
.lw-cream{background:var(--lw-cream-2)}
.lw-section-head{margin-bottom:20px}
.lw-section-head.compact{margin-bottom:16px}
.lw-section-head h2{margin:0;font-size:1.65rem;line-height:1.2}
.lw-section-head p:not(.lw-eyebrow){margin:8px 0 0;color:var(--lw-muted);font-size:.98rem}
.lw-course-name{margin:14px 0 12px;padding:14px 15px;border-left:4px solid var(--lw-gold);border-radius:0 14px 14px 0;background:#faf8f3}
.lw-course-name strong{display:block;color:var(--lw-navy);font-family:"Noto Sans Thai",sans-serif;font-size:1rem;line-height:1.55}
.lw-course-name em{display:block;margin-top:4px;color:var(--lw-muted);font-family:Georgia,"Times New Roman",serif;font-size:.94rem;line-height:1.45;font-style:italic}
.lw-cover-wrap{display:grid;place-items:center;background:linear-gradient(145deg,#f8f2e5,#fff);border:1px solid #eadfca;border-radius:24px;padding:16px;box-shadow:var(--lw-shadow);overflow:hidden}
.lw-cover{display:block;width:min(100%,360px);height:auto!important;max-height:none;object-fit:contain;margin:0 auto;border-radius:18px;box-shadow:0 16px 36px rgba(11,35,70,.14);transform:none!important}

.lw-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.lw-facts article{min-width:0;background:#fff;border:1px solid #e8e3db;border-radius:18px;padding:16px;box-shadow:0 8px 20px rgba(11,35,70,.05)}
.lw-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#fff8e9;color:var(--lw-gold-deep);border:1px solid #ead8ad;margin-bottom:11px}
.lw-icon .lw-svg{width:23px;height:23px}
.lw-facts small{display:block;color:var(--lw-muted);font-size:.82rem}
.lw-facts strong{display:block;color:var(--lw-navy);font-family:"Noto Sans Thai",sans-serif;font-size:1.08rem;margin-top:2px;line-height:1.35}
.lw-facts p{margin:6px 0 0;color:#687486;font-size:.88rem;line-height:1.5}

.lw-benefits{display:grid;gap:12px}
.lw-benefits article{display:grid;grid-template-columns:48px 1fr;gap:14px;align-items:start;padding:18px;border:1px solid #ebe5da;border-radius:18px;background:#fff;box-shadow:0 7px 18px rgba(11,35,70,.035)}
.lw-feature-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#fff8e9;color:var(--lw-navy);border:1px solid #e7d4a5}
.lw-feature-icon .lw-svg{width:24px;height:24px}
.lw-benefits h3{margin:0;color:var(--lw-navy);font-family:"Noto Sans Thai",sans-serif;font-size:1.04rem;line-height:1.42}
.lw-benefits p{margin:6px 0 0;color:var(--lw-muted);font-size:.92rem;line-height:1.55}

.lw-content-cards{display:grid;gap:10px}
.lw-content-cards article{display:grid;grid-template-columns:46px 1fr;gap:13px;align-items:start;background:#fff;border:1px solid #eadfca;border-radius:18px;padding:16px}
.lw-content-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#fff8e9;color:var(--lw-gold-deep);border:1px solid #e7d4a5}
.lw-content-icon .lw-svg{width:23px;height:23px}
.lw-content-cards p{margin:4px 0 0;color:var(--lw-navy);font-weight:600;line-height:1.55}

.lw-topics{display:grid;gap:10px}
.lw-topics article{padding:16px 17px;border-left:4px solid var(--lw-gold);border-radius:0 15px 15px 0;background:#faf8f3}
.lw-topics p{margin:0;color:#344156;font-weight:600}
.lw-topics article.is-exam{border-left-color:var(--lw-navy);background:#fff8e9}
.lw-exam-badge{display:inline-flex;align-items:center;gap:6px;margin-bottom:9px;padding:4px 10px;border-radius:999px;background:var(--lw-navy);color:#fff;font-size:.78rem;font-weight:700;line-height:1.4}
.lw-exam-badge .lw-svg{width:14px;height:14px;color:#e4c477;flex:none}

.lw-exam-grid{display:grid;gap:12px}
.lw-exam-card{display:flex;flex-direction:column;align-items:flex-start;padding:20px;border:1px solid #e8e3db;border-radius:18px;background:#fff;box-shadow:0 8px 20px rgba(11,35,70,.05)}
.lw-exam-card h3{margin:10px 0 0;color:var(--lw-navy);font-family:"Noto Sans Thai",sans-serif;font-size:1.25rem;line-height:1.35}
.lw-exam-card p{margin:8px 0 0;color:var(--lw-muted);font-size:.93rem;line-height:1.55}
.lw-exam-card-head{display:flex;align-items:center;gap:10px}
.lw-exam-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#fff8e9;color:var(--lw-gold-deep);border:1px solid #ead8ad;flex:none}
.lw-exam-icon .lw-svg{width:22px;height:22px}
.lw-exam-label{color:var(--lw-gold-deep);font-size:.85rem;font-weight:800;letter-spacing:.02em}
.lw-exam-card.is-highlight{background:linear-gradient(135deg,#10294d,#173963);border-color:#10294d;color:#fff}
.lw-exam-card.is-highlight h3{color:#fff;font-size:1.6rem}
.lw-exam-card.is-highlight p{color:#d9e1ec}
.lw-exam-card.is-highlight .lw-exam-icon{background:rgba(228,196,119,.14);border-color:rgba(228,196,119,.45);color:#e4c477}
.lw-exam-card.is-highlight .lw-exam-label{color:#e4c477}
.lw-exam-meter{display:grid;gap:4px;width:100%;max-width:340px;margin-top:14px}
.lw-exam-meter span{height:8px;border-radius:4px;background:rgba(255,255,255,.18)}
.lw-exam-meter span.is-hit{background:linear-gradient(135deg,#e5c66c,#c79a36)}
.lw-exam-card.is-highlight .lw-exam-stat{margin-top:10px;color:#fff;font-weight:600}
.lw-exam-stat b{color:#e4c477;font-family:"Noto Sans Thai",sans-serif;font-size:1.35rem;margin-right:4px}
.lw-exam-link{display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding-top:14px;color:var(--lw-gold-deep);font-weight:700;font-size:.92rem;text-decoration:none}
.lw-exam-link .lw-btn-icon .lw-svg{width:16px;height:16px}
.lw-exam-link:hover,.lw-exam-link:focus-visible{text-decoration:underline}
.lw-exam-card.is-highlight .lw-exam-link{color:#e4c477}
.lw-exam-card.is-locked{background:var(--lw-cream-2);border:1px dashed #d9c79b;box-shadow:none}
.lw-exam-source{margin:12px 0 0;color:var(--lw-muted);font-size:.82rem;line-height:1.55}
.lw-exam-hub{margin:10px 0 0}
.lw-exam-hub a{display:inline-flex;align-items:center;gap:6px;color:var(--lw-navy);font-weight:700;font-size:.9rem;text-decoration:none;border-bottom:1px solid var(--lw-gold)}
.lw-exam-hub a:hover,.lw-exam-hub a:focus-visible{color:var(--lw-gold-deep)}
.lw-exam-hub .lw-svg{width:15px;height:15px}
.lw-hub-index{display:grid;gap:12px}
.lw-hub-index a{display:flex;flex-direction:column;gap:4px;padding:18px;border-radius:18px;background:linear-gradient(135deg,#10294d,#173963);color:#fff;text-decoration:none}
.lw-hub-index small{color:#e4c477;font-weight:800;font-size:.8rem}
.lw-hub-index strong{font-family:"Noto Sans Thai",sans-serif;font-size:1.12rem;line-height:1.35}
.lw-hub-index span{color:#d9e1ec;font-size:.92rem}
.lw-catalog-group{margin-top:22px}
.lw-catalog-group h3{margin:0 0 10px;color:var(--lw-navy);font-family:"Noto Sans Thai",sans-serif;font-size:1.1rem}
.lw-catalog{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.lw-catalog a{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:12px 14px;border:1px solid #e8e3db;border-radius:14px;background:#fff;color:var(--lw-ink);text-decoration:none}
.lw-catalog a:hover,.lw-catalog a:focus-visible{border-color:var(--lw-gold);background:#fffdf8}
.lw-catalog b{color:var(--lw-navy);font-size:.9rem}
.lw-catalog em{font-style:normal;color:#344156;font-weight:600}
.lw-catalog span{color:var(--lw-gold-deep);font-weight:800;white-space:nowrap}
.lw-catalog .lw-tag{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;background:var(--lw-navy);color:#fff;font-size:.72rem;font-weight:700;vertical-align:middle}

.lw-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.lw-steps li{display:grid;grid-template-columns:44px 1fr;gap:13px;align-items:start;background:#fff;border:1px solid #e3e8ec;border-radius:18px;padding:17px}
.lw-steps li>span{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#fff8e9;color:var(--lw-gold-deep);border:1px solid #e7d4a5;font-weight:900}
.lw-steps strong{display:block;color:var(--lw-navy);font-family:"Noto Sans Thai",sans-serif}
.lw-steps p{margin:5px 0 0;color:var(--lw-muted);font-size:.9rem}

.lw-mid-cta{padding:28px 0;background:linear-gradient(135deg,#10294d,#173963);color:#fff}
.lw-mid-cta .lw-eyebrow{color:#e4c477}
.lw-mid-cta h2{color:#fff;margin:0;font-size:1.55rem}
.lw-mid-cta p:not(.lw-eyebrow){margin:7px 0 15px;color:#d9e1ec}
.lw-mid-cta .lw-btn{width:100%}

.lw-faqs{display:grid;gap:9px}
.lw-faq{border:1px solid #e4e6e9;border-radius:16px;background:#fff;overflow:hidden}
.lw-faq>button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border:0;background:#fff;color:var(--lw-navy);font-weight:700;text-align:left;cursor:pointer}
.lw-faq>button b{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#fff8e9;border:1px solid #ead8ad;font-size:1.05rem;color:var(--lw-gold-deep);flex:none}
.lw-faq>div{padding:0 16px 16px}
.lw-faq>div p{margin:0;color:var(--lw-muted)}

.lw-final{padding:42px 0;background:var(--lw-cream)}
.lw-final h2{margin:0;font-size:1.8rem}
.lw-final p:not(.lw-eyebrow){color:#576378;margin:8px 0 18px}
.lw-final .lw-btn{width:100%}
.lw-final-links{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}
.lw-final-links a{padding:11px 10px;border:1px solid #d9cfba;border-radius:14px;background:#fff;color:var(--lw-navy);font-weight:700;text-align:center;font-size:.9rem}

.lw-footer{padding:25px 0 95px;background:#091d37;color:#fff}
.lw-footer-brand{display:flex;align-items:center;gap:10px}
.lw-footer-brand img{
  width:40px;
  height:40px;
  display:block;
  box-sizing:border-box;
  padding:3px;
  background:#fff;
  border-radius:50%;
}
.lw-footer-brand div{display:flex;flex-direction:column}
.lw-footer-brand small{color:#bbc7d6;font-size:.78rem}
.lw-footer p{margin:13px 0 0;color:#92a4ba;font-size:.76rem}

.lw-sticky-buy{position:fixed;left:0;right:0;bottom:0;z-index:60;padding:10px max(12px,env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom));background:rgba(9,29,55,.96);backdrop-filter:blur(10px)}
.lw-sticky-buy a{width:min(100%,720px);margin:0 auto;min-height:50px;border:0;border-radius:15px;background:linear-gradient(135deg,#d9b34f,#b88824);color:#0b2346;font-family:"Noto Sans Thai",sans-serif;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.lw-sticky-buy a:hover{background:linear-gradient(135deg,#e5c66c,#d4ac47);color:#0b2346;box-shadow:0 8px 22px rgba(0,0,0,.2);transform:translateY(-1px)}
.lw-sticky-buy span{font-weight:700;opacity:.9}

@media (min-width:700px){
  body.product-page{padding-bottom:0}
  .lw-shell{width:min(calc(100% - 48px),980px)}
  .lw-hero{padding:48px 0 40px}
  .lw-actions{grid-template-columns:minmax(240px,1fr) minmax(200px,.7fr);max-width:620px}
  .lw-cover{width:min(55%,430px)}
  .lw-hero-product-cover{margin:0 auto;padding:18px}
  .lw-facts{grid-template-columns:repeat(4,1fr)}
  .lw-benefits{grid-template-columns:repeat(3,1fr)}
  .lw-benefits article{grid-template-columns:1fr}
  .lw-content-cards{grid-template-columns:1fr 1fr}
  .lw-topics{grid-template-columns:repeat(3,1fr)}
  .lw-course-context-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lw-exam-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
  .lw-hub-index{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lw-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lw-steps{grid-template-columns:repeat(3,1fr)}
  .lw-steps li{grid-template-columns:1fr}
  .lw-mid-cta .lw-shell{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}
  .lw-mid-cta .lw-btn{width:auto;min-width:240px}
  .lw-sticky-buy{display:none}
  .lw-footer{padding-bottom:28px}
}

@media (min-width:900px){
  .lw-hero-grid{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:clamp(30px,5vw,64px)}
}

@media (max-width:350px){
  .lw-facts{grid-template-columns:1fr}
  .lw-hero h1{font-size:2.05rem}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .lw-btn-primary,.lw-sticky-buy a{transition:none}
}

