:root {
  --bg: #f7f8fa;
  --card: #ffffff;
  --ink: #131a26;
  --ink-soft: #45505f;
  --line: #e3e7ee;
  --accent: #ff6a2b;
  --accent-dark: #e0520f;
  --navy: #0e1726;
  --wa: #25d366;
  --wa-dark: #1eb457;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .07);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo .dot { color: var(--accent); }
.site-nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink-soft); font-size: .92rem; font-weight: 500;
  padding: 7px 12px; border-radius: 8px;
}
.site-nav a:hover { background: #eef1f5; text-decoration: none; color: var(--ink); }
.site-nav a.active { color: var(--accent-dark); background: #fff1e8; }
.header-cta {
  background: var(--wa); color: #fff !important; font-weight: 600; font-size: .9rem;
  padding: 8px 16px; border-radius: 999px; white-space: nowrap;
}
.header-cta:hover { background: var(--wa-dark); text-decoration: none !important; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: #fff; padding: 64px 0 72px; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.18; letter-spacing: -.02em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lede { margin: 18px 0 28px; color: #b9c3d4; font-size: 1.06rem; max-width: 34rem; }
.hero .btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero img.hero-img { border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.45); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem; padding: 12px 22px;
  border-radius: 999px; transition: .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { border: 1.5px solid #3d4a60; color: #dfe6f0; }
.btn-ghost:hover { border-color: #67758c; }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: 1.6rem; letter-spacing: -.01em; }
.section-head .sub { color: var(--ink-soft); margin-top: 4px; }
.kicker { text-transform: uppercase; font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: var(--accent-dark); margin-bottom: 6px; }

/* category pills */
.cat-pills { display: flex; gap: 12px; flex-wrap: wrap; }
.cat-pill {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; flex: 1 1 220px; box-shadow: var(--shadow);
  color: var(--ink); transition: .15s;
}
.cat-pill:hover { transform: translateY(-2px); border-color: var(--accent); text-decoration: none; }
.cat-pill .ico { font-size: 1.5rem; }
.cat-pill .nm { font-weight: 700; margin: 6px 0 2px; }
.cat-pill .bl { font-size: .86rem; color: var(--ink-soft); }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: .15s; color: var(--ink);
}
.card:hover { transform: translateY(-3px); text-decoration: none; border-color: #f3b592; }
.card .thumb { aspect-ratio: 4/3; background: #eef1f5; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .cat { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); }
.card h3 { font-size: 1.06rem; line-height: 1.3; }
.card .tg { font-size: .87rem; color: var(--ink-soft); flex: 1; }
.card .meta { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; margin-top: 4px; }
.card .price { font-weight: 700; color: var(--ink); }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-size: .7rem; font-weight: 700; letter-spacing: .04em;
  background: #eef1f5; color: #4a5768; border-radius: 6px; padding: 3px 8px;
}
.badge.hot { background: #fff1e8; color: var(--accent-dark); }

/* ---------- product page ---------- */
.breadcrumb { font-size: .84rem; color: var(--ink-soft); padding: 20px 0 0; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb span+span::before { content: "›"; margin: 0 8px; color: #b6bec9; }
.product-head { padding: 24px 0 8px; }
.product-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; }
.product-head .tagline { font-size: 1.05rem; color: var(--ink-soft); margin-top: 6px; max-width: 46rem; }
.product-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; padding: 28px 0 8px; align-items: start; }
.media-stack { display: flex; flex-direction: column; gap: 20px; }
.media-stack .photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.media-stack .photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }

/* youtube lite embed */
.yt { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: var(--navy); border: 1px solid var(--line); }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt .thumb-img { filter: saturate(.9); }
.yt .play {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px;
  align-items: center; justify-content: center; background: rgba(14, 23, 38, .55);
  color: #fff; cursor: pointer; border: 0; width: 100%; font-family: var(--font);
}
.yt .play:hover { background: rgba(14, 23, 38, .42); }
.yt .play .pbtn {
  width: 74px; height: 50px; border-radius: 12px; background: #ff2f2f;
  display: flex; align-items: center; justify-content: center;
}
.yt .play .pbtn::after { content: ""; border-style: solid; border-width: 9px 0 9px 16px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.yt .play .plabel { font-weight: 700; font-size: .95rem; }
.yt .note-cache { position: absolute; bottom: 8px; left: 12px; font-size: .72rem; color: #cfd7e2; }

/* buy box */
.buybox { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; position: sticky; top: 84px; }
.buybox .price-line { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; }
.buybox .price-sub { font-size: .84rem; color: var(--ink-soft); margin-bottom: 14px; }
.buybox .wa-big { width: 100%; justify-content: center; font-size: 1.02rem; padding: 14px 20px; }
.buybox .alt-contact { text-align: center; font-size: .84rem; color: var(--ink-soft); margin-top: 12px; }
.buybox dl { margin-top: 18px; border-top: 1px solid var(--line); }
.buybox dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.buybox dt { color: var(--ink-soft); }
.buybox dd { font-weight: 600; text-align: right; }
.compliance-note { margin-top: 16px; font-size: .78rem; color: var(--ink-soft); background: #f2f5f9; border-radius: 10px; padding: 10px 12px; }

/* highlights & specs & faq */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-top: 26px; }
.panel h2 { font-size: 1.25rem; margin-bottom: 14px; }
ul.checks { list-style: none; display: grid; gap: 10px; }
ul.checks li { padding-left: 30px; position: relative; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: #e8f8ef; color: #14934c; font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
table.specs { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.specs th, table.specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.specs tr:nth-child(odd) { background: #fafbfc; }
table.specs th { width: 34%; color: var(--ink-soft); font-weight: 600; }
details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.faq:last-of-type { border-bottom: 0; }
details.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--accent-dark); font-weight: 400; }
details.faq[open] summary::after { content: "–"; }
details.faq p { padding: 0 0 14px; color: var(--ink-soft); max-width: 60rem; }

/* keyword box */
.kw-box { background: #fafbfc; }
.kw-box .kw-long { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.kw-box .kw-long li { font-size: .86rem; color: var(--ink-soft); padding-left: 18px; position: relative; }
.kw-box .kw-long li::before { content: "🔍"; position: absolute; left: 0; font-size: .72rem; top: 3px; }
.kw-box .kw-note { margin-top: 14px; font-size: .8rem; color: #8a94a3; }
@media (max-width: 700px) { .kw-box .kw-long { grid-template-columns: 1fr; } }

/* ---------- content pages ---------- */
.prose { max-width: 760px; }
.prose h1 { font-size: 1.9rem; margin-bottom: 18px; letter-spacing: -.02em; }
.prose h2 { font-size: 1.25rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.prose strong { color: var(--ink); }
.callout { background: #fff7f1; border: 1px solid #ffd9c2; border-radius: var(--radius); padding: 18px 22px; margin: 22px 0; }
.callout.info { background: #f1f6ff; border-color: #d4e3ff; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #aeb9c9; margin-top: 64px; padding: 48px 0 28px; font-size: .9rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer a { color: #aeb9c9; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer .fineprint { margin-top: 34px; padding-top: 18px; border-top: 1px solid #223047; font-size: .78rem; line-height: 1.7; color: #7d8ba0; }

/* ---------- language switcher ---------- */
.lang-menu { position: relative; }
.lang-menu > summary {
  cursor: pointer; list-style: none; color: var(--ink-soft); font-size: .92rem; font-weight: 500;
  padding: 7px 12px; border-radius: 8px; white-space: nowrap;
}
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu[open] > summary, .lang-menu > summary:hover { background: #eef1f5; color: var(--ink); }
.lang-menu ul {
  position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); list-style: none; min-width: 180px; padding: 6px; overflow: hidden;
}
.lang-menu ul a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-size: .9rem; }
.lang-menu ul a:hover { background: #fff1e8; text-decoration: none; }
.lang-menu ul a.cur { background: #eef1f5; font-weight: 700; }

/* ---------- RTL ---------- */
html[dir="rtl"] body { font-family: "Segoe UI", Tahoma, "Noto Kufi Arabic", "Arial", sans-serif; }
html[lang="th"] body { font-family: "Segoe UI", "Noto Sans Thai", Tahoma, Arial, sans-serif; }
html[dir="rtl"] .hero h1, html[dir="rtl"] .product-head h1 { letter-spacing: 0; }
ul.checks li { padding-inline-start: 30px; padding-left: 0; position: relative; }
ul.checks li::before { inset-inline-start: 0; left: auto; }
.kw-box .kw-long li { padding-inline-start: 18px; padding-left: 0; }
.kw-box .kw-long li::before { inset-inline-start: 0; left: auto; }
.buybox dd { text-align: end; }
.breadcrumb span + span::before { margin-inline: 8px; }
html[dir="rtl"] .yt .play .pbtn::after { border-width: 9px 16px 9px 0; border-color: transparent #fff transparent transparent; margin-left: 0; margin-right: 4px; }
html[dir="rtl"] .lang-menu ul { text-align: right; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero .container, .product-layout { grid-template-columns: 1fr; }
  .buybox { position: static; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-header .container { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .site-header .logo { flex: 1; }
  .site-nav {
    order: 3; width: 100%; flex: none;
    display: flex; flex-wrap: nowrap; overflow-x: auto;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; font-size: .85rem; padding: 6px 10px; }
  .header-cta { flex: none; }
  .hero { padding: 32px 0 40px; }
  .hero .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .section { padding: 34px 0; }
  .section-head { flex-direction: column; align-items: start; gap: 4px; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .card .thumb { aspect-ratio: 16/10; }
  .product-head h1 { font-size: 1.45rem; }
  .buybox { padding: 18px; }
  table.specs { font-size: .84rem; }
  table.specs th { width: 40%; }
  .panel { padding: 20px 18px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 22px; }
  .breadcrumb { font-size: .78rem; }
  .yt .note-cache { display: none; }
}
