@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("/fonts/line-seed-th/LINESeedSansTH_W_Rg.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("/fonts/line-seed-th/LINESeedSansTH_W_Bd.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("/fonts/line-seed-th/LINESeedSansTH_W_XBd.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --explore-ink: #282724;
  --explore-muted: #676762;
  --explore-teal: #2f7d70;
  --explore-teal-dark: #225f56;
  --explore-teal-soft: #e8f4ef;
  --explore-coral: #ee765b;
  --explore-coral-soft: #ffede7;
  --explore-paper: #fff;
  --explore-warm: #fff8f2;
  --explore-white: #fff;
  --explore-line: rgba(40, 39, 36, 0.12);
  --explore-shadow: 0 24px 70px rgba(46, 54, 49, 0.12);
  --explore-radius: 42px;
  --explore-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
  background: var(--explore-paper);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--explore-ink);
  background: var(--explore-paper);
  font-family: "Avenir Next", Avenir, "Noto Sans Thai", Thonburi, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body:lang(th) {
  font-family: "LINE Seed Sans TH", Thonburi, "Noto Sans Thai", "Leelawadee UI", ui-sans-serif, system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.explore-container {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.explore-skip-link {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 16px;
  padding: 10px 14px;
  color: #fff;
  background: var(--explore-ink);
  border-radius: 12px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.explore-skip-link:focus {
  transform: translateY(0);
}

.explore-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(47, 130, 117, 0.12);
  background: rgba(245, 247, 246, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.explore-header-inner {
  position: relative;
}

.explore-header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 26px;
}

.explore-brand {
  display: grid;
  width: 72px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
}

.explore-brand img {
  width: 74px;
  height: auto;
}

.explore-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 5px;
  border: 1px solid rgba(47, 130, 117, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
}

.explore-nav a {
  min-height: 38px;
  padding: 9px 15px;
  color: var(--explore-muted);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.explore-nav a:hover,
.explore-nav a:focus-visible,
.explore-nav a.is-current {
  color: var(--explore-teal-dark);
  background: var(--explore-white);
  box-shadow: 0 5px 16px rgba(47, 130, 117, 0.09);
}

.explore-header-actions {
  display: flex;
  align-items: center;
  gap: 11px;
}

.explore-language {
  position: relative;
}

.explore-language summary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--explore-ink);
  border: 1px solid rgba(47, 130, 117, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 760;
  list-style: none;
}

.explore-language summary::-webkit-details-marker {
  display: none;
}

.explore-language summary:focus-visible {
  outline: 3px solid rgba(47, 130, 117, 0.34);
  outline-offset: 3px;
}

.explore-language-globe {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: var(--explore-teal);
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
}

.explore-language-chevron {
  width: 7px;
  height: 7px;
  margin-left: 3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.explore-language[open] .explore-language-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.explore-language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 150px;
  padding: 7px;
  border: 1px solid rgba(47, 130, 117, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--explore-shadow);
}

.explore-language-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--explore-muted);
  font-size: 0.82rem;
  font-weight: 720;
}

.explore-language-menu a:hover,
.explore-language-menu a:focus-visible {
  color: var(--explore-teal-dark);
  background: var(--explore-teal-soft);
}

.explore-header-cta,
.explore-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 999px;
  font-weight: 780;
  line-height: 1.2;
  transition: transform 180ms var(--explore-ease), box-shadow 180ms ease, background 180ms ease;
}

.explore-header-cta {
  min-height: 44px;
  padding: 0 17px;
  color: #fff;
  background: var(--explore-teal);
  box-shadow: 0 10px 22px rgba(47, 130, 117, 0.18);
  font-size: 0.78rem;
  white-space: nowrap;
}

.explore-header-cta:hover,
.explore-header-cta:focus-visible,
.explore-button:hover,
.explore-button:focus-visible {
  transform: translateY(-2px);
}

.explore-header-cta:hover,
.explore-header-cta:focus-visible {
  background: var(--explore-teal-dark);
  box-shadow: 0 13px 26px rgba(47, 130, 117, 0.24);
}

.explore-menu-toggle,
.explore-mobile-menu {
  display: none;
}

.explore-hero {
  padding: clamp(70px, 9vw, 128px) 0 clamp(94px, 11vw, 160px);
  background:
    radial-gradient(circle at 10% 18%, rgba(230, 242, 239, 0.9), transparent 29%),
    var(--explore-paper);
}

.explore-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: clamp(54px, 8vw, 122px);
}

.explore-hero-copy {
  position: relative;
  z-index: 1;
}

.explore-eyebrow {
  margin: 0;
  color: var(--explore-teal);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

html:lang(th) .explore-eyebrow {
  letter-spacing: 0.05em;
}

.explore-hero h1,
.explore-section h2,
.explore-cta-card h2 {
  margin: 0;
  color: var(--explore-ink);
  font-family: "SF Pro Rounded", "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 810;
  letter-spacing: -0.065em;
}

.explore-hero h1 {
  max-width: 770px;
  margin-top: 21px;
  font-size: clamp(3.5rem, 6.3vw, 6.5rem);
  line-height: 0.99;
}

html:lang(th) .explore-hero h1 {
  max-width: 690px;
  font-family: "Noto Sans Thai", "Leelawadee UI", Inter, sans-serif;
  font-size: clamp(2.9rem, 6.5vw, 5.55rem);
  letter-spacing: -0.055em;
  line-height: 1.18;
}

.explore-hero-intro {
  max-width: 570px;
  margin: 29px 0 0;
  color: var(--explore-muted);
  font-size: clamp(1.04rem, 1.45vw, 1.2rem);
  line-height: 1.78;
}

html:lang(th) .explore-hero-intro {
  line-height: 1.92;
}

.explore-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.explore-button {
  min-height: 56px;
  padding: 0 22px;
  font-size: 0.92rem;
}

.explore-button-primary {
  color: #fff;
  background: var(--explore-teal);
  box-shadow: 0 16px 28px rgba(47, 130, 117, 0.2);
}

.explore-button-primary:hover,
.explore-button-primary:focus-visible {
  background: var(--explore-teal-dark);
  box-shadow: 0 20px 36px rgba(47, 130, 117, 0.26);
}

.explore-button-quiet {
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.2);
  background: rgba(255, 255, 255, 0.42);
}

.explore-button-quiet:hover,
.explore-button-quiet:focus-visible {
  background: var(--explore-white);
  box-shadow: 0 10px 25px rgba(47, 130, 117, 0.09);
}

.explore-button-arrow {
  display: inline-grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.88rem;
  line-height: 1;
}

.explore-trust-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 0;
  color: var(--explore-muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.explore-trust-line span {
  color: var(--explore-coral);
  font-size: 1.08rem;
}

.explore-hero-visual {
  position: relative;
  min-height: 590px;
  isolation: isolate;
}

.explore-hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 8% 3% 5% 12%;
  border-radius: 48% 52% 42% 58%;
  background: #e5f1ed;
  content: "";
  filter: blur(1px);
  transform: rotate(-6deg);
}

.explore-visual-window {
  position: absolute;
  inset: 24px 40px 22px 70px;
  overflow: hidden;
  border: 1px solid rgba(35, 76, 68, 0.16);
  border-radius: 35px;
  background: #f0f7f4;
  box-shadow: 0 36px 80px rgba(30, 73, 66, 0.18);
  transform: rotate(2.8deg);
}

.explore-visual-topbar {
  display: flex;
  min-height: 69px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 23px;
  color: var(--explore-ink);
  background: rgba(255, 255, 255, 0.78);
}

.explore-visual-brand,
.explore-visual-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
}

.explore-visual-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--explore-coral);
  box-shadow: 0 0 0 5px var(--explore-coral-soft);
}

.explore-visual-status {
  color: var(--explore-teal);
  font-size: 0.67rem;
  font-weight: 760;
}

.explore-visual-status span {
  font-size: 0.56rem;
}

.explore-map-preview {
  position: relative;
  height: 365px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(225, 240, 235, 0.56)),
    repeating-linear-gradient(33deg, transparent 0 27px, rgba(47, 130, 117, 0.05) 28px 29px);
}

.map-water {
  position: absolute;
  top: -12%;
  right: -8%;
  width: 45%;
  height: 84%;
  border-radius: 48% 52% 45% 55%;
  background: rgba(192, 228, 222, 0.78);
  transform: rotate(28deg);
}

.map-road,
.map-neighborhood,
.map-label,
.map-pin,
.map-user-location,
.map-orbit {
  position: absolute;
}

.map-road {
  height: 18px;
  border: 5px solid rgba(255, 255, 255, 0.96);
  border-left: 0;
  border-right: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(47, 130, 117, 0.08);
  transform: rotate(-23deg);
}

.map-road-one {
  top: 28%;
  left: -7%;
  width: 76%;
}

.map-road-two {
  top: 61%;
  left: 21%;
  width: 95%;
  transform: rotate(16deg);
}

.map-road-three {
  top: 13%;
  left: 46%;
  width: 85%;
  transform: rotate(71deg);
}

.map-neighborhood {
  width: 90px;
  height: 60px;
  border: 1px solid rgba(47, 130, 117, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(-18deg);
}

.map-neighborhood-one { top: 9%; left: 9%; }
.map-neighborhood-two { top: 48%; left: 48%; transform: rotate(11deg); }
.map-neighborhood-three { top: 68%; left: 11%; transform: rotate(28deg); }

.map-label {
  color: rgba(47, 130, 117, 0.5);
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.map-label-one { top: 16%; left: 26%; }
.map-label-two { top: 75%; right: 18%; }

.map-pin {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  border: 4px solid rgba(255, 255, 255, 0.86);
  border-radius: 50% 50% 50% 5px;
  background: var(--explore-teal);
  box-shadow: 0 12px 20px rgba(31, 98, 91, 0.25);
  font-size: 0.8rem;
  transform: rotate(-45deg);
  animation: explore-pin-float 4.7s ease-in-out infinite;
}

.map-pin span {
  transform: rotate(45deg);
}

.map-pin-one { top: 28%; left: 29%; }
.map-pin-two { top: 48%; right: 18%; background: var(--explore-coral); animation-delay: -1.7s; }
.map-pin-three { bottom: 11%; left: 47%; background: var(--explore-teal-dark); animation-delay: -3.1s; }

.map-user-location {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: #548ed0;
  box-shadow: 0 0 0 7px rgba(84, 142, 208, 0.18), 0 8px 16px rgba(35, 70, 116, 0.18);
  top: 58%;
  left: 22%;
}

.map-user-location span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.map-orbit {
  border: 1px dashed rgba(47, 130, 117, 0.25);
  border-radius: 50%;
  animation: explore-orbit 8s linear infinite;
}

.map-orbit-one { top: 19%; left: 16%; width: 135px; height: 100px; }
.map-orbit-two { right: 5%; bottom: 7%; width: 110px; height: 82px; animation-direction: reverse; }

.explore-visual-search {
  position: absolute;
  z-index: 2;
  right: 23px;
  bottom: 119px;
  left: 23px;
  display: flex;
  min-height: 53px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  color: var(--explore-muted);
  border: 1px solid rgba(47, 130, 117, 0.12);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 22px rgba(30, 73, 66, 0.11);
  font-size: 0.75rem;
  font-weight: 690;
}

.explore-search-icon {
  color: var(--explore-teal);
  font-size: 1.55rem;
  line-height: 1;
}

.explore-search-filter {
  margin-left: auto;
  color: var(--explore-teal);
  font-size: 1.3rem;
  line-height: 1;
  transform: rotate(90deg);
}

.explore-visual-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 98px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 24px 20px;
  background: rgba(255, 255, 255, 0.96);
}

.explore-visual-bottom p {
  margin: 0 0 4px;
  color: var(--explore-teal);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.explore-visual-bottom strong {
  font-size: 1.06rem;
  font-weight: 800;
}

.explore-visual-count {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  color: var(--explore-teal-dark);
  border-radius: 50%;
  background: var(--explore-teal-soft);
  font-size: 0.8rem;
  font-weight: 850;
}

.explore-floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 17px;
  border: 1px solid rgba(47, 130, 117, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 32px rgba(35, 71, 64, 0.14);
  animation: explore-card-float 5.3s ease-in-out infinite;
}

.explore-floating-card-main {
  top: 27%;
  left: 0;
  min-width: 245px;
}

.explore-floating-card-side {
  right: 0;
  bottom: 8%;
  min-width: 214px;
  animation-delay: -2.5s;
}

.explore-floating-card span:not(.explore-floating-icon):not(.explore-floating-chevron) {
  display: grid;
  gap: 1px;
}

.explore-floating-card strong {
  color: var(--explore-ink);
  font-size: 0.76rem;
  line-height: 1.35;
}

.explore-floating-card small {
  color: var(--explore-muted);
  font-size: 0.68rem;
}

.explore-floating-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  font-size: 1.25rem;
  font-weight: 840;
}

.explore-floating-icon-teal {
  color: var(--explore-teal-dark);
  background: var(--explore-teal-soft);
}

.explore-floating-icon-coral {
  color: var(--explore-coral);
  background: var(--explore-coral-soft);
}

.explore-floating-chevron {
  margin-left: auto;
  color: var(--explore-teal);
  font-size: 1rem;
}

.explore-section {
  padding: clamp(88px, 11vw, 148px) 0;
}

.explore-service-section {
  border-top: 1px solid var(--explore-line);
  background: var(--explore-white);
}

.explore-section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.68fr);
  align-items: end;
  gap: 70px;
}

.explore-section h2,
.explore-cta-card h2 {
  max-width: 790px;
  margin-top: 18px;
  font-size: clamp(2.55rem, 4.5vw, 5rem);
  line-height: 1.03;
}

html:lang(th) .explore-section h2,
html:lang(th) .explore-cta-card h2 {
  font-family: "Noto Sans Thai", "Leelawadee UI", Inter, sans-serif;
  font-size: clamp(2.35rem, 4.8vw, 4.6rem);
  letter-spacing: -0.055em;
  line-height: 1.24;
}

.explore-section-heading-split > p {
  max-width: 465px;
  margin: 0 0 2px;
  color: var(--explore-muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

html:lang(th) .explore-section-heading-split > p {
  line-height: 1.95;
}

.explore-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  margin-top: 65px;
}

.explore-service-card {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 29px 29px 31px;
  overflow: hidden;
  border: 1px solid rgba(47, 130, 117, 0.14);
  border-radius: var(--explore-radius);
  background: #fbfdfc;
  transition: transform 220ms var(--explore-ease), box-shadow 220ms ease, border-color 220ms ease;
}

.explore-service-card:hover {
  border-color: rgba(47, 130, 117, 0.35);
  box-shadow: 0 22px 45px rgba(35, 71, 64, 0.1);
  transform: translateY(-5px);
}

.is-reveal-target {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--explore-ease) var(--reveal-delay), transform 600ms var(--explore-ease) var(--reveal-delay);
}

.is-reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.explore-service-card.is-reveal-target.is-visible:hover {
  transform: translateY(-5px);
}

.explore-service-card-featured {
  color: #fff;
  border-color: var(--explore-teal);
  background: var(--explore-teal);
  box-shadow: 0 20px 45px rgba(47, 130, 117, 0.2);
}

.explore-service-card-featured:hover {
  border-color: var(--explore-teal-dark);
  box-shadow: 0 27px 53px rgba(47, 130, 117, 0.26);
}

.explore-service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--explore-teal);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

html:lang(th) .explore-service-card-top {
  letter-spacing: 0.02em;
}

.explore-service-card-featured .explore-service-card-top {
  color: rgba(255, 255, 255, 0.76);
}

.explore-service-number {
  color: inherit;
  opacity: 0.62;
}

.explore-service-icon {
  display: grid;
  width: 57px;
  height: 57px;
  margin-top: 65px;
  place-items: center;
  border-radius: 18px;
  font-size: 1.8rem;
  font-weight: 760;
}

.explore-service-icon-teal {
  color: var(--explore-teal-dark);
  background: var(--explore-teal-soft);
}

.explore-service-icon-coral {
  color: var(--explore-coral);
  background: rgba(255, 255, 255, 0.2);
}

.explore-service-icon-dark {
  color: #fff;
  background: var(--explore-ink);
}

.explore-service-card h3 {
  max-width: 290px;
  margin: 26px 0 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 790;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

html:lang(th) .explore-service-card h3 {
  letter-spacing: -0.035em;
  line-height: 1.45;
}

.explore-service-card p {
  max-width: 315px;
  margin: 13px 0 0;
  color: var(--explore-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

html:lang(th) .explore-service-card p {
  line-height: 1.9;
}

.explore-service-card-featured p {
  color: rgba(255, 255, 255, 0.78);
}

.explore-service-line {
  display: block;
  width: 56px;
  height: 2px;
  margin-top: auto;
  background: var(--explore-coral);
}

.explore-service-card-featured .explore-service-line {
  background: rgba(255, 255, 255, 0.72);
}

.explore-how-section {
  background: var(--explore-warm);
}

.explore-how-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(65px, 11vw, 170px);
  align-items: start;
}

.explore-how-intro > p:not(.explore-eyebrow) {
  max-width: 470px;
  margin: 28px 0 0;
  color: var(--explore-muted);
  font-size: 1.02rem;
  line-height: 1.83;
}

html:lang(th) .explore-how-intro > p:not(.explore-eyebrow) {
  line-height: 1.98;
}

.explore-privacy-note {
  display: flex;
  max-width: 465px;
  align-items: flex-start;
  gap: 11px;
  margin-top: 33px;
  padding: 16px 17px;
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.16);
  border-radius: 16px;
  background: rgba(229, 242, 238, 0.56);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.65;
}

.explore-privacy-note > span:first-child {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--explore-teal);
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.9rem;
}

.explore-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--explore-line);
}

.explore-steps li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 23px;
  padding: 27px 0 29px;
  border-bottom: 1px solid var(--explore-line);
}

.explore-step-index {
  color: var(--explore-coral);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.explore-steps h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 790;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

html:lang(th) .explore-steps h3 {
  letter-spacing: -0.03em;
  line-height: 1.5;
}

.explore-steps p {
  max-width: 455px;
  margin: 8px 0 0;
  color: var(--explore-muted);
  font-size: 0.94rem;
  line-height: 1.78;
}

html:lang(th) .explore-steps p {
  line-height: 1.9;
}

.explore-cta-section {
  padding: 0 0 clamp(88px, 10vw, 140px);
  background: var(--explore-warm);
}

.explore-cta-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  padding: clamp(38px, 6vw, 74px);
  overflow: hidden;
  color: #fff;
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 10%, rgba(237, 121, 101, 0.34), transparent 27%),
    var(--explore-teal-dark);
  box-shadow: 0 26px 55px rgba(31, 98, 91, 0.2);
}

.explore-cta-card h2 {
  max-width: 750px;
  color: #fff;
}

.explore-cta-card .explore-eyebrow {
  color: #ffc3b6;
}

.explore-cta-card > div > p:last-child {
  max-width: 580px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.75;
}

.explore-button-light {
  flex: 0 0 auto;
  color: var(--explore-teal-dark);
  background: #fff;
  box-shadow: 0 15px 27px rgba(18, 53, 49, 0.2);
}

.explore-button-light:hover,
.explore-button-light:focus-visible {
  background: var(--explore-coral-soft);
  box-shadow: 0 19px 32px rgba(18, 53, 49, 0.25);
}

.explore-footer {
  color: var(--explore-ink);
  border-top: 1px solid var(--explore-line);
  background: #f0f7f4;
}

.explore-footer > .explore-container {
  padding-top: 70px;
  padding-bottom: 28px;
}

.explore-footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(500px, 1.14fr);
  gap: clamp(50px, 10vw, 150px);
  padding-bottom: 65px;
}

.explore-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.explore-footer-brand img {
  width: 63px;
  height: auto;
}

.explore-footer-brand > span {
  display: grid;
  gap: 3px;
}

.explore-footer-brand strong {
  font-size: 1.08rem;
  font-weight: 820;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.explore-footer-brand small {
  color: var(--explore-teal);
  font-size: 0.7rem;
  font-weight: 760;
  line-height: 1.4;
}

.explore-footer-brand-column > p {
  max-width: 345px;
  margin: 25px 0 0;
  color: var(--explore-muted);
  font-size: 0.78rem;
  line-height: 1.8;
}

.explore-footer-brand-column > a:last-child {
  display: inline-flex;
  margin-top: 17px;
  color: var(--explore-teal);
  font-size: 0.79rem;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(47, 130, 117, 0.3);
  text-underline-offset: 4px;
}

.explore-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
}

.explore-footer-links > div {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 11px;
}

.explore-footer-links h3 {
  margin: 0 0 6px;
  color: var(--explore-teal);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

html:lang(th) .explore-footer-links h3 {
  letter-spacing: 0.03em;
}

.explore-footer-links a {
  color: var(--explore-muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.5;
}

.explore-footer-links a:hover,
.explore-footer-links a:focus-visible {
  color: var(--explore-teal-dark);
}

.explore-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 21px;
  color: var(--explore-muted);
  border-top: 1px solid var(--explore-line);
  font-size: 0.7rem;
  font-weight: 560;
  line-height: 1.5;
}

:focus-visible {
  outline: 3px solid rgba(47, 130, 117, 0.4);
  outline-offset: 4px;
}

@keyframes explore-pin-float {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50% { transform: rotate(-45deg) translateY(-6px); }
}

@keyframes explore-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes explore-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(1turn); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1060px) {
  .explore-container {
    width: min(100% - 48px, 920px);
  }

  .explore-header-inner {
    gap: 15px;
  }

  .explore-nav a {
    padding-inline: 11px;
    font-size: 0.72rem;
  }

  .explore-header-cta {
    padding-inline: 13px;
    font-size: 0.72rem;
  }

  .explore-hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
    gap: 42px;
  }

  .explore-hero-visual {
    min-height: 530px;
  }

  .explore-visual-window {
    inset: 24px 24px 22px 46px;
  }

  .explore-section-heading-split,
  .explore-how-grid {
    gap: 45px;
  }

  .explore-footer-main {
    gap: 55px;
  }
}

