/* Directory search + practice detail — matches app TherapistDirectory / PracticePage */

:root {
  --agoda-blue: #2067da;
  --text: #1a1a1a;
  --muted: #666;
  --border: #e0e0e0;
  --page-bg: #f2f2f2;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.page-directory {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

button,
input,
select {
  font: inherit;
}

/* ── Search page (single document scrollbar — no nested panes) ── */
.dir-shell-root {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  background: var(--page-bg);
}

/* Header stays sticky; mode + search scroll with the page (no nested sticky) */
.dir-shell-root > .ah-header {
  position: sticky;
  top: 0;
  z-index: 40;
}

/* Continuous white chrome under header — no gray gap between tabs and search */
.dir-chrome {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Mode tabs under header */
.dir-mode-bar {
  border-top: 0;
  background: #fff;
  position: relative;
  z-index: 1;
}

/* Content column — Agoda: full-width chrome bar, centered content (~1200px) */
.dir-mode-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.dir-mode-tab {
  position: relative;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
}

.dir-mode-tab:hover {
  color: var(--text);
}

.dir-mode-tab.is-active {
  color: var(--agoda-blue);
}

.dir-mode-tab-underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--agoda-blue);
  display: none;
}

.dir-mode-tab.is-active .dir-mode-tab-underline {
  display: block;
}

.dir-mode-tab i {
  margin-right: 6px;
}

/* Top search bar (Agoda flat) — not sticky */
.dir-search-bar {
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.dir-search-form {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: visible;
}

@media (min-width: 1024px) {
  .dir-search-form {
    flex-direction: row;
    align-items: stretch;
  }
}

.dir-sf-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 6px;
  cursor: text;
  min-width: 0;
  position: relative;
}

@media (min-width: 1024px) {
  .dir-sf-field {
    border-radius: 0;
    border-right-width: 0;
  }
  .dir-sf-field--first {
    flex: 1.2 1 0;
    border-radius: 6px 0 0 6px;
  }
  .dir-sf-field--mid {
    flex: 1 1 0;
  }
  .dir-sf-field--age {
    width: 180px;
    flex: 0 0 180px;
    position: relative;
    cursor: pointer;
  }
}

.dir-sf-field--first,
.dir-sf-field--mid {
  flex: 1 1 auto;
  margin-top: 8px;
}

@media (min-width: 1024px) {
  .dir-sf-field--first,
  .dir-sf-field--mid {
    margin-top: 0;
  }
}

.dir-sf-field--age {
  margin-top: 8px;
  position: relative;
}

@media (min-width: 1024px) {
  .dir-sf-field--age {
    margin-top: 0;
  }
}

.dir-sf-icon {
  color: #888;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.dir-sf-body {
  flex: 1;
  min-width: 0;
}

.dir-sf-label {
  display: block;
  font-size: 11px;
  color: #666;
  line-height: 1;
  margin-bottom: 4px;
}

.dir-sf-input,
.dir-sf-select {
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  outline: none;
}

.dir-sf-input::placeholder {
  color: #999;
  font-weight: 400;
}

.dir-sf-field--age .dir-sf-label {
  position: absolute;
  left: 12px;
  top: 8px;
  pointer-events: none;
  margin: 0;
}

.dir-sf-field--age .dir-sf-select {
  min-height: 48px;
  padding: 18px 28px 6px 12px;
  appearance: none;
  cursor: pointer;
}

.dir-sf-chevron {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
  font-size: 12px;
}

.dir-sf-submit {
  margin-top: 8px;
  min-height: 48px;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  background: var(--agoda-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

@media (min-width: 1024px) {
  .dir-sf-submit {
    margin-top: 0;
    border-radius: 0 999px 999px 0;
  }
}

.dir-sf-submit:hover {
  opacity: 0.95;
}

/* State field (teletherapy) — hidden by default */
.dir-state-field {
  display: none;
}

.dir-shell-root.is-teletherapy .dir-location-field {
  display: none;
}

.dir-shell-root.is-teletherapy .dir-state-field {
  display: flex;
}

/* Body — centered content column (Agoda results layout) */
.dir-body {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px 8px;
}

.dir-mobile-tools {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

@media (min-width: 1024px) {
  .dir-mobile-tools {
    display: none;
  }
}

.dir-mobile-tools button {
  flex: 1;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #333;
  cursor: pointer;
}

.dir-columns {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* Filters rail — expand with page (no inner scrollbar) */
.dir-filters {
  width: 280px;
  flex-shrink: 0;
  display: none;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .dir-filters {
    display: flex;
  }
}

.dir-filters.is-open-mobile {
  display: flex;
  width: 100%;
  margin-bottom: 12px;
}

.dir-filters-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  width: 100%;
}

.dir-filters-head {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dir-filters-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.dir-filters-clear {
  font-size: 12px;
  font-weight: 600;
  color: var(--agoda-blue);
  border: 0;
  background: none;
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 4px;
}

.dir-filters-clear.is-visible {
  display: inline-flex;
}

.dir-filters-body {
  padding: 12px 16px 16px;
}

.dir-filter-section {
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.dir-filter-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.dir-filter-section h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
}

.dir-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dir-filter-list li.is-collapsed {
  display: none;
}

.dir-filter-more {
  margin-top: 8px;
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--agoda-blue);
  cursor: pointer;
}

.dir-filter-more:hover {
  text-decoration: underline;
}

.dir-filter-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 13px;
  color: #333;
}

.dir-filter-list label.is-active {
  font-weight: 600;
  color: var(--text);
}

.dir-filter-list input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Exclusive filters — radio look (not checkboxes) */
.dir-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  box-sizing: border-box;
}

.dir-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
}

