/* AquaTour Thai layout. Last updated: 2026-11-20. Version: 1.0. */
@font-face {
  font-family: "Noto Sans Thai";
  src: url("/assets/fonts/noto-sans-thai-20261120.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

html[lang="th"],
html[lang="th"] body,
html[lang="th"] :is(button, input, select, textarea, .aq-privacy-banner, .aq-privacy-reopen) {
  font-family: "Noto Sans Thai", "Libre Franklin", Tahoma, sans-serif;
}
html[lang="th"] :is(h1, h2, h3, h4, .home-hero-title, .c8-sea-title) {
  font-family: "Noto Sans Thai", "Unbounded", "Libre Franklin", Tahoma, sans-serif !important;
  letter-spacing: 0 !important;
  word-break: normal;
  overflow-wrap: break-word;
}
html[lang="th"] :is(.home-hero-title, .c8-sea-title) { line-height: 1.22 !important; }
html[lang="th"] .c8-sea-title { font-size: clamp(37px, 4.4vw, 58px) !important; }
html[lang="th"] :is(.home-hero-title-line, .c8-sea-title-line) { white-space: normal !important; }
html[lang="th"] .sea-area-index__rail a > span { letter-spacing: 0; }
html[lang="th"] .site-nav-links { gap: 16px !important; }
html[lang="th"] .site-nav-cta { white-space: nowrap; }
html[lang="th"] .ops-area-hours li {
  grid-template-columns: 110px minmax(0, .75fr) minmax(0, 1.25fr);
}
html[lang="th"] .ops-area-hours .ops-area-name { min-width: 0; white-space: normal; line-height: 1.42; }
html[lang="th"] .ops-number-range { white-space: nowrap; }
html[lang="th"] .atomix-area-custom .atomix-area-price { white-space: normal; }
html[lang="th"] .plan-wa-desktop .plan-email-shortcut { margin-top: 10px; }
html[lang="th"] .plan-email-mark { background: #0092BC; color: #fff; }
html[lang="th"] .plan-email-mark svg { display: block; width: 24px; height: 24px; }
html[lang="th"] .plan-email-button svg { width: 22px; height: 22px; flex: 0 0 22px; }
html[lang="th"] :is(.plan-success, .plan-noscript) .plan-email-button {
  display: flex; width: fit-content; max-width: 100%; margin: 12px auto 0; text-decoration: none;
}

@media (max-width: 768px) {
  html[lang="th"] .site-nav-links.open { gap: 0 !important; }
  html[lang="th"] body.home-page [data-hero="home"] .home-hero-title,
  html[lang="th"] .c8-sea-title { font-size: clamp(29px, 8vw, 42px) !important; }
  html[lang="th"] .pickup-grid > [data-gallery="pier"]::after { content: "แตะแผนที่เพื่อขยาย"; }
  html[lang="th"] .m-cta-plan { font-size: 14px; }
  html[lang="th"] .plan-date-shell:not(.is-filled):not(:focus-within) .lf-date-input::-webkit-datetime-edit {
    color: transparent;
  }
}
@media (max-width: 900px) {
  html[lang="th"] .plan-wa-shortcut--mobile .plan-email-mark svg { width: 22px; height: 22px; }
}
@media (max-width: 480px) {
  html[lang="th"] .ops-area-hours li { grid-template-columns: 106px minmax(0, 1fr); gap: 4px 8px; padding: 7px 0; }
  html[lang="th"] .ops-area-hours li > .ops-area-name { grid-row: 1 / span 2; align-self: center; }
  html[lang="th"] .ops-area-hours li:has(.ops-custom-timing) > .ops-area-name { grid-row: 1; }
  html[lang="th"] .ops-area-hours li > span:last-child { grid-column: 2; }
}
@media (max-width: 380px) {
  html[lang="th"] .c3d-area0-price-table tbody td:nth-child(2)::before { content: "ราคาปกติ"; }
  html[lang="th"] .c3d-area0-price-table tbody td:nth-child(3)::before { content: "ช่วงพีก"; }
  html[lang="th"] .sea-main .c3d-area0-price-table::before { content: "ช่วงพีก 20 ธ.ค. ถึง 20 ม.ค."; }
  html[lang="th"] .sea-main .c3d-area0-price-table tbody td::before { white-space: normal; letter-spacing: 0; line-height: 1.35; }
}