@media (max-width: 820px) {
  .explore-header-inner {
    min-height: 72px;
  }

  .explore-brand,
  .explore-brand img {
    width: 62px;
  }

  .explore-nav {
    display: none;
  }

  .explore-header-actions {
    margin-left: auto;
  }

  .explore-menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(47, 130, 117, 0.18);
    border-radius: 50%;
    color: var(--explore-teal-dark);
    background: rgba(255, 255, 255, 0.62);
  }

  .explore-menu-toggle span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .explore-menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }

  .explore-menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }

  .explore-mobile-menu {
    position: absolute;
    z-index: 2;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(47, 130, 117, 0.16);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--explore-shadow);
  }

  .explore-mobile-menu[hidden] {
    display: none;
  }

  .explore-mobile-menu a {
    min-height: 44px;
    padding: 11px 13px;
    color: var(--explore-muted);
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 740;
  }

  .explore-mobile-menu a:hover,
  .explore-mobile-menu a:focus-visible,
  .explore-mobile-menu a[aria-current="page"] {
    color: var(--explore-teal-dark);
    background: var(--explore-teal-soft);
  }

  .explore-mobile-menu .explore-mobile-menu-cta {
    margin-top: 5px;
    color: #fff;
    background: var(--explore-teal);
    text-align: center;
  }

  .explore-hero {
    padding-top: 64px;
  }

  .explore-hero-grid,
  .explore-section-heading-split,
  .explore-how-grid {
    grid-template-columns: 1fr;
  }

  .explore-hero-grid {
    gap: 58px;
  }

  .explore-hero-copy {
    max-width: 690px;
  }

  .explore-hero-visual {
    width: min(100%, 630px);
    min-height: 560px;
    margin-inline: auto;
  }

  .explore-section-heading-split > p {
    margin-top: 2px;
  }

  .explore-service-grid {
    gap: 14px;
  }

  .explore-service-card {
    min-height: 380px;
    padding: 25px 23px 27px;
  }

  .explore-service-icon {
    margin-top: 42px;
  }

  .explore-footer-main {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 620px) {
  .explore-container {
    width: min(100% - 36px, 520px);
  }

  .explore-header-cta {
    width: 44px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  .explore-header-cta > span:first-child {
    font-size: 1rem;
  }

  .explore-menu-toggle {
    width: 40px;
    height: 40px;
  }

  .explore-language summary {
    min-height: 40px;
    padding-inline: 10px;
  }

  .explore-language summary > span:nth-child(2) {
    display: none;
  }

  .explore-hero {
    padding-bottom: 82px;
  }

  .explore-hero h1 {
    margin-top: 16px;
    font-size: clamp(2.8rem, 13vw, 4rem);
    line-height: 1.06;
  }

  html:lang(th) .explore-hero h1 {
    font-size: clamp(2.55rem, 12.6vw, 4rem);
    line-height: 1.25;
  }

  .explore-hero-intro {
    margin-top: 22px;
    font-size: 0.98rem;
    line-height: 1.8;
  }

  html:lang(th) .explore-hero-intro {
    line-height: 1.92;
  }

  .explore-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-top: 27px;
  }

  .explore-button {
    width: 100%;
    min-height: 54px;
  }

  .explore-trust-line {
    align-items: flex-start;
    font-size: 0.73rem;
    line-height: 1.55;
  }

  .explore-hero-visual {
    min-height: 430px;
    margin-top: -7px;
  }

  .explore-visual-window {
    inset: 20px 6px 16px 25px;
    border-radius: 25px;
    transform: rotate(1.6deg);
  }

  .explore-visual-topbar {
    min-height: 54px;
    padding-inline: 16px;
  }

  .explore-visual-status {
    max-width: 135px;
    overflow: hidden;
    font-size: 0.58rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .explore-map-preview {
    height: 264px;
  }

  .explore-visual-search {
    right: 14px;
    bottom: 89px;
    left: 14px;
    min-height: 45px;
    padding-inline: 12px;
    border-radius: 13px;
    font-size: 0.65rem;
  }

  .explore-visual-bottom {
    min-height: 78px;
    padding: 12px 16px 14px;
  }

  .explore-visual-bottom p {
    margin-bottom: 1px;
    font-size: 0.5rem;
  }

  .explore-visual-bottom strong {
    font-size: 0.83rem;
  }

  .explore-visual-count {
    width: 33px;
    height: 33px;
    font-size: 0.68rem;
  }

  .explore-floating-card {
    gap: 8px;
    padding: 10px 11px;
    border-radius: 15px;
  }

  .explore-floating-card-main {
    top: 19%;
    left: 0;
    min-width: 174px;
  }

  .explore-floating-card-side {
    right: 0;
    bottom: 2%;
    min-width: 157px;
  }

  .explore-floating-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 0.9rem;
  }

  .explore-floating-card strong {
    font-size: 0.6rem;
  }

  .explore-floating-card small {
    font-size: 0.57rem;
  }

  .explore-section {
    padding: 80px 0;
  }

  .explore-section h2,
  html:lang(th) .explore-section h2,
  html:lang(th) .explore-cta-card h2 {
    margin-top: 15px;
    font-size: clamp(2.25rem, 11vw, 3.35rem);
    line-height: 1.2;
  }

  .explore-section-heading-split > p,
  .explore-how-intro > p:not(.explore-eyebrow) {
    font-size: 0.96rem;
    line-height: 1.84;
  }

  html:lang(th) .explore-section-heading-split > p,
  html:lang(th) .explore-how-intro > p:not(.explore-eyebrow) {
    line-height: 1.96;
  }

  .explore-service-grid {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .explore-service-card {
    min-height: 320px;
    padding: 23px 21px 25px;
    border-radius: 23px;
  }

  .explore-service-icon {
    width: 49px;
    height: 49px;
    margin-top: 34px;
    border-radius: 15px;
  }

  .explore-service-card h3 {
    margin-top: 20px;
    font-size: 1.36rem;
  }

  .explore-service-card p {
    margin-top: 9px;
    font-size: 0.9rem;
    line-height: 1.78;
  }

  html:lang(th) .explore-service-card p {
    line-height: 1.9;
  }

  .explore-how-grid {
    gap: 45px;
  }

  .explore-privacy-note {
    margin-top: 25px;
    font-size: 0.76rem;
  }

  .explore-steps li {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
    padding-block: 22px 24px;
  }

  .explore-steps h3 {
    font-size: 1.2rem;
  }

  .explore-steps p {
    font-size: 0.88rem;
    line-height: 1.78;
  }

  html:lang(th) .explore-steps p {
    line-height: 1.9;
  }

  .explore-cta-section {
    padding-bottom: 80px;
  }

  .explore-cta-card {
    display: grid;
    gap: 28px;
    padding: 32px 24px 27px;
    border-radius: 25px;
  }

  .explore-cta-card > div > p:last-child {
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.82;
  }

  .explore-footer > .explore-container {
    padding-top: 54px;
  }

  .explore-footer-main {
    gap: 37px;
    padding-bottom: 44px;
  }

  .explore-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 23px;
  }

  .explore-footer-links > div:last-child {
    grid-column: 1 / -1;
  }

  .explore-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    font-size: 0.67rem;
  }
}

/* Option 2 — editorial split: a complete nearby-place preview beside a clear 3-step decision flow. */
.explore-service-section {
  overflow: clip;
  padding: clamp(92px, 8.5vw, 132px) 0;
  background: #fbf8f4;
}

body.explore-site .explore-service-layout-v3 {
  display: grid;
  width: min(1384px, calc(100% - 40px));
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  gap: clamp(48px, 5vw, 78px);
  align-items: center;
}

.explore-service-product-v3 {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(47, 130, 117, 0.16);
  border-radius: 28px;
  background: #f6faf8;
  box-shadow: 0 28px 74px rgba(35, 71, 64, 0.1);
}

.explore-service-filters-v3 {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.72fr;
  gap: 10px;
  padding: 18px;
  border-bottom: 1px solid rgba(47, 130, 117, 0.12);
}

.explore-service-filters-v3 > div {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(35, 71, 64, 0.05);
}

.explore-service-filters-v3 > div > span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
}

