/* Review refinements preserve the Thai green and gold identity. */
:root { --disp: "Noto Serif Thai", Georgia, serif; --body: "Noto Sans Thai", system-ui, sans-serif; }
html { scroll-padding-top: 100px; }
html:lang(th) { --disp: "Noto Serif Thai", Georgia, serif; --body: "Noto Sans Thai", system-ui, sans-serif; }
body { padding-top: 34px; }
.review-banner { position: fixed; inset: 0 0 auto; z-index: 100; min-height: 34px; padding: 6px 16px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px 20px; background: #e6c27a; color: #2a1c00; font: 500 12px/1.6 "Noto Sans Thai", sans-serif; }
.review-banner a { text-decoration: underline; text-underline-offset: 3px; }
body.app .rail { top: 34px; height: calc(100svh - 34px); }
html:lang(th) h1, html:lang(th) h2, html:lang(th) h3 { font-weight: 700; line-height: 1.38; letter-spacing: -.025em; overflow-wrap: break-word; }
p, li, td, th, summary { overflow-wrap: anywhere; word-break: normal; }
input, select, textarea { font-size: 17px !important; line-height: 1.6; min-width: 0; max-width: 100%; }
main, .wrap, .grid, .pair, .calc-grid, .sec-b, .sec-h, .card, .plan { min-width: 0; }
.pair { grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); }
.shot, .shot.flow, .shot img, figure { min-width: 0; max-width: 100%; }
.shot img, .shot.flow img { display: block; width: 100%; height: auto; }
.review-section h2 { max-width: 25ch; }
.review-intro { max-width: 76ch; color: var(--muted); margin: 18px 0 30px; font-size: 18px; }
.review-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 40px; }
.review-detail { border-top: 1px solid var(--gl,var(--line)); padding: 26px 0; min-width: 0; }
.review-detail h3 { font-size: 22px; color: var(--ink); }
.review-detail p { color: var(--muted); font-size: 17px; line-height: 1.9; max-width: 65ch; }
.review-detail a { color: var(--acc); text-decoration: underline; text-underline-offset: 4px; }
.review-table { margin-top: 28px; }
.review-table table { width: 100%; }
caption { text-align: left; padding: 16px 0; font-weight: 700; color: var(--ink); }
th,td { line-height: 1.8; vertical-align: top; }
.status-pending { display: inline-block; padding: 4px 9px; border: 1px solid rgba(230,194,122,.4); background: rgba(230,194,122,.09); color: var(--acc); border-radius: 4px; white-space: nowrap; font-size: 14px; }
.form-delivery-note, .calculation-basis { padding: 18px; margin: 0 0 24px; border-left: 3px solid var(--acc); background: rgba(230,194,122,.07); color: var(--ink); font-size: 16px; line-height: 1.9; }
.form-delivery-note a { text-decoration: underline; overflow-wrap: anywhere; }
.plan { display: flex; flex-direction: column; }
.plan .btns { margin-top: auto; padding-top: 24px; }
.plan .btns a { width: 100%; min-height: 64px; }
summary { min-height: 48px; line-height: 1.85; padding-right: 28px; }
details p { max-width: 75ch; }
button.burger { background: transparent; color: var(--acc); flex-shrink: 0; }
.ticker { overflow: hidden; }
@media(max-width:980px) {
  body.app .rail { top: 34px; height: auto; }
  body.app .rail.menu-open .rail-nav { display: grid; max-height: min(62svh,540px); overflow-y: auto; margin-top: 0; padding-bottom: 12px; }
  body.app .rail.menu-open .rail-foot { display: block; }
  .review-details { grid-template-columns: 1fr; gap: 0; }
  .review-intro { font-size: 17px; }
  .review-detail { padding: 22px 0; }
  .review-detail h3 { font-size: 21px; }
  .review-detail p { font-size: 16px; }
  .brand span { font-size: 10px; }
  .burger { min-height: 44px; }
  .rail-top { gap: 12px; }
  .rail-nav a { min-height: 44px; display: flex; align-items: center; }
  .hero.hero-cine { padding-top: 38px; }
  .tw { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tw table { font-size: 14px; }
  .tw:has(th:nth-child(4)) table { min-width: 650px; }
  .review-table th:first-child { min-width: 120px; }
  .plan { padding: 24px 0; }
  .plan.featured { padding: 24px 18px; }
  .plan .btns a { min-height: 54px; }
  .site-footer a[href^="mailto:"] { overflow-wrap: anywhere; }
}
@media(max-width:380px) {
  .review-banner { justify-content: space-between; padding-inline: 10px; font-size: 10px; gap: 6px; }
  html:lang(th) h1 { font-size: 33px; }
  html:lang(th) h2 { font-size: 27px; }
  .brand strong { font-size: 26px; }
  .brand { gap: 6px; }
  .brand span { font-size: 9px; max-width: 82px; }
  body.app .wrap { width: calc(100% - 32px); }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Public release removes the review toolbar offset. */
body {padding-top:0} body.app .rail {top:0;height:100svh}
@media(max-width:980px){body.app .rail{top:0;height:auto}}