.dir-radio.is-on {
  border-color: var(--agoda-blue);
}

.dir-radio.is-on::after {
  background: var(--agoda-blue);
}

.dir-filters-body select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}

/* Results column */
.dir-results {
  flex: 1;
  min-width: 0;
}

.dir-seo-block {
  margin: 0 0 16px;
}

.dir-seo-block h1 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.25;
}

.dir-seo-intro {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
  max-width: 52rem;
}

.dir-seo-related {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

.dir-seo-related span {
  font-weight: 600;
  color: #475569;
  margin-right: 2px;
}

.dir-seo-related a {
  color: #1d4ed8;
  text-decoration: none;
}

.dir-seo-related a:hover {
  text-decoration: underline;
}

.dir-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.dir-result-count {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.dir-result-count span {
  font-weight: 400;
  font-size: 14px;
  color: #666;
  margin-left: 6px;
}

/* Legacy selectors kept if older markup is cached */
.dir-results-head h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.dir-results-head h1 span {
  font-weight: 400;
  font-size: 15px;
  color: #666;
}

.dir-list {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.dir-card {
  display: flex;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  transition: background 0.12s;
  color: inherit;
  gap: 12px;
}

.dir-card:last-child {
  border-bottom: none;
}

.dir-card:hover {
  background: #fafafa;
}

.dir-card-main {
  flex: 1;
  min-width: 0;
}

.dir-card h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.dir-card:hover h2 {
  color: var(--agoda-blue);
}

.dir-card .dir-meta {
  font-size: 12px;
  color: #666;
  margin: 6px 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dir-card .dir-meta i {
  color: var(--agoda-blue);
}

.dir-card .dir-providers-line {
  font-size: 12px;
  color: #555;
  margin: 4px 0 0;
}

.dir-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.dir-chip {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f3f3f3;
  color: #444;
}

.dir-chip--tele {
  font-weight: 600;
  color: #0b6e99;
  background: #e8f7fc;
}

.dir-card-side {
  width: 170px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
  padding-left: 8px;
  border-left: 1px solid #f0f0f0;
}

@media (max-width: 639px) {
  .dir-card {
    flex-direction: column;
  }
  .dir-card-side {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    border-left: 0;
    padding-left: 0;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
  }
}

.dir-price {
  font-size: 16px;
  font-weight: 700;
}

.dir-price-muted {
  font-size: 12px;
  color: #888;
}

.dir-card-cta {
  display: inline-flex;
  height: 36px;
  align-items: center;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--agoda-blue);
  border-radius: 6px;
}

.dir-empty,
.dir-loading,
.dir-error {
  text-align: center;
  padding: 48px 16px;
  color: #666;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.dir-empty i,
.dir-loading i {
  font-size: 40px;
  color: #ccc;
  margin-bottom: 12px;
  display: block;
}

.dir-empty strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 4px;
}

.dir-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.dir-pager button {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #ccc;
  background: #fff;
  color: #555;
  cursor: pointer;
}

.dir-pager button:disabled {
  opacity: 0.4;
  cursor: default;
}

.dir-pager button:not(:disabled):hover {
  border-color: var(--agoda-blue);
  color: var(--agoda-blue);
}

.dir-pager-label {
  font-size: 13px;
  color: #666;
}

.dir-signup-cta {
  margin-top: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
  text-align: center;
}

.dir-signup-cta h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.dir-signup-cta p {
  margin: 8px auto 20px;
  font-size: 13px;
  color: #666;
  max-width: 28rem;
}

.dir-signup-cta .dir-actions {
  justify-content: center;
}

/* Map panel — fixed height, scrolls with page content */
.dir-map-panel {
  display: none;
  width: 360px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .dir-map-panel.is-visible {
    display: block;
  }
}

.dir-map-frame {
  position: relative;
  height: min(70vh, 560px);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ddd;
  background: #e8eef5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.dir-map-frame iframe,
.dir-map-frame .dir-map-placeholder,
.dir-map-frame .dir-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.dir-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #555;
  padding: 24px;
  text-align: center;
  font-size: 13px;
}

.dir-map-placeholder i {
  font-size: 28px;
  color: var(--agoda-blue);
  opacity: 0.7;
  margin-bottom: 8px;
}

.dir-map-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1100;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  color: #555;
}

/* Mobile map */
.dir-map-mobile {
  display: none;
  height: 260px;
  margin-bottom: 12px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ddd;
  flex-shrink: 0;
  position: relative;
  background: #e8eef5;
}

.dir-map-mobile .dir-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dir-map-mobile.is-visible {
  display: block;
}

@media (min-width: 1024px) {
  .dir-map-mobile {
    display: none !important;
  }
}

.dir-map-toggle {
  display: none;
}

@media (min-width: 1024px) {
  .dir-map-toggle {
    display: inline-flex;
    height: 36px;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--agoda-blue);
    border: 1px solid var(--agoda-blue);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
  }
  .dir-map-toggle:hover {
    background: #f0f6ff;
  }
}

.dir-shell-root.is-teletherapy .dir-map-toggle,
.dir-shell-root.is-teletherapy .dir-map-panel,
.dir-shell-root.is-teletherapy .dir-map-mobile {
  display: none !important;
}

.dir-place-suggest {
  position: absolute;
  left: -1px;
  right: -1px;
  top: calc(100% + 2px);
  z-index: 80;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  max-height: 280px;
  overflow: auto;
}

.dir-place-suggest button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border: 0;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  color: var(--text);
}