.explore-service-filters-v3 strong {
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 760;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explore-service-results-v3 {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(205px, 0.86fr);
  min-height: 590px;
}

.explore-service-list-v3 {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 10px;
  border-right: 1px solid rgba(47, 130, 117, 0.11);
  background: rgba(255, 255, 255, 0.96);
}

.explore-service-found-v3,
.explore-service-more-v3 {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 820;
  line-height: 1.5;
}

.explore-service-found-v3 {
  padding: 0 2px 12px;
  color: var(--explore-ink);
}

.explore-service-place-v3 {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 34px;
  gap: 13px;
  align-items: center;
  padding: 15px 2px;
  border-top: 1px solid rgba(35, 71, 64, 0.1);
}

.explore-service-place-v3 img {
  width: 92px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
}

.explore-service-place-v3 div {
  min-width: 0;
}

.explore-service-place-v3 div > span,
.explore-service-place-v3 strong,
.explore-service-place-v3 small {
  display: block;
}

.explore-service-place-v3 div > span {
  margin-bottom: 4px;
  color: var(--explore-coral);
  font-size: 0.65rem;
  font-weight: 760;
  line-height: 1.4;
}

.explore-service-place-v3 strong {
  overflow: hidden;
  color: var(--explore-ink);
  font-size: 0.82rem;
  font-weight: 830;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explore-service-place-v3 small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 4px;
  color: #6d7471;
  font-size: 0.64rem;
  font-weight: 640;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.explore-service-place-v3 > .directory-icon-direction {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--explore-teal-dark);
  border-radius: 50%;
  background: var(--explore-teal-soft);
}

.explore-service-more-v3 {
  margin-top: auto;
  padding: 16px 0 8px;
  color: var(--explore-teal-dark);
  text-align: center;
}

.explore-service-map-v3 {
  min-width: 0;
  overflow: hidden;
  border-radius: 0 0 27px;
  background: #edf4ef;
}

.explore-service-map-v3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.explore-service-updated-v3 {
  position: absolute;
  left: 20px;
  bottom: -48px;
  padding: 11px 16px;
  color: #66716d;
  border: 1px solid rgba(47, 130, 117, 0.13);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(35, 71, 64, 0.1);
  font-size: 0.72rem;
  font-weight: 700;
}

.explore-service-copy-v3 {
  min-width: 0;
}

.explore-service-copy-v3 .explore-eyebrow {
  color: var(--explore-teal-dark);
}

.explore-service-copy-v3 h2 {
  max-width: 600px;
  margin-top: 16px;
  color: var(--explore-ink);
  font-size: clamp(3.2rem, 4.9vw, 5.65rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

html:lang(th) .explore-service-copy-v3 h2 {
  max-width: 590px;
  font-size: clamp(3rem, 4.75vw, 5.15rem);
  letter-spacing: -0.022em;
  line-height: 1.24;
}

.explore-service-intro-v3 {
  max-width: 560px;
  margin: 24px 0 0;
  color: #606764;
  font-size: 1rem;
  line-height: 1.82;
  text-wrap: pretty;
}

html:lang(th) .explore-service-intro-v3 {
  line-height: 1.92;
}

.explore-service-steps-v3 {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.explore-service-steps-v3 li {
  display: grid;
  grid-template-columns: 34px 64px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(35, 71, 64, 0.13);
}

.explore-service-step-number-v3 {
  display: grid;
  width: 30px;
  height: 30px;
  margin-top: 8px;
  place-items: center;
  color: var(--explore-teal-dark);
  border-radius: 50%;
  background: var(--explore-teal-soft);
  font-size: 0.8rem;
  font-weight: 850;
}

.explore-service-step-icon-v3 {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--explore-teal-dark);
  border-radius: 16px;
  background: #edf7f3;
}

.explore-service-steps-v3 h3 {
  margin: 0;
  color: var(--explore-ink);
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  font-weight: 830;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

html:lang(th) .explore-service-steps-v3 h3 {
  letter-spacing: -0.008em;
  line-height: 1.55;
}

.explore-service-steps-v3 p {
  max-width: 440px;
  margin: 6px 0 0;
  color: #656c69;
  font-size: 0.82rem;
  font-weight: 620;
  line-height: 1.72;
}

html:lang(th) .explore-service-steps-v3 p {
  line-height: 1.86;
}

.explore-service-privacy-v3 {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.explore-service-privacy-v3 > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--explore-coral);
}

.explore-service-privacy-v3 p {
  max-width: 460px;
  margin: 0;
  color: #5f6663;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.72;
}

html:lang(th) .explore-service-privacy-v3 p {
  line-height: 1.88;
}

@media (max-width: 1080px) {
  body.explore-site .explore-service-layout-v3 {
    width: min(100% - 48px, 960px);
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
    gap: 40px;
  }

  .explore-service-results-v3 {
    grid-template-columns: minmax(0, 1.3fr) minmax(170px, 0.72fr);
  }

  .explore-service-place-v3 {
    grid-template-columns: 72px minmax(0, 1fr) 32px;
  }

  .explore-service-place-v3 img {
    width: 72px;
    height: 66px;
  }
}

@media (max-width: 900px) {
  .explore-service-section {
    padding: 86px 0 112px;
  }

  body.explore-site .explore-service-layout-v3 {
    width: min(100% - 48px, 760px);
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .explore-service-copy-v3 {
    grid-row: 1;
  }

  .explore-service-product-v3 {
    grid-row: 2;
  }

  .explore-service-copy-v3 h2,
  html:lang(th) .explore-service-copy-v3 h2 {
    max-width: 720px;
  }
}

@media (max-width: 620px) {
  .explore-service-section {
    padding: 72px 0 94px;
  }

  body.explore-site .explore-service-layout-v3 {
    width: calc(100% - 24px);
    gap: 42px;
  }

  .explore-service-copy-v3 h2,
  html:lang(th) .explore-service-copy-v3 h2 {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
    line-height: 1.28;
  }

  .explore-service-intro-v3 {
    margin-top: 18px;
    font-size: 0.92rem;
  }

  .explore-service-steps-v3 {
    margin-top: 20px;
  }

  .explore-service-steps-v3 li {
    grid-template-columns: 28px 48px minmax(0, 1fr);
    gap: 10px;
    padding: 18px 0;
  }

  .explore-service-step-number-v3 {
    width: 26px;
    height: 26px;
    margin-top: 6px;
    font-size: 0.7rem;
  }

  .explore-service-step-icon-v3 {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .explore-service-steps-v3 h3 {
    font-size: 1rem;
  }

  .explore-service-steps-v3 p {
    font-size: 0.78rem;
  }

  .explore-service-privacy-v3 {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    margin-top: 22px;
  }

  .explore-service-privacy-v3 > span {
    width: 40px;
    height: 40px;
  }

  .explore-service-product-v3 {
    border-radius: 22px;
  }

  .explore-service-filters-v3 {
    grid-template-columns: 1fr 0.72fr;
    padding: 10px;
  }

  .explore-service-filters-v3 > div:first-child {
    grid-column: 1 / -1;
  }

  .explore-service-filters-v3 > div {
    min-height: 42px;
    padding: 8px 11px;
  }

  .explore-service-results-v3 {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .explore-service-list-v3 {
    padding: 16px 12px 8px;
    border-right: 0;
  }

  .explore-service-place-v3 {
    grid-template-columns: 76px minmax(0, 1fr) 32px;
    gap: 11px;
    padding: 13px 0;
  }

  .explore-service-place-v3 img {
    width: 76px;
    height: 66px;
    border-radius: 10px;
  }

  .explore-service-map-v3 {
    height: 220px;
    border-top: 1px solid rgba(47, 130, 117, 0.11);
    border-radius: 0 0 21px 21px;
  }

  .explore-service-map-v3 img {
    object-position: center 48%;
  }

  .explore-service-updated-v3 {
    left: 12px;
    bottom: -40px;
    padding: 9px 13px;
  }
}

/* Directory v5: expressive service glyphs and details that stay on the map. */
section.explore-directory-section-v2 .directory-icon-glyph {
  display: grid;
  place-items: center;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-style: normal;
  line-height: 1;
}

/* Category and place icons use the same stroke-based SVGs as the native LIFF. */
section.explore-directory-section-v2 .directory-icon-svg > svg {
  display: block;
  width: 1.08rem;
  height: 1.08rem;
  overflow: visible;
}

section.explore-directory-section-v2 .directory-place-dialog-icon.directory-icon-svg > svg {
  width: 1.45rem;
  height: 1.45rem;
}

section.explore-directory-section-v2 .directory-map-popup-icon.directory-icon-svg > svg {
  width: 1.08rem;
  height: 1.08rem;
}

section.explore-directory-section-v2 .directory-map-marker-svg {
  display: block;
  width: 0.98rem;
  height: 0.98rem;
  overflow: visible;
}

section.explore-directory-section-v2 .directory-category-icon.directory-icon-glyph {
  font-size: 0.98rem;
}

section.explore-directory-section-v2 .directory-place-icon.directory-icon-glyph {
  font-size: 1.02rem;
}

section.explore-directory-section-v2 .directory-place-dialog-icon.directory-icon-glyph {
  font-size: 1.45rem;
}

section.explore-directory-section-v2 .directory-map-marker.directory-icon-glyph {
  font-size: 0.94rem;
}

section.explore-directory-section-v2 .directory-map-marker-glyph {
  display: block;
  line-height: 1;
  transform: rotate(45deg);
}

section.explore-directory-section-v2 .directory-category-button:not(.is-active)[data-category="animal_hospital"] .directory-category-icon {
  color: #c95f54;
  background: #fff0ed;
}

section.explore-directory-section-v2 .directory-category-button:not(.is-active)[data-category="grooming"] .directory-category-icon {
  color: #a477bd;
  background: #f4edfa;
}

section.explore-directory-section-v2 .directory-category-button:not(.is-active)[data-category="boarding"] .directory-category-icon {
  color: #c88d43;
  background: #fff4e2;
}

section.explore-directory-section-v2 .directory-category-button:not(.is-active)[data-category="pet_shop"] .directory-category-icon {
  color: #5f8db8;
  background: #edf5fc;
}

section.explore-directory-section-v2 .directory-category-button:not(.is-active)[data-category="pet_friendly_condo"] .directory-category-icon {
  color: #8b719f;
  background: #f3eff8;
}

section.explore-directory-section-v2 .directory-category-button:not(.is-active)[data-category="pet_friendly"] .directory-category-icon {
  color: #4e9a80;
  background: #eaf7f0;
}

section.explore-directory-section-v2 .directory-category-button:not(.is-active)[data-category="transport"] .directory-category-icon {
  color: #d27657;
  background: #fff0e8;
}

section.explore-directory-section-v2 .directory-category-button:not(.is-active)[data-category="recommended_food"] .directory-category-icon {
  color: #b78346;
  background: #fff5e4;
}

section.explore-directory-section-v2 .directory-category-button:not(.is-active)[data-category="farms"] .directory-category-icon {
  color: #5b9b70;
  background: #edf8ef;
}

section.explore-directory-section-v2 .directory-map-canvas .leaflet-popup-content-wrapper {
  padding: 0;
  border: 1px solid rgba(47, 130, 117, 0.18);
  border-radius: 20px;
  background: #fffdfb;
  box-shadow: 0 18px 42px rgba(35, 71, 64, 0.2);
}

section.explore-directory-section-v2 .directory-map-canvas .leaflet-popup-content {
  width: auto !important;
  margin: 0;
}

section.explore-directory-section-v2 .directory-map-canvas .leaflet-popup-tip {
  border: 1px solid rgba(47, 130, 117, 0.18);
  background: #fffdfb;
  box-shadow: 5px 5px 12px rgba(35, 71, 64, 0.08);
}

section.explore-directory-section-v2 .directory-map-canvas .leaflet-popup-close-button {
  z-index: 1;
  top: 8px;
  right: 9px;
  width: 28px;
  height: 28px;
  color: var(--explore-muted);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
}

section.explore-directory-section-v2 .directory-map-canvas .leaflet-popup-close-button:hover,
section.explore-directory-section-v2 .directory-map-canvas .leaflet-popup-close-button:focus-visible {
  color: var(--explore-teal-dark);
  background: var(--explore-teal-soft);
}

section.explore-directory-section-v2 .directory-map-popup {
  width: min(270px, calc(100vw - 74px));
  padding: 15px 15px 14px;
  color: var(--explore-ink);
}

section.explore-directory-section-v2 .directory-map-popup-heading {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-right: 19px;
}

section.explore-directory-section-v2 .directory-map-popup-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--explore-teal-soft);
  font-size: 1rem;
}

section.explore-directory-section-v2 .directory-map-popup-copy {
  min-width: 0;
  padding-top: 1px;
}

section.explore-directory-section-v2 .directory-map-popup-category {
  display: block;
  overflow: hidden;
  color: var(--explore-teal);
  font-size: 0.57rem;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

section.explore-directory-section-v2 .directory-map-popup-title {
  display: -webkit-box;
  margin-top: 3px;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 820;
  letter-spacing: -0.025em;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

section.explore-directory-section-v2 .directory-map-popup-address {
  display: -webkit-box;
  margin: 11px 0 0;
  overflow: hidden;
  color: var(--explore-muted);
  font-size: 0.68rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

section.explore-directory-section-v2 .directory-map-popup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 9px;
  color: var(--explore-muted);
  font-size: 0.6rem;
  font-weight: 750;
  line-height: 1.35;
}

section.explore-directory-section-v2 .directory-map-popup-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

section.explore-directory-section-v2 .directory-map-popup .directory-hours {
  margin-top: 10px;
  border-top-color: rgba(47, 130, 117, 0.12);
}

section.explore-directory-section-v2 .directory-map-popup .directory-hours summary {
  min-height: 29px;
  font-size: 0.61rem;
}

section.explore-directory-section-v2 .directory-map-popup .directory-hours-list {
  padding-left: 20px;
  font-size: 0.58rem;
}

section.explore-directory-section-v2 .directory-map-popup-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}

section.explore-directory-section-v2 .directory-map-popup-action {
  width: 100%;
  min-height: 34px;
  padding: 7px 8px;
  border-radius: 9px;
  font-size: 0.61rem;
}

section.explore-directory-section-v2 .directory-map-popup-action.is-primary {
  grid-column: 1 / -1;
}

html:lang(th) section.explore-directory-section-v2 .directory-map-popup-title {
  letter-spacing: -0.01em;
  line-height: 1.45;
}

html:lang(th) section.explore-directory-section-v2 .directory-map-popup-address {
  line-height: 1.75;
}

@media (max-width: 620px) {
  section.explore-directory-section-v2 .directory-map-popup {
    width: min(255px, calc(100vw - 74px));
    padding: 14px 14px 13px;
  }

  section.explore-directory-section-v2 .directory-map-popup-title {
    font-size: 0.84rem;
  }
}

/*
 * Directory surface refinement
 *
 * The directory opens with one clear promise, one search surface, and one
 * results workspace. The map stays useful as context without taking over the
 * first interaction, especially on mobile.
 */
.explore-directory-section-v2 {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(96px, 11vw, 160px) 0 clamp(108px, 12vw, 164px);
  background:
    radial-gradient(circle at 12% 6%, rgba(229, 242, 238, 0.9), transparent 24rem),
    radial-gradient(circle at 88% 30%, rgba(253, 233, 227, 0.56), transparent 28rem),
    #fbfaf7;
}

.explore-directory-section-v2::before {
  position: absolute;
  z-index: -1;
  top: 9%;
  right: -170px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(47, 130, 117, 0.11);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.explore-directory-section-v2 > .explore-container {
  position: relative;
  z-index: 1;
}

.explore-directory-heading-v2 {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.explore-directory-heading-v2 .explore-eyebrow {
  justify-content: center;
}

.explore-directory-heading-v2 h2 {
  max-width: 800px;
  margin: 17px auto 0;
  font-size: clamp(2.55rem, 4.6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
  text-wrap: balance;
}

.explore-directory-heading-v2 > p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--explore-muted);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.8;
  text-wrap: pretty;
}

html:lang(th) .explore-directory-heading-v2 h2 {
  max-width: 760px;
  font-family: "Noto Sans Thai", "Leelawadee UI", "Tahoma", sans-serif;
  font-size: clamp(2.3rem, 4.25vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.34;
  word-break: normal;
  overflow-wrap: normal;
}

html:lang(th) .explore-directory-heading-v2 > p {
  line-height: 1.95;
}

.explore-directory-section-v2 .directory-auth-card {
  max-width: 1160px;
  margin: 42px auto 0;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 15px;
  padding: 15px 17px;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(35, 71, 64, 0.065);
}

.explore-directory-section-v2 .directory-auth-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
}

.explore-directory-section-v2 .directory-auth-copy h3 {
  margin-top: 4px;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.explore-directory-section-v2 .directory-auth-copy p:last-child {
  margin-top: 3px;
  font-size: 0.78rem;
  line-height: 1.6;
}

html:lang(th) .explore-directory-section-v2 .directory-auth-copy h3 {
  letter-spacing: -0.015em;
  line-height: 1.48;
}

html:lang(th) .explore-directory-section-v2 .directory-auth-copy p:last-child {
  line-height: 1.82;
}

.explore-directory-section-v2 .directory-auth-actions {
  gap: 11px;
}

.explore-directory-section-v2 .directory-workspace {
  max-width: 1160px;
  margin: 16px auto 0;
  grid-template-columns: minmax(390px, 0.86fr) minmax(0, 1.14fr);
  gap: 16px;
}

.explore-directory-section-v2 .directory-search-panel,
.explore-directory-section-v2 .directory-map-panel {
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(35, 71, 64, 0.07);
}

.explore-directory-section-v2 .directory-search-panel {
  padding: 24px;
}

.explore-directory-section-v2 .directory-map-panel {
  top: 104px;
}

.explore-directory-section-v2 .directory-panel-heading h3,
.explore-directory-section-v2 .directory-map-header h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.62rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

html:lang(th) .explore-directory-section-v2 .directory-panel-heading h3,
html:lang(th) .explore-directory-section-v2 .directory-map-header h3 {
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.explore-directory-section-v2 .directory-search-form {
  margin-top: 22px;
}

.explore-directory-section-v2 .directory-search-input {
  min-height: 58px;
  padding-inline: 16px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(35, 71, 64, 0.035);
}

.explore-directory-section-v2 .directory-search-input input {
  font-size: 0.9rem;
}

.explore-directory-section-v2 .directory-category-heading {
  margin-top: 28px;
}

.explore-directory-section-v2 .directory-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.explore-directory-section-v2 .directory-category-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-items: initial;
  gap: 8px;
  padding: 8px 11px 8px 8px;
  border-radius: 13px;
}

.explore-directory-section-v2 .directory-category-icon {
  width: 27px;
  height: 27px;
  border-radius: 9px;
}

.explore-directory-section-v2 .directory-category-label {
  min-height: 0;
  font-size: 0.68rem;
  line-height: 1.3;
  white-space: nowrap;
}

.explore-directory-section-v2 .directory-category-button small {
  margin-left: 1px;
  font-size: 0.56rem;
}

.explore-directory-section-v2 .directory-results-heading {
  margin-top: 29px;
}

.explore-directory-section-v2 .directory-results-list {
  max-height: 580px;
}

.explore-directory-section-v2 .directory-map-header {
  padding: 24px 25px 19px;
}

.explore-directory-section-v2 .directory-map-canvas,
.explore-directory-section-v2 .directory-map-canvas.is-ready {
  min-height: 640px;
}

@media (max-width: 1080px) {
  .explore-directory-section-v2 .directory-workspace {
    grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  }

  .explore-directory-section-v2 .directory-search-panel {
    padding: 21px;
  }

  .explore-directory-section-v2 .directory-category-button {
    padding-right: 9px;
  }
}

@media (max-width: 820px) {
  .explore-directory-section-v2 {
    padding: 92px 0 112px;
  }

  .explore-directory-heading-v2 {
    max-width: 680px;
  }

  .explore-directory-heading-v2 h2 {
    max-width: 680px;
  }

  .explore-directory-section-v2 .directory-auth-card {
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: start;
    margin-top: 36px;
  }

  .explore-directory-section-v2 .directory-auth-actions {
    grid-column: 2;
    justify-content: flex-start;
  }

  .explore-directory-section-v2 .directory-workspace {
    grid-template-columns: 1fr;
    margin-top: 13px;
  }

  .explore-directory-section-v2 .directory-search-panel {
    order: 1;
  }

  .explore-directory-section-v2 .directory-map-panel {
    order: 2;
    top: auto;
  }

  .explore-directory-section-v2 .directory-map-canvas,
  .explore-directory-section-v2 .directory-map-canvas.is-ready {
    min-height: 470px;
  }
}

@media (max-width: 620px) {
  .explore-directory-section-v2 {
    padding: 78px 0 92px;
  }

  .explore-directory-heading-v2 {
    gap: 14px;
  }

  .explore-directory-heading-v2 h2 {
    max-width: 100%;
    margin-top: 13px;
    font-size: clamp(2.1rem, 10.3vw, 3.1rem);
    letter-spacing: -0.035em;
    line-height: 1.18;
  }

  html:lang(th) .explore-directory-heading-v2 h2 {
    font-size: clamp(1.95rem, 9.4vw, 2.95rem);
    letter-spacing: -0.01em;
    line-height: 1.42;
  }

  .explore-directory-heading-v2 > p {
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.86;
  }

  html:lang(th) .explore-directory-heading-v2 > p {
    line-height: 1.98;
  }

  .explore-directory-section-v2 .directory-auth-card {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 29px;
    padding: 17px 16px;
    border-radius: 19px;
  }

  .explore-directory-section-v2 .directory-auth-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .explore-directory-section-v2 .directory-auth-actions {
    grid-column: 1;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .explore-directory-section-v2 .directory-auth-button,
  .explore-directory-section-v2 .directory-text-action {
    width: 100%;
  }

  .explore-directory-section-v2 .directory-workspace {
    gap: 11px;
    margin-top: 11px;
  }

  .explore-directory-section-v2 .directory-search-panel {
    padding: 17px;
    border-radius: 20px;
  }

  .explore-directory-section-v2 .directory-category-list {
    flex-wrap: nowrap;
    margin-right: -17px;
    padding-right: 17px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .explore-directory-section-v2 .directory-category-list::-webkit-scrollbar {
    display: none;
  }

  .explore-directory-section-v2 .directory-category-button {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .explore-directory-section-v2 .directory-map-panel {
    border-radius: 20px;
  }

  .explore-directory-section-v2 .directory-map-header {
    padding: 18px 17px 15px;
  }

  .explore-directory-section-v2 .directory-map-canvas,
  .explore-directory-section-v2 .directory-map-canvas.is-ready {
    min-height: 370px;
  }
}

/* Final cascade for the directory refresh. Keep this after the legacy
 * directory rules so the new search-first composition remains authoritative. */
section.explore-directory-section-v2 {
  padding: clamp(96px, 11vw, 160px) 0 clamp(108px, 12vw, 164px);
  background:
    radial-gradient(circle at 12% 6%, rgba(229, 242, 238, 0.9), transparent 24rem),
    radial-gradient(circle at 88% 30%, rgba(253, 233, 227, 0.56), transparent 28rem),
    #fbfaf7;
}

div.explore-directory-heading-v2 {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

div.explore-directory-heading-v2 h2 {
  max-width: 800px;
  margin: 17px auto 0;
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.55rem, 4.6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
  text-wrap: balance;
}

html:lang(th) div.explore-directory-heading-v2 h2 {
  max-width: 760px;
  font-family: "Noto Sans Thai", "Leelawadee UI", "Tahoma", sans-serif;
  font-size: clamp(2.3rem, 4.25vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.34;
  word-break: normal;
  overflow-wrap: normal;
}

div.explore-directory-heading-v2 > p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--explore-muted);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.8;
  text-wrap: pretty;
}

html:lang(th) div.explore-directory-heading-v2 > p {
  line-height: 1.95;
}

@media (max-width: 820px) {
  section.explore-directory-section-v2 {
    padding: 92px 0 112px;
  }
}

@media (max-width: 620px) {
  section.explore-directory-section-v2 {
    padding: 78px 0 92px;
  }

  div.explore-directory-heading-v2 {
    gap: 14px;
  }

  div.explore-directory-heading-v2 h2 {
    max-width: 100%;
    margin-top: 13px;
    font-size: clamp(2.1rem, 10.3vw, 3.1rem);
    letter-spacing: -0.035em;
    line-height: 1.18;
  }

  html:lang(th) div.explore-directory-heading-v2 h2 {
    font-size: clamp(1.95rem, 9.4vw, 2.95rem);
    letter-spacing: -0.01em;
    line-height: 1.42;
  }

  div.explore-directory-heading-v2 > p {
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.86;
  }

html:lang(th) div.explore-directory-heading-v2 > p {
  line-height: 1.98;
}

}

/* Directory v3: calm, search-first workspace with a compact LINE state bar. */
section.explore-directory-section-v2 [hidden] {
  display: none !important;
}

section.explore-directory-section-v2 > .explore-container {
  width: min(1180px, calc(100% - 64px));
}

section.explore-directory-section-v2 .explore-directory-heading-v2 {
  max-width: 860px;
  gap: 15px;
}

section.explore-directory-section-v2 .explore-directory-heading-copy {
  display: grid;
  justify-items: center;
}

section.explore-directory-section-v2 .explore-directory-heading-v2 h2 {
  margin-top: 13px;
}

section.explore-directory-section-v2 .explore-directory-heading-v2 > p {
  max-width: 600px;
  font-size: 0.98rem;
  line-height: 1.78;
}

html:lang(th) section.explore-directory-section-v2 .explore-directory-heading-v2 > p {
  line-height: 1.92;
}

section.explore-directory-section-v2 .directory-auth-card {
  width: min(100%, 980px);
  min-height: 72px;
  margin: 34px auto 0;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 19px;
  box-shadow: 0 14px 34px rgba(35, 71, 64, 0.06);
}

section.explore-directory-section-v2 .directory-auth-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

section.explore-directory-section-v2 .directory-auth-copy h3 {
  margin-top: 2px;
  font-size: clamp(0.98rem, 1.6vw, 1.14rem);
  line-height: 1.38;
}

section.explore-directory-section-v2 .directory-auth-copy p:last-child {
  max-width: 620px;
  margin-top: 2px;
  font-size: 0.74rem;
  line-height: 1.65;
}

html:lang(th) section.explore-directory-section-v2 .directory-auth-copy h3 {
  line-height: 1.52;
}

html:lang(th) section.explore-directory-section-v2 .directory-auth-copy p:last-child {
  line-height: 1.82;
}

section.explore-directory-section-v2 .directory-auth-actions {
  gap: 8px;
}

section.explore-directory-section-v2 .directory-auth-button {
  min-width: 146px;
  min-height: 40px;
  padding-inline: 15px;
  border-radius: 11px;
  font-size: 0.7rem;
}

section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-button {
  min-width: auto;
  min-height: 36px;
  padding-inline: 13px;
  color: var(--explore-muted);
  border-color: rgba(47, 130, 117, 0.13);
  border-radius: 999px;
  background: #f5f8f6;
  font-size: 0.67rem;
}

section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-button:hover,
section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-button:focus-visible {
  color: var(--explore-teal-dark);
  border-color: rgba(47, 130, 117, 0.28);
  background: var(--explore-teal-soft);
}

section.explore-directory-section-v2 .directory-workspace {
  width: min(100%, 1160px);
  margin-top: 16px;
  grid-template-columns: minmax(350px, 0.84fr) minmax(0, 1.16fr);
  gap: 20px;
}

section.explore-directory-section-v2 .directory-search-panel,
section.explore-directory-section-v2 .directory-map-panel {
  border-radius: 23px;
  box-shadow: 0 17px 42px rgba(35, 71, 64, 0.065);
}

section.explore-directory-section-v2 .directory-search-panel {
  padding: 23px;
}

section.explore-directory-section-v2 .directory-map-panel {
  top: 100px;
}

section.explore-directory-section-v2 .directory-panel-heading,
section.explore-directory-section-v2 .directory-map-header {
  align-items: flex-start;
}

section.explore-directory-section-v2 .directory-panel-heading h3,
section.explore-directory-section-v2 .directory-map-header h3 {
  font-size: clamp(1.16rem, 1.8vw, 1.46rem);
  line-height: 1.32;
}

html:lang(th) section.explore-directory-section-v2 .directory-panel-heading h3,
html:lang(th) section.explore-directory-section-v2 .directory-map-header h3 {
  line-height: 1.52;
}

section.explore-directory-section-v2 .directory-map-header {
  padding: 21px 22px 17px;
}

section.explore-directory-section-v2 .directory-map-canvas,
section.explore-directory-section-v2 .directory-map-canvas.is-ready {
  height: clamp(430px, 42vw, 520px);
  min-height: 0;
}

section.explore-directory-section-v2 .directory-map-footer {
  min-height: 45px;
  padding-inline: 17px;
}

section.explore-directory-section-v2 .directory-results-list {
  max-height: 500px;
}

section.explore-directory-section-v2 .directory-place-card {
  padding: 15px;
  border-radius: 16px;
}

section.explore-directory-section-v2 .directory-place-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

section.explore-directory-section-v2 .directory-place-actions > :first-child {
  grid-column: 1 / -1;
}

section.explore-directory-section-v2 .directory-place-actions .directory-place-action {
  width: 100%;
  min-height: 36px;
}

section.explore-directory-section-v2 .directory-map-marker {
  width: 32px;
  height: 32px;
  border-width: 2.5px;
  border-radius: 12px 12px 12px 4px;
}

section.explore-directory-section-v2 .directory-map-canvas .leaflet-tooltip {
  padding: 7px 9px;
  color: var(--explore-ink);
  border: 1px solid rgba(47, 130, 117, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(35, 71, 64, 0.12);
  font-size: 0.66rem;
  font-weight: 760;
}

.directory-place-dialog {
  position: fixed;
  inset: 0;
  width: min(560px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  margin: auto;
}

.directory-place-dialog[open] .directory-place-dialog-surface {
  animation: directory-dialog-in 260ms var(--explore-ease) both;
}

.directory-place-dialog-actions {
  gap: 9px;
}

.directory-place-dialog-actions .directory-place-action {
  min-height: 43px;
  border-radius: 11px;
}

@keyframes directory-dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1100px) {
  section.explore-directory-section-v2 .directory-workspace {
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  }

  section.explore-directory-section-v2 .directory-map-canvas,
  section.explore-directory-section-v2 .directory-map-canvas.is-ready {
    height: 450px;
  }
}

@media (max-width: 820px) {
  section.explore-directory-section-v2 > .explore-container {
    width: min(100% - 48px, 680px);
  }

  section.explore-directory-section-v2 .directory-auth-card {
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
  }

  section.explore-directory-section-v2 .directory-auth-actions {
    grid-column: 2;
    justify-content: flex-start;
  }

  section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-copy p:last-child {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  section.explore-directory-section-v2 .directory-workspace {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  section.explore-directory-section-v2 .directory-search-panel {
    order: 1;
  }

  section.explore-directory-section-v2 .directory-map-panel {
    order: 2;
    top: auto;
  }

  section.explore-directory-section-v2 .directory-map-canvas,
  section.explore-directory-section-v2 .directory-map-canvas.is-ready {
    height: 390px;
  }

  section.explore-directory-section-v2 .directory-results-list {
    max-height: 470px;
  }
}

@media (max-width: 620px) {
  section.explore-directory-section-v2 > .explore-container {
    width: min(100% - 36px, 520px);
  }

  section.explore-directory-section-v2 .directory-auth-card {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 11px;
    margin-top: 27px;
    padding: 16px;
  }

  section.explore-directory-section-v2 .directory-auth-actions {
    grid-column: 1;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
  }

  section.explore-directory-section-v2 .directory-auth-button,
  section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-button,
  section.explore-directory-section-v2 .directory-text-action {
    width: 100%;
  }

  section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-button {
    min-height: 38px;
  }

  section.explore-directory-section-v2 .directory-search-panel {
    padding: 17px;
    border-radius: 20px;
  }

  section.explore-directory-section-v2 .directory-map-panel {
    border-radius: 20px;
  }

  section.explore-directory-section-v2 .directory-map-header {
    padding: 17px 17px 14px;
  }

  section.explore-directory-section-v2 .directory-map-canvas,
  section.explore-directory-section-v2 .directory-map-canvas.is-ready {
    height: 335px;
  }

  section.explore-directory-section-v2 .directory-map-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 11px 14px 13px;
  }

  section.explore-directory-section-v2 .directory-results-list {
    max-height: none;
  }

  section.explore-directory-section-v2 .directory-place-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-place-dialog {
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 12px);
    margin: 0;
    border-radius: 25px 25px 0 0;
  }

  .directory-place-dialog-surface {
    max-height: calc(100dvh - 12px);
    padding: 27px 20px 23px;
    border-radius: 25px 25px 0 0;
  }

  .directory-place-dialog-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .directory-place-dialog[open] .directory-place-dialog-surface {
    animation: none;
  }
}

/* Directory interaction polish */
section.explore-directory-section-v2 .directory-map-canvas,
section.explore-directory-section-v2 .directory-map-canvas.is-ready {
  min-height: 0;
}

section.explore-directory-section-v2 .directory-results-list {
  max-height: 470px;
}

section.explore-directory-section-v2 .directory-place-action.is-primary {
  box-shadow: 0 7px 15px rgba(47, 130, 117, 0.14);
}

section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 70px;
  padding: 12px 15px;
}

section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
}

section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-copy {
  min-width: 0;
  flex: 1;
}

section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-copy h3 {
  margin-top: 1px;
  font-size: 1.02rem;
  line-height: 1.35;
}

section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-copy p:last-child {
  overflow: hidden;
  margin-top: 2px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-actions {
  flex: 0 0 auto;
}

section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-button {
  min-width: auto;
  min-height: 36px;
  padding-inline: 13px;
  color: var(--explore-muted);
  border: 1px solid rgba(47, 130, 117, 0.13);
  border-radius: 999px;
  background: #f5f8f6;
  font-size: 0.67rem;
  box-shadow: none;
}

section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-button:hover,
section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-button:focus-visible {
  color: var(--explore-teal-dark);
  border-color: rgba(47, 130, 117, 0.28);
  background: var(--explore-teal-soft);
}

.directory-place-dialog {
  width: min(560px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  max-height: min(760px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  color: var(--explore-ink);
  border: 0;
  border-radius: 28px;
  background: transparent;
  box-shadow: 0 30px 90px rgba(24, 45, 40, 0.25);
}

.directory-place-dialog::backdrop {
  background: rgba(27, 43, 39, 0.38);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.directory-place-dialog-surface {
  position: relative;
  max-height: min(760px, calc(100dvh - 32px));
  overflow-y: auto;
  padding: 34px 34px 30px;
  border: 1px solid rgba(47, 130, 117, 0.16);
  border-radius: 28px;
  background: #fffdfb;
  scrollbar-width: thin;
}

.directory-place-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--explore-ink);
  border: 1px solid rgba(47, 130, 117, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
}

.directory-place-dialog-close:hover,
.directory-place-dialog-close:focus-visible {
  color: #fff;
  border-color: var(--explore-teal);
  background: var(--explore-teal);
}

.directory-place-dialog-close span,
.directory-place-dialog-close span::after {
  display: block;
  width: 15px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.directory-place-dialog-close span {
  transform: rotate(45deg);
}

.directory-place-dialog-close span::after {
  transform: rotate(90deg);
}

.directory-place-dialog-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-right: 42px;
}

.directory-place-dialog-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--explore-teal-dark);
  border-radius: 18px;
  background: var(--explore-teal-soft);
}

.directory-place-dialog-heading h3 {
  max-width: 400px;
  margin: 5px 0 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

html:lang(th) .directory-place-dialog-heading h3 {
  font-family: "Noto Sans Thai", "Leelawadee UI", "Tahoma", sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.directory-place-dialog-category {
  margin: 5px 0 0;
  color: var(--explore-teal);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.5;
}

.directory-place-dialog-address {
  margin: 24px 0 0;
  padding: 15px 16px;
  color: var(--explore-muted);
  border: 1px solid rgba(47, 130, 117, 0.12);
  border-radius: 15px;
  background: #f7fbf9;
  font-size: 0.83rem;
  line-height: 1.7;
}

html:lang(th) .directory-place-dialog-address {
  line-height: 1.9;
}

.directory-place-dialog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 15px;
  color: var(--explore-muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
}

.directory-place-dialog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.directory-place-dialog-hours {
  margin-top: 22px;
  border-top: 1px solid rgba(47, 130, 117, 0.12);
}

.directory-place-dialog-hours .directory-hours {
  margin-top: 0;
  border-top: 0;
}

.directory-place-dialog-hours-empty {
  margin: 15px 0 0;
  color: var(--explore-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.directory-place-dialog-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 23px;
}

.directory-place-dialog-actions .directory-place-action {
  width: 100%;
  min-height: 45px;
  border-radius: 12px;
}

.directory-place-dialog-actions .directory-place-action.is-primary {
  grid-column: 1 / -1;
}

@media (max-width: 1080px) {
  section.explore-directory-section-v2 .directory-map-canvas,
  section.explore-directory-section-v2 .directory-map-canvas.is-ready {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  section.explore-directory-section-v2 .directory-map-canvas,
  section.explore-directory-section-v2 .directory-map-canvas.is-ready {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  section.explore-directory-section-v2 .directory-map-canvas,
  section.explore-directory-section-v2 .directory-map-canvas.is-ready {
    min-height: 0;
  }

  section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
  }

  section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-icon {
    width: 46px;
    height: 46px;
  }

  section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-actions {
    grid-column: 2;
    justify-content: flex-start;
  }

  section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-button {
    min-width: 118px;
  }

  .directory-place-dialog {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 12px);
    margin: auto 0 0;
    border-radius: 25px 25px 0 0;
  }

  .directory-place-dialog-surface {
    max-height: calc(100dvh - 12px);
    padding: 19px 15px 15px;
    border-radius: 25px 25px 0 0;
  }

  .directory-place-dialog-close {
    top: 14px;
    right: 14px;
  }

  .directory-place-dialog-heading {
    gap: 10px;
    padding-right: 36px;
  }

  .directory-place-dialog-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .directory-place-dialog-heading h3 {
    font-size: 1.16rem;
    line-height: 1.32;
  }

  html:lang(th) .directory-place-dialog-heading h3 {
    line-height: 1.42;
  }

  .directory-place-dialog-category {
    margin-top: 2px;
    font-size: 0.68rem;
  }

  .directory-place-dialog-address {
    margin-top: 13px;
    padding: 10px 11px;
    font-size: 0.74rem;
    line-height: 1.55;
  }

  html:lang(th) .directory-place-dialog-address {
    line-height: 1.65;
  }

  .directory-place-dialog-meta {
    gap: 10px;
    margin-top: 9px;
    font-size: 0.68rem;
  }

  .directory-place-dialog-hours {
    margin-top: 12px;
  }

  section.explore-directory-section-v2 .directory-place-dialog-hours .directory-hours {
    padding: 7px 8px 0;
    border-radius: 13px;
  }

  section.explore-directory-section-v2 .directory-place-dialog-hours .directory-hours > summary {
    grid-template-columns: 30px minmax(0, 1fr) auto 8px;
    min-height: 36px;
    gap: 6px;
  }

  section.explore-directory-section-v2 .directory-place-dialog-hours .directory-hours-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 9px;
  }

  section.explore-directory-section-v2 .directory-place-dialog-hours .directory-hours-label {
    font-size: 0.57rem;
  }

  section.explore-directory-section-v2 .directory-place-dialog-hours .directory-hours-today {
    font-size: 0.64rem;
    line-height: 1.42;
  }

  section.explore-directory-section-v2 .directory-place-dialog-hours .directory-hours-status {
    min-height: 22px;
    padding: 4px 6px;
    font-size: 0.52rem;
  }

  .directory-place-dialog-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 13px;
  }

  .directory-place-dialog-actions .directory-place-action {
    min-height: 40px;
    padding: 7px 8px;
    border-radius: 10px;
    font-size: 0.62rem;
  }

  .directory-place-dialog-actions .directory-place-action.is-primary {
    grid-column: 1 / -1;
  }
}

/* Website directory surface */
.explore-directory-section {
  padding: clamp(88px, 10vw, 142px) 0;
  border-top: 1px solid var(--explore-line);
  background:
    radial-gradient(circle at 7% 4%, rgba(229, 242, 238, 0.9), transparent 25rem),
    var(--explore-warm);
}

.explore-directory-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  align-items: end;
  gap: clamp(35px, 8vw, 120px);
}

.explore-directory-heading h2 {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: clamp(2.55rem, 4.5vw, 4.85rem);
  line-height: 1.08;
}

.explore-directory-heading > p {
  max-width: 455px;
  margin: 0 0 4px;
  color: var(--explore-muted);
  font-size: 1rem;
  line-height: 1.85;
}

html:lang(th) .explore-directory-heading h2 {
  letter-spacing: -0.055em;
  line-height: 1.3;
}

html:lang(th) .explore-directory-heading > p {
  line-height: 1.98;
}

.directory-auth-card {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding: 22px 24px;
  border: 1px solid rgba(47, 130, 117, 0.19);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 45px rgba(35, 71, 64, 0.07);
}

.directory-auth-card[data-state="checking"],
.directory-auth-card[data-state="setup"] {
  border-color: rgba(47, 130, 117, 0.2);
}

.directory-auth-card[data-state="friend-required"],
.directory-auth-card[data-state="error"] {
  border-color: rgba(237, 121, 101, 0.26);
  background: rgba(255, 251, 249, 0.94);
}

.directory-auth-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  color: var(--explore-teal-dark);
  border-radius: 21px;
  background: var(--explore-teal-soft);
}

.directory-auth-icon[data-state="friend-required"],
.directory-auth-icon[data-state="error"] {
  color: var(--explore-coral);
  background: var(--explore-coral-soft);
}

.directory-auth-copy {
  min-width: 0;
}

.directory-auth-copy h3 {
  margin: 7px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 790;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.directory-auth-copy p:last-child {
  max-width: 690px;
  margin: 7px 0 0;
  color: var(--explore-muted);
  font-size: 0.87rem;
  line-height: 1.72;
}

html:lang(th) .directory-auth-copy h3 {
  letter-spacing: -0.035em;
  line-height: 1.48;
}

html:lang(th) .directory-auth-copy p:last-child {
  line-height: 1.9;
}

.directory-auth-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
}

.directory-auth-button {
  min-width: 174px;
  min-height: 48px;
  padding-inline: 20px;
}

.directory-auth-button.is-success {
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.18);
  background: var(--explore-teal-soft);
  box-shadow: none;
}

.directory-text-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 5px;
  color: var(--explore-teal-dark);
  border: 0;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: rgba(47, 130, 117, 0.3);
  text-underline-offset: 4px;
}

.directory-text-action:hover,
.directory-text-action:focus-visible {
  color: var(--explore-coral);
}

.directory-workspace {
  display: grid;
  grid-template-columns: minmax(350px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 18px;
  margin-top: 18px;
}

.directory-search-panel,
.directory-map-panel {
  min-width: 0;
  border: 1px solid rgba(47, 130, 117, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 55px rgba(35, 71, 64, 0.075);
}

.directory-search-panel {
  padding: 28px;
}

.directory-map-panel {
  position: sticky;
  top: 104px;
  overflow: hidden;
}

.directory-panel-heading,
.directory-map-header,
.directory-results-heading,
.directory-category-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.directory-panel-heading h3,
.directory-map-header h3 {
  margin: 7px 0 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 790;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

html:lang(th) .directory-panel-heading h3,
html:lang(th) .directory-map-header h3 {
  letter-spacing: -0.035em;
  line-height: 1.45;
}

.directory-result-count {
  flex: 0 0 auto;
  padding: 8px 11px;
  color: var(--explore-teal-dark);
  border-radius: 999px;
  background: var(--explore-teal-soft);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.directory-search-form {
  margin-top: 26px;
}

.directory-search-input {
  display: flex;
  min-height: 53px;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  border: 1px solid rgba(47, 130, 117, 0.2);
  border-radius: 16px;
  background: #fbfdfc;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.directory-search-input:focus-within {
  border-color: rgba(47, 130, 117, 0.5);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 130, 117, 0.1);
}

.directory-search-input input {
  min-width: 0;
  flex: 1;
  padding: 3px 0;
  color: var(--explore-ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.87rem;
  line-height: 1.5;
}

.directory-search-input input::placeholder {
  color: #929997;
}

.directory-input-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--explore-teal);
}

.directory-location-button .directory-input-icon {
  width: 17px;
  height: 17px;
}

.directory-search-input kbd {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--explore-muted);
  border: 1px solid rgba(47, 130, 117, 0.17);
  border-radius: 7px;
  background: #fff;
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 800;
}

.directory-search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 11px;
}

.directory-location-button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 13px;
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.16);
  border-radius: 13px;
  background: var(--explore-teal-soft);
  font-size: 0.75rem;
  font-weight: 760;
  line-height: 1.35;
}

.directory-location-button:hover:not(:disabled),
.directory-location-button:focus-visible {
  border-color: rgba(47, 130, 117, 0.35);
  background: #d8ece7;
}

.directory-location-button.is-loading {
  color: var(--explore-muted);
  background: #f1f5f3;
}

.directory-location-button.is-loading .directory-input-icon {
  animation: directory-icon-breathe 1s ease-in-out infinite;
}

.directory-sort-control {
  display: grid;
  min-width: 130px;
  align-content: center;
  gap: 2px;
  padding: 6px 10px 6px 12px;
  color: var(--explore-muted);
  border: 1px solid rgba(47, 130, 117, 0.14);
  border-radius: 13px;
  background: #fff;
  font-size: 0.63rem;
  font-weight: 750;
  line-height: 1.2;
}

.directory-sort-control select {
  min-width: 0;
  padding: 0;
  color: var(--explore-ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.73rem;
  font-weight: 780;
}

.directory-category-heading {
  align-items: baseline;
  margin-top: 30px;
}

.directory-category-heading h4,
.directory-results-heading h4 {
  margin: 0;
  font-size: 0.91rem;
  font-weight: 820;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.directory-category-heading span,
.directory-results-heading span {
  color: var(--explore-muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.directory-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.directory-category-button {
  display: grid;
  min-height: 93px;
  align-content: center;
  justify-items: start;
  gap: 9px;
  padding: 12px;
  color: var(--explore-muted);
  border: 1px solid rgba(47, 130, 117, 0.13);
  border-radius: 17px;
  background: #fbfdfc;
  text-align: left;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms var(--explore-ease), box-shadow 180ms ease;
}

.directory-category-button:hover:not(:disabled),
.directory-category-button:focus-visible {
  color: var(--explore-teal-dark);
  border-color: rgba(47, 130, 117, 0.32);
  background: #f1f8f5;
  transform: translateY(-2px);
}

.directory-category-button.is-active {
  color: var(--explore-teal-dark);
  border-color: rgba(47, 130, 117, 0.58);
  background: var(--explore-teal-soft);
  box-shadow: inset 0 0 0 1px rgba(47, 130, 117, 0.08);
}

.directory-category-button.is-loading {
  color: var(--explore-muted);
  border-color: rgba(47, 130, 117, 0.22);
  background: #f5f8f6;
  pointer-events: none;
}

.directory-category-button.is-loading .directory-category-icon {
  animation: directory-icon-breathe 1s ease-in-out infinite;
}

.directory-category-button small {
  color: var(--explore-coral);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.2;
}

.directory-category-label {
  display: block;
  min-height: 2.55em;
  font-size: 0.7rem;
  font-weight: 760;
  line-height: 1.35;
}

.directory-category-icon,
.directory-place-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--explore-teal);
  border-radius: 10px;
  background: rgba(229, 242, 238, 0.9);
}

.directory-category-icon {
  width: 27px;
  height: 27px;
  border-radius: 9px;
}

.directory-category-button.is-active .directory-category-icon {
  color: #fff;
  background: var(--explore-teal);
}

.directory-results-heading {
  align-items: end;
  margin-top: 31px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--explore-line);
}

.directory-results-heading > div {
  display: grid;
  gap: 4px;
}

.directory-results-progress {
  max-width: 54%;
  color: var(--explore-teal) !important;
  font-size: 0.65rem !important;
  font-weight: 760;
  text-align: right;
}

.directory-results-progress.is-busy::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  vertical-align: -1px;
  border: 1.5px solid rgba(47, 130, 117, 0.23);
  border-top-color: var(--explore-teal);
  border-radius: 50%;
  animation: directory-spin 700ms linear infinite;
  content: "";
}

.directory-results-list {
  display: grid;
  gap: 10px;
  max-height: 720px;
  margin-top: 12px;
  padding-right: 3px;
  overflow-y: auto;
  scrollbar-color: rgba(47, 130, 117, 0.28) transparent;
  scrollbar-width: thin;
}

.directory-status-card {
  display: grid;
  justify-items: start;
  gap: 7px;
  padding: 22px 17px;
  border: 1px dashed rgba(47, 130, 117, 0.2);
  border-radius: 18px;
  background: #fbfdfc;
}

.directory-status-card-friend,
.directory-status-card-error {
  border-color: rgba(237, 121, 101, 0.28);
  background: #fffaf8;
}

.directory-status-card strong {
  font-size: 0.85rem;
  font-weight: 790;
  line-height: 1.4;
}

.directory-status-card p {
  max-width: 410px;
  margin: 0;
  color: var(--explore-muted);
  font-size: 0.75rem;
  line-height: 1.7;
}

html:lang(th) .directory-status-card p {
  line-height: 1.9;
}

.directory-status-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--explore-teal-dark);
  border-radius: 13px;
  background: var(--explore-teal-soft);
}

.directory-status-card-friend .directory-status-icon,
.directory-status-card-error .directory-status-icon {
  color: var(--explore-coral);
  background: var(--explore-coral-soft);
}

.directory-result-retry {
  min-height: 37px;
  margin-top: 5px;
  padding: 8px 13px;
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.2);
  border-radius: 10px;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 790;
}

.directory-result-retry:hover,
.directory-result-retry:focus-visible {
  color: #fff;
  border-color: var(--explore-teal);
  background: var(--explore-teal);
}

.directory-place-card {
  padding: 16px;
  border: 1px solid rgba(47, 130, 117, 0.12);
  border-radius: 18px;
  background: #fff;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 240ms var(--explore-ease);
}

.directory-place-card:hover {
  border-color: rgba(47, 130, 117, 0.3);
  box-shadow: 0 10px 24px rgba(35, 71, 64, 0.08);
  transform: translateY(-2px);
}

.directory-place-card.is-selected {
  border-color: rgba(47, 130, 117, 0.72);
  box-shadow: 0 13px 30px rgba(47, 130, 117, 0.14);
}

.directory-place-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.directory-place-copy {
  min-width: 0;
  flex: 1;
}

.directory-place-category {
  display: block;
  color: var(--explore-teal);
  font-size: 0.61rem;
  font-weight: 800;
  line-height: 1.35;
}

.directory-place-name {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  font-size: 0.91rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.directory-place-rating {
  flex: 0 0 auto;
  padding: 6px 8px;
  color: #9b5a21;
  border-radius: 9px;
  background: #fff3df;
  font-size: 0.63rem;
  font-weight: 800;
  line-height: 1.2;
}

.directory-place-rating.is-empty {
  color: var(--explore-muted);
  background: #f3f5f4;
}

.directory-place-address {
  display: -webkit-box;
  margin: 11px 0 0;
  overflow: hidden;
  color: var(--explore-muted);
  font-size: 0.73rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.directory-place-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  color: var(--explore-muted);
  font-size: 0.65rem;
  font-weight: 690;
  line-height: 1.4;
}

.directory-place-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.directory-place-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.directory-place-action {
  display: inline-flex;
  min-height: 33px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.16);
  border-radius: 9px;
  background: #fff;
  font-size: 0.65rem;
  font-weight: 790;
  line-height: 1.3;
}

a.directory-place-action:hover,
button.directory-place-action:hover,
.directory-place-action:focus-visible {
  color: #fff;
  border-color: var(--explore-teal);
  background: var(--explore-teal);
}

.directory-place-action.is-primary {
  color: #fff;
  border-color: var(--explore-teal);
  background: var(--explore-teal);
}

.directory-place-action.is-primary:hover,
.directory-place-action.is-primary:focus-visible {
  border-color: var(--explore-teal-dark);
  background: var(--explore-teal-dark);
}

.directory-hours {
  margin-top: 12px;
  border-top: 1px solid rgba(47, 130, 117, 0.1);
}

.directory-hours summary {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  color: var(--explore-teal-dark);
  cursor: pointer;
  font-size: 0.67rem;
  font-weight: 770;
  list-style: none;
}

.directory-hours summary::-webkit-details-marker {
  display: none;
}

.directory-hours summary::after {
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  content: "";
  transition: transform 180ms ease;
}

.directory-hours[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.directory-hours-list {
  display: grid;
  gap: 5px;
  padding: 5px 0 9px 25px;
  color: var(--explore-muted);
  font-size: 0.63rem;
  line-height: 1.45;
}

.directory-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.directory-hours-row span:last-child {
  color: var(--explore-ink);
  text-align: right;
}

.directory-map-header {
  align-items: flex-start;
  padding: 27px 28px 21px;
}

.directory-map-status {
  max-width: 42%;
  padding: 7px 10px;
  color: var(--explore-muted);
  border-radius: 999px;
  background: #f2f5f3;
  font-size: 0.65rem;
  font-weight: 760;
  line-height: 1.3;
  text-align: right;
}

.directory-map-status.is-ready {
  color: var(--explore-teal-dark);
  background: var(--explore-teal-soft);
}

.directory-map-canvas {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(229, 242, 238, 0.68), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(28deg, transparent 0 64px, rgba(47, 130, 117, 0.055) 65px 66px),
    #f8fbf9;
}

.directory-map-canvas.is-ready {
  min-height: 620px;
}

.directory-map-canvas[hidden],
.directory-map-placeholder[hidden] {
  display: none !important;
}

.directory-map-placeholder {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(310px, calc(100% - 48px));
  justify-items: center;
  gap: 12px;
  padding: 26px 22px;
  border: 1px solid rgba(47, 130, 117, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(35, 71, 64, 0.09);
  transform: translate(-50%, -50%);
  text-align: center;
}

.directory-map-placeholder strong {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
}

.directory-map-placeholder p {
  margin: 0;
  color: var(--explore-muted);
  font-size: 0.72rem;
  line-height: 1.75;
}

html:lang(th) .directory-map-placeholder p {
  line-height: 1.9;
}

.directory-map-placeholder-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.12);
  border-radius: 17px;
  background: var(--explore-teal-soft);
}

.directory-map-footer {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 20px;
  color: var(--explore-muted);
  border-top: 1px solid rgba(47, 130, 117, 0.12);
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.61rem;
  font-weight: 650;
  line-height: 1.4;
}

.directory-map-footer-content {
  display: flex;
  min-width: 0;
  align-items: center;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.directory-map-legend {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.directory-map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.directory-map-legend-swatch {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.directory-map-legend-swatch.is-open {
  background: var(--explore-teal);
  box-shadow: 0 0 0 3px rgba(47, 130, 117, 0.12);
}

.directory-map-legend-swatch.is-closed {
  background: var(--explore-coral);
  box-shadow: 0 0 0 3px rgba(237, 121, 101, 0.13);
}

.directory-map-legend-swatch.is-unknown {
  background: #87938f;
  box-shadow: 0 0 0 3px rgba(135, 147, 143, 0.13);
}

.directory-map-canvas.leaflet-container,
.directory-map-canvas .leaflet-container {
  width: 100%;
  height: 100%;
  color: var(--explore-ink);
  background: #e8f2ef;
  font: inherit;
}

.directory-map-canvas .leaflet-control-zoom {
  margin-right: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(47, 130, 117, 0.2) !important;
  border-radius: 12px;
  box-shadow: 0 9px 20px rgba(35, 71, 64, 0.13);
}

.directory-map-canvas .leaflet-control-zoom a {
  color: var(--explore-teal-dark);
  border-color: rgba(47, 130, 117, 0.12);
  background: rgba(255, 255, 255, 0.94);
}

.directory-map-canvas .leaflet-control-zoom a:hover {
  color: #fff;
  background: var(--explore-teal);
}

.directory-map-canvas .leaflet-control-attribution {
  padding: 3px 6px;
  color: var(--explore-muted);
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.55rem;
}

.directory-map-marker-host,
.directory-place-marker-host,
.directory-user-marker-host {
  background: transparent;
  border: 0;
}

.directory-map-marker {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 14px 14px 14px 4px;
  background: var(--explore-teal);
  box-shadow: 0 8px 15px rgba(35, 71, 64, 0.22);
  transform: rotate(-45deg);
  transition: transform 220ms var(--explore-ease), background 180ms ease, box-shadow 180ms ease;
}

.directory-map-marker::before {
  color: #fff;
  transform: rotate(45deg);
}

.directory-map-marker.is-open {
  background: var(--explore-teal);
}

.directory-map-marker.is-closed {
  background: var(--explore-coral);
}

.directory-map-marker.is-unknown {
  background: #87938f;
}

.directory-map-marker.is-selected {
  z-index: 2;
  box-shadow: 0 0 0 7px rgba(47, 130, 117, 0.17), 0 11px 21px rgba(35, 71, 64, 0.25);
  transform: rotate(-45deg) scale(1.18);
  animation: directory-marker-pulse 1.2s ease-in-out infinite;
}

.directory-user-marker {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--explore-teal-dark);
  box-shadow: 0 0 0 8px rgba(47, 130, 117, 0.18), 0 8px 16px rgba(35, 71, 64, 0.23);
}

.directory-user-marker span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.directory-icon-search,
.directory-icon-location,
.directory-icon-distance,
.directory-icon-review,
.directory-icon-clock,
.directory-icon-privacy,
.directory-icon-lock,
.directory-icon-alert,
.directory-icon-spinner,
.directory-icon-clinic,
.directory-icon-grooming,
.directory-icon-boarding,
.directory-icon-shop,
.directory-icon-condo,
.directory-icon-friendly,
.directory-icon-transport,
.directory-icon-food,
.directory-icon-farm {
  position: relative;
}

.directory-icon-search::before {
  width: 11px;
  height: 11px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
  content: "";
}

.directory-icon-search::after {
  position: absolute;
  width: 7px;
  height: 1.8px;
  background: currentColor;
  content: "";
  transform: translate(6px, 6px) rotate(45deg);
  transform-origin: left center;
}

.directory-icon-location::before {
  width: 14px;
  height: 14px;
  border: 1.8px solid currentColor;
  border-radius: 50% 50% 50% 2px;
  content: "";
  transform: rotate(-45deg);
}

.directory-icon-location::after {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.directory-icon-distance::before {
  width: 7px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
}

.directory-icon-distance::after {
  position: absolute;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: rotate(-35deg);
}

.directory-icon-review::before {
  color: #c99141;
  content: "★";
  font-size: 0.66rem;
}

.directory-icon-clock::before {
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
}

.directory-icon-clock::after {
  position: absolute;
  width: 1.5px;
  height: 5px;
  background: currentColor;
  content: "";
  transform: translateY(-1px) rotate(-20deg);
  transform-origin: bottom center;
}

.directory-icon-privacy::before,
.directory-icon-lock::before {
  width: 14px;
  height: 12px;
  border: 1.6px solid currentColor;
  border-radius: 4px;
  content: "";
}

.directory-icon-privacy::after,
.directory-icon-lock::after {
  position: absolute;
  top: 3px;
  width: 7px;
  height: 7px;
  border: 1.6px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
}

.directory-icon-alert::before {
  color: var(--explore-coral);
  content: "!";
  font-size: 1rem;
  font-weight: 900;
}

.directory-icon-spinner::before {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(47, 130, 117, 0.18);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: directory-spin 700ms linear infinite;
  content: "";
}

.directory-icon-clinic::before {
  color: currentColor;
  content: "+";
  font-size: 1.3rem;
  font-weight: 850;
  line-height: 1;
}

.directory-icon-grooming::before {
  color: currentColor;
  content: "✦";
  font-size: 1rem;
}

.directory-icon-boarding::before {
  color: currentColor;
  content: "⌂";
  font-size: 1.28rem;
  font-weight: 820;
}

.directory-icon-shop::before {
  color: currentColor;
  content: "▦";
  font-size: 1.1rem;
}

.directory-icon-condo::before {
  color: currentColor;
  content: "▥";
  font-size: 1rem;
}

.directory-icon-friendly::before {
  color: currentColor;
  content: "♡";
  font-size: 1.25rem;
  font-weight: 800;
}

.directory-icon-transport::before {
  color: currentColor;
  content: "↗";
  font-size: 1.18rem;
  font-weight: 850;
}

.directory-icon-food::before {
  color: currentColor;
  content: "⌁";
  font-size: 1.42rem;
  font-weight: 850;
}

.directory-icon-farm::before {
  color: currentColor;
  content: "❧";
  font-size: 1.2rem;
}

.directory-icon-line::before {
  color: currentColor;
  content: "LINE";
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.directory-icon-line::after {
  position: absolute;
  right: 13px;
  bottom: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.explore-service-icon.directory-icon-line::after,
.directory-auth-icon.directory-icon-line::after {
  right: auto;
  bottom: 15px;
  transform: translateX(11px);
}

.directory-icon-direction::before {
  color: currentColor;
  content: "↗";
  font-size: 1.35rem;
  font-weight: 850;
}

.directory-icon-breathe {
  animation: directory-icon-breathe 1s ease-in-out infinite;
}

@keyframes directory-spin {
  to { transform: rotate(1turn); }
}

@keyframes directory-marker-pulse {
  0%, 100% { box-shadow: 0 0 0 7px rgba(47, 130, 117, 0.17), 0 11px 21px rgba(35, 71, 64, 0.25); }
  50% { box-shadow: 0 0 0 12px rgba(47, 130, 117, 0.06), 0 11px 21px rgba(35, 71, 64, 0.25); }
}

@keyframes directory-icon-breathe {
  0%, 100% { opacity: 0.58; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.06); }
}

@media (max-width: 1080px) {
  .explore-directory-heading {
    gap: 42px;
  }

  .directory-workspace {
    grid-template-columns: minmax(310px, 0.76fr) minmax(0, 1.24fr);
  }

  .directory-search-panel {
    padding: 22px;
  }

  .directory-category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-map-header {
    padding-inline: 22px;
  }
}

@media (max-width: 820px) {
  .explore-directory-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .explore-directory-heading > p {
    max-width: 620px;
  }

  .directory-auth-card {
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    padding: 20px;
  }

  .directory-auth-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .directory-auth-actions {
    grid-column: 2;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .directory-workspace {
    grid-template-columns: 1fr;
  }

  .directory-map-panel {
    position: relative;
    top: auto;
    order: -1;
  }

  .directory-map-canvas,
  .directory-map-canvas.is-ready {
    min-height: 500px;
  }
}

@media (max-width: 620px) {
  .explore-directory-section {
    padding: 76px 0;
  }

  .explore-directory-heading h2 {
    margin-top: 14px;
    font-size: clamp(2.28rem, 11vw, 3.35rem);
    line-height: 1.25;
  }

  .explore-directory-heading > p {
    font-size: 0.93rem;
    line-height: 1.9;
  }

  .directory-auth-card {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 32px;
    padding: 20px 18px;
    border-radius: 22px;
  }

  .directory-auth-icon {
    width: 52px;
    height: 52px;
  }

  .directory-auth-copy h3 {
    margin-top: 5px;
    font-size: 1.2rem;
    line-height: 1.48;
  }

  .directory-auth-copy p:last-child {
    font-size: 0.8rem;
    line-height: 1.92;
  }

  .directory-auth-actions {
    grid-column: 1;
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
  }

  .directory-auth-button {
    width: 100%;
  }

  .directory-text-action {
    width: 100%;
    min-height: 37px;
  }

  .directory-workspace {
    gap: 12px;
    margin-top: 12px;
  }

  .directory-search-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .directory-panel-heading h3,
  .directory-map-header h3 {
    font-size: 1.3rem;
    line-height: 1.48;
  }

  .directory-search-controls {
    grid-template-columns: 1fr;
  }

  .directory-sort-control {
    min-height: 45px;
  }

  .directory-category-heading {
    margin-top: 25px;
  }

  .directory-category-button {
    min-height: 88px;
    padding: 11px;
    border-radius: 15px;
  }

  .directory-category-label {
    font-size: 0.67rem;
    line-height: 1.45;
  }

  .directory-results-heading {
    margin-top: 27px;
  }

  .directory-results-list {
    max-height: none;
  }

  .directory-place-card {
    padding: 14px;
    border-radius: 16px;
  }

  .directory-place-rating {
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .directory-place-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-place-action {
    width: 100%;
  }

  .directory-map-panel {
    border-radius: 22px;
  }

  .directory-map-header {
    padding: 20px 18px 16px;
  }

  .directory-map-canvas,
  .directory-map-canvas.is-ready {
    min-height: 390px;
  }

  .directory-map-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    min-height: 44px;
    padding-inline: 14px;
    font-size: 0.57rem;
  }

  .directory-map-footer-content {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .directory-map-legend {
    width: 100%;
    gap: 6px 12px;
  }

  .directory-map-footer > span:last-child {
    display: none;
  }
}

/*
 * Explore hero v2
 *
 * The first screen should sell the feeling of finding the right place,
 * while the real directory remains the interaction surface below. This
 * composition uses the existing Petola photography and app screens so the
 * product feels tangible before the user starts searching.
 */
.explore-hero-v2 {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(64px, 7vw, 100px) 0 clamp(92px, 9vw, 132px);
  background: var(--explore-paper);
}

.explore-hero-v2 > .explore-container {
  position: relative;
  z-index: 1;
}

.explore-hero-v2 .explore-hero-grid {
  min-height: 700px;
  grid-template-columns: minmax(0, 0.86fr) minmax(550px, 1.14fr);
  align-items: center;
  gap: clamp(48px, 6vw, 88px);
}

.explore-hero-v2 .explore-hero-copy {
  max-width: 570px;
  padding: 0 0 16px;
}

.explore-hero-v2 h1 {
  max-width: 620px;
  margin-top: 0;
  color: var(--explore-ink);
  font-size: clamp(3.55rem, 5.65vw, 5.8rem);
  letter-spacing: -0.07em;
  line-height: 1.01;
  text-wrap: balance;
}

.explore-hero-v2 h1 span {
  display: block;
}

.explore-hero-v2 h1 .explore-hero-title-accent {
  color: var(--explore-teal-dark);
}

html:lang(th) .explore-hero-v2 h1 {
  max-width: 620px;
  font-family: "Noto Sans Thai", "Leelawadee UI", Inter, sans-serif;
  font-size: clamp(2.85rem, 5.9vw, 5.25rem);
  letter-spacing: -0.065em;
  line-height: 1.16;
}

.explore-hero-v2 .explore-hero-intro {
  max-width: 535px;
  margin-top: 30px;
  color: var(--explore-muted);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.82;
  text-wrap: pretty;
}

html:lang(th) .explore-hero-v2 .explore-hero-intro {
  line-height: 1.92;
}

.explore-hero-v2 .explore-hero-actions {
  gap: 12px;
  margin-top: 32px;
}

.explore-hero-v2 .explore-button {
  min-height: 58px;
  padding-inline: 23px;
  font-size: 0.88rem;
}

.explore-hero-v2 .explore-button-primary {
  box-shadow: 0 17px 30px rgba(47, 130, 117, 0.2);
}

.explore-hero-v2 .explore-button-primary:hover,
.explore-hero-v2 .explore-button-primary:focus-visible {
  transform: translateY(-3px);
}

.explore-hero-v2 .explore-button-quiet {
  background: rgba(255, 255, 255, 0.58);
}

.explore-hero-v2 .explore-hero-visual-v2 {
  position: relative;
  width: 100%;
  max-width: 700px;
  min-height: 700px;
  justify-self: end;
  isolation: isolate;
}

.explore-hero-v2 .explore-hero-visual-v2::before {
  position: absolute;
  z-index: -2;
  inset: 20px 0 12px 34px;
  border: 1px solid rgba(47, 125, 112, 0.08);
  border-radius: 52px;
  background: #f4f8f6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  content: "";
  pointer-events: none;
}

.explore-hero-photo-card {
  position: absolute;
  z-index: 1;
  top: 98px;
  left: 8px;
  width: 62%;
  height: 524px;
  overflow: hidden;
  border: 1px solid rgba(47, 125, 112, 0.08);
  border-radius: 36px;
  background: #dce9e5;
  box-shadow: 0 28px 62px rgba(35, 71, 64, 0.14);
  transform: rotate(-2.4deg);
  transition: transform 600ms var(--explore-ease), box-shadow 600ms ease;
}

.explore-hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
  transform: scale(1.03);
  animation: explore-hero-photo-breathe 11s ease-in-out infinite;
}

.explore-hero-photo-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 47, 40, 0.01) 30%, rgba(22, 47, 40, 0.63) 100%);
  pointer-events: none;
}

.explore-hero-photo-caption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: grid;
  gap: 4px;
  color: #fff;
}

.explore-hero-photo-caption small {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  opacity: 0.84;
  text-transform: uppercase;
}

html:lang(th) .explore-hero-photo-caption small {
  letter-spacing: 0.025em;
  text-transform: none;
}

.explore-hero-photo-caption strong {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 780;
  line-height: 1.35;
}

.explore-hero-device-card {
  position: absolute;
  z-index: 3;
  top: 28px;
  right: 18px;
  width: 49%;
  height: 634px;
  padding: 4px;
  border: 1px solid rgba(47, 125, 112, 0.12);
  border-radius: 45px;
  background: #f7faf8;
  box-shadow: 0 32px 72px rgba(35, 71, 64, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.9);
  transform: rotate(3.2deg);
  animation: explore-hero-device-float 7.5s ease-in-out infinite;
}

.explore-hero-device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 40px;
  background: #f6f7f4;
}

.explore-hero-device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.explore-hero-device-glass {
  position: absolute;
  z-index: 2;
  top: -20%;
  bottom: -20%;
  left: -72%;
  width: 46%;
  background: linear-gradient(104deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
  transform: skewX(-15deg);
  animation: explore-hero-device-shine 8.5s ease-in-out infinite;
}

.explore-hero-search-card,
.explore-hero-place-card {
  position: absolute;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(35, 71, 64, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.explore-hero-search-card {
  z-index: 5;
  top: 222px;
  left: -18px;
  width: min(348px, 55%);
  min-height: 92px;
  gap: 12px;
  padding: 15px 16px 15px 14px;
  border-radius: 24px;
  animation: explore-hero-card-float 5.8s ease-in-out infinite;
}

.explore-hero-search-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--explore-teal-dark);
  border-radius: 15px;
  background: var(--explore-teal-soft);
}

.explore-hero-search-copy,
.explore-hero-place-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.explore-hero-search-copy small {
  overflow: hidden;
  color: var(--explore-muted);
  font-size: 0.63rem;
  font-weight: 680;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explore-hero-search-copy strong {
  overflow: hidden;
  color: var(--explore-ink);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explore-hero-search-copy em {
  overflow: hidden;
  color: var(--explore-teal);
  font-size: 0.59rem;
  font-style: normal;
  font-weight: 760;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explore-hero-search-arrow {
  margin-left: auto;
  color: var(--explore-teal);
  font-size: 1.08rem;
  font-weight: 850;
}

.explore-hero-place-card {
  z-index: 4;
  bottom: 18px;
  left: 12px;
  width: min(370px, 58%);
  min-height: 86px;
  gap: 11px;
  padding: 14px 16px 14px 14px;
  border-radius: 23px;
  animation: explore-hero-card-float 6.8s -2s ease-in-out infinite;
}

.explore-hero-place-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--explore-coral);
  border-radius: 13px;
  background: var(--explore-coral-soft);
}

.explore-hero-place-copy strong {
  color: var(--explore-ink);
  font-size: 0.75rem;
  font-weight: 820;
  line-height: 1.35;
}

.explore-hero-place-copy small {
  overflow: hidden;
  color: var(--explore-muted);
  font-size: 0.6rem;
  font-weight: 680;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explore-hero-place-count {
  display: inline-flex;
  align-items: baseline;
  margin-left: auto;
  color: var(--explore-teal-dark);
  font-size: 1.28rem;
  font-weight: 850;
  line-height: 1;
}

.explore-hero-place-count span {
  color: var(--explore-coral);
  font-size: 0.78rem;
}

@keyframes explore-hero-photo-breathe {
  0%, 100% { transform: scale(1.03); }
  50% { transform: scale(1.07) translate3d(-4px, -2px, 0); }
}

@keyframes explore-hero-device-float {
  0%, 100% { transform: rotate(4.8deg) translate3d(0, 0, 0); }
  50% { transform: rotate(2.8deg) translate3d(0, -10px, 0); }
}

@keyframes explore-hero-device-shine {
  0%, 54% { transform: translateX(0) skewX(-15deg); opacity: 0; }
  62% { opacity: 0.85; }
  76%, 100% { transform: translateX(470%) skewX(-15deg); opacity: 0; }
}

@keyframes explore-hero-card-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes explore-hero-sparkle {
  0%, 100% { opacity: 0.55; transform: scale(0.86) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.08) rotate(12deg); }
}

@media (hover: hover) and (min-width: 901px) {
  .explore-hero-visual-v2:hover .explore-hero-photo-card {
    box-shadow: 0 38px 74px rgba(35, 71, 64, 0.2);
    transform: rotate(-1.4deg) translate3d(-3px, -4px, 0);
  }

  .explore-hero-visual-v2:hover .explore-hero-device-card {
    transform: rotate(2deg) translate3d(5px, -7px, 0);
  }
}

@media (max-width: 1100px) {
  .explore-hero-v2 .explore-hero-grid {
    grid-template-columns: minmax(0, 0.84fr) minmax(460px, 1.16fr);
    gap: 46px;
  }

  .explore-hero-v2 .explore-hero-visual-v2 {
    min-height: 630px;
  }

  .explore-hero-photo-card {
    height: 482px;
  }

  .explore-hero-device-card {
    height: 588px;
  }
}

@media (max-width: 900px) {
  .explore-hero-v2 {
    padding-top: 60px;
  }

  .explore-hero-v2 .explore-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .explore-hero-v2 .explore-hero-copy {
    max-width: 720px;
    padding-bottom: 0;
  }

  .explore-hero-v2 .explore-hero-visual-v2 {
    min-height: 620px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .explore-container {
    width: min(100% - 36px, 1240px);
  }

  .explore-hero-v2 {
    padding: 52px 0 72px;
  }

  .explore-hero-v2 .explore-hero-grid {
    min-height: 0;
    gap: 4px;
  }

  .explore-hero-v2 .explore-hero-copy {
    padding: 0;
  }

  .explore-hero-v2 .explore-hero-eyebrow {
    font-size: 0.61rem;
  }

  .explore-hero-v2 h1 {
    max-width: 100%;
    margin-top: 18px;
    font-size: clamp(2.7rem, 12.5vw, 4rem);
    letter-spacing: -0.065em;
    line-height: 1.12;
  }

  html:lang(th) .explore-hero-v2 h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 12.2vw, 3.8rem);
    letter-spacing: -0.07em;
    line-height: 1.22;
  }

  .explore-hero-v2 .explore-hero-intro {
    margin-top: 22px;
    font-size: 0.93rem;
    line-height: 1.88;
  }

  html:lang(th) .explore-hero-v2 .explore-hero-intro {
    line-height: 1.96;
  }

  .explore-hero-v2 .explore-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin-top: 25px;
  }

  .explore-hero-v2 .explore-button {
    width: 100%;
    min-height: 54px;
  }

  .explore-hero-proof {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
    margin-top: 18px;
  }

  .explore-hero-proof > span {
    width: fit-content;
    max-width: 100%;
    font-size: 0.63rem;
  }

  .explore-hero-v2 .explore-hero-visual-v2 {
    width: 100%;
    min-height: 478px;
    margin-top: 21px;
  }

  .explore-hero-photo-card {
    top: 56px;
    left: 0;
    width: 72%;
    height: 370px;
    border-radius: 25px;
  }

  .explore-hero-photo-caption {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .explore-hero-photo-caption small {
    font-size: 0.52rem;
  }

  .explore-hero-photo-caption strong {
    font-size: 0.92rem;
  }

  .explore-hero-device-card {
    top: 4px;
    right: 3%;
    width: 45%;
    min-width: 154px;
    height: 438px;
    padding: 3px;
    border-radius: 31px;
    transform: rotate(4.5deg);
  }

  .explore-hero-device-screen {
    border-radius: 25px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .explore-hero-photo-card img,
  .explore-hero-device-card,
  .explore-hero-device-glass,
  .explore-hero-search-card,
  .explore-hero-place-card {
    animation: none;
  }
}

/*
 * Explore type refinement
 *
 * Keep the headline compact and intentional on wide screens, then give Thai
 * enough line-height for tone marks and vowels to breathe on small screens.
 * The explicit hero spans provide a stable editorial line break in both
 * languages; the remaining headings use balanced browser wrapping.
 */
body.explore-site {
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-kerning: normal;
}

html:lang(th) body.explore-site {
  font-family: "Noto Sans Thai", "Leelawadee UI", "Tahoma", Inter, ui-sans-serif, system-ui, sans-serif;
}

.explore-hero-v2 h1,
.explore-section h2,
.explore-cta-card h2 {
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
  text-wrap: balance;
}

.explore-hero-v2 h1 {
  max-width: 590px;
  margin-top: 20px;
  font-size: clamp(3rem, 4.9vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

html:lang(th) .explore-hero-v2 h1 {
  max-width: 590px;
  font-family: "Noto Sans Thai", "Leelawadee UI", "Tahoma", sans-serif;
  font-size: clamp(2.65rem, 4.55vw, 4.65rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  word-break: normal;
  overflow-wrap: normal;
}

.explore-section h2,
.explore-cta-card h2 {
  max-width: 720px;
  font-size: clamp(2.25rem, 3.8vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

html:lang(th) .explore-section h2,
html:lang(th) .explore-cta-card h2 {
  max-width: 720px;
  font-family: "Noto Sans Thai", "Leelawadee UI", "Tahoma", sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.34;
  word-break: normal;
  overflow-wrap: normal;
}

@media (max-width: 900px) {
  .explore-hero-v2 h1,
  html:lang(th) .explore-hero-v2 h1 {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  .explore-hero-v2 h1 {
    max-width: 100%;
    margin-top: 17px;
    font-size: clamp(2.4rem, 10.4vw, 3.35rem);
    letter-spacing: -0.04em;
    line-height: 1.12;
  }

  html:lang(th) .explore-hero-v2 h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10.3vw, 3.25rem);
    letter-spacing: -0.01em;
    line-height: 1.3;
  }

  .explore-section h2,
  .explore-cta-card h2 {
    max-width: 100%;
    font-size: clamp(2rem, 9.2vw, 2.8rem);
    letter-spacing: -0.035em;
    line-height: 1.17;
  }

  html:lang(th) .explore-section h2,
  html:lang(th) .explore-cta-card h2 {
    font-size: clamp(1.85rem, 8.4vw, 2.65rem);
    letter-spacing: -0.01em;
    line-height: 1.38;
  }
}

/* Final cascade for the directory refresh. Keep this after the legacy
 * directory rules so the new search-first composition remains authoritative. */
section.explore-directory-section-v2 {
  padding: clamp(96px, 11vw, 160px) 0 clamp(108px, 12vw, 164px);
  background:
    radial-gradient(circle at 12% 6%, rgba(229, 242, 238, 0.9), transparent 24rem),
    radial-gradient(circle at 88% 30%, rgba(253, 233, 227, 0.56), transparent 28rem),
    #fbfaf7;
}

div.explore-directory-heading-v2 {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

div.explore-directory-heading-v2 h2 {
  max-width: 800px;
  margin: 17px auto 0;
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.55rem, 4.6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
  text-wrap: balance;
}

html:lang(th) div.explore-directory-heading-v2 h2 {
  max-width: 760px;
  font-family: "Noto Sans Thai", "Leelawadee UI", "Tahoma", sans-serif;
  font-size: clamp(2.3rem, 4.25vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.34;
  word-break: normal;
  overflow-wrap: normal;
}

div.explore-directory-heading-v2 > p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--explore-muted);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.8;
  text-wrap: pretty;
}

html:lang(th) div.explore-directory-heading-v2 > p {
  line-height: 1.95;
}

@media (max-width: 820px) {
  section.explore-directory-section-v2 {
    padding: 92px 0 112px;
  }
}

@media (max-width: 620px) {
  section.explore-directory-section-v2 {
    padding: 78px 0 92px;
  }

  div.explore-directory-heading-v2 {
    gap: 14px;
  }

  div.explore-directory-heading-v2 h2 {
    max-width: 100%;
    margin-top: 13px;
    font-size: clamp(2.1rem, 10.3vw, 3.1rem);
    letter-spacing: -0.035em;
    line-height: 1.18;
  }

  html:lang(th) div.explore-directory-heading-v2 h2 {
    font-size: clamp(1.95rem, 9.4vw, 2.95rem);
    letter-spacing: -0.01em;
    line-height: 1.42;
  }

  div.explore-directory-heading-v2 > p {
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.86;
  }

  html:lang(th) div.explore-directory-heading-v2 > p {
    line-height: 1.98;
  }
}

/* Directory v4: a reference-informed service rail for faster scanning. */
section.explore-directory-section-v2 .directory-filter-rail {
  width: min(100%, 1160px);
  margin: 17px auto 0;
  padding: 16px 18px 15px;
  border: 1px solid rgba(47, 130, 117, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 30px rgba(35, 71, 64, 0.045);
}

section.explore-directory-section-v2 .directory-filter-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

section.explore-directory-section-v2 .directory-filter-heading h3 {
  margin: 6px 0 0;
  color: var(--explore-ink);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

html:lang(th) section.explore-directory-section-v2 .directory-filter-heading h3 {
  letter-spacing: -0.01em;
  line-height: 1.5;
}

section.explore-directory-section-v2 .directory-filter-heading > span {
  color: var(--explore-muted);
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: right;
}

section.explore-directory-section-v2 .directory-filter-rail .directory-category-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 13px;
  padding: 2px 2px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

section.explore-directory-section-v2 .directory-filter-rail .directory-category-list::-webkit-scrollbar {
  display: none;
}

section.explore-directory-section-v2 .directory-filter-rail .directory-category-button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border-radius: 12px;
  scroll-snap-align: start;
}

section.explore-directory-section-v2 .directory-filter-rail .directory-category-icon {
  width: 27px;
  height: 27px;
  border-radius: 9px;
}

section.explore-directory-section-v2 .directory-filter-rail .directory-category-label {
  min-height: 0;
  font-size: 0.69rem;
  line-height: 1.35;
  white-space: nowrap;
}

section.explore-directory-section-v2 .directory-filter-rail .directory-category-button small {
  margin-left: 1px;
  font-size: 0.56rem;
}

section.explore-directory-section-v2 .directory-filter-rail .directory-category-button:hover:not(:disabled),
section.explore-directory-section-v2 .directory-filter-rail .directory-category-button:focus-visible {
  transform: translateY(-1px);
}

@media (max-width: 820px) {
  section.explore-directory-section-v2 .directory-filter-rail {
    margin-top: 15px;
  }
}

@media (max-width: 620px) {
  section.explore-directory-section-v2 .directory-filter-rail {
    margin-top: 14px;
    padding: 14px 13px 13px;
    border-radius: 18px;
  }

  section.explore-directory-section-v2 .directory-filter-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  section.explore-directory-section-v2 .directory-filter-heading h3 {
    margin-top: 5px;
    font-size: 0.98rem;
  }

  section.explore-directory-section-v2 .directory-filter-heading > span {
    font-size: 0.65rem;
    text-align: left;
  }

  section.explore-directory-section-v2 .directory-filter-rail .directory-category-list {
    gap: 7px;
    margin-top: 10px;
    margin-right: -13px;
    padding-right: 13px;
  }

  section.explore-directory-section-v2 .directory-filter-rail .directory-category-button {
    min-height: 42px;
    padding-right: 11px;
  }
}

/* Header parity: the explore page uses the same navigation system as Home. */
.explore-site .container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.explore-site .site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  border-bottom: 1px solid #c9e2dc;
  background: rgba(245, 247, 246, 0.95);
  box-shadow: none;
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.explore-site .site-header.is-scrolled {
  background: rgba(245, 247, 246, 0.98);
  box-shadow: 0 7px 28px rgba(47, 125, 112, 0.08);
}

.explore-site .nav-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.explore-site .brand {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--explore-ink);
}

.explore-site .brand-mark {
  position: relative;
  display: grid;
  width: 60px;
  height: 48px;
  place-items: center;
  overflow: visible;
}

.explore-site .brand-mark img {
  width: 60px;
  height: auto;
  max-width: none;
}

.explore-site .desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid rgba(47, 125, 112, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 4px 14px rgba(47, 125, 112, 0.04);
}

.explore-site .desktop-nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  color: var(--explore-muted);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.explore-site .desktop-nav a:hover,
.explore-site .desktop-nav a:focus-visible,
.explore-site .desktop-nav a[aria-current="page"] {
  color: var(--explore-teal-dark);
  background: #fff;
  box-shadow: 0 4px 12px rgba(47, 125, 112, 0.08);
}

.explore-site .nav-actions {
  display: flex;
  align-items: center;
  gap: 11px;
}

.explore-site .language-picker {
  position: relative;
}

.explore-site .language-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  color: var(--explore-muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(47, 125, 112, 0.18);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 750;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.explore-site .language-toggle:hover,
.explore-site .language-picker.is-open .language-toggle {
  color: var(--explore-ink);
  background: #fff;
  border-color: rgba(47, 125, 112, 0.4);
  box-shadow: 0 6px 18px rgba(47, 125, 112, 0.08);
}

.explore-site .language-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 125, 112, 0.14), 0 6px 18px rgba(47, 125, 112, 0.08);
}

.explore-site .language-globe {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
  opacity: 0.82;
}

.explore-site .language-globe::before,
.explore-site .language-globe::after {
  position: absolute;
  content: "";
}

.explore-site .language-globe::before {
  top: 2px;
  right: 3px;
  bottom: 2px;
  left: 3px;
  border-right: 1px solid currentColor;
  border-left: 1px solid currentColor;
  border-radius: 50%;
}

.explore-site .language-globe::after {
  top: 7px;
  right: 1px;
  left: 1px;
  height: 1px;
  background: currentColor;
}

.explore-site .language-chevron {
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 1.5px solid var(--explore-teal);
  border-bottom: 1.5px solid var(--explore-teal);
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 180ms var(--explore-ease);
}

.explore-site .language-picker.is-open .language-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.explore-site .language-options {
  position: absolute;
  z-index: 40;
  top: calc(100% + 9px);
  right: 0;
  width: 170px;
  padding: 5px;
  border: 1px solid rgba(47, 125, 112, 0.2);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(40, 75, 67, 0.14), 0 3px 10px rgba(40, 75, 67, 0.05);
  animation: explore-language-popover-in 160ms var(--explore-ease) both;
}

.explore-site .language-option {
  display: grid;
  min-height: 42px;
  grid-template-columns: 27px 1fr 16px;
  align-items: center;
  width: 100%;
  gap: 7px;
  padding: 0 9px;
  color: var(--explore-muted);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 10px;
  text-align: left;
  transition: background 160ms ease, color 160ms ease;
}

.explore-site .language-option.is-active {
  color: var(--explore-teal-dark);
  background: var(--explore-teal-soft);
}

.explore-site .language-option:hover:not(.is-active),
.explore-site .language-option:focus-visible {
  color: var(--explore-ink);
  background: #f5faf8;
}

.explore-site .language-option:focus-visible {
  outline: 2px solid rgba(47, 125, 112, 0.28);
  outline-offset: -2px;
}

.explore-site .language-option-code {
  color: var(--explore-teal);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.explore-site .language-option-name {
  font-size: 12px;
  font-weight: 750;
}

.explore-site .language-check {
  color: var(--explore-teal);
  font-size: 14px;
  font-weight: 900;
  opacity: 0;
}

.explore-site .language-option.is-active .language-check {
  opacity: 1;
}

@keyframes explore-language-popover-in {
  from {
    opacity: 0;
    transform: translateY(-5px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.explore-site .app-store-badge {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 9px;
  padding: 7px 18px 8px 14px;
  color: #fff;
  background: #202522;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  box-shadow: 0 12px 25px rgba(32, 37, 34, 0.15);
  transition: transform 180ms var(--explore-ease), background 180ms ease, box-shadow 180ms var(--explore-ease);
}

.explore-site .app-store-badge:hover {
  color: #fff;
  background: #121815;
  box-shadow: 0 16px 31px rgba(32, 37, 34, 0.22);
  transform: translateY(-2px);
}

.explore-site .app-store-badge-small {
  min-height: 42px;
  padding: 5px 13px 6px 10px;
  border-radius: 9px;
}

.explore-site .app-store-glyph {
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Symbol", sans-serif;
  font-size: 27px;
  line-height: 1;
}

.explore-site .app-store-badge-small .app-store-glyph {
  font-size: 21px;
}

.explore-site .app-store-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  white-space: nowrap;
}

.explore-site .app-store-copy small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 8px;
  font-weight: 550;
  line-height: 1.2;
}

.explore-site .app-store-copy strong {
  color: #fff;
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.explore-site .app-store-badge-small .app-store-copy strong {
  font-size: 12px;
}

.explore-site .app-store-badge-small .app-store-copy small {
  font-size: 6px;
}

.explore-site .menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: var(--explore-ink);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(47, 125, 112, 0.18);
  border-radius: 12px;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.explore-site .menu-toggle:hover,
.explore-site .menu-toggle:focus-visible {
  background: #fff;
  border-color: rgba(47, 125, 112, 0.4);
  box-shadow: 0 6px 16px rgba(47, 125, 112, 0.08);
}

.explore-site .menu-toggle:focus-visible {
  outline: none;
}

.explore-site .menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms var(--explore-ease);
}

.explore-site .menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.explore-site .menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.explore-site .mobile-menu {
  display: none;
}

.explore-site .line-oa-header-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 180ms var(--explore-ease), background 180ms ease, box-shadow 180ms ease;
}

.explore-site .line-oa-header-link:hover {
  background: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

.explore-site .line-oa-header-link:focus-visible,
.explore-site .line-oa-menu-link:focus-visible {
  outline: 3px solid rgba(6, 199, 85, 0.28);
  outline-offset: 3px;
}

.explore-site .line-oa-header-link img,
.explore-site .line-oa-menu-link img {
  display: block;
  width: auto;
  height: 36px;
  max-width: none;
}

.explore-site .line-oa-menu-link {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  width: calc(100% - 8px);
  margin: 10px 4px 1px;
  padding: 8px 10px;
  color: var(--explore-ink);
  background: #f0faf5;
  border: 1px solid rgba(6, 199, 85, 0.2);
  border-radius: 14px;
}

.explore-site .line-oa-menu-link:hover {
  color: var(--explore-ink);
  background: #e6f7ed;
}

.explore-site .line-oa-menu-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: #06c755;
  border-radius: 11px;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: -0.06em;
}

.explore-site .line-oa-menu-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.explore-site .line-oa-menu-copy strong {
  color: var(--explore-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.explore-site .line-oa-menu-copy small {
  color: var(--explore-muted);
  font-size: 10px;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .explore-site .nav-actions {
    gap: 8px;
  }
}

@media (max-width: 820px) {
  .explore-site .container {
    width: min(100% - 40px, 620px);
  }

  .explore-site .site-header {
    min-height: 68px;
  }

  .explore-site .nav-inner {
    min-height: 68px;
    gap: 12px;
  }

  .explore-site .brand {
    width: 48px;
    height: 48px;
  }

  .explore-site .brand-mark {
    width: 58px;
    height: 44px;
  }

  .explore-site .brand-mark img {
    width: 58px;
  }

  .explore-site .desktop-nav,
  .explore-site .nav-actions > .app-store-badge,
  .explore-site .nav-actions > .line-oa-header-link {
    display: none;
  }

  .explore-site .nav-actions {
    gap: 8px;
    margin-left: auto;
  }

  .explore-site .language-toggle {
    min-height: 44px;
    gap: 7px;
    padding: 0 10px;
    font-size: 13px;
  }

  .explore-site .language-options {
    top: calc(100% + 8px);
    width: 184px;
    padding: 6px;
    border-radius: 17px;
  }

  .explore-site .language-option {
    min-height: 48px;
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    gap: 8px;
    padding: 0 10px;
    border-radius: 12px;
  }

  .explore-site .language-option-name {
    font-size: 13px;
  }

  .explore-site .menu-toggle {
    display: inline-flex;
  }

  .explore-site .mobile-menu {
    display: none;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    gap: 4px;
    margin: 0 15px 12px;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(47, 125, 112, 0.08);
    transition: max-height 260ms var(--explore-ease), padding 260ms var(--explore-ease), border-color 180ms ease;
  }

  .explore-site .mobile-menu:not([hidden]) {
    display: flex;
    max-height: 440px;
    padding-top: 8px;
    padding-bottom: 12px;
    border-color: rgba(47, 125, 112, 0.16);
  }

  .explore-site .mobile-menu a:not(.button):not(.app-store-badge) {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 0 14px;
    color: var(--explore-muted);
    border-radius: 13px;
    font-size: 15px;
    font-weight: 700;
  }

  .explore-site .mobile-menu a:not(.button):not(.app-store-badge):hover,
  .explore-site .mobile-menu a:not(.button):not(.app-store-badge):focus-visible,
  .explore-site .mobile-menu a[aria-current="page"] {
    color: var(--explore-teal-dark);
    background: var(--explore-teal-soft);
  }

  .explore-site .mobile-menu .app-store-badge {
    width: fit-content;
    min-height: 54px;
    margin: 10px 4px 1px;
  }

  .explore-site .line-oa-menu-link {
    min-height: 60px;
  }

  .explore-site .line-oa-menu-link:hover,
  .explore-site .line-oa-menu-link:focus-visible {
    background: #e6f7ed;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 520px) {
  .explore-site .container {
    width: min(100% - 32px, 450px);
  }

  .explore-site .nav-inner {
    min-height: 64px;
  }

  .explore-site .site-header {
    min-height: 64px;
  }

  .explore-site .brand-mark,
  .explore-site .brand-mark img {
    width: 54px;
  }

  .explore-site .brand-mark {
    height: 42px;
  }

  .explore-site .language-toggle {
    padding-right: 9px;
    padding-left: 9px;
  }

  .explore-site .language-globe {
    width: 15px;
    height: 15px;
  }
}

/* Keep every service visible on desktop; keep the compact rail scrollable on touch screens. */
@media (min-width: 821px) {
  section.explore-directory-section-v2 .directory-filter-rail {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  section.explore-directory-section-v2 .directory-filter-rail .directory-category-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    scroll-snap-type: none;
  }

  section.explore-directory-section-v2 .directory-filter-rail .directory-category-button {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }

  section.explore-directory-section-v2 .directory-filter-rail .directory-category-label {
    white-space: normal;
  }
}

/* Directory auth card: a clear, compact connection status pattern. */
section.explore-directory-section-v2 .directory-auth-card {
  position: relative;
  width: min(100%, 1160px);
  max-width: 1160px;
  min-height: 0;
  margin: 30px auto 0;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(47, 130, 117, 0.18);
  border-radius: 24px;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 250, 0.94));
  box-shadow: 0 18px 44px rgba(35, 71, 64, 0.075);
}

section.explore-directory-section-v2 .directory-auth-card[data-state="friend-required"],
section.explore-directory-section-v2 .directory-auth-card[data-state="error"] {
  border-color: rgba(237, 121, 101, 0.22);
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 247, 0.96));
}

section.explore-directory-section-v2 .directory-auth-icon {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.12);
  border-radius: 18px;
  background: linear-gradient(145deg, #e8f5f1, #dcefe9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

section.explore-directory-section-v2 .directory-auth-icon.directory-icon-line::before {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

section.explore-directory-section-v2 .directory-auth-icon.directory-icon-line::after {
  position: absolute;
  right: -5px;
  bottom: -5px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin: 0;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--explore-teal);
  content: "✓";
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  transform: none;
  box-shadow: 0 4px 10px rgba(47, 130, 117, 0.2);
}

section.explore-directory-section-v2 .directory-auth-icon[data-state="checking"]::after,
section.explore-directory-section-v2 .directory-auth-icon[data-state="setup"]::after {
  border-color: rgba(47, 130, 117, 0.22);
  border-top-color: var(--explore-teal);
  background: #fff;
  content: "";
  animation: directory-spin 850ms linear infinite;
}

section.explore-directory-section-v2 .directory-auth-icon[data-state="anonymous"]::after {
  color: var(--explore-teal-dark);
  background: #fff;
  content: "+";
  font-size: 0.95rem;
}

section.explore-directory-section-v2 .directory-auth-icon[data-state="friend-required"]::after,
section.explore-directory-section-v2 .directory-auth-icon[data-state="error"]::after {
  background: var(--explore-coral);
  content: "!";
  box-shadow: 0 4px 10px rgba(237, 121, 101, 0.2);
}

section.explore-directory-section-v2 .directory-auth-copy {
  min-width: 0;
}

section.explore-directory-section-v2 .directory-auth-copy > .explore-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--explore-teal-dark);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1.2;
}

section.explore-directory-section-v2 .directory-auth-copy > .explore-eyebrow::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

section.explore-directory-section-v2 .directory-auth-heading-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

section.explore-directory-section-v2 .directory-auth-copy h3 {
  margin: 0;
  color: var(--explore-ink);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

section.explore-directory-section-v2 .directory-auth-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.14);
  border-radius: 999px;
  background: rgba(229, 242, 238, 0.88);
  font-size: 0.64rem;
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
}

section.explore-directory-section-v2 .directory-auth-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

section.explore-directory-section-v2 .directory-auth-status[data-state="checking"]::before,
section.explore-directory-section-v2 .directory-auth-status[data-state="setup"]::before {
  background: transparent;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  animation: directory-spin 850ms linear infinite;
}

section.explore-directory-section-v2 .directory-auth-status[data-state="friend-required"],
section.explore-directory-section-v2 .directory-auth-status[data-state="error"] {
  color: #bf5f52;
  border-color: rgba(237, 121, 101, 0.18);
  background: var(--explore-coral-soft);
}

section.explore-directory-section-v2 .directory-auth-copy p:last-child {
  max-width: 760px;
  margin: 6px 0 0;
  color: var(--explore-muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

section.explore-directory-section-v2 .directory-auth-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

section.explore-directory-section-v2 .directory-auth-button,
section.explore-directory-section-v2 .directory-auth-card .directory-text-action {
  min-height: 44px;
  border-radius: 13px;
  font-size: 0.73rem;
  line-height: 1.25;
}

section.explore-directory-section-v2 .directory-auth-button {
  min-width: 158px;
  padding-inline: 17px;
}

section.explore-directory-section-v2 .directory-auth-card .directory-text-action {
  min-width: 0;
  padding: 0 14px;
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.73rem;
  text-decoration: none;
  text-underline-offset: 0;
}

section.explore-directory-section-v2 .directory-auth-card .directory-text-action:hover,
section.explore-directory-section-v2 .directory-auth-card .directory-text-action:focus-visible {
  color: var(--explore-teal-dark);
  border-color: rgba(47, 130, 117, 0.32);
  background: var(--explore-teal-soft);
}

section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-button {
  min-width: 0;
  min-height: 42px;
  padding-inline: 15px;
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.18);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(35, 71, 64, 0.06);
  font-size: 0.72rem;
}

section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-button:hover,
section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-button:focus-visible {
  color: var(--explore-teal-dark);
  border-color: rgba(47, 130, 117, 0.34);
  background: var(--explore-teal-soft);
}

html:lang(th) section.explore-directory-section-v2 .directory-auth-copy > .explore-eyebrow {
  letter-spacing: 0;
  line-height: 1.35;
}

html:lang(th) section.explore-directory-section-v2 .directory-auth-copy h3 {
  letter-spacing: -0.02em;
  line-height: 1.45;
}

html:lang(th) section.explore-directory-section-v2 .directory-auth-copy p:last-child {
  line-height: 1.85;
}

@media (max-width: 820px) {
  section.explore-directory-section-v2 .directory-auth-card {
    width: 100%;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border-radius: 21px;
  }

  section.explore-directory-section-v2 .directory-auth-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  section.explore-directory-section-v2 .directory-auth-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  section.explore-directory-section-v2 .directory-auth-card {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 27px;
    padding: 18px 16px 16px;
    border-radius: 20px;
  }

  section.explore-directory-section-v2 .directory-auth-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  section.explore-directory-section-v2 .directory-auth-heading-row {
    gap: 8px;
    margin-top: 7px;
  }

  section.explore-directory-section-v2 .directory-auth-copy h3 {
    font-size: 1.08rem;
  }

  section.explore-directory-section-v2 .directory-auth-copy p:last-child {
    margin-top: 7px;
    font-size: 0.76rem;
  }

  section.explore-directory-section-v2 .directory-auth-actions {
    grid-column: 1;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  section.explore-directory-section-v2 .directory-auth-button,
  section.explore-directory-section-v2 .directory-auth-card .directory-text-action {
    width: 100%;
  }

  section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-actions {
    align-items: flex-start;
    flex-direction: row;
  }

  section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-button {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  section.explore-directory-section-v2 .directory-auth-icon[data-state="checking"]::after,
  section.explore-directory-section-v2 .directory-auth-icon[data-state="setup"]::after,
  section.explore-directory-section-v2 .directory-auth-status[data-state="checking"]::before,
  section.explore-directory-section-v2 .directory-auth-status[data-state="setup"]::before {
    animation: none;
  }
}

/* Keep the verified state on the same grid as every other auth state. */
section.explore-directory-section-v2 .directory-auth-card[data-state] {
  display: grid;
}

section.explore-directory-section-v2 .directory-auth-card[data-state] .directory-auth-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

section.explore-directory-section-v2 .directory-auth-card[data-state="verified"] .directory-auth-copy p:last-child {
  overflow: visible;
  max-width: 760px;
  text-overflow: clip;
  white-space: normal;
}

@media (max-width: 820px) {
  section.explore-directory-section-v2 .directory-auth-card[data-state] .directory-auth-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
}

@media (max-width: 620px) {
  section.explore-directory-section-v2 .directory-auth-card[data-state] .directory-auth-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }
}

/* Authentication is an on-demand dialog now; keep the directory usable as a
 * preview so a locked control can explain the next step instead of appearing
 * disabled. */
section.explore-directory-section-v2 .directory-auth-card[hidden] {
  display: none !important;
}

section.explore-directory-section-v2 .directory-workspace[data-auth-locked="true"] .directory-search-input,
section.explore-directory-section-v2 .directory-workspace[data-auth-locked="true"] .directory-location-button,
section.explore-directory-section-v2 .directory-workspace[data-auth-locked="true"] .directory-sort-control,
section.explore-directory-section-v2 .directory-workspace[data-auth-locked="true"] .directory-map-canvas,
section.explore-directory-section-v2 .directory-filter-rail .directory-category-button[data-auth-required="true"] {
  cursor: pointer;
}

section.explore-directory-section-v2 .directory-search-input input[readonly] {
  cursor: pointer;
}

section.explore-directory-section-v2 .directory-auth-dialog {
  position: fixed;
  z-index: 60;
  width: min(520px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  max-height: min(720px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  color: var(--explore-ink);
  border: 0;
  border-radius: 28px;
  background: transparent;
  box-shadow: 0 30px 90px rgba(24, 45, 40, 0.24);
}

section.explore-directory-section-v2 .directory-auth-dialog[open] .directory-auth-dialog-surface {
  animation: directory-dialog-in 260ms var(--explore-ease) both;
}

section.explore-directory-section-v2 .directory-auth-dialog::backdrop {
  background: rgba(27, 43, 39, 0.4);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

section.explore-directory-section-v2 .directory-auth-dialog-surface {
  position: relative;
  max-height: min(720px, calc(100dvh - 32px));
  overflow-y: auto;
  padding: 30px;
  border: 1px solid rgba(47, 130, 117, 0.16);
  border-radius: 28px;
  background: #fffdfb;
  scrollbar-width: thin;
}

section.explore-directory-section-v2 .directory-auth-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--explore-muted);
  border: 1px solid rgba(47, 130, 117, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

section.explore-directory-section-v2 .directory-auth-dialog-close span,
section.explore-directory-section-v2 .directory-auth-dialog-close span::after {
  display: block;
  width: 15px;
  height: 1.7px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

section.explore-directory-section-v2 .directory-auth-dialog-close span {
  transform: rotate(45deg);
}

section.explore-directory-section-v2 .directory-auth-dialog-close span::after {
  transform: rotate(90deg);
}

section.explore-directory-section-v2 .directory-auth-dialog-close:hover,
section.explore-directory-section-v2 .directory-auth-dialog-close:focus-visible {
  color: #fff;
  border-color: var(--explore-teal);
  background: var(--explore-teal);
}

section.explore-directory-section-v2 .directory-auth-dialog-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-right: 42px;
}

section.explore-directory-section-v2 .directory-auth-dialog-icon {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.12);
  border-radius: 18px;
  background: var(--explore-teal-soft);
}

section.explore-directory-section-v2 .directory-auth-dialog-icon.directory-icon-line::before {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

section.explore-directory-section-v2 .directory-auth-dialog-icon.directory-icon-line::after {
  position: absolute;
  right: -5px;
  bottom: -5px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin: 0;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--explore-teal);
  content: "+";
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  transform: none;
}

section.explore-directory-section-v2 .directory-auth-dialog[data-state="checking"] .directory-auth-dialog-icon::after,
section.explore-directory-section-v2 .directory-auth-dialog[data-state="setup"] .directory-auth-dialog-icon::after {
  border-color: rgba(47, 130, 117, 0.22);
  border-top-color: var(--explore-teal);
  background: #fff;
  content: "";
  animation: directory-spin 850ms linear infinite;
}

section.explore-directory-section-v2 .directory-auth-dialog[data-state="friend-required"] .directory-auth-dialog-icon::after,
section.explore-directory-section-v2 .directory-auth-dialog[data-state="error"] .directory-auth-dialog-icon::after {
  background: var(--explore-coral);
  content: "!";
}

section.explore-directory-section-v2 .directory-auth-dialog-heading .explore-eyebrow {
  margin: 2px 0 0;
  color: var(--explore-teal-dark);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1.3;
}

section.explore-directory-section-v2 .directory-auth-dialog-heading h3 {
  max-width: 360px;
  margin: 8px 0 0;
  color: var(--explore-ink);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

section.explore-directory-section-v2 .directory-auth-dialog-heading > div > p:last-child {
  max-width: 390px;
  margin: 10px 0 0;
  color: var(--explore-muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

section.explore-directory-section-v2 .directory-auth-dialog-actions {
  display: grid;
  gap: 9px;
  margin-top: 27px;
}

section.explore-directory-section-v2 .directory-auth-dialog-actions > a,
section.explore-directory-section-v2 .directory-auth-dialog-actions > button {
  width: 100%;
  min-height: 48px;
  border-radius: 13px;
  font-size: 0.78rem;
}

section.explore-directory-section-v2 .directory-auth-dialog-actions .directory-text-action {
  padding-inline: 14px;
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.17);
  background: #fff;
  text-decoration: none;
}

section.explore-directory-section-v2 .directory-auth-dialog-actions .directory-text-action:hover,
section.explore-directory-section-v2 .directory-auth-dialog-actions .directory-text-action:focus-visible {
  color: var(--explore-teal-dark);
  border-color: rgba(47, 130, 117, 0.34);
  background: var(--explore-teal-soft);
}

section.explore-directory-section-v2 .directory-auth-dialog-note {
  margin: 20px 0 0;
  padding-top: 17px;
  color: var(--explore-muted);
  border-top: 1px solid rgba(47, 130, 117, 0.12);
  font-size: 0.68rem;
  line-height: 1.75;
}

section.explore-directory-section-v2 .directory-auth-dialog-dismiss {
  display: block;
  margin: 14px auto 0;
  padding: 5px 9px;
  color: var(--explore-muted);
  border: 0;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 760;
}

section.explore-directory-section-v2 .directory-auth-dialog-dismiss:hover,
section.explore-directory-section-v2 .directory-auth-dialog-dismiss:focus-visible {
  color: var(--explore-teal-dark);
}

html:lang(th) section.explore-directory-section-v2 .directory-auth-dialog-heading .explore-eyebrow {
  letter-spacing: 0;
  line-height: 1.45;
}

html:lang(th) section.explore-directory-section-v2 .directory-auth-dialog-heading h3 {
  letter-spacing: -0.02em;
  line-height: 1.45;
}

html:lang(th) section.explore-directory-section-v2 .directory-auth-dialog-heading > div > p:last-child,
html:lang(th) section.explore-directory-section-v2 .directory-auth-dialog-note {
  line-height: 1.95;
}

@media (max-width: 620px) {
  section.explore-directory-section-v2 .directory-auth-dialog {
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 12px);
    margin: 0;
    border-radius: 25px 25px 0 0;
  }

  section.explore-directory-section-v2 .directory-auth-dialog-surface {
    max-height: calc(100dvh - 12px);
    padding: 27px 20px 23px;
    border-radius: 25px 25px 0 0;
  }

  section.explore-directory-section-v2 .directory-auth-dialog-close {
    top: 14px;
    right: 14px;
  }

  section.explore-directory-section-v2 .directory-auth-dialog-heading {
    gap: 13px;
    padding-right: 35px;
  }

  section.explore-directory-section-v2 .directory-auth-dialog-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  section.explore-directory-section-v2 .directory-auth-dialog-heading h3 {
    margin-top: 6px;
    font-size: 1.28rem;
  }

  section.explore-directory-section-v2 .directory-auth-dialog-heading > div > p:last-child {
    margin-top: 8px;
    font-size: 0.79rem;
  }

  section.explore-directory-section-v2 .directory-auth-dialog-actions {
    margin-top: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  section.explore-directory-section-v2 .directory-auth-dialog[open] .directory-auth-dialog-surface,
  section.explore-directory-section-v2 .directory-auth-dialog[data-state="checking"] .directory-auth-dialog-icon::after,
  section.explore-directory-section-v2 .directory-auth-dialog[data-state="setup"] .directory-auth-dialog-icon::after {
    animation: none;
  }
}

/* Opening hours v2 — show today's answer first, then the complete week. */
section.explore-directory-section-v2 .directory-hours {
  margin-top: 14px;
  padding: 10px 12px 0;
  overflow: hidden;
  border: 1px solid rgba(47, 130, 117, 0.16);
  border-radius: 16px;
  background: linear-gradient(145deg, #f2faf7 0%, #fffdfb 78%);
}

section.explore-directory-section-v2 .directory-place-dialog-hours .directory-hours {
  margin-top: 0;
}

section.explore-directory-section-v2 .directory-hours > summary,
section.explore-directory-section-v2 .directory-map-popup .directory-hours > summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 10px;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  color: var(--explore-ink);
  cursor: pointer;
  list-style: none;
}

section.explore-directory-section-v2 .directory-hours > summary::-webkit-details-marker,
section.explore-directory-section-v2 .directory-map-popup .directory-hours > summary::-webkit-details-marker {
  display: none;
}

section.explore-directory-section-v2 .directory-hours > summary::after,
section.explore-directory-section-v2 .directory-hours[open] > summary::after,
section.explore-directory-section-v2 .directory-map-popup .directory-hours > summary::after,
section.explore-directory-section-v2 .directory-map-popup .directory-hours[open] > summary::after {
  display: none;
  content: none;
}

section.explore-directory-section-v2 .directory-hours-icon,
section.explore-directory-section-v2 .directory-hours-empty-icon {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: var(--explore-teal-dark);
  border-radius: 11px;
  background: rgba(47, 130, 117, 0.12);
}

section.explore-directory-section-v2 .directory-hours-icon::before,
section.explore-directory-section-v2 .directory-hours-empty-icon::before {
  width: 13px;
  height: 13px;
  border-width: 1.7px;
}

section.explore-directory-section-v2 .directory-hours-icon::after,
section.explore-directory-section-v2 .directory-hours-empty-icon::after {
  width: 1.7px;
  height: 5px;
}

section.explore-directory-section-v2 .directory-hours-summary-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

section.explore-directory-section-v2 .directory-hours-label {
  color: var(--explore-teal-dark);
  font-size: 0.62rem;
  font-weight: 820;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

section.explore-directory-section-v2 .directory-hours-today {
  overflow: hidden;
  color: var(--explore-ink);
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

section.explore-directory-section-v2 .directory-hours-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  color: var(--explore-muted);
  border: 1px solid rgba(92, 111, 105, 0.13);
  border-radius: 999px;
  background: #f5f7f6;
  font-size: 0.59rem;
  font-weight: 820;
  line-height: 1.2;
  white-space: nowrap;
}

section.explore-directory-section-v2 .directory-hours-status.is-open {
  color: var(--explore-teal-dark);
  border-color: rgba(47, 130, 117, 0.18);
  background: rgba(47, 130, 117, 0.12);
}

section.explore-directory-section-v2 .directory-hours-status.is-closed {
  color: #a95249;
  border-color: rgba(218, 108, 93, 0.2);
  background: rgba(244, 132, 111, 0.13);
}

section.explore-directory-section-v2 .directory-hours-chevron {
  width: 8px;
  height: 8px;
  margin-right: 2px;
  border-right: 1.7px solid var(--explore-teal-dark);
  border-bottom: 1.7px solid var(--explore-teal-dark);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms var(--explore-ease);
}

section.explore-directory-section-v2 .directory-hours[open] .directory-hours-chevron {
  transform: rotate(225deg) translateY(-1px);
}

section.explore-directory-section-v2 .directory-hours-panel {
  margin-top: 10px;
  padding: 13px 0 8px;
  border-top: 1px solid rgba(47, 130, 117, 0.12);
}

section.explore-directory-section-v2 .directory-hours-panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 7px;
}

section.explore-directory-section-v2 .directory-hours-panel-header strong {
  color: var(--explore-ink);
  font-size: 0.66rem;
  font-weight: 820;
  line-height: 1.4;
}

section.explore-directory-section-v2 .directory-hours-panel-header span {
  color: var(--explore-muted);
  font-size: 0.58rem;
  line-height: 1.4;
}

section.explore-directory-section-v2 .directory-hours-list,
section.explore-directory-section-v2 .directory-map-popup .directory-hours-list {
  display: grid;
  gap: 2px;
  padding: 0;
  color: var(--explore-muted);
  font-size: 0.65rem;
  line-height: 1.45;
}

section.explore-directory-section-v2 .directory-hours-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  min-height: 31px;
  padding: 6px 9px;
  border-radius: 9px;
}

section.explore-directory-section-v2 .directory-hours-row.is-today {
  color: var(--explore-teal-dark);
  background: rgba(47, 130, 117, 0.1);
  font-weight: 800;
}

section.explore-directory-section-v2 .directory-hours-row span:last-child {
  color: var(--explore-ink);
  font-weight: 750;
  text-align: right;
}

section.explore-directory-section-v2 .directory-hours-row.is-today span:last-child {
  color: var(--explore-teal-dark);
}

section.explore-directory-section-v2 .directory-hours-empty {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 0;
  padding: 13px 12px;
  border: 1px solid rgba(47, 130, 117, 0.14);
  border-radius: 16px;
  background: linear-gradient(145deg, #f2faf7 0%, #fffdfb 78%);
}

section.explore-directory-section-v2 .directory-hours-empty-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

section.explore-directory-section-v2 .directory-hours-empty-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

section.explore-directory-section-v2 .directory-hours-empty-copy strong {
  color: var(--explore-ink);
  font-size: 0.73rem;
  font-weight: 820;
  line-height: 1.4;
}

section.explore-directory-section-v2 .directory-hours-empty-copy span {
  color: var(--explore-muted);
  font-size: 0.67rem;
  line-height: 1.65;
}

html:lang(th) section.explore-directory-section-v2 .directory-hours-label,
html:lang(th) section.explore-directory-section-v2 .directory-hours-today,
html:lang(th) section.explore-directory-section-v2 .directory-hours-panel-header,
html:lang(th) section.explore-directory-section-v2 .directory-hours-row,
html:lang(th) section.explore-directory-section-v2 .directory-hours-empty-copy {
  letter-spacing: 0;
}

html:lang(th) section.explore-directory-section-v2 .directory-hours-today,
html:lang(th) section.explore-directory-section-v2 .directory-hours-row,
html:lang(th) section.explore-directory-section-v2 .directory-hours-empty-copy span {
  line-height: 1.75;
}

@media (max-width: 620px) {
  section.explore-directory-section-v2 .directory-hours {
    padding: 9px 10px 0;
    border-radius: 15px;
  }

  section.explore-directory-section-v2 .directory-hours > summary,
  section.explore-directory-section-v2 .directory-map-popup .directory-hours > summary {
    grid-template-columns: 32px minmax(0, 1fr) auto 9px;
    gap: 8px;
    min-height: 41px;
  }

  section.explore-directory-section-v2 .directory-hours-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 10px;
  }

  section.explore-directory-section-v2 .directory-hours-today {
    font-size: 0.68rem;
  }

  section.explore-directory-section-v2 .directory-hours-status {
    padding-inline: 7px;
    font-size: 0.56rem;
  }

  section.explore-directory-section-v2 .directory-hours-panel {
    margin-top: 9px;
    padding-top: 11px;
  }

  section.explore-directory-section-v2 .directory-hours-row {
    min-height: 30px;
    padding: 5px 7px;
  }
}

/* Search protection: keep the directory visible as context, but make the next action obvious. */
section.explore-directory-section-v2 .directory-protected-area {
  position: relative;
  isolation: isolate;
}

section.explore-directory-section-v2 .directory-protected-area[data-auth-locked="true"] > .directory-filter-rail,
section.explore-directory-section-v2 .directory-protected-area[data-auth-locked="true"] > .directory-workspace {
  filter: blur(2.5px);
  opacity: 0.72;
  pointer-events: none;
  user-select: none;
  transition: filter 220ms ease, opacity 220ms ease;
}

section.explore-directory-section-v2 .directory-protected-area[data-auth-locked="false"] > .directory-filter-rail,
section.explore-directory-section-v2 .directory-protected-area[data-auth-locked="false"] > .directory-workspace {
  filter: none;
  opacity: 1;
  transition: filter 220ms ease, opacity 220ms ease;
}

section.explore-directory-section-v2 .directory-auth-overlay[hidden] {
  display: none !important;
}

section.explore-directory-section-v2 .directory-auth-overlay {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
  border: 1px solid rgba(47, 130, 117, 0.14);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(247, 252, 250, 0.3), rgba(255, 250, 247, 0.48));
  box-shadow: 0 24px 70px rgba(35, 71, 64, 0.08);
  backdrop-filter: blur(5px) saturate(1.04);
  -webkit-backdrop-filter: blur(5px) saturate(1.04);
}

section.explore-directory-section-v2 .directory-auth-overlay-card {
  width: min(100%, 480px);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  border: 1px solid rgba(47, 130, 117, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 28px 80px rgba(35, 71, 64, 0.16), 0 5px 16px rgba(35, 71, 64, 0.05);
  backdrop-filter: blur(9px) saturate(1.08);
  -webkit-backdrop-filter: blur(9px) saturate(1.08);
}

section.explore-directory-section-v2 .directory-auth-overlay-card h3 {
  margin: 0;
  color: var(--explore-ink);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.16;
  text-wrap: balance;
}

section.explore-directory-section-v2 .directory-auth-overlay-card > p:not(.directory-auth-overlay-note) {
  max-width: 390px;
  margin: 12px auto 0;
  color: var(--explore-muted);
  font-size: 0.88rem;
  line-height: 1.75;
  text-wrap: pretty;
}

section.explore-directory-section-v2 .directory-auth-overlay-actions {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}

section.explore-directory-section-v2 .directory-auth-overlay-actions .explore-button {
  width: 100%;
  min-height: 52px;
}

section.explore-directory-section-v2 .directory-auth-overlay-actions .directory-text-action {
  min-height: 42px;
}

section.explore-directory-section-v2 .directory-auth-overlay-note {
  margin: 20px 0 0;
  padding-top: 16px;
  color: var(--explore-muted);
  border-top: 1px solid rgba(47, 130, 117, 0.12);
  font-size: 0.68rem;
  line-height: 1.7;
}

html:lang(th) section.explore-directory-section-v2 .directory-auth-overlay-card h3 {
  letter-spacing: -0.02em;
  line-height: 1.46;
}

html:lang(th) section.explore-directory-section-v2 .directory-auth-overlay-card > p:not(.directory-auth-overlay-note),
html:lang(th) section.explore-directory-section-v2 .directory-auth-overlay-note {
  line-height: 1.9;
}

@media (max-width: 820px) {
  section.explore-directory-section-v2 .directory-auth-overlay {
    padding: 24px 16px;
    border-radius: 22px;
  }

  section.explore-directory-section-v2 .directory-auth-overlay-card {
    padding: 28px 22px;
    border-radius: 24px;
  }
}

@media (max-width: 560px) {
  section.explore-directory-section-v2 .directory-auth-overlay {
    padding: 18px 12px;
    border-radius: 20px;
  }

  section.explore-directory-section-v2 .directory-auth-overlay-card {
    padding: 25px 18px 22px;
    border-radius: 21px;
  }

  section.explore-directory-section-v2 .directory-auth-overlay-card h3 {
    font-size: 1.48rem;
  }

  section.explore-directory-section-v2 .directory-auth-overlay-card > p:not(.directory-auth-overlay-note) {
    font-size: 0.82rem;
  }

  section.explore-directory-section-v2 .directory-auth-overlay-actions {
    margin-top: 20px;
  }
}

/* Map filters: keep the open-now choice close to the map context. */
section.explore-directory-section-v2 .directory-map-header-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

section.explore-directory-section-v2 .directory-map-header-actions .directory-map-status {
  max-width: none;
}

section.explore-directory-section-v2 .directory-map-filter-toggle {
  display: inline-flex;
  min-height: 36px;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.18);
  border-radius: 999px;
  background: #f4faf8;
  cursor: pointer;
  font: inherit;
  font-size: 0.67rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

section.explore-directory-section-v2 .directory-map-filter-toggle-icon {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(47, 130, 117, 0.12);
}

section.explore-directory-section-v2 .directory-map-filter-toggle:hover,
section.explore-directory-section-v2 .directory-map-filter-toggle:focus-visible {
  background: var(--explore-teal-soft);
  border-color: rgba(47, 130, 117, 0.32);
  box-shadow: 0 6px 15px rgba(47, 130, 117, 0.1);
  transform: translateY(-1px);
}

section.explore-directory-section-v2 .directory-map-filter-toggle.is-active {
  color: #fff;
  border-color: var(--explore-teal);
  background: var(--explore-teal);
  box-shadow: 0 7px 16px rgba(47, 130, 117, 0.2);
}

section.explore-directory-section-v2 .directory-map-filter-toggle.is-active .directory-map-filter-toggle-icon {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
}

section.explore-directory-section-v2 .directory-map-filter-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

section.explore-directory-section-v2 .directory-map-filter-toggle:focus-visible {
  outline: 3px solid rgba(47, 130, 117, 0.22);
  outline-offset: 2px;
}

@media (max-width: 620px) {
  section.explore-directory-section-v2 .directory-map-header {
    flex-direction: column;
    gap: 10px;
  }

  section.explore-directory-section-v2 .directory-map-header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 7px;
  }

  section.explore-directory-section-v2 .directory-map-filter-toggle {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.64rem;
  }

  section.explore-directory-section-v2 .directory-map-header-actions .directory-map-status {
    flex: 0 1 auto;
    text-align: right;
  }
}

/* Explore post-directory sections: compact editorial flow after the live search tool. */
.explore-after-search-section {
  position: relative;
}

.explore-after-search-section .explore-section-heading-split {
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.58fr);
  align-items: start;
  gap: clamp(38px, 8vw, 118px);
}

.explore-after-search-section .explore-section-heading-split h2,
.explore-after-search-section .explore-how-intro h2 {
  max-width: 760px;
  font-size: clamp(2.4rem, 4.1vw, 4.55rem);
  letter-spacing: -0.045em;
  line-height: 1.03;
  text-wrap: balance;
}

html:lang(th) .explore-after-search-section .explore-section-heading-split h2,
html:lang(th) .explore-after-search-section .explore-how-intro h2 {
  max-width: 820px;
  font-size: clamp(2.25rem, 4.25vw, 4.25rem);
  letter-spacing: -0.018em;
  line-height: 1.36;
  text-wrap: balance;
}

.explore-after-search-section .explore-section-heading-split > p,
.explore-after-search-section .explore-how-intro > p:not(.explore-eyebrow) {
  max-width: 520px;
  color: #676f6c;
  font-size: 1.02rem;
  line-height: 1.86;
  text-wrap: pretty;
}

html:lang(th) .explore-after-search-section .explore-section-heading-split > p,
html:lang(th) .explore-after-search-section .explore-how-intro > p:not(.explore-eyebrow) {
  font-size: 1rem;
  line-height: 2.02;
}

.explore-service-grid-v2 {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
  gap: 18px;
  margin-top: clamp(40px, 6vw, 72px);
}

.explore-service-grid-v2 .explore-service-card {
  min-height: auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.explore-service-card-lead {
  justify-content: space-between;
  min-height: 470px;
  padding: clamp(30px, 4vw, 46px);
}

.explore-service-card-lead h3 {
  max-width: 460px;
  margin-top: clamp(54px, 8vw, 96px);
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

html:lang(th) .explore-service-card-lead h3 {
  font-size: clamp(1.9rem, 3.2vw, 3.05rem);
  letter-spacing: -0.015em;
  line-height: 1.36;
}

.explore-service-card-lead p {
  max-width: 455px;
  margin-top: 18px;
}

.explore-service-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
  padding: 15px;
  border: 1px solid rgba(47, 130, 117, 0.16);
  border-radius: 8px;
  background: #f6fbf9;
}

.explore-service-preview > span {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--explore-teal-dark);
  border-radius: 8px;
  background: var(--explore-teal-soft);
}

.explore-service-preview strong,
.explore-service-preview small {
  display: block;
}

.explore-service-preview strong {
  color: var(--explore-ink);
  font-size: 0.92rem;
  font-weight: 820;
  line-height: 1.35;
}

.explore-service-preview small {
  margin-top: 3px;
  color: var(--explore-muted);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.55;
}

.explore-service-stack {
  display: grid;
  grid-template-rows: 1fr 1fr auto;
  gap: 14px;
}

.explore-service-card-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: clamp(26px, 3vw, 34px);
}

.explore-service-card-row .explore-service-icon {
  width: 54px;
  height: 54px;
  margin-top: 2px;
  border-radius: 8px;
}

.explore-service-card-row h3 {
  max-width: 560px;
  margin-top: 18px;
  font-size: clamp(1.4rem, 2.1vw, 2rem);
}

.explore-service-card-row p {
  max-width: 610px;
}

.explore-service-note {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding: 19px 20px;
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.16);
  border-radius: 8px;
  background: #edf7f4;
}

.explore-service-note > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: #fff;
}

.explore-service-note p {
  margin: 0;
  color: var(--explore-teal-dark);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.72;
}

html:lang(th) .explore-service-note p {
  line-height: 1.9;
}

.explore-how-section.explore-after-search-section {
  background: #f8f5f1;
}

.explore-how-grid {
  align-items: center;
}

.explore-how-intro .explore-button {
  width: auto;
  margin-top: 30px;
}

.explore-workflow-panel {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(47, 130, 117, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 60px rgba(35, 71, 64, 0.08);
}

.explore-workflow-panel .explore-steps {
  border-top: 0;
}

.explore-workflow-panel .explore-steps li {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
}

.explore-workflow-panel .explore-steps li:first-child {
  padding-top: 0;
}

.explore-workflow-panel .explore-steps h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  letter-spacing: -0.025em;
}

html:lang(th) .explore-workflow-panel .explore-steps h3 {
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.explore-workflow-panel .explore-steps p {
  max-width: 620px;
  margin-top: 7px;
}

.explore-step-index {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--explore-teal-dark);
  border: 1px solid rgba(47, 130, 117, 0.18);
  border-radius: 50%;
  background: var(--explore-teal-soft);
  font-size: 0.66rem;
  letter-spacing: 0;
}

.explore-workflow-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
  padding: 18px 20px;
  color: #fff;
  border-radius: 8px;
  background: var(--explore-teal-dark);
}

.explore-workflow-summary strong,
.explore-workflow-summary span {
  display: block;
}

.explore-workflow-summary strong {
  font-size: 0.96rem;
  font-weight: 820;
  line-height: 1.4;
}

.explore-workflow-summary span {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.65;
}

.explore-cta-card-v2 {
  align-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 36%),
    var(--explore-teal-dark);
}

.explore-cta-card-v2 h2 {
  max-width: 800px;
  font-size: clamp(2.25rem, 4vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
}

html:lang(th) .explore-cta-card-v2 h2 {
  font-size: clamp(2rem, 4.15vw, 4.05rem);
  letter-spacing: -0.015em;
  line-height: 1.38;
}

@media (max-width: 900px) {
  .explore-after-search-section .explore-section-heading-split,
  .explore-service-grid-v2,
  .explore-how-grid {
    grid-template-columns: 1fr;
  }

  .explore-service-card-lead {
    min-height: auto;
  }

  .explore-service-card-lead h3 {
    margin-top: 56px;
  }

  .explore-cta-card-v2 {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .explore-after-search-section .explore-section-heading-split h2,
  .explore-after-search-section .explore-how-intro h2,
  .explore-cta-card-v2 h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  html:lang(th) .explore-after-search-section .explore-section-heading-split h2,
  html:lang(th) .explore-after-search-section .explore-how-intro h2,
  html:lang(th) .explore-cta-card-v2 h2 {
    font-size: clamp(1.86rem, 9.2vw, 2.7rem);
    line-height: 1.42;
  }

  .explore-service-grid-v2 {
    gap: 12px;
    margin-top: 32px;
  }

  .explore-service-card-lead,
  .explore-service-card-row {
    padding: 24px 20px;
  }

  .explore-service-card-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 15px;
  }

  .explore-service-card-row .explore-service-icon,
  .explore-service-note > span {
    width: 44px;
    height: 44px;
  }

  .explore-service-card-lead h3 {
    margin-top: 42px;
  }

  .explore-service-preview {
    align-items: flex-start;
    margin-top: 28px;
  }

  .explore-service-note {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 16px;
  }

  .explore-workflow-panel {
    padding: 20px 18px;
  }

  .explore-workflow-panel .explore-steps li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding: 19px 0;
  }

  .explore-step-index {
    width: 32px;
    height: 32px;
    font-size: 0.62rem;
  }

  .explore-workflow-summary {
    align-items: flex-start;
    flex-direction: column;
    padding: 17px;
  }

  .explore-how-intro .explore-button {
    width: 100%;
  }
}

/* Home-aligned Petola design system — final Explore compatibility layer. */
html[lang="th"] body.explore-site {
  font-family: "LINE Seed Sans TH", Thonburi, "Noto Sans Thai", "Leelawadee UI", ui-sans-serif, system-ui, sans-serif;
}

.explore-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.explore-nav-icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.explore-container {
  width: min(1280px, calc(100% - 64px));
}

.announcement {
  position: relative;
  z-index: 40;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 30px;
  color: var(--explore-ink);
  background: linear-gradient(108deg, #fff3e6 0%, #edf6f1 25%, #dcefe8 52%, #e8f4ef 74%, #ffede7 100%);
  font-size: 14.5px;
}

.announcement::before,
.announcement::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  filter: blur(16px);
}

.announcement::before {
  top: -130px;
  left: 37%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, .44);
}

.announcement::after {
  right: 7%;
  bottom: -120px;
  width: 250px;
  height: 250px;
  background: rgba(238, 118, 91, .09);
}

.announcement-inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: calc(100% - 64px);
  max-width: none;
  min-height: 64px;
  align-items: center;
  gap: 14px;
}

.announcement-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--explore-coral);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 5px 16px rgba(73, 66, 60, .08);
}

