
:root{
  --navy:#052f67;
  --navy2:#0a4d91;
  --blue:#0d76d6;
  --gold:#f5bd35;
  --gold2:#ffda6a;
  --ink:#10213a;
  --muted:#607086;
  --bg:#f6f9fd;
  --white:#fff;
  --line:#dfe8f4;
  --shadow:0 18px 60px rgba(3,45,99,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Noto Sans Thai",system-ui,sans-serif;color:var(--ink);background:#fff}
img{max-width:100%;display:block}
button,input{font:inherit}
a{text-decoration:none;color:inherit}
.container{width:min(1180px,calc(100% - 32px));margin:auto}
.site-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(5,47,103,.08)}
.nav-wrap{height:78px;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;gap:12px;min-width:230px}
.brand img{width:54px;height:54px;object-fit:cover;border-radius:50%}
.brand strong{font-size:23px;display:block;color:var(--navy)}
.brand span{display:block;color:#5d6f86;font-size:13px}
.desktop-nav{display:flex;gap:26px;margin-left:auto}
.desktop-nav a{font-weight:600;color:#40536d}
.desktop-nav a:hover{color:var(--blue)}
.cart-btn{border:0;background:var(--navy);color:#fff;border-radius:999px;padding:11px 18px;font-weight:700;cursor:pointer}
.cart-btn span{background:var(--gold);color:var(--navy);border-radius:999px;padding:2px 8px;margin-left:7px}
.hero{overflow:hidden;background:radial-gradient(circle at 80% 30%,#1a9de5 0,#0b5bab 34%,#052f67 70%);color:#fff;padding:78px 0 64px}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:58px;align-items:center}
.eyebrow{font-weight:800;color:#e6a91e;letter-spacing:.02em;margin-bottom:10px}
.hero .eyebrow{color:var(--gold2)}
.hero h1{font-size:clamp(42px,6vw,72px);line-height:1.05;margin:0 0 20px}
.hero h1 span{color:var(--gold2)}
.hero p{font-size:19px;line-height:1.8;color:#eaf5ff;max-width:650px}
.hero-actions{display:flex;gap:12px;margin-top:28px;flex-wrap:wrap}
.btn{border:0;border-radius:14px;padding:13px 20px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.btn-primary{background:linear-gradient(135deg,#0b70d1,#084b9d);color:#fff;box-shadow:0 10px 25px rgba(9,94,181,.25)}
.btn-secondary{background:#fff;color:var(--navy)}
.btn-gold{background:linear-gradient(135deg,var(--gold2),var(--gold));color:var(--navy)}
.btn-block{width:100%}
.mini-trust{display:flex;gap:18px;flex-wrap:wrap;margin-top:28px;font-size:14px;color:#d5e9ff}
.hero-card{position:relative;background:rgba(255,255,255,.1);padding:14px;border:1px solid rgba(255,255,255,.25);border-radius:28px;box-shadow:0 30px 80px rgba(0,0,0,.24)}
.hero-card img{border-radius:20px}
.promo-ribbon{position:absolute;right:-8px;top:24px;background:var(--gold);color:var(--navy);padding:11px 18px;border-radius:14px 0 0 14px;font-weight:900}
.section{padding:80px 0}
.soft{background:var(--bg)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:34px}
.section-head h2{font-size:clamp(30px,4vw,44px);margin:0;color:var(--navy)}
.section-head p{color:var(--muted)}
.centered{justify-content:center;text-align:center}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.product-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}
.product-image-wrap{position:relative;aspect-ratio:1.45/1;overflow:hidden;background:#edf4fb}
.product-image-wrap img{width:100%;height:100%;object-fit:cover}
.badge{position:absolute;left:16px;top:16px;background:var(--gold);color:var(--navy);border-radius:999px;padding:7px 12px;font-weight:800}
.product-body{padding:24px}
.product-body h3{font-size:25px;margin:0 0 10px;color:var(--navy)}
.product-body p,.product-body li{color:var(--muted);line-height:1.7}
.product-body ul{padding-left:20px;margin:14px 0 22px}
.price-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:18px}
.price-row strong{display:block;font-size:31px;color:#c23b2f}
.old-price{text-decoration:line-through;color:#97a4b4;font-size:13px}
.bundle{margin-top:30px;background:linear-gradient(135deg,#062f67,#0a5ba9);color:white;border-radius:24px;padding:28px 32px;display:flex;justify-content:space-between;gap:24px;align-items:center}
.bundle h3{font-size:28px;margin:3px 0}
.bundle p{margin:0;color:#d8edff}
.bundle-kicker{color:var(--gold2);font-weight:800}
.bundle-price{display:flex;align-items:center;gap:16px}
.bundle-price span{text-decoration:line-through;color:#bdd4ea}
.bundle-price strong{font-size:35px;color:var(--gold2)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.step{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;text-align:center}
.step-num{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:var(--gold2);font-size:22px;font-weight:900;margin:0 auto 14px}
.step h3{margin:0 0 8px;color:var(--navy)}
.step p{margin:0;color:var(--muted);line-height:1.7}
.trust-grid{display:grid;grid-template-columns:1fr .78fr;gap:48px;align-items:center}
.trust-grid h2{font-size:40px;color:var(--navy);margin:0 0 16px}
.trust-grid p{color:var(--muted);line-height:1.8}
.trust-list{display:grid;gap:10px;margin-top:22px;font-weight:700}
.payment-preview{background:var(--bg);border:1px solid var(--line);border-radius:24px;padding:14px}
.payment-preview img{border-radius:18px;max-height:560px;width:100%;object-fit:cover;object-position:top}
.payment-preview small{display:block;color:var(--muted);padding:12px 6px 4px;line-height:1.6}
.faq-wrap{max-width:860px}
details{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px;margin-bottom:12px}
summary{cursor:pointer;font-weight:800;color:var(--navy)}
details p{color:var(--muted);line-height:1.7;margin-bottom:0}
footer{background:#031f45;color:#fff;padding:34px 0}
.footer-wrap{display:flex;justify-content:space-between;gap:20px}
.footer-wrap p{margin:5px 0;color:#bcd4ee}
.footer-note{color:#9db8d4}
.drawer-backdrop,.modal-backdrop{position:fixed;inset:0;background:rgba(0,20,49,.5);z-index:50;opacity:0;pointer-events:none;transition:.2s}
.drawer-backdrop.show,.modal-backdrop.show{opacity:1;pointer-events:auto}
.cart-drawer{position:fixed;top:0;right:-430px;z-index:60;width:min(420px,94vw);height:100vh;background:#fff;box-shadow:-20px 0 60px rgba(0,0,0,.18);transition:.25s;display:flex;flex-direction:column}
.cart-drawer.show{right:0}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:22px;border-bottom:1px solid var(--line)}
.drawer-head h2{margin:0;color:var(--navy)}
.icon-btn,.modal-close{border:0;background:#edf3f9;width:38px;height:38px;border-radius:50%;font-size:25px;cursor:pointer}
.cart-items{padding:18px;overflow:auto;flex:1}
.cart-item{display:grid;grid-template-columns:70px 1fr auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}
.cart-item img{width:70px;height:58px;object-fit:cover;border-radius:10px}
.cart-item h4{margin:0 0 4px;font-size:15px}
.cart-item small{color:var(--muted)}
.remove-item{border:0;background:transparent;color:#c33;font-size:20px;cursor:pointer}
.empty-cart{text-align:center;color:var(--muted);padding:50px 10px}
.cart-summary{padding:18px;border-top:1px solid var(--line)}
.cart-summary>div{display:flex;justify-content:space-between;margin-bottom:14px;font-size:20px}
.modal-backdrop{display:grid;place-items:center;padding:16px}
.modal{position:relative;width:min(680px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:24px;padding:28px;box-shadow:0 30px 90px rgba(0,0,0,.25)}
.modal-close{position:absolute;right:18px;top:18px}
.checkout-steps-indicator{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.checkout-steps-indicator span{background:#edf3f9;color:#73849a;padding:7px 10px;border-radius:999px;font-size:13px}
.checkout-steps-indicator span.active{background:#dbeeff;color:var(--navy);font-weight:800}
.checkout-step h2{color:var(--navy);margin:0 0 8px}
.muted{color:var(--muted)}
label{display:block;font-weight:700;margin:16px 0}
input[type="email"],input[type="text"]{width:100%;margin-top:8px;padding:13px 14px;border:1px solid #cfdceb;border-radius:12px;outline:none}
input:focus{border-color:var(--blue)}
.checkout-total{display:flex;justify-content:space-between;align-items:center;background:var(--bg);border-radius:14px;padding:15px;margin:18px 0}
.checkout-total strong{font-size:24px;color:#b93b2d}
.order-chip{background:#eef6ff;padding:12px 14px;border-radius:12px;margin:15px 0;color:var(--navy)}
.payment-box{background:#f5f8fc;border-radius:18px;padding:12px}
.payment-box img{max-height:500px;width:100%;object-fit:cover;object-position:center 45%;border-radius:14px}
.upload-box{border:2px dashed #9fb7d2;border-radius:18px;padding:26px;text-align:center;cursor:pointer;background:#f8fbff}
.upload-box input{display:block;width:100%;margin-bottom:10px}
.success-box{text-align:center;padding:10px 0}
.success-icon{width:76px;height:76px;margin:0 auto 16px;border-radius:50%;display:grid;place-items:center;background:#e8f8ef;color:#168b4f;font-size:38px;font-weight:900}
.hidden{display:none!important}
@media(max-width:900px){
  .desktop-nav{display:none}
  .hero-grid,.trust-grid{grid-template-columns:1fr}
  .hero-card{max-width:720px}
  .product-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .bundle{align-items:flex-start;flex-direction:column}
  .bundle-price{width:100%;justify-content:space-between;flex-wrap:wrap}
}
@media(max-width:620px){
  .nav-wrap{height:70px}
  .brand{min-width:0}
  .brand img{width:44px;height:44px}
  .brand strong{font-size:19px}
  .brand span{display:none}
  .container{width:min(100% - 22px,1180px)}
  .hero{padding:50px 0}
  .hero h1{font-size:40px}
  .hero p{font-size:16px}
  .section{padding:58px 0}
  .section-head{align-items:flex-start;flex-direction:column}
  .product-body{padding:20px}
  .price-row{align-items:flex-end}
  .bundle-price{display:grid;grid-template-columns:1fr 1fr}
  .bundle-price .btn{grid-column:1/-1}
  .trust-grid h2{font-size:31px}
  .footer-wrap{flex-direction:column}
  .modal{padding:24px 18px}
}

.status-card{max-width:760px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:var(--shadow)}
.status-card label{margin:0 0 14px}
.status-result{margin-top:16px;padding:14px;border-radius:14px;background:var(--bg);min-height:52px;white-space:pre-wrap}
.download-link{display:inline-flex;margin-top:10px;padding:10px 14px;border-radius:12px;background:#0b70d1;color:#fff;font-weight:800}
.notice-ok{color:#168b4f;font-weight:800}.notice-warn{color:#a85a00;font-weight:800}.notice-bad{color:#b83232;font-weight:800}

.product-loading,.product-empty,.product-error{
  grid-column:1/-1;padding:42px 24px;text-align:center;border:1px dashed var(--line);
  border-radius:20px;background:#fff;color:var(--muted)
}
.product-card .dynamic-product-description{min-height:48px}
.product-card .dynamic-product-highlights{min-height:78px}
@media (min-width:1180px){
  .product-grid.product-grid-many{grid-template-columns:repeat(3,minmax(0,1fr))}
}