.dir-place-suggest button strong {
  font-weight: 650;
}

.dir-place-suggest button span {
  font-size: 12px;
  color: #666;
  font-weight: 400;
}

.dir-place-suggest button:hover,
.dir-place-suggest button.is-active {
  background: #f0f6ff;
}

.dir-map-info {
  font-family: var(--font);
  min-width: 150px;
  padding: 2px 0 4px;
}

.dir-map-info strong {
  display: block;
  font-size: 13px;
  color: #1a1a1a;
}

.dir-map-info span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #666;
}

.dir-map-info a {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--agoda-blue);
}

/* ── Practice detail page ────────────────────────────────── */
.dir-main {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 16px 48px;
}

.dir-crumb {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.dir-crumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #666;
}

.dir-crumb a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.dir-crumb a:hover {
  color: var(--agoda-blue);
}

.dir-crumb .dir-crumb-name {
  color: var(--text);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dir-map-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .dir-map-hero {
    grid-template-columns: 1.6fr 1fr;
  }
}

.dir-map-hero-main {
  position: relative;
  min-height: 220px;
  background: #e8eef5;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .dir-map-hero-main {
    min-height: 320px;
  }
}

.dir-map-hero-main iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.dir-map-hero-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  min-height: 160px;
}

.dir-map-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 16px;
  text-align: center;
}

.dir-map-tile--loc {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
}

.dir-map-tile--tele {
  background: linear-gradient(135deg, #0f766e, #2067da);
}

.dir-map-tile i {
  font-size: 24px;
  margin-bottom: 8px;
  opacity: 0.9;
}

.dir-map-tile p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.dir-map-tile a {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  opacity: 0.9;
}

.dir-practice-header {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.dir-practice-header-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .dir-practice-header-row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.dir-practice-header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.dir-practice-header .dir-meta {
  margin: 8px 0 0;
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dir-practice-header .dir-meta i {
  color: var(--agoda-blue);
}

.dir-practice-price {
  text-align: right;
  flex-shrink: 0;
}

.dir-practice-price .label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin: 0;
}

.dir-practice-price .value {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.dir-practice-links {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.dir-practice-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--agoda-blue);
  font-weight: 600;
}

.dir-practice-links a:hover {
  text-decoration: underline;
}

.dir-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

@media (min-width: 1024px) {
  .dir-detail-grid {
    grid-template-columns: 1fr 320px;
  }
}

.dir-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0;
}

.dir-section + .dir-section {
  margin-top: 16px;
}

.dir-section-head {
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
}

.dir-section-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.dir-section-head p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #888;
}

.dir-section-body {
  padding: 0;
}

.dir-book-panel {
  scroll-margin-top: 88px;
  border-color: #c5d8f5;
  box-shadow: 0 0 0 1px rgba(32, 103, 218, 0.08);
}

.dir-practice-book {
  margin: 14px 0 0;
}

.dir-section-body--pad {
  padding: 16px 20px;
  font-size: 13px;
  color: #555;
  line-height: 1.55;
}

.dir-svc-row,
.dir-provider {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid #eee;
}

.dir-svc-row:first-child,
.dir-provider:first-child {
  border-top: 0;
}

.dir-svc-row h3,
.dir-provider h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.dir-svc-row .dir-meta,
.dir-provider .dir-meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: #888;
}

.dir-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dir-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.dir-btn--primary {
  background: var(--agoda-blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.dir-btn--primary:hover {
  opacity: 0.95;
}

.dir-btn--outline {
  background: #fff;
  color: var(--agoda-blue);
  border: 1px solid var(--agoda-blue);
}

.dir-btn--outline:hover {
  background: #f0f6ff;
}

.dir-btn--lg {
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
}

.dir-aside-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.dir-aside-card h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dir-aside-card h2 i {
  color: var(--agoda-blue);
}

.dir-aside-card p {
  margin: 0;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.dir-chip--ok {
  background: #e8f6ec;
  color: #1b7a3d;
  font-weight: 600;
}

.dir-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--agoda-blue);
  margin-bottom: 12px;
}

.dir-back:hover {
  text-decoration: underline;
}

/* Page footer sits after search content */
.dir-page-footer {
  margin-top: auto;
  width: 100%;
}