.announcement-copy {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 5px;
}

.announcement-copy strong,
.announcement a {
  font-weight: 800;
}

.announcement-copy > span {
  color: rgba(40, 39, 36, .72);
  font-weight: 500;
}

.announcement a {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 0 4px 0 18px;
  white-space: nowrap;
}

.announcement-arrow {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  transition: background 180ms ease, transform 180ms var(--explore-ease);
}

.announcement a:hover .announcement-arrow {
  background: rgba(255, 255, 255, .68);
  transform: translateX(3px);
}

.site-header {
  position: sticky;
  z-index: 35;
  top: 0;
  height: 86px;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: border 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--explore-line);
  box-shadow: 0 10px 30px rgba(40, 39, 36, .05);
}

.nav-inner {
  display: grid;
  height: 86px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand strong {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.explore-site .desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.explore-site .desktop-nav a {
  position: relative;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  color: var(--explore-ink);
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.explore-site .desktop-nav a:hover,
.explore-site .desktop-nav a:focus-visible,
.explore-site .desktop-nav a[aria-current="page"] {
  border: 0;
  border-radius: 0;
  color: var(--explore-teal-dark);
  background: transparent;
  box-shadow: none;
}

.explore-site .desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--explore-teal);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.explore-site .desktop-nav a:hover::after,
.explore-site .desktop-nav a:focus-visible::after,
.explore-site .desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-toggle {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--explore-line);
  border-radius: 999px;
  color: var(--explore-ink);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.language-options {
  top: calc(100% + 10px);
  width: 190px;
  padding: 8px;
  border: 1px solid var(--explore-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--explore-shadow);
}

.language-option {
  grid-template-columns: 32px 1fr auto;
  gap: 8px;
  padding: 11px;
  border-radius: 10px;
}

.language-option:hover,
.language-option.is-active {
  background: var(--explore-teal-soft);
}

.language-check {
  display: grid;
  color: var(--explore-teal);
}

.app-store-badge-art,
.app-store-badge-art img {
  display: block;
  width: auto;
  height: 40px;
}

html[lang="th"] .app-store-badge-en,
html[lang="en"] .app-store-badge-th {
  display: none;
}

.menu-toggle {
  display: none;
}

.explore-hero {
  padding: 12px 24px 104px;
  background: #fff;
}

.explore-hero-grid {
  width: min(1640px, 100%);
  min-height: 700px;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  gap: clamp(54px, 7vw, 112px);
  padding: 88px clamp(44px, 6vw, 96px);
  border-radius: 42px;
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 255, 255, .82), transparent 26%),
    linear-gradient(145deg, #fffaf6 0%, #f7f0ea 100%);
}

.explore-hero h1,
.explore-section h2,
.explore-cta-card h2,
.explore-directory-heading h2 {
  font-family: inherit;
  font-weight: 800;
}

.explore-hero h1 {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(3.5rem, 4.8vw, 5.2rem);
  letter-spacing: -.055em;
  line-height: 1.04;
  text-wrap: balance;
}

html:lang(th) .explore-hero h1 {
  max-width: 700px;
  font-family: "LINE Seed Sans TH", Thonburi, sans-serif;
  font-size: clamp(3.15rem, 4.7vw, 4.8rem);
  letter-spacing: 0;
  line-height: 1.18;
}

.explore-hero-title-accent {
  color: var(--explore-teal-dark);
}

.explore-eyebrow {
  color: var(--explore-teal-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

html:lang(th) .explore-eyebrow {
  letter-spacing: 0;
}

.explore-hero-intro {
  max-width: 590px;
  margin-top: 24px;
  color: var(--explore-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

html:lang(th) .explore-hero-intro {
  line-height: 1.88;
}

.explore-button {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 13px;
  font-size: .9rem;
  font-weight: 800;
}

.explore-button-primary {
  background: var(--explore-coral);
  box-shadow: 0 14px 28px rgba(216, 95, 71, .18);
}

.explore-button-primary:hover,
.explore-button-primary:focus-visible {
  background: #d85f47;
  box-shadow: 0 18px 34px rgba(216, 95, 71, .22);
}

.explore-button-quiet {
  color: var(--explore-ink);
  border-color: rgba(40, 39, 36, .22);
  background: rgba(255, 255, 255, .66);
}

.explore-hero-proof {
  margin-top: 28px;
  color: var(--explore-muted);
}

.explore-hero-visual-v2 {
  min-height: 540px;
}

.explore-hero-photo-card {
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(46, 54, 49, .14);
}

.explore-hero-device-card,
.explore-hero-search-card,
.explore-hero-place-card {
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(46, 54, 49, .14);
}

section.explore-directory-section-v2 {
  padding: 118px 0 126px;
  background: #f6f2ee;
}

section.explore-directory-section-v2 .explore-directory-heading-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .62fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 50px;
}

section.explore-directory-section-v2 .explore-directory-heading-v2 h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(3.1rem, 4.5vw, 4.75rem);
  letter-spacing: -.05em;
  line-height: 1.08;
}

html:lang(th) section.explore-directory-section-v2 .explore-directory-heading-v2 h2 {
  letter-spacing: 0;
  line-height: 1.22;
}

section.explore-directory-section-v2 .explore-directory-heading-v2 > p {
  color: var(--explore-muted);
  font-size: 1rem;
  line-height: 1.8;
}

section.explore-directory-section-v2 .directory-auth-card,
section.explore-directory-section-v2 .directory-filter-rail,
section.explore-directory-section-v2 .directory-search-panel,
section.explore-directory-section-v2 .directory-map-panel,
section.explore-directory-section-v2 .directory-auth-overlay-card {
  border-color: rgba(40, 39, 36, .1);
  border-radius: 26px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 54px rgba(49, 44, 40, .07);
}

section.explore-directory-section-v2 .directory-filter-rail {
  padding: 26px;
}

section.explore-directory-section-v2 .directory-filter-heading h3,
section.explore-directory-section-v2 .directory-panel-heading h3,
section.explore-directory-section-v2 .directory-map-header h3 {
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -.035em;
}

html:lang(th) section.explore-directory-section-v2 .directory-filter-heading h3,
html:lang(th) section.explore-directory-section-v2 .directory-panel-heading h3,
html:lang(th) section.explore-directory-section-v2 .directory-map-header h3 {
  letter-spacing: 0;
}

section.explore-directory-section-v2 .directory-category-list {
  gap: 10px;
}

section.explore-directory-section-v2 .directory-category-button {
  min-height: 78px;
  padding: 12px 15px;
  border-color: rgba(40, 39, 36, .1);
  border-radius: 18px;
  color: var(--explore-ink);
  background: #fff;
}

section.explore-directory-section-v2 .directory-category-button:hover,
section.explore-directory-section-v2 .directory-category-button:focus-visible {
  border-color: rgba(47, 125, 112, .34);
  background: #f4faf7;
  transform: translateY(-2px);
}

section.explore-directory-section-v2 .directory-category-button.is-active {
  color: #fff;
  border-color: var(--explore-teal);
  background: var(--explore-teal);
  box-shadow: 0 14px 30px rgba(47, 125, 112, .18);
}

section.explore-directory-section-v2 .directory-category-icon {
  border-radius: 14px;
}

section.explore-directory-section-v2 .directory-workspace {
  gap: 18px;
  margin-top: 18px;
}

section.explore-directory-section-v2 .directory-search-input,
section.explore-directory-section-v2 .directory-location-button,
section.explore-directory-section-v2 .directory-sort-control {
  border-radius: 14px;
}

section.explore-directory-section-v2 .directory-location-button {
  color: #fff;
  border-color: var(--explore-teal);
  background: var(--explore-teal);
}

section.explore-directory-section-v2 .directory-map-canvas {
  border-radius: 18px;
}

.explore-after-search-section {
  padding: 120px 0;
}

.explore-service-grid-v2 .explore-service-card,
.explore-service-preview,
.explore-service-note,
.explore-workflow-panel,
.explore-workflow-summary,
.explore-cta-card-v2 {
  border-radius: 26px;
}

.explore-service-grid-v2 .explore-service-card {
  border: 1px solid rgba(40, 39, 36, .1);
  background: #fff;
  box-shadow: 0 16px 44px rgba(49, 44, 40, .05);
}

.explore-service-card-row .explore-service-icon,
.explore-service-note > span,
.explore-service-preview > span {
  border-radius: 16px;
}

.explore-how-section.explore-after-search-section {
  background: #f6f2ee;
}

.explore-cta-section {
  padding: 40px 0 0;
}

.explore-cta-card-v2 {
  min-height: 480px;
  padding: 80px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .18), transparent 26%),
    var(--explore-coral);
}

.explore-footer {
  color: #fff;
  background: #292b28;
}

@media (max-width: 1100px) {
  .explore-site .desktop-nav {
    gap: 18px;
  }

  .explore-hero-grid {
    gap: 48px;
    padding-inline: 48px;
  }
}

@media (max-width: 900px) {
  .explore-container {
    width: min(100% - 36px, 720px);
  }

  .announcement-copy > span,
  .explore-site .desktop-nav,
  .nav-download {
    display: none;
  }

  .nav-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    position: relative;
    display: grid;
  }

  .explore-hero {
    padding-inline: 18px;
  }

  .explore-hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 66px 38px 52px;
    border-radius: 30px;
  }

  .explore-hero-copy {
    max-width: 700px;
  }

  .explore-hero-visual-v2 {
    width: min(100%, 650px);
    min-height: 520px;
    margin-inline: auto;
  }

  section.explore-directory-section-v2 .explore-directory-heading-v2 {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  section.explore-directory-section-v2 .directory-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 78px;
  }

  .explore-container {
    width: min(100% - 24px, 520px);
  }

  .announcement {
    margin-bottom: 6px;
    border-radius: 18px;
  }

  .announcement-inner {
    width: calc(100% - 20px);
    min-height: 44px;
    gap: 8px;
    font-size: 9px;
  }

  .announcement-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .announcement a {
    min-height: 32px;
    gap: 3px;
    padding: 0;
  }

  .site-header,
  .nav-inner {
    height: 70px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 18px;
  }

  .language-toggle {
    min-height: 40px;
    padding-inline: 11px;
  }

  .language-toggle [data-language-label] {
    display: none;
  }

  .explore-hero {
    padding: 8px 8px 76px;
  }

  .explore-hero-grid {
    gap: 34px;
    padding: 50px 18px 34px;
    border-radius: 25px;
  }

  .explore-hero h1,
  html:lang(th) .explore-hero h1 {
    font-size: clamp(2.75rem, 12.7vw, 3.7rem);
    line-height: 1.14;
  }

  .explore-hero-intro {
    font-size: .95rem;
    line-height: 1.72;
  }

  .explore-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .explore-button {
    width: 100%;
  }

  .explore-hero-proof {
    align-items: flex-start;
    flex-direction: column;
  }

  .explore-hero-visual-v2 {
    min-height: 410px;
  }

  section.explore-directory-section-v2 {
    padding: 78px 0 84px;
  }

  section.explore-directory-section-v2 .explore-directory-heading-v2 h2 {
    font-size: clamp(2.5rem, 11vw, 3.25rem);
  }

  section.explore-directory-section-v2 .directory-auth-card,
  section.explore-directory-section-v2 .directory-filter-rail,
  section.explore-directory-section-v2 .directory-search-panel,
  section.explore-directory-section-v2 .directory-map-panel,
  section.explore-directory-section-v2 .directory-auth-overlay-card {
    border-radius: 22px;
  }

  section.explore-directory-section-v2 .directory-filter-rail,
  section.explore-directory-section-v2 .directory-search-panel,
  section.explore-directory-section-v2 .directory-map-panel {
    padding: 18px;
  }

  section.explore-directory-section-v2 .directory-category-list {
    grid-template-columns: 1fr 1fr;
  }

  section.explore-directory-section-v2 .directory-category-button {
    min-height: 88px;
    align-items: flex-start;
    flex-direction: column;
  }

  .explore-after-search-section {
    padding: 82px 0;
  }

  .explore-service-grid-v2 .explore-service-card,
  .explore-workflow-panel {
    border-radius: 22px;
  }

  .explore-cta-card-v2 {
    min-height: 440px;
    padding: 58px 24px;
    border-radius: 0;
  }

  .explore-cta-section .explore-container {
    width: 100%;
  }
}

