/* ---------- Base ---------- */
.product-page { padding-top: 68px; background: var(--surface); }
.product-detail-page { padding-block: 28px 64px; }
.product-detail-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 28px; }
.product-sidebar { display: grid; gap: 20px; }
.product-sidebar-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.product-sidebar-box h2 { margin: 0; padding: 18px 20px; background: var(--navy-900); color: #fff; font-size: 1.1rem; }
#product-categories a { display: block; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: .95rem; }
#product-categories a:hover, #product-categories a.is-active { background: var(--navy-50); color: var(--navy-900); font-weight: 600; }
.related-products { padding: 8px 16px; }
.related-products li + li { border-top: 1px solid var(--line); }
.related-products a { display: flex; align-items: center; gap: 12px; padding-block: 14px; font-size: .9rem; }
.related-products a:hover { color: var(--navy-700); }
.related-product-image { display: grid; place-items: center; flex: 0 0 56px; height: 72px; background: var(--navy-50); border-radius: 8px; overflow: hidden; font-size: .6rem; }
.related-product-image img { max-width: 100%; height: 64px; object-fit: contain; }
#product-detail, #product-not-found { min-width: 0; padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.product-detail-heading h1 { font-size: clamp(28px, 3vw, 40px); color: var(--navy-900); }
#product-name-en { color: var(--muted); margin-top: 8px; }
.product-detail-page { max-width: 1480px; }
.product-info-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, 1fr); align-items: stretch; gap: 24px; margin-bottom: 28px; }
.product-info-content { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.product-summary { margin-top: 24px; }
.product-detail-image { display: grid; place-items: center; min-height: 420px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: radial-gradient(circle, #fff, var(--navy-50)); }
.product-detail-image img { width: 100%; max-width: 100%; height: 400px; object-fit: contain; }
.product-image-zoom { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; border-radius: var(--r-lg); }
.product-image-zoom:focus-visible { outline: 3px solid var(--navy-700); outline-offset: 6px; }
.product-image-zoom:disabled { cursor: default; }
.product-image-dialog { width: min(1000px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 52px 24px 20px; border: 0; border-radius: var(--r-lg); background: #fff; color: var(--navy-900); text-align: center; }
.product-image-dialog::backdrop { background: rgb(7 22 49 / .8); }
.product-image-dialog img { display: block; width: 100%; height: min(72dvh, 900px); object-fit: contain; }
.product-image-dialog p { margin-top: 12px; }
.product-image-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--navy-50); color: var(--navy-900); font-size: 28px; cursor: pointer; }
.product-image-placeholder { text-align: center; color: var(--muted); }
.product-summary h2 { font-size: 1.1rem; margin-bottom: 10px; }
.product-summary h2:not(:first-child) { margin-top: 24px; }
.product-summary > .btn { margin-top: 28px; }
.product-data > h2 { padding: 16px 20px; background: var(--navy-900); color: #fff; font-size: 1.25rem; border-radius: 12px 12px 0 0; }
.product-data-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .95rem; overflow-wrap: anywhere; }
.product-data-table > tbody > tr > th, .product-data-table > tbody > tr > td { padding: 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.product-label-column { width: 19%; }
.product-data-table > tbody > tr > th { width: 19%; padding-inline: 12px; color: var(--navy-900); background: var(--navy-50); font-weight: 600; }
.product-table-caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.product-target-list { list-style: disc; padding-left: 20px; }
.product-label-context { margin-block: 20px 24px; line-height: 1.9; color: var(--muted); }
.product-target-list li + li { margin-top: 8px; }
.product-pack-table { width: 100%; border-collapse: collapse; text-align: left; }
.product-pack-table th, .product-pack-table td { padding: 8px; border-bottom: 1px solid var(--line); }
.product-pack-table th { font-weight: 600; color: var(--navy-900); }
@media (max-width: 900px) {
  .product-detail-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 20px; }
  .product-info-layout { grid-template-columns: 1fr; }
  .product-detail-image { min-height: 400px; }
  .product-detail-image img { height: 360px; }
}
@media (max-width: 640px) {
  .product-detail-layout { display: flex; flex-direction: column; }
  #product-detail, #product-not-found, .product-sidebar { width: 100%; }
  .product-sidebar { order: 2; }
  .product-data-table > tbody > tr > th, .product-data-table > tbody > tr > td { padding: 10px; font-size: .85rem; }
  .product-label-column, .product-data-table > tbody > tr > th { width: 27%; }
}
@media (max-width: 1280px) { .product-page { padding-top: 60px; } }
@media (max-width: 480px) { .product-page { padding-top: 92px; } }
.article-header { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 16px; border-bottom: 1px solid var(--line); }
.article-page { max-width: 1000px; padding-block: 32px 72px; }
.article-breadcrumb { margin-bottom: 32px; font-size: .9rem; color: var(--muted); }
.article-page h1 { font-size: clamp(28px, 4vw, 48px); line-height: 1.35; margin-bottom: 20px; color: var(--navy-900); }
.article-author { margin-bottom: 24px; color: var(--muted); }
.article-cover { width: 100%; max-width: 760px; margin-inline: auto; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); background: var(--navy-50); }
.article-cover.contain { object-fit: contain; padding: 24px; }
.article-cover[src*="non-sila-kaset"] { aspect-ratio: auto; }
.article-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; margin-top: 32px; }
.article-gallery img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); }
.article-photo-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; border-radius: var(--r-lg); }
.article-photo-button:focus-visible { outline: 3px solid var(--navy-700); outline-offset: 4px; }
.image-navigation { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.image-navigation button { padding: 8px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--navy-50); color: var(--navy-900); cursor: pointer; }
.article-content { max-width: 760px; margin: 24px auto; font-size: 1.1rem; line-height: 1.8; }
.article-content section + section { margin-top: 18px; }
.article-content h2 { font-size: 1.5rem; margin-bottom: 8px; }
.article-content .article-closing { margin-top: 24px; text-align: right; font-size: .875rem; color: var(--muted); }
.news-page { padding-top: 68px; }
.news-page .site-header { background: radial-gradient(circle at 85% 0%, var(--navy-700) 0%, transparent 55%), var(--navy-900); }
@media (max-width: 900px) { .news-page { padding-top: 60px; } }
@media (max-width: 480px) { .news-page { padding-top: 92px; } }
.article-related { margin-block: 56px 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.article-related h2 { margin-bottom: 24px; }
.article-page .news-grid { margin-top: 24px; }
.article-footer { text-align: center; padding: 24px; background: var(--navy-950); color: #fff; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); font-weight: 600; color: var(--navy-900); }
p { margin: 0; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--navy-500); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.products-subtitle { margin-top: 10px; font-family: var(--font-head); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 400; color: var(--muted); }
.center { display: flex; justify-content: center; margin-top: 40px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy-900); color: #fff; padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy-700); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 8px 0 26px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 500; font-size: 1rem; white-space: nowrap;
  border: 1px solid transparent; transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:not(:has(.btn-ico)) { padding: 0 26px; }
.btn:hover { transform: translateY(-1px); }
.btn-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-size: 1.05rem; }
.btn-sm { height: 42px; padding: 0 22px !important; font-size: .95rem; }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-800); box-shadow: var(--shadow-md); }
.btn-white { background: #fff; color: var(--navy-900); }
.btn-white .btn-ico { background: var(--navy-900); color: #fff; }
.btn-ghost { color: #fff; border-color: rgb(255 255 255 / .55); }
.btn-ghost:hover { background: rgb(255 255 255 / .1); }
.btn-soft { background: rgb(255 255 255 / .1); color: #fff; }
.btn-soft .btn-ico { background: rgb(255 255 255 / .12); }
.btn-outline { color: var(--navy-900); border-color: var(--navy-200); background: #fff; }
.btn-outline:hover { border-color: var(--navy-900); }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--navy-900); font-size: 1.05rem; transition: .2s;
}
.round-btn:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; background: radial-gradient(circle at 85% 0%, var(--navy-700) 0%, transparent 55%), var(--navy-900); }
.site-header .brand { mix-blend-mode: normal; }
.site-header .brand img[src$="logo_B_bgw-01.png"] { filter: none; mix-blend-mode: normal; background: transparent; }
.header-pill {
  width: 100%; max-width: var(--container); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 72px; padding: 0 var(--gutter); border-radius: 0;
  background: transparent;
  transition: height .25s;
}
.site-header.is-scrolled .header-pill { height: 64px; }
.brand { display: flex; align-items: center; justify-content: center; flex-shrink: 0; mix-blend-mode: multiply; }
.brand img { height: 38px; width: auto; }
.brand img[src$="logo_B_bgw-01.png"] { height: 52px; width: 180px; object-fit: cover; object-position: center 53%; }
.site-nav ul { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) {
  display: block; padding: 10px 16px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--navy-900); transition: .2s;
}
.site-nav .btn { font-size: 1.05rem; font-weight: 700; color: #fff; background: var(--navy-900); border-color: var(--navy-900); }
.site-nav .btn:hover { background: var(--navy-800); border-color: var(--navy-800); box-shadow: none; }
.site-nav a:not(.btn):hover { color: var(--navy-900); background: var(--navy-50); }
.site-nav li:last-child { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--navy-50); padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { height: 2px; border-radius: 2px; background: var(--navy-900); transition: .25s; }

.line-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; color: var(--navy-900); background: #fff; box-shadow: 0 24px 80px rgb(7 22 49 / .3); }
.line-dialog::backdrop { background: rgb(7 22 49 / .6); backdrop-filter: blur(6px); }
.line-dialog-inner { position: relative; padding: 40px 28px 28px; text-align: center; background: linear-gradient(180deg, #eaf8ef, #fff 45%); }
.line-dialog-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--navy-900); font-size: 26px; }
.line-dialog-badge { display: inline-block; margin-bottom: 12px; color: #087c38; font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.line-dialog h2 { font-size: clamp(22px, 5vw, 28px); margin-bottom: 8px; }
.line-dialog p { font-size: .9rem; color: var(--muted); }
.line-dialog-qr { max-width: 260px; margin: 20px auto 16px; padding: 12px; border: 1px solid #e1eee5; border-radius: 18px; background: #fff; }
.line-dialog-qr img { width: 100%; height: auto; }
.line-dialog-hint { margin-bottom: 20px; }
.line-dialog small { display: block; margin-top: 14px; color: var(--muted); }

/* ---------- About Danken ---------- */
.header-social-layout .header-pill { max-width: 1480px; height: 68px; gap: 20px; }
.header-social-layout .site-nav { padding: 6px; border-radius: 0; background: transparent; }
.header-social-layout .site-nav ul { gap: 2px; }
.header-social-layout .site-nav a:not(.btn) { padding: 9px 14px; font-size: 1rem; color: #fff; }
.header-social-layout .site-nav li:last-child { margin-left: 0; }
.header-contact { flex-shrink: 0; font-weight: 700; border-color: rgb(255 255 255 / .5); }
.language-switch { display: flex; flex-shrink: 0; gap: 2px; padding: 3px; border: 1px solid rgb(255 255 255 / .35); border-radius: var(--r-pill); }
.language-switch button { border: 0; border-radius: var(--r-pill); background: transparent; color: #fff; padding: 5px 8px; font-size: .75rem; font-weight: 700; }
.language-switch button[aria-pressed="true"] { background: #fff; color: var(--navy-900); }
html[lang="en"] #hero-title span { font-size: clamp(36px, 5vw, 78px) !important; }
.header-social-layout .site-nav { margin-inline: auto; }
.header-social-layout .header-socials { margin-right: -10px; }
@media (min-width: 1281px) {
  .header-social-layout .header-pill { position: relative; }
  .header-social-layout .site-nav { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
  .header-social-layout .header-socials { margin-left: auto; }
}
.header-social-layout .site-nav a:not(.btn):hover { color: #fff; background: rgb(255 255 255 / .12); }
.header-socials { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-social { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--navy-900); background: rgb(255 255 255 / .85); transition: background .2s, color .2s; }
.header-social svg { width: 19px; height: 19px; stroke-width: 1.8; }
.header-social[aria-disabled="true"] { cursor: default; }
.mobile-nav-extras { display: none; }
.header-social[href]:hover { color: #fff; background: var(--navy-900); }
@media (max-width: 1100px) {
  .header-social-layout .header-pill { gap: 10px; }
  .header-social-layout .site-nav a:not(.btn) { padding-inline: 10px; font-size: .95rem; }
  .header-socials { gap: 5px; }
  .header-social { width: 32px; height: 32px; }
}
@media (max-width: 1280px) {
  .header-social-layout .header-pill { height: 60px; }
  .header-social-layout .nav-toggle { order: 2; flex-shrink: 0; }
  .header-social-layout .header-contact { order: 3; }
  .header-social-layout .language-switch { order: 4; }
  .header-social-layout .header-socials { margin-left: auto; }
  .header-social-layout .header-socials { margin-right: 0; }
  .header-social-layout .site-nav { padding: 12px; border-radius: var(--r-lg); background: var(--navy-900); }
}
@media (max-width: 480px) {
  .header-social-layout .header-pill { gap: 6px; flex-wrap: wrap; height: auto; padding-top: 6px; padding-bottom: 6px; }
  .header-social-layout .nav-toggle { margin-left: auto; }
  .header-social-layout .header-socials { order: 4; width: calc(100% - 90px); margin-left: 0; justify-content: center; }
  .header-social-layout .language-switch { order: 5; margin-left: auto; }
  .header-social-layout .brand img[src$="logo_B_bgw-01.png"] { width: 108px; height: 32px; }
  .header-social-layout .header-socials { gap: 4px; }
  .header-social-layout .header-social { width: 28px; height: 28px; }
  .header-social-layout .header-social svg { width: 16px; height: 16px; }
}

/* ---------- About Danken ---------- */
.about-danken { background: var(--white); }
.nowrap { white-space: nowrap; }
.about-slider { min-width: 0; }
.about-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.about-track::-webkit-scrollbar { display: none; }
.about-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.about-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.about-dots { display: flex; gap: 8px; }
.about-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: var(--navy-50); box-shadow: inset 0 0 0 1px rgb(11 31 68 / .35); cursor: pointer; transition: width .2s, background .2s; }
.about-dot[aria-current="true"] { width: 28px; background: var(--navy-900); box-shadow: none; }
.about-nav { justify-content: center; }
.about-arrows { position: absolute; top: 16px; right: 16px; z-index: 2; display: flex; gap: 8px; }
.about-arrows .round-btn { background: rgb(255 255 255 / .92); box-shadow: var(--shadow-sm); }
.about-danken-visual--logo { background: radial-gradient(circle at 50% 42%, #fff 0, var(--navy-50) 62%, #dbe6f5 100%); }
.about-danken-visual--logo { display: flex; flex-direction: column; padding: 16px; box-sizing: border-box; }
.about-danken-visual.about-danken-visual--logo > img { position: static; flex: 1 1 0; min-height: 0; width: 100%; height: auto; object-fit: contain; padding: 56px 40px 24px; box-sizing: border-box; }
.about-danken-visual--logo .about-danken-stats { position: static; flex: none; }
.about-danken-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: clamp(32px, 5vw, 72px); }
.about-danken-copy h2 { font-size: clamp(20px, 2.4vw, 36px); line-height: 1.25; }
.about-danken-lead { margin-top: 24px; font-size: 1.05rem; }
.about-danken-detail { margin: 16px 0 28px; }
.about-danken-copy { display: flex; flex-direction: column; align-items: flex-start; }
.about-danken-copy .btn { margin-top: auto; }
.about-danken-visual { position: relative; min-width: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-50); }
.about-danken-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-danken-stats { position: absolute; bottom: 16px; left: 16px; right: 16px; padding: 12px 16px; border-radius: 14px; background: rgb(11 31 68 / .94); color: #fff; }
.about-danken-stats-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-family: var(--font-head); font-weight: 600; }
.about-danken-stats-caption span { font-size: .75rem; font-weight: 400; color: rgb(255 255 255 / .8); }
.about-danken-stats dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 10px 0 0; }
.about-danken-stats dl > div { display: flex; flex-direction: column-reverse; padding-inline: 12px; border-left: 1px solid rgb(255 255 255 / .2); }
.about-danken-stats dl > div:first-child { padding-left: 0; border-left: 0; }
.about-danken-stats-note { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgb(255 255 255 / .2); font-size: .75rem; line-height: 1.5; color: rgb(255 255 255 / .8); }
.about-danken-stats dt { font-size: .8rem; color: rgb(255 255 255 / .8); }
.about-danken-stats dd { margin: 0 0 3px; font-family: var(--font-head); font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.2; }
.about-danken-stats dd span { display: inline; margin-left: 4px; font-size: .75rem; font-weight: 400; }
@media (max-width: 900px) {
  .about-danken-layout { grid-template-columns: 1fr; }
  .about-danken-copy h2 { font-size: clamp(20px, 5.4vw, 36px); }
  /* มือถือ: รูป + ข้อความ + สถิติ จบในกรอบเดียวต่อสไลด์ */
  .about-slide { align-self: flex-start; display: flex; flex-direction: column; gap: 14px; padding: 12px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
  .about-track { align-items: stretch; gap: 0; }
  .about-slide { align-self: stretch; }
  .about-danken-copy { flex: 1 1 auto; }
  .about-danken-visual, .about-danken-visual--logo { height: auto; display: flex; flex-direction: column; padding: 0; border-radius: 14px; overflow: hidden; }
  .about-danken-visual > img, .about-danken-visual--logo > img { position: static; flex: none; width: 100%; height: 150px; padding: 0; object-fit: cover; }
  .about-danken-visual.about-danken-visual--logo > img { flex: none; height: 150px; object-fit: contain; padding: 14px 40px; }
  .about-danken-stats, .about-danken-visual--logo .about-danken-stats { position: static; margin: 0; padding: 10px 12px; border-radius: 0 0 14px 14px; }
  .about-danken-stats dl { margin-top: 6px; }
  .about-danken-stats dt { font-size: .7rem; }
  .about-danken-stats dd { font-size: 18px; }
  .about-danken-stats-caption { font-size: .85rem; }
  .about-danken-stats-caption span { font-size: .68rem; }
  .about-arrows { top: 10px; right: 10px; }
  .about-arrows .round-btn { width: 36px; height: 36px; }
  .about-danken-copy h2 { font-size: clamp(17px, 5vw, 22px); }
  .about-danken-copy .eyebrow { margin-bottom: 4px; }
  .about-danken-lead { font-size: .85rem; line-height: 1.55; margin-top: 8px; }
  .about-danken-detail { display: none; }
  .about-danken-lead { margin-bottom: 12px; }
  .about-danken-copy .btn { margin-top: auto; width: 200px; height: 40px; padding: 0 5px 0 20px; justify-content: space-between; font-size: .85rem; }
  .about-danken-copy .btn .btn-ico { width: 30px; height: 30px; }
  .about-nav { margin-top: 14px; }
}
@media (max-width: 480px) {
  .about-danken-stats { bottom: 12px; left: 12px; right: 12px; padding: 10px; }
  .about-danken-stats dd span { display: block; margin-left: 0; margin-top: 2px; }
  .about-danken-stats dl > div { padding-inline: 8px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 860px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy-950); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(7 22 49 / .82) 0%, rgb(7 22 49 / .6) 38%, rgb(7 22 49 / .1) 60%, rgb(7 22 49 / .03) 100%),
    linear-gradient(0deg, rgb(7 22 49 / .45) 0%, transparent 40%);
}
.hero-inner { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-top: 112px; padding-bottom: 72px; }
.hero-copy { width: 100%; max-width: 1040px; min-width: 0; margin-inline: 0; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: var(--r-pill); font-size: var(--fs-small); }
.chip svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: #fff; color: var(--navy-900); stroke-width: 2; }
.chip-glass { background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .2); backdrop-filter: blur(8px); }
.hero h1 { font-size: var(--fs-display); font-weight: 600; margin: 24px 0 22px; letter-spacing: -0.02em; text-align: left; }
.hero-subtitle { margin: 20px 0 0; color: inherit; font-size: clamp(20px, 2.2vw, 32px); font-weight: 500; line-height: 1.5; text-align: left; }
.hero-lead { font-size: 1.075rem; color: rgb(255 255 255 / .85); max-width: 540px; }
.hero-mobile-break { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-card {
  display: grid; grid-template-columns: auto 1fr; gap: 14px 14px; width: 300px; padding: 20px;
  border-radius: var(--r-lg); background: rgb(11 31 68 / .55); border: 1px solid rgb(255 255 255 / .22);
  backdrop-filter: blur(16px); transition: transform .25s;
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card-ico svg { width: 40px; height: 40px; padding: 8px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .4); }
.hero-card-text { font-size: .92rem; line-height: 1.5; color: rgb(255 255 255 / .85); }
.hero-card-text strong { color: #fff; font-family: var(--font-head); font-weight: 600; }
.hero-card-thumbs { grid-column: 1 / -1; display: flex; align-items: center; }
.hero-card-thumbs img { width: 42px; height: 42px; object-fit: contain; border-radius: 50%; background: #fff; border: 2px solid var(--navy-900); padding: 3px; margin-right: -10px; }
.hero-card-arrow { margin-left: auto; font-size: 1.6rem; line-height: 1; }

/* ---------- Trust bar ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-list li { display: flex; align-items: center; gap: 16px; padding: 30px 24px; font-family: var(--font-head); font-weight: 500; line-height: 1.4; color: var(--navy-900); }
.trust-list li + li { border-left: 1px solid var(--line); }
.trust-list svg { width: 44px; height: 44px; padding: 9px; border-radius: 14px; background: var(--navy-50); color: var(--navy-700); }

/* ---------- Usage (ref #1) ---------- */
.usage { background: var(--surface); }
.usage-layout { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: 14px; align-items: stretch; }
.usage-intro {
  display: flex; flex-direction: column; padding: 44px 40px; border-radius: var(--r-xl);
  background: var(--navy-900); color: #fff; position: relative; overflow: hidden;
}
.usage-intro::after { content: ''; position: absolute; width: 320px; height: 320px; right: -140px; bottom: -140px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 0 0 40px rgb(255 255 255 / .03); }
.usage-count { font-family: var(--font-head); font-size: 1.1rem; color: var(--gold-500); }
.usage-intro h2 { color: #fff; margin: 28px 0 20px; text-transform: uppercase; }
.usage-intro p:not(.usage-count) { color: rgb(255 255 255 / .75); font-size: .95rem; max-width: 300px; }
.usage-intro .btn { margin-top: auto; align-self: flex-start; }
.usage-intro p + .btn { margin-top: 48px; }

.usage-track-wrap { min-width: 0; display: flex; flex-direction: column; }
.usage-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.usage-track::-webkit-scrollbar { display: none; }
.usage-card { flex: 0 0 250px; scroll-snap-align: start; }
.usage-card a { position: relative; display: block; height: 460px; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-800); }
.usage-card img { position: absolute; inset: 0; width: 100%; height: 72%; object-fit: cover; transition: transform .5s; }
.usage-card a:hover img { transform: scale(1.05); }
.usage-panel {
  position: absolute; inset: auto 0 0; height: 42%; display: flex; flex-direction: column; padding: 22px 20px 20px;
  background: linear-gradient(180deg, rgb(11 31 68 / .55) 0%, var(--navy-900) 32%); color: #fff; backdrop-filter: blur(6px);
}
.usage-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 500; line-height: 1.25; }
.usage-sub { font-size: .8rem; color: rgb(255 255 255 / .7); margin-top: 10px; }
.usage-go { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgb(255 255 255 / .12); transition: .2s; }
.usage-card a:hover .usage-go { background: #fff; color: var(--navy-900); }
.track-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; padding: 36px 20px;
  border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-sm);
}
.stats li { display: flex; gap: 16px; align-items: flex-start; padding-inline: 28px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats svg { width: 34px; height: 34px; color: var(--navy-700); margin-top: 6px; }
.stats strong { font-family: var(--font-head); font-size: 2.4rem; font-weight: 500; line-height: 1; color: var(--navy-900); }
.stats small { font-size: .8rem; color: var(--muted); margin-left: 6px; }
.stats span { display: block; font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: var(--r-pill); background: var(--navy-50); }
.tabs button { border: 0; background: transparent; padding: 10px 20px; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 500; color: var(--muted); transition: .2s; }
.tabs button[aria-selected="true"] { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-sm); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { min-width: 0; }
.product-card > a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.product-card > a:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
/* Compact image area; contain preserves the complete bottle. */
.pc-media { position: relative; flex-shrink: 0; width: 100%; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 60%, #fff 0%, var(--navy-50) 70%); display: grid; place-items: center; overflow: hidden; }
.pc-media img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; filter: drop-shadow(0 8px 10px rgb(11 31 68 / .14)); transition: transform .4s, opacity .4s; }
.product-card > a:hover .pc-media img { transform: scale(1.05) translateY(-4px); }
.pc-body { display: grid; grid-template-rows: auto auto; gap: 4px; min-width: 0; padding: 10px 14px 12px; border-top: 1px solid var(--line); }
.pc-body h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 1.1rem; line-height: 1.4; font-weight: 600; color: var(--navy-900); }
.pc-en { font-size: .85rem; color: var(--muted); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; font-size: .75rem; line-height: 1.4; }
.pc-fact { display: inline-flex; align-items: baseline; gap: 5px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--navy-50); color: var(--muted); }
.pc-fact strong { color: var(--navy-900); font-weight: 600; }

.cat-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-pill); font-size: .75rem; font-weight: 500; background: #fff; box-shadow: var(--shadow-sm); }
.cat-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cat-color); }
[data-cat="herbicide"] { --cat-color: var(--cat-herbicide); }
[data-cat="insecticide"] { --cat-color: var(--cat-insecticide); }
[data-cat="fungicide"] { --cat-color: var(--cat-fungicide); }

.pc-placeholder { display: grid; justify-items: center; gap: 10px; color: var(--navy-200); font-size: .8rem; }
.pc-placeholder svg { width: 72px; height: 96px; stroke-width: 1.2; }
.pc-placeholder span { color: var(--muted); }

/* ---------- Skeleton loading ---------- */
.skel { position: relative; overflow: hidden; background: var(--navy-50); }
.skel::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .7), transparent);
  animation: shimmer 1.3s infinite;
}
.skel-line { height: 12px; border-radius: 6px; margin-bottom: 10px; }
.w40 { width: 40%; } .w60 { width: 60%; } .w80 { width: 80%; }
.is-skeleton { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.is-skeleton .pc-media { background: var(--navy-50); }
.is-skeleton .pc-body { border-top: 0; }
/* รูปที่ยังโหลดไม่เสร็จจะซ่อนไว้ ให้ shimmer แสดงแทน */
.skel > img.is-loading { opacity: 0; }
.skel.is-loaded::after { display: none; }
.skel.is-loaded { background: radial-gradient(circle at 50% 60%, #fff 0%, var(--navy-50) 70%); }
@keyframes shimmer { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .skel::after { animation: none; } * { scroll-behavior: auto !important; } }

/* ---------- News ---------- */
.news { background: var(--surface); }
.link-arrow { font-family: var(--font-head); font-weight: 500; color: var(--navy-700); padding-bottom: 4px; border-bottom: 1px solid var(--navy-200); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; }
.news-grid.news-grid-single { grid-template-columns: minmax(0, 420px); }
.news-grid-single .news-body { padding: 16px 18px 20px; gap: 8px; }
.news-grid-single .news-card h3 { font-size: 1rem; }
.news-grid-single .news-body > p:not(.news-meta) { font-size: .875rem; }
.news-card { min-width: 0; }
.news-card a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); background: #fff; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.news-card a:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-media { position: relative; aspect-ratio: 16 / 10; flex-shrink: 0; overflow: hidden; background: var(--navy-50); }
.news-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-media img.contain { object-fit: contain; padding: 16px; }
.news-card a:hover .news-media img { transform: scale(1.04); }
.news-feature .news-media { aspect-ratio: 16 / 10; }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: .8rem; color: var(--muted); }
.tag { padding: 3px 10px; border-radius: var(--r-pill); background: var(--navy-50); color: var(--navy-700); font-weight: 500; }
.news-card h3 { font-size: 1.15rem; font-weight: 600; color: var(--navy-900); line-height: 1.4; }
.news-feature h3 { font-size: 1.15rem; }
.news-body > p:not(.news-meta) { color: var(--muted); font-size: .95rem; }

/* ---------- CTA ---------- */
.cta { padding-block: var(--section-y); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 56px; border-radius: var(--r-xl); color: #fff;
  background: radial-gradient(circle at 85% 20%, var(--navy-700) 0%, transparent 50%), var(--navy-900);
}
.cta h2 { color: #fff; }
.cta p { color: rgb(255 255 255 / .75); margin-top: 14px; max-width: 480px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgb(255 255 255 / .7); padding-top: 72px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand img[src$="logo_B_bgw-01.png"] { height: 52px; width: 180px; object-fit: cover; object-position: center 53%; }
.footer-brand p { max-width: 280px; }
.footer-brand p + p { margin-top: 12px; }
.site-footer h3 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.site-footer li + li { margin-top: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 22px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .85rem; }

/* ---------- Product modal ---------- */
.pmodal { width: min(960px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); color: var(--ink); overflow: auto; }
.pmodal::backdrop { background: rgb(7 22 49 / .55); backdrop-filter: blur(4px); }
.pmodal[open] { animation: pop .28s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.pm-inner { display: grid; grid-template-columns: 1fr 1.15fr; position: relative; }
.pm-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--navy-50); font-size: 1.5rem; line-height: 1; color: var(--navy-900); }
.pm-close:hover { background: var(--navy-900); color: #fff; }
.pm-media { min-height: 480px; display: grid; place-items: center; padding: 32px; }
.pm-media img { max-height: 460px; width: auto; object-fit: contain; filter: drop-shadow(0 20px 24px rgb(11 31 68 / .2)); transition: opacity .3s; }
.pm-body { padding: 44px 40px 36px; display: flex; flex-direction: column; }
.pm-cat { margin-bottom: 14px; }
.pm-body h2 { font-size: 1.9rem; }
.pm-en { color: var(--muted); margin-top: 6px; }
.pm-specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 26px 0 0; padding: 20px 0; border-block: 1px solid var(--line); font-size: .93rem; }
.pm-specs dt { color: var(--muted); }
.pm-specs dd { margin: 0; font-weight: 500; }
.pm-sub { font-size: 1rem; font-weight: 600; margin: 22px 0 12px; color: var(--navy-900); }
.pm-problems { list-style: disc; padding-left: 22px; }
.pm-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-tags li { padding: 6px 14px; border-radius: var(--r-pill); background: var(--navy-50); color: var(--navy-900); font-size: .9rem; }
#pm-label-status { color: var(--muted); font-size: .9rem; }
.pm-packs { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-packs li { padding: 8px 14px; border-radius: var(--r-md); background: var(--surface); font-size: .9rem; }
.pm-packs small { display: block; font-size: .72rem; color: var(--muted); }
.pm-warn { margin-top: 22px; padding: 12px 14px; border-radius: var(--r-md); background: var(--gold-100); color: #7a5a14; font-size: .85rem; }
.pm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.pm-body h2:focus { outline: none; }

/* ---------- Inner page hero ---------- */
.page-hero {
  padding: 150px 0 64px; color: #fff;
  background: radial-gradient(circle at 85% 0%, var(--navy-700) 0%, transparent 55%), var(--navy-900);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 600; margin: 14px 0 14px; }
.page-hero p { color: rgb(255 255 255 / .78); max-width: 560px; }
.crumbs ol { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: var(--fs-small); color: rgb(255 255 255 / .6); }
.crumbs li + li::before { content: '/'; margin-right: 8px; }
.crumbs a:hover { color: #fff; }

/* ---------- Contact ---------- */
.contact-section { background: var(--surface); }
.contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.contact-card { padding: 44px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-sm); }
.contact-card h2 { font-size: 1.7rem; }
.form-note { color: var(--muted); font-size: var(--fs-small); margin: 8px 0 28px; }
.req { color: #c2410c; }
.cform { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label:not(.check) { display: block; font-family: var(--font-head); font-weight: 500; font-size: .95rem; margin-bottom: 8px; color: var(--navy-900); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r-md);
  font: inherit; color: var(--ink); background: var(--surface); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-500); background: #fff; box-shadow: 0 0 0 4px rgb(60 106 209 / .12); }
.field-err { display: none; margin-top: 6px; font-size: .82rem; color: #c2410c; }
.has-error input, .has-error select, .has-error textarea { border-color: #c2410c !important; }
.has-error .field-err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy-900); flex: none; }
.ulink { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.cform .btn { justify-self: start; }
.cform .btn:disabled { opacity: .7; cursor: progress; }
.form-done { text-align: center; padding: 40px 0; }
.form-done:focus { outline: none; }
.done-ico { width: 72px; height: 72px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-50); color: var(--navy-900); font-size: 2rem; }
.form-done p { color: var(--muted); margin: 12px auto 28px; max-width: 380px; }

.contact-info { display: grid; gap: 16px; }
.info-list { display: grid; gap: 12px; }
.info-list li { display: flex; gap: 16px; padding: 22px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.info-list svg { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--navy-50); color: var(--navy-700); }
.info-list h3 { font-size: 1rem; font-weight: 600; color: var(--navy-900); margin-bottom: 2px; }
.info-list a { color: var(--navy-700); font-weight: 500; }
.info-list small { display: block; color: var(--muted); font-size: .82rem; }
.info-list address { font-style: normal; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.map-ph { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 200px; border-radius: var(--r-lg); background: var(--navy-100); color: var(--navy-700); font-family: var(--font-head); line-height: 1.4; }
.contact-map { margin-top: 24px; }
.contact-map iframe { display: block; width: 100%; height: 300px; border: 0; border-radius: var(--r-lg); background: var(--navy-50); }
.contact-map .btn { margin-top: 14px; }
.map-ph svg { width: 36px; height: 36px; }
.map-ph small { color: var(--muted); font-family: var(--font-body); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-card { display: none; }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .trust-list li:nth-child(3) { border-left: 0; }
  .trust-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stats li:nth-child(3) { border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1280px) {
  .nav-toggle { display: flex; }
  .header-social-layout .header-pill { flex-wrap: nowrap; gap: 12px; }
  .header-social-layout .nav-toggle { margin-left: auto; background: transparent; border: 0; box-shadow: none; }
  .header-social-layout .nav-toggle span { background: #fff; }
  .header-social-layout .site-nav { left: auto; right: var(--gutter); width: max-content; max-width: calc(100vw - 2 * var(--gutter)); max-height: calc(100dvh - 100px); overflow-y: auto; padding: 16px; margin: 0; text-align: right; transform: translateX(100%); transition: transform .28s ease, opacity .28s ease, visibility .28s; }
  .mobile-nav-extras { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; margin-top: 12px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .2); }
  .header-social-layout .mobile-nav-extras .header-socials { order: 0; width: auto; margin: 0; justify-content: flex-end; gap: 8px; }
  .header-social-layout .site-nav .mobile-nav-extras a.header-social { display: grid; width: 44px; height: 44px; padding: 0; color: var(--navy-900); }
  .header-social-layout .site-nav .mobile-nav-extras a.header-social[href]:hover { color: #fff; background: var(--navy-700); }
  .header-social-layout .mobile-nav-extras .header-social svg { width: 20px; height: 20px; }
  .header-social-layout .site-nav .header-contact { border: 0; font-weight: 700; }
  .header-social-layout .mobile-nav-extras .language-switch { order: 2; align-self: flex-end; margin: 0; }
  .mobile-nav-extras .language-switch button { min-width: 48px; min-height: 44px; }
  .site-nav {
    position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter);
    padding: 12px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s;
  }
  .site-header.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav li:last-child { margin: 8px 0 0; }
  .site-nav .btn { width: 100%; justify-content: center; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .header-pill { height: 64px; }
  .brand img { height: 32px; }
  .brand img[src$="logo_B_bgw-01.png"] { height: 44px; width: 152px; }
  .usage-layout { grid-template-columns: 1fr; }
  .usage-intro { padding: 36px 28px; }
  .usage-intro p + .btn { margin-top: 32px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-feature { grid-column: 1 / -1; }
  .pm-inner { grid-template-columns: 1fr; }
  .pm-media { min-height: 300px; }
  .pm-media img { max-height: 280px; }
  .pm-body { padding: 28px 24px; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  /* ปัญหาในแปลง + การ์ดพืช อยู่แถวเดียวกัน เลื่อนแนวนอน */
  .usage-layout { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .usage-layout::-webkit-scrollbar { display: none; }
  .usage-track-wrap, .usage-track { display: contents; }
  .usage-intro { flex: 0 0 210px; scroll-snap-align: start; padding: 22px 18px; }
  .usage-intro h2 { margin: 14px 0 10px; font-size: 1.2rem; }
  .usage-intro p:not(.usage-count) { font-size: .8rem; line-height: 1.5; }
  .usage-intro p + .btn { margin-top: 16px; }
  .usage-card { flex: 0 0 170px; scroll-snap-align: start; }
  .usage-card a { height: 100%; min-height: 330px; }
  .usage-name { font-size: 1.05rem; }
  .track-nav { display: none; }
}
@media (max-width: 640px) {
  .hero { min-height: min(68svh, 520px); align-items: flex-end; }
  .hero-inner { padding-top: 100px; padding-bottom: 40px; }
  .hero-copy { text-align: left; }
  html[lang] #hero-title span { font-size: clamp(28px, 8vw, 36px) !important; }
  .hero-subtitle { margin-top: 12px; font-size: 16px; }
  .hero-lead { margin-top: 12px !important; font-size: 13px; max-width: 340px; line-height: 1.6; }
  .hero-mobile-break { display: initial; }
  .hero-actions { justify-content: flex-start; gap: 8px; margin-top: 17px; }
  .hero-shade { background: linear-gradient(0deg, rgb(7 22 49 / .85) 0%, rgb(7 22 49 / .5) 60%, rgb(7 22 49 / .25) 100%); }
  .hero-actions .btn { flex: 0 0 auto; width: auto; height: 36px; padding: 0 14px; gap: 8px; font-size: .75rem; justify-content: center; }
  .hero-actions .btn-ico { width: 24px; height: 24px; font-size: .8rem; }
  .trust { position: relative; z-index: 1; margin-top: -16px; padding: 0 var(--gutter) 16px; border-bottom: 0; }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
  .trust-list li { min-width: 0; min-height: 74px; gap: 8px; padding: 12px 8px; font-size: 12px; line-height: 1.5; }
  .trust-list li + li { border-left: 0; }
  .trust-list li:nth-child(even) { border-left: 1px solid var(--line); }
  .trust-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .trust-list svg { flex-shrink: 0; width: 32px; height: 32px; padding: 6px; border-radius: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pc-body { padding: 8px 10px 10px; }
  .pc-body h3 { font-size: 1rem; }
  .tabs { width: 100%; overflow-x: auto; }
  .tabs button { flex: 1; padding: 10px 14px; white-space: nowrap; }
  .stats { grid-template-columns: 1fr 1fr; padding: 24px 8px; }
  .stats li { padding-inline: 14px; flex-direction: column; gap: 8px; }
  .stats strong { font-size: 1.9rem; }
  .news-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 36px 24px; }
  .cta-actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 120px 0 48px; }
  .contact-card { padding: 28px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .cform .btn { justify-self: stretch; justify-content: space-between; }
  /* modal บนมือถือ = bottom sheet */
  .pmodal { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .pmodal[open] { animation: sheet .3s ease-out; }
  @keyframes sheet { from { transform: translateY(100%); } }
}
