/* (03/12/2026) r2 [WS-R2] หน้าแรกตามภาพตัวอย่าง : จุดเด่น 4–5 ช่อง · สินค้าแนะนำมีแท็บหมวด/PV/ปุ่มตะกร้า · โอกาสธุรกิจแถบกว้าง · บล็อก Academy/Rewards · ข่าวการ์ดแนวนอน
   (08/11/2026) เว็บไซต์บริษัท (root index.php · website/web_render.php) — prefix .ws-
   โทนฟ้า/ขาว ตาม Mockup · สีหลักจาก config (--ws-c1 = Header, --ws-c2 = Button Shopping) ตั้งใน <head> */
:root {
    --ws-c1: #2cabe3; --ws-c2: #0a4069;
    --ws-blue: color-mix(in srgb, var(--ws-c1) 55%, var(--ws-c2));
    --ws-ink: #0f1f3a; --ws-muted: #5b6b80; --ws-line: #e3e9f2; --ws-bg: #f5f8fd;
    --ws-tint: color-mix(in srgb, var(--ws-c1) 10%, #fff);
    --ws-r: 18px; --ws-shadow: 0 1px 2px rgba(15, 31, 58, .04), 0 14px 34px -20px rgba(15, 40, 90, .28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ws { margin: 0; font-family: Kanit, "Sarabun", system-ui, sans-serif; color: var(--ws-ink); background: #fff; -webkit-font-smoothing: antialiased; line-height: 1.55; }
.ws img { max-width: 100%; display: block; }
.ws a { color: inherit; text-decoration: none; }
.ws-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.ws-narrow { max-width: 880px; }
.ws-h2 { margin: 0 0 14px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; color: var(--ws-ink); }

/* ---------- ปุ่ม ---------- */
.ws-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
    border: 0; border-radius: 12px; background: var(--ws-blue); color: #fff !important; font: inherit; font-size: 15px; font-weight: 600;
    cursor: pointer; white-space: nowrap; box-shadow: 0 10px 20px -12px var(--ws-blue); transition: filter .15s, transform .15s;
}
.ws-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ws-btn--lg { height: 50px; padding: 0 24px; font-size: 16px; }
.ws-btn--white { background: #fff; color: var(--ws-blue) !important; border: 1.5px solid color-mix(in srgb, var(--ws-blue) 35%, #fff); box-shadow: none; }
.ws-btn--ghost { background: transparent; color: var(--ws-blue) !important; border: 1.5px solid var(--ws-line); box-shadow: none; }
.ws-icon-btn { width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: var(--ws-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ws-icon-btn:hover { background: var(--ws-bg); }

/* ---------- Header ---------- */
.ws-preview-bar { background: #fef3c7; color: #92400e; text-align: center; font-size: 14px; padding: 8px 12px; }
.ws-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--ws-line); }
.ws-header-in { display: flex; align-items: center; gap: 18px; height: 72px; }
.ws-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; color: var(--ws-c2); flex: 0 0 auto; }
.ws-brand img { height: 42px; width: auto; }
.ws-nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.ws-nav-item { position: relative; }
.ws-nav-item > a { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 19px; font-size: 15px; font-weight: 500; color: var(--ws-ink); transition: background .15s, color .15s; }
.ws-nav-item > a:hover { color: var(--ws-blue); }
.ws-nav-item > a.is-on { background: var(--ws-blue); color: #fff; }
.ws-sub { position: absolute; top: 100%; left: 0; min-width: 200px; padding: 8px; background: #fff; border: 1px solid var(--ws-line); border-radius: 14px; box-shadow: var(--ws-shadow); display: none; }
.ws-nav-item.has-sub:hover .ws-sub, .ws-nav-item.has-sub:focus-within .ws-sub { display: block; }
.ws-sub a { display: block; padding: 8px 12px; border-radius: 9px; font-size: 14.5px; }
.ws-sub a:hover { background: var(--ws-bg); }
.ws-nav-actions-m { display: none; }
.ws-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.ws-login { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ws-c2); padding: 0 6px; }
.ws-burger { display: none; }

/* ---------- Page head ---------- */
.ws-pagehead { background: linear-gradient(120deg, var(--ws-tint), #fff 70%); border-bottom: 1px solid var(--ws-line); padding: 30px 0 26px; }
.ws-pagehead h1 { margin: 6px 0 0; font-size: clamp(26px, 3vw, 36px); font-weight: 600; }
.ws-crumb { font-size: 14px; color: var(--ws-muted); }
.ws-crumb a:hover { color: var(--ws-blue); }
.ws-main { min-height: 50vh; }
.ws-block { padding: 34px 0; }
.ws-b-banner { padding: 0; }
.ws-b-features { padding: 0; }

/* ---------- Hero ---------- */
.ws-hero { position: relative; overflow: hidden; background: var(--ws-tint); }
.ws-hero-track { display: flex; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.ws-hero-slide { position: relative; flex: 0 0 100%; aspect-ratio: 1920 / 640; min-height: 360px; }
.ws-hero-slide picture, .ws-hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.ws-hero-link { position: absolute; inset: 0; }
.ws-hero-text { position: relative; height: 100%; display: flex; align-items: center; }
.ws-hero-box { max-width: 560px; padding: 24px 0; }
.ws-kicker { display: inline-block; font-size: 15px; font-weight: 600; letter-spacing: .06em; color: var(--ws-c2); margin-bottom: 8px; }
.ws-hero-box h2 { margin: 0; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.18; font-weight: 700; color: var(--ws-c2); }
.ws-hero-box p { margin: 14px 0 0; font-size: clamp(15px, 1.4vw, 19px); color: #334155; max-width: 480px; }
.ws-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.ws-hero-nav { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ws-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 16px -6px rgba(15, 31, 58, .35); }
.ws-prev { left: 18px; } .ws-next { right: 18px; }
.ws-hero-dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 7px; z-index: 2; }
.ws-hero-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 5px; background: rgba(15, 31, 58, .22); cursor: pointer; transition: width .25s, background .25s; }
.ws-hero-dots button.is-on { width: 26px; background: var(--ws-blue); }

/* ---------- Features ---------- */
.ws-features { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid var(--ws-line); border-radius: var(--ws-r); box-shadow: var(--ws-shadow); margin-top: -34px; position: relative; z-index: 3; }
.ws-feature { display: flex; align-items: center; gap: 12px; padding: 18px 18px; min-width: 0; }
.ws-feature + .ws-feature { border-left: 1px solid var(--ws-line); }
.ws-feature-ic { flex: 0 0 52px; height: 52px; border-radius: 16px; background: var(--ws-tint); color: var(--ws-blue); display: flex; align-items: center; justify-content: center; }
.ws-feature strong { display: block; font-size: 16px; font-weight: 600; }
.ws-feature small { display: block; font-size: 13.5px; color: var(--ws-muted); line-height: 1.4; }

/* ---------- Section head ---------- */
.ws-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ws-sec-head h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; }
.ws-sec-head p { margin: 2px 0 0; color: var(--ws-muted); }
.ws-sec-head--tabs { align-items: center; }
.ws-sec-head--tabs > div:first-child { flex: 0 0 auto; }
.ws-tabs { flex: 1 1 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 4px; }
.ws-tabs button { height: 38px; padding: 0 16px; border: 1px solid var(--ws-line); border-radius: 999px; background: #fff; color: var(--ws-ink); font: inherit; font-size: 14.5px; cursor: pointer; transition: all .15s; }
.ws-tabs button:hover { border-color: var(--ws-c1); }
.ws-tabs button.is-on { background: var(--ws-blue); border-color: var(--ws-blue); color: #fff; box-shadow: 0 8px 18px -10px var(--ws-blue); }
.ws-more { display: inline-flex; align-items: center; gap: 6px; color: var(--ws-blue) !important; font-weight: 600; white-space: nowrap; }

/* ---------- Products ---------- */
.ws-products { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, calc((100% - 90px) / 6)); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
.ws-products.is-grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); overflow: visible; }
.ws-product[hidden] { display: none; }
.ws-product { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ws-line); border-radius: var(--ws-r); overflow: hidden; box-shadow: var(--ws-shadow); transition: transform .2s, box-shadow .2s; }
.ws-product:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -24px rgba(15, 40, 90, .45); }
.ws-product-img { position: relative; aspect-ratio: 1; background: var(--ws-bg); overflow: hidden; }
.ws-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ws-product:hover .ws-product-img img { transform: scale(1.04); }
.ws-badge { position: absolute; left: 10px; top: 10px; padding: 3px 11px; border-radius: 12px; font-style: normal; font-size: 12.5px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #7c3aed, #6366f1); }
.ws-badge--34 { background: linear-gradient(135deg, #f97316, #ef4444); }
.ws-badge--35 { background: linear-gradient(135deg, #a855f7, #ec4899); }
.ws-product-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; flex: 1 1 auto; }
.ws-product-body small { font-size: 12.5px; color: var(--ws-muted); }
.ws-product-body strong { font-size: 15.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.ws-price { font-size: 18px; font-weight: 700; color: var(--ws-c2); margin-top: 4px; }
.ws-price-row { margin-top: auto; padding-top: 6px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.ws-price-row > span:first-child { display: flex; flex-direction: column; }
.ws-pv { font-size: 12.5px; color: var(--ws-muted); }
.ws-cart-ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--ws-blue); color: #fff; transition: filter .15s; }
.ws-product:hover .ws-cart-ic { filter: brightness(1.1); }
.ws-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 600; color: var(--ws-blue); }

/* ---------- Shop CTA ---------- */
.ws-shopcta { position: relative; display: flex; align-items: center; gap: 26px; padding: 30px 36px; border-radius: 24px; background: linear-gradient(110deg, var(--ws-tint), color-mix(in srgb, var(--ws-c1) 18%, #fff)); border: 1px solid color-mix(in srgb, var(--ws-c1) 18%, #fff); overflow: hidden; min-height: 190px; }
.ws-shopcta-ic { flex: 0 0 auto; color: var(--ws-blue); }
.ws-shopcta-body { position: relative; z-index: 1; max-width: 560px; }
.ws-shopcta h2 { margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; color: var(--ws-c2); }
.ws-shopcta p { margin: 0 0 16px; color: #334155; }
.ws-shopcta-img { position: absolute; right: 26px; bottom: 0; height: 100%; width: auto; max-width: 42%; object-fit: contain; object-position: right bottom; }

/* ---------- Business ---------- */
.ws-biz { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 34px; align-items: center; padding: 0 34px 0 0; border-radius: 24px; background: linear-gradient(110deg, #fff 30%, var(--ws-tint)); border: 1px solid var(--ws-line); box-shadow: var(--ws-shadow); }
.ws-biz-img { width: 100%; height: 100%; min-height: 300px; aspect-ratio: auto; object-fit: cover; }
.ws-biz-body { position: relative; z-index: 1; padding: 30px 0; }
.ws-biz-bars { position: absolute; right: 26px; bottom: 0; display: flex; align-items: flex-end; gap: 8px; height: 60%; opacity: .5; pointer-events: none; }
.ws-biz-bars i { width: 22px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--ws-c1), color-mix(in srgb, var(--ws-c1) 30%, #fff)); }
.ws-biz-bars i:nth-child(1) { height: 22%; } .ws-biz-bars i:nth-child(2) { height: 34%; } .ws-biz-bars i:nth-child(3) { height: 46%; } .ws-biz-bars i:nth-child(4) { height: 60%; } .ws-biz-bars i:nth-child(5) { height: 78%; } .ws-biz-bars i:nth-child(6) { height: 100%; }
.ws-biz h2 { margin: 0 0 14px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; color: var(--ws-c2); }
.ws-biz ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.ws-biz li { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.ws-biz li svg { flex: 0 0 auto; color: #fff; background: var(--ws-blue); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }

/* ---------- Academy / Rewards ---------- */
.ws-apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ws-app { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 170px; padding: 26px 28px; border-radius: 22px; color: #fff !important; transition: transform .2s, box-shadow .2s; }
.ws-app:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -24px rgba(15, 40, 90, .5); }
.ws-app.is-academy { background: radial-gradient(80% 120% at 100% 100%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(120deg, var(--ws-c1), var(--ws-c2)); }
.ws-app.is-rewards { background: radial-gradient(80% 120% at 100% 100%, rgba(255, 255, 255, .2), transparent 60%), linear-gradient(120deg, #22a35a, #0e6a37); }
.ws-app > div { position: relative; z-index: 1; min-width: 0; }
.ws-app h3 { margin: 0 0 6px; display: flex; align-items: center; gap: 10px; font-size: clamp(20px, 2vw, 26px); font-weight: 600; }
.ws-app p { margin: 0 0 16px; font-size: 15px; opacity: .92; }
.ws-app-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--ws-c2); font-size: 14px; font-weight: 600; }
.ws-app.is-rewards .ws-app-btn { color: #137a43; }
.ws-app-art { flex: 0 0 auto; width: 38%; max-width: 200px; height: auto; }

/* ---------- News : การ์ดแนวนอน (รูปซ้าย) ---------- */
.ws-news { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.ws-news-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: stretch; background: #fff; border: 1px solid var(--ws-line); border-radius: var(--ws-r); overflow: hidden; box-shadow: var(--ws-shadow); transition: transform .2s; }
.ws-news-card:hover { transform: translateY(-3px); }
.ws-news-img { position: relative; aspect-ratio: auto; min-height: 112px; background: linear-gradient(135deg, var(--ws-tint), color-mix(in srgb, var(--ws-c1) 28%, #fff)); }
.ws-news-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-news-img em { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 3px 10px; border-radius: 10px; background: var(--ws-blue); color: #fff; font-size: 12.5px; font-style: normal; font-weight: 600; }
.ws-news-body { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 12px 16px; min-width: 0; }
.ws-news-body small { color: var(--ws-muted); font-size: 13px; }
.ws-news-body strong { font-size: 15.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-news-body span { font-size: 14px; color: var(--ws-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Text / image / CTA / FAQ / contact ---------- */
.ws-rich { font-size: 16.5px; color: #26364d; }
.ws-rich h2, .ws-rich h3, .ws-rich h4 { color: var(--ws-ink); margin: 1.2em 0 .4em; }
.ws-rich a { color: var(--ws-blue); text-decoration: underline; }
.ws-rich img { border-radius: 12px; margin: 12px 0; }
.ws-imgtext { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.ws-imgtext.is-right .ws-imgtext-img { order: 2; }
.ws-imgtext-img img { width: 100%; border-radius: 22px; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--ws-shadow); }
.ws-imgtext-body .ws-btn { margin-top: 16px; }
.ws-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px 32px; border-radius: 22px; background: linear-gradient(120deg, var(--ws-c2), var(--ws-blue)); color: #fff; }
.ws-cta h2 { margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; }
.ws-cta p { margin: 4px 0 0; opacity: .85; }
.ws-faq { display: grid; gap: 10px; }
.ws-faq details { border: 1px solid var(--ws-line); border-radius: 14px; background: #fff; padding: 0 18px; }
.ws-faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.ws-faq summary::after { content: "+"; color: var(--ws-blue); font-size: 22px; line-height: 1; }
.ws-faq details[open] summary::after { content: "−"; }
.ws-faq .ws-rich { padding-bottom: 16px; font-size: 15.5px; }
.ws-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ws-contact-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; border: 1px solid var(--ws-line); border-radius: var(--ws-r); background: #fff; box-shadow: var(--ws-shadow); }
.ws-contact-card svg { color: var(--ws-blue); margin-bottom: 6px; }
.ws-contact-card small { color: var(--ws-muted); }
.ws-contact-card strong { font-weight: 600; overflow-wrap: anywhere; }
.ws-note { margin-top: 16px; color: var(--ws-muted); }

/* ---------- Article / 404 ---------- */
.ws-article { padding: 34px 20px 50px; }
.ws-article h1 { margin: 10px 0 6px; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; }
.ws-back { color: var(--ws-blue) !important; font-weight: 600; }
.ws-chip { display: inline-block; margin-left: 10px; padding: 3px 12px; border-radius: 12px; background: var(--ws-tint); color: var(--ws-c2); font-size: 13px; font-weight: 600; }
.ws-date { display: block; color: var(--ws-muted); margin-bottom: 18px; }
.ws-article-cover { width: 100%; border-radius: 20px; margin-bottom: 22px; }
.ws-404 { text-align: center; padding: 90px 20px; }

/* ---------- Footer ---------- */
.ws-footer { margin-top: 40px; background: color-mix(in srgb, var(--ws-c2) 86%, #020617); color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.ws-footer-grid { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; padding-top: 44px; padding-bottom: 34px; }
.ws-brand--light { color: #fff; }
.ws-brand--light img { background: #fff; border-radius: 10px; padding: 4px 6px; }
.ws-footer-brand p { margin: 12px 0 0; color: rgba(255, 255, 255, .7); }
.ws-footer-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ws-footer-col h3 { margin: 4px 0 6px; color: #fff; font-size: 15.5px; font-weight: 600; }
.ws-footer-col a, .ws-footer-col p { color: rgba(255, 255, 255, .78) !important; margin: 0; display: flex; gap: 8px; align-items: flex-start; }
.ws-footer-col a:hover { color: #fff !important; }
.ws-footer-contact svg { flex: 0 0 auto; margin-top: 4px; color: var(--ws-c1); }
.ws-social { display: flex; gap: 8px; margin-top: 6px; }
.ws-soc { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff !important; font-size: 11px; font-weight: 700; align-items: center !important; justify-content: center; }
.ws-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .18); }
.ws-footer-bottom-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-height: 54px; align-items: center; font-size: 13.5px; color: rgba(255, 255, 255, .65); }
.ws-footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.ws-footer-links a:hover { color: #fff; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .ws-products { grid-auto-columns: minmax(210px, calc((100% - 54px) / 4)); }
    .ws-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ws-feature:nth-child(4) { border-left: 0; }
    .ws-feature:nth-child(n+4) { border-top: 1px solid var(--ws-line); }
    .ws-sec-head--tabs { flex-wrap: wrap; }
    .ws-tabs { order: 3; flex-basis: 100%; justify-content: flex-start; }
}
@media (max-width: 991px) {
    .ws-header-in { height: 64px; }
    .ws-burger { display: inline-flex; }
    .ws-hide-m { display: none !important; }
    .ws-nav { position: fixed; inset: 64px 0 auto 0; z-index: 60; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 12px 16px 18px;
        background: #fff; border-bottom: 1px solid var(--ws-line); box-shadow: 0 24px 40px -20px rgba(15, 31, 58, .35); max-height: calc(100vh - 64px); overflow-y: auto;
        transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .2s, opacity .2s, visibility .2s; }
    .ws-nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .ws-nav-item > a { width: 100%; height: 46px; border-radius: 12px; font-size: 16px; }
    .ws-sub { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 12px; }
    .ws-nav-actions-m { display: flex; gap: 10px; margin-top: 10px; }
    .ws-nav-actions-m .ws-btn { flex: 1 1 0; }
    .ws-imgtext, .ws-biz { grid-template-columns: 1fr; gap: 20px; }
    .ws-biz { padding: 0; }
    .ws-biz-img { min-height: 0; aspect-ratio: 16 / 9; }
    .ws-biz-body { padding: 0 22px 24px; }
    .ws-biz-bars { display: none; }
    .ws-apps { grid-template-columns: 1fr; }
    .ws-imgtext.is-right .ws-imgtext-img { order: 0; }
    .ws-shopcta { flex-direction: column; align-items: flex-start; padding: 24px 22px 0; }
    .ws-shopcta-img { position: static; max-width: 100%; height: auto; max-height: 200px; align-self: flex-end; }
}
@media (max-width: 767px) {
    .ws-wrap { padding: 0 16px; }
    .ws-brand { font-size: 18px; } .ws-brand img { height: 36px; }
    .ws-hero-slide { aspect-ratio: 9 / 11; min-height: 0; }
    .ws-hero-slide picture img { object-position: center bottom; }
    .ws-hero-text { align-items: flex-start; }
    .ws-hero-box { padding-top: 28px; max-width: 100%; }
    .ws-hero-box h2 { font-size: 29px; }
    .ws-hero-btns .ws-btn { height: 44px; padding: 0 16px; font-size: 15px; }
    .ws-hero-nav { display: none; }
    .ws-features { margin-top: 16px; grid-template-columns: 1fr 1fr; }
    .ws-feature:nth-child(n) { border-left: 0; border-top: 0; }
    .ws-feature:nth-child(even) { border-left: 1px solid var(--ws-line); }
    .ws-feature:nth-child(n+3) { border-top: 1px solid var(--ws-line); }
    .ws-feature:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; align-items: center; } /* รายการเลขคี่ ตัวสุดท้ายเต็มแถว */
    .ws-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .ws-tabs button { flex: 0 0 auto; }
    .ws-app { padding: 20px; min-height: 150px; }
    .ws-news { grid-template-columns: 1fr; }
    .ws-news-card { grid-template-columns: 110px minmax(0, 1fr); }
    .ws-feature { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; }
    .ws-feature-ic { flex-basis: auto; width: 46px; height: 46px; }
    .ws-products { grid-auto-columns: 70%; }
    .ws-products.is-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .ws-sec-head { align-items: flex-start; flex-direction: column; gap: 6px; }
    .ws-sec-head--tabs .ws-tabs { width: 100%; }
    .ws-block { padding: 26px 0; }
    .ws-biz { padding: 18px; }
    .ws-footer-grid { grid-template-columns: 1fr 1fr; }
    .ws-footer-brand { grid-column: 1 / -1; }
    .ws-footer-contact a, .ws-footer-contact p { font-size: 13.5px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { .ws-hero-track, .ws-product, .ws-news-card { transition: none; } html { scroll-behavior: auto; } }