/* Strict Home header contract. Keep this final so legacy Explore styles cannot drift. */
html[lang="th"] body.explore-site .site-header,
html[lang="th"] body.explore-site .site-header * {
  font-family: "LINE Seed Sans TH", Thonburi, "Noto Sans Thai", "Leelawadee UI", ui-sans-serif, system-ui, sans-serif;
}

body.explore-site .site-header {
  position: sticky;
  z-index: 35;
  top: 0;
  width: 100%;
  height: 86px;
  min-height: 86px;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: rgba(255, 255, 255, .92);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

body.explore-site .site-header.is-scrolled {
  border-bottom-color: var(--explore-line);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 30px rgba(40, 39, 36, .05);
}

body.explore-site .site-header .nav-inner {
  display: grid;
  width: min(1280px, calc(100% - 64px));
  height: 86px;
  min-height: 86px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: normal;
  gap: 24px;
  margin-inline: auto;
  padding: 0;
}

body.explore-site .site-header .brand {
  display: inline-flex;
  width: fit-content;
  height: auto;
  min-height: 0;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: var(--explore-ink);
}

body.explore-site .site-header .brand > img {
  display: block;
  width: 44px;
  height: 44px;
  max-width: 44px;
  object-fit: contain;
}

body.explore-site .site-header .brand > strong {
  display: inline;
  color: var(--explore-ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.2;
}

body.explore-site .site-header .desktop-nav {
  display: flex;
  width: auto;
  min-height: 0;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.explore-site .site-header .desktop-nav a {
  position: relative;
  display: block;
  min-height: 0;
  align-items: initial;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  color: var(--explore-ink);
  background: transparent;
  box-shadow: none;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.72;
}

body.explore-site .site-header .desktop-nav a:hover,
body.explore-site .site-header .desktop-nav a:focus-visible,
body.explore-site .site-header .desktop-nav a[aria-current="page"] {
  color: var(--explore-teal-dark);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.explore-site .site-header .desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--explore-teal);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

body.explore-site .site-header .desktop-nav a:hover::after,
body.explore-site .site-header .desktop-nav a:focus-visible::after,
body.explore-site .site-header .desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

body.explore-site .site-header .nav-actions {
  display: flex;
  width: auto;
  min-height: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 0;
}

body.explore-site .site-header .language-toggle {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--explore-line);
  border-radius: 999px;
  color: var(--explore-ink);
  background: #fff;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
}

body.explore-site .site-header .nav-download.official-app-store-badge {
  display: inline-flex;
  width: auto;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.explore-site .site-header .nav-download.official-app-store-badge:hover {
  background: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

body.explore-site .site-header .menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  body.explore-site .site-header .nav-inner {
    width: min(100% - 36px, 720px);
    grid-template-columns: 1fr auto;
  }

  body.explore-site .site-header .desktop-nav,
  body.explore-site .site-header .nav-download,
  body.explore-site .site-header .nav-download.official-app-store-badge {
    display: none;
  }

  body.explore-site .site-header .menu-toggle {
    position: relative;
    display: grid;
  }
}

@media (max-width: 620px) {
  body.explore-site .site-header,
  body.explore-site .site-header .nav-inner {
    height: 70px;
    min-height: 70px;
  }

  body.explore-site .site-header .nav-inner {
    width: min(100% - 24px, 520px);
  }

  body.explore-site .site-header .brand > img {
    width: 38px;
    height: 38px;
    max-width: 38px;
  }

  body.explore-site .site-header .brand > strong {
    font-size: 18px;
  }

  body.explore-site .site-header .language-toggle {
    min-height: 40px;
    padding-inline: 11px;
  }

  body.explore-site .site-header .language-toggle [data-language-label] {
    display: none;
  }
}

/* Explore how-it-works v3 — open editorial rhythm aligned with the Option 2 service section. */
section.explore-how-section.explore-after-search-section {
  overflow: clip;
  padding: clamp(96px, 8.8vw, 138px) 0;
  background: #f1f6f3;
}

body.explore-site .explore-how-layout-v3 {
  width: min(1384px, calc(100% - 40px));
}

.explore-how-intro-v3 {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.explore-how-intro-v3 .explore-eyebrow {
  color: var(--explore-teal-dark);
}

.explore-how-intro-v3 h2 {
  max-width: 900px;
  margin: 16px auto 0;
  color: var(--explore-ink);
  font-size: clamp(3.1rem, 5.35vw, 5.6rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1;
  text-wrap: balance;
}

html:lang(th) .explore-how-intro-v3 h2 {
  max-width: 820px;
  font-size: clamp(2.85rem, 5vw, 5.05rem);
  letter-spacing: -0.022em;
  line-height: 1.24;
}

.explore-how-intro-v3 > p:last-child {
  max-width: 690px;
  margin: 24px auto 0;
  color: #606965;
  font-size: 1rem;
  font-weight: 560;
  line-height: 1.82;
  text-wrap: pretty;
}

html:lang(th) .explore-how-intro-v3 > p:last-child {
  line-height: 1.96;
}

.explore-how-steps-v3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(52px, 6vw, 78px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(35, 71, 64, 0.15);
  border-bottom: 1px solid rgba(35, 71, 64, 0.15);
}

.explore-how-steps-v3 li {
  position: relative;
  min-width: 0;
  padding: clamp(34px, 3.5vw, 50px) clamp(24px, 3.2vw, 44px) clamp(40px, 4vw, 56px);
}

.explore-how-steps-v3 li + li {
  border-left: 1px solid rgba(35, 71, 64, 0.15);
}

.explore-how-step-index-v3 {
  display: block;
  color: var(--explore-teal-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
}

.explore-how-step-icon-v3 {
  display: grid;
  width: 60px;
  height: 60px;
  margin-top: 30px;
  place-items: center;
  color: var(--explore-teal-dark);
  border-radius: 17px;
  background: #e4f1ec;
}

.explore-how-steps-v3 h3 {
  max-width: 340px;
  margin: 25px 0 0;
  color: var(--explore-ink);
  font-size: clamp(1.32rem, 1.8vw, 1.72rem);
  font-weight: 830;
  letter-spacing: -0.035em;
  line-height: 1.32;
  text-wrap: balance;
}

html:lang(th) .explore-how-steps-v3 h3 {
  letter-spacing: -0.01em;
  line-height: 1.48;
}

.explore-how-steps-v3 p {
  max-width: 360px;
  margin: 12px 0 0;
  color: #656e6a;
  font-size: 0.9rem;
  font-weight: 580;
  line-height: 1.78;
}

html:lang(th) .explore-how-steps-v3 p {
  line-height: 1.92;
}

.explore-how-summary-v3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 30px;
  padding: 25px 28px 25px 34px;
  color: #fff;
  border-radius: 24px;
  background: var(--explore-teal-dark);
  box-shadow: 0 22px 54px rgba(35, 71, 64, 0.15);
}

.explore-how-summary-v3 > div {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 22px;
}

.explore-how-summary-v3 strong,
.explore-how-summary-v3 span {
  display: block;
}

.explore-how-summary-v3 strong {
  flex: 0 0 auto;
  font-size: 1.08rem;
  font-weight: 830;
  line-height: 1.4;
}

.explore-how-summary-v3 span {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  font-weight: 620;
  line-height: 1.7;
}

.explore-how-summary-v3 .explore-button {
  width: auto;
  min-width: 194px;
  flex: 0 0 auto;
  margin: 0;
  color: var(--explore-teal-dark);
  border-color: #fff;
  background: #fff;
}

.explore-how-summary-v3 .explore-button:hover {
  color: var(--explore-teal-dark);
  background: #f6fbf9;
}

@media (max-width: 900px) {
  body.explore-site .explore-how-layout-v3 {
    width: min(100% - 48px, 760px);
  }

  .explore-how-steps-v3 {
    grid-template-columns: 1fr;
  }

  .explore-how-steps-v3 li {
    display: grid;
    grid-template-columns: 42px 60px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
    padding: 30px 8px;
  }

  .explore-how-steps-v3 li + li {
    border-top: 1px solid rgba(35, 71, 64, 0.15);
    border-left: 0;
  }

  .explore-how-step-index-v3 {
    padding-top: 22px;
  }

  .explore-how-step-icon-v3,
  .explore-how-steps-v3 h3,
  .explore-how-steps-v3 p {
    margin-top: 0;
  }

  .explore-how-steps-v3 h3,
  .explore-how-steps-v3 p {
    grid-column: 3;
  }

  .explore-how-steps-v3 p {
    margin-top: 8px;
  }

  .explore-how-summary-v3,
  .explore-how-summary-v3 > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .explore-how-summary-v3 {
    padding: 28px;
  }

  .explore-how-summary-v3 > div {
    gap: 7px;
  }

  .explore-how-summary-v3 .explore-button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  section.explore-how-section.explore-after-search-section {
    padding: 76px 0 88px;
  }

  body.explore-site .explore-how-layout-v3 {
    width: calc(100% - 24px);
  }

  .explore-how-intro-v3 h2,
  html:lang(th) .explore-how-intro-v3 h2 {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
    line-height: 1.28;
  }

  .explore-how-intro-v3 > p:last-child {
    margin-top: 18px;
    font-size: 0.9rem;
  }

  .explore-how-steps-v3 {
    margin-top: 42px;
  }

  .explore-how-steps-v3 li {
    grid-template-columns: 30px 48px minmax(0, 1fr);
    column-gap: 11px;
    padding: 24px 0;
  }

  .explore-how-step-index-v3 {
    padding-top: 17px;
    font-size: 0.64rem;
  }

  .explore-how-step-icon-v3 {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .explore-how-steps-v3 h3 {
    font-size: 1.08rem;
  }

  .explore-how-steps-v3 p {
    font-size: 0.8rem;
  }

  .explore-how-summary-v3 {
    gap: 22px;
    margin-top: 24px;
    padding: 24px 20px;
    border-radius: 20px;
  }
}
