.pf-eurobonus-tool,
.pf-eurobonus-tool *,
.pf-eurobonus-tool *::before,
.pf-eurobonus-tool *::after {
  box-sizing: border-box;
}

body:has(.pf-eurobonus-tool),
body:has(.pf-asia-tool) {
  max-width: 100%;
  overflow-x: clip;
}

main.container,
.pf-nav,
.pf-nav .container,
.pf-nav .nav-content {
  min-width: 0;
}

.pf-tool-page {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.pf-tool-page > * {
  min-width: 0;
  max-width: 100%;
}

.pf-tool-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(340px, 36vw));
  gap: 1rem;
  align-items: stretch;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 15%, rgba(59, 130, 246, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(15, 27, 46, 0.96), rgba(7, 21, 43, 0.84));
  box-shadow: var(--pf-shadow);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.pf-tool-kicker {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--pf-secondary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pf-tool-hero-copy,
.pf-tool-hero-card,
.pf-tool-grid > *,
.pf-tool-card,
.pf-section-heading > *,
.pf-tool-cta > *,
.pf-tool-cta-actions {
  min-width: 0;
  max-width: 100%;
}

.pf-tool-hero h1 {
  max-width: 760px;
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.pf-tool-hero p {
  max-width: 700px;
  margin: 0;
  color: var(--pf-text-muted);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  overflow-wrap: anywhere;
}

.pf-tool-hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.pf-tool-hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--pf-text);
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pf-tool-hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  padding: 1.2rem;
  border: 1px solid rgba(52, 211, 153, 0.24);
  border-radius: 20px;
  background: rgba(3, 11, 26, 0.42);
  max-width: 100%;
}

.pf-tool-stat-label {
  color: var(--pf-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pf-tool-stat-value {
  color: var(--pf-accent);
  font-size: 3.8rem;
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 1;
}

.pf-tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 1rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.pf-tool-card {
  padding: clamp(1rem, 3vw, 1.35rem);
  border-radius: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.pf-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  min-width: 0;
}

.pf-section-heading h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.pf-section-heading p {
  margin: 0.25rem 0 0;
  color: var(--pf-text-muted);
  overflow-wrap: anywhere;
}

.pf-eb-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  min-width: 0;
}

.pf-eb-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.pf-eb-field label,
.pf-eb-field legend {
  margin: 0;
  color: var(--pf-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.pf-eb-field select,
.pf-eb-field input[type="number"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 14px;
  background: rgba(7, 21, 43, 0.84);
  color: var(--pf-text);
  padding: 0.65rem 0.75rem;
  font-weight: 750;
  color-scheme: dark;
  min-width: 0;
}

.pf-eb-field select {
  cursor: pointer;
}

.pf-eb-field select:focus,
.pf-eb-field input[type="number"]:focus,
.pf-eb-stepper button:focus,
.pf-eb-check input:focus {
  outline: none;
  border-color: var(--pf-primary);
  box-shadow: var(--pf-focus);
}

.pf-eb-segmented {
  border: 0;
  padding: 0;
}

.pf-eb-segments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  background: rgba(7, 21, 43, 0.5);
  min-width: 0;
}

.pf-eb-segments label {
  margin: 0;
}

.pf-eb-segments input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pf-eb-segments span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 11px;
  color: var(--pf-text-muted);
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
  min-width: 0;
  text-align: center;
  overflow-wrap: anywhere;
}

.pf-eb-segments input:checked + span {
  background: rgba(59, 130, 246, 0.18);
  color: var(--pf-text);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.34);
}

.pf-eb-stepper {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 0.35rem;
  min-width: 0;
}

.pf-eb-stepper input {
  text-align: center;
  -moz-appearance: textfield;
}

.pf-eb-stepper input::-webkit-outer-spin-button,
.pf-eb-stepper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.pf-eb-stepper button {
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--pf-text);
  font-size: 1.2rem;
  font-weight: 900;
}

.pf-eb-stepper button:hover {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.12);
}

.pf-eb-help {
  color: var(--pf-text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pf-eb-check {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.15rem;
  padding: 0.8rem;
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 16px;
  background: rgba(251, 191, 36, 0.07);
  color: var(--pf-text);
  font-weight: 700;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.pf-eb-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--pf-primary);
}

.pf-eb-results {
  position: sticky;
  top: 1rem;
}

.pf-eb-result-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  min-width: 0;
}

.pf-eb-result-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  min-width: 0;
}

.pf-eb-result-list dt {
  color: var(--pf-text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
}

.pf-eb-result-list dd {
  margin: 0;
  color: var(--pf-text);
  font-size: 1.05rem;
  font-weight: 900;
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}

.pf-eb-result-list .pf-eb-result-total dd {
  color: var(--pf-accent);
  font-size: 1.55rem;
}

.pf-eb-explanation {
  margin: 1rem 0 0;
  padding: 0.85rem;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.08);
  color: var(--pf-text-muted);
  overflow-wrap: anywhere;
}

.pf-eb-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
}

.pf-eb-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.pf-eb-table th,
.pf-eb-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  text-align: right;
  white-space: nowrap;
}

.pf-eb-table th:first-child,
.pf-eb-table td:first-child {
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pf-eb-table thead th {
  background: rgba(7, 21, 43, 0.72);
  color: var(--pf-text-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pf-eb-table tbody th {
  color: var(--pf-text);
  font-weight: 850;
}

.pf-eb-table tbody td {
  color: var(--pf-text-muted);
  font-weight: 750;
}

.pf-eb-table tbody tr:last-child th,
.pf-eb-table tbody tr:last-child td {
  border-bottom: 0;
}

.pf-eb-accordion .accordion-item {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(7, 21, 43, 0.42);
}

.pf-eb-accordion {
  display: grid;
  gap: 0.55rem;
}

.pf-eb-accordion .accordion-button {
  background: rgba(15, 27, 46, 0.72);
  color: var(--pf-text);
  font-weight: 850;
  box-shadow: none;
}

.pf-eb-accordion .accordion-button:not(.collapsed) {
  background: rgba(59, 130, 246, 0.14);
  color: var(--pf-text);
}

.pf-eb-accordion .accordion-button::after {
  filter: invert(1) grayscale(1);
}

.pf-eb-accordion .accordion-body {
  color: var(--pf-text-muted);
  overflow-wrap: anywhere;
}

.pf-tool-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgba(52, 211, 153, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 20%, rgba(52, 211, 153, 0.16), transparent 30%),
    rgba(15, 27, 46, 0.72);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.pf-tool-cta h2 {
  margin: 0 0 0.3rem;
  font-weight: 900;
}

.pf-tool-cta p {
  margin: 0;
  color: var(--pf-text-muted);
  overflow-wrap: anywhere;
}

.pf-tool-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  min-width: 0;
}

.pf-tool-cta-actions .btn {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pf-tool-disclaimer {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--pf-text-muted);
  font-size: 0.9rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.pf-tools-grid,
.pf-asia-destination-grid,
.pf-asia-seo-grid {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.pf-tools-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pf-tools-card {
  display: grid;
  gap: 1rem;
  align-content: space-between;
}

.pf-tools-card h2,
.pf-asia-card h3,
.pf-asia-cabin h4,
.pf-asia-seo h2,
.pf-asia-seo h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.pf-tools-card p,
.pf-asia-empty,
.pf-asia-seo p {
  margin: 0.25rem 0 0;
  color: var(--pf-text-muted);
}

.pf-tool-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--pf-secondary);
  font-size: 1.1rem;
}

.pf-asia-destination-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.pf-asia-heading {
  grid-column: 1 / -1;
}

.pf-asia-card {
  display: grid;
  gap: 1rem;
}

.pf-asia-card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
}

.pf-asia-country {
  margin: 0 0 0.2rem;
  color: var(--pf-text-muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pf-asia-cabin-grid {
  display: grid;
  gap: 0.75rem;
}

.pf-asia-cabin {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(7, 21, 43, 0.5);
}

.pf-asia-cabin--business {
  border-color: rgba(168, 85, 247, 0.34);
  background: rgba(168, 85, 247, 0.08);
}

.pf-asia-cabin--premium_economy {
  border-color: rgba(59, 130, 246, 0.34);
  background: rgba(59, 130, 246, 0.08);
}

.pf-asia-cabin--economy {
  border-color: rgba(16, 185, 129, 0.28);
  background: rgba(16, 185, 129, 0.07);
}

.pf-asia-cabin-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.pf-asia-cabin-head span {
  color: var(--pf-text);
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
}

.pf-asia-date-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pf-asia-date-list li {
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--pf-text);
  font-size: 0.82rem;
  font-weight: 750;
}

.pf-asia-cabin a {
  color: var(--pf-secondary);
  font-weight: 850;
  text-decoration: none;
}

.pf-asia-cabin a:hover {
  text-decoration: underline;
}

.pf-asia-updated {
  color: var(--pf-text-muted);
  font-size: 0.86rem;
}

.pf-asia-seo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pf-asia-seo section {
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: rgba(7, 21, 43, 0.42);
}

.pf-asia-table-card {
  display: grid;
  gap: 1rem;
}

.pf-longhaul-stats {
  padding: 0.85rem;
  border-color: rgba(96, 165, 250, 0.16);
  background: linear-gradient(180deg, rgba(20, 38, 66, 0.72), rgba(14, 30, 54, 0.66));
}

.pf-longhaul-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}

.pf-longhaul-stat {
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: rgba(28, 46, 76, 0.48);
}

.pf-longhaul-stat .pf-tool-stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.07em;
}

.pf-longhaul-stat .pf-tool-stat-value {
  margin-top: 0.25rem;
  color: var(--pf-text);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.pf-longhaul-stat--business .pf-tool-stat-value {
  color: #d8b4fe;
}

.pf-longhaul-stat--premium .pf-tool-stat-value {
  color: #93c5fd;
}

.pf-longhaul-stat--economy .pf-tool-stat-value {
  color: #6ee7b7;
}

.pf-longhaul-pro-cta {
  gap: 0.65rem;
  padding: 1rem;
}

.pf-longhaul-pro-cta .pf-section-heading {
  align-items: center;
  margin-bottom: 0.25rem;
}

.pf-longhaul-pro-cta .pf-section-heading h2 {
  font-size: 1.05rem;
}

.pf-longhaul-pro-cta .pf-section-heading p,
.pf-longhaul-pro-cta > p {
  font-size: 0.88rem;
}

.pf-longhaul-pro-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  list-style: none;
}

.pf-longhaul-pro-list li {
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.34);
  color: var(--pf-text-muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.pf-longhaul-quick-filters {
  display: grid;
  gap: 0.55rem;
}

.pf-longhaul-quick-filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.pf-longhaul-quick-filters-title {
  margin: 0;
  color: var(--pf-text-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pf-longhaul-quick-filters-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

@media (min-width: 640px) {
  .pf-longhaul-quick-filters-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pf-longhaul-quick-filter {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(59, 130, 246, 0.34);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.52);
  color: var(--pf-secondary);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 100ms ease, box-shadow 140ms ease;
  -webkit-tap-highlight-color: transparent;
}

.pf-longhaul-quick-filter:hover {
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(59, 130, 246, 0.14);
  color: #bfdbfe;
  text-decoration: none;
}

.pf-longhaul-quick-filter:active {
  transform: scale(0.98);
}

.pf-longhaul-quick-filter:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.95);
  outline-offset: 2px;
}

.pf-longhaul-quick-filter.is-active {
  border-color: rgba(59, 130, 246, 0.72);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.34), rgba(37, 99, 235, 0.24));
  color: #eff6ff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.22);
}

.pf-asia-filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: end;
}

.pf-asia-filter-toggle {
  display: none;
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.34);
  color: var(--pf-secondary);
  padding: 0.6rem 0.75rem;
  font-weight: 900;
}

.pf-trip-builder-panel {
  position: sticky;
  top: 0.75rem;
  z-index: 10;
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 18px;
  background: rgba(7, 21, 43, 0.92);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.pf-trip-builder-head,
.pf-trip-builder-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pf-trip-builder-head h3 {
  margin: 0.15rem 0 0;
  color: var(--pf-text);
  font-size: 1.05rem;
  font-weight: 900;
}

.pf-trip-builder-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.pf-trip-builder-body {
  display: grid;
  gap: 0.85rem;
}

.pf-trip-builder-legs,
.pf-trip-builder-summary {
  display: grid;
  gap: 0.65rem;
}

.pf-trip-builder-legs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pf-trip-builder-leg,
.pf-trip-builder-summary > div {
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.38);
}

.pf-trip-builder-leg.is-selected {
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(16, 185, 129, 0.08);
}

.pf-trip-builder-leg span,
.pf-trip-builder-summary span {
  display: block;
  color: var(--pf-text-muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pf-trip-builder-leg strong,
.pf-trip-builder-summary strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--pf-text);
  font-size: 0.9rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.pf-trip-builder-leg small {
  display: block;
  margin-top: 0.25rem;
  color: var(--pf-text-muted);
}

.pf-trip-builder-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pf-trip-builder-panel.has-valid-match {
  border-color: rgba(52, 211, 153, 0.34);
}

.pf-trip-builder-panel.is-collapsed .pf-trip-builder-body {
  display: none;
}

.pf-asia-filters label {
  display: grid;
  gap: 0.35rem;
  color: var(--pf-text-muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pf-asia-filters select,
.pf-asia-filters input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 13px;
  background: rgba(7, 21, 43, 0.84);
  color: var(--pf-text);
  padding: 0.6rem 0.7rem;
  font-weight: 750;
  color-scheme: dark;
}

.pf-asia-filter-actions {
  display: flex;
  gap: 0.5rem;
}

.pf-asia-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
}

.pf-asia-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.pf-asia-table th,
.pf-asia-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  text-align: left;
  vertical-align: middle;
}

.pf-asia-table th {
  background: rgba(7, 21, 43, 0.72);
  color: var(--pf-text-muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pf-asia-table td {
  color: var(--pf-text);
  font-size: 0.92rem;
  font-weight: 700;
}

.pf-asia-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.07);
}

.pf-asia-table tbody tr.is-trip-match {
  background: rgba(52, 211, 153, 0.08);
  outline: 1px solid rgba(52, 211, 153, 0.22);
  outline-offset: -1px;
}

.pf-asia-table a {
  color: var(--pf-secondary);
  font-weight: 900;
  text-decoration: none;
}

.pf-asia-table a:hover {
  text-decoration: underline;
}

.pf-longhaul-row-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.pf-build-trip-btn {
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  padding: 0.3rem 0.58rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.pf-build-trip-btn:hover {
  border-color: rgba(52, 211, 153, 0.46);
  background: rgba(16, 185, 129, 0.16);
}

.pf-asia-cabin-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.pf-longhaul-cabin-options,
.pf-longhaul-option-values {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.pf-longhaul-option-value {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.34);
  color: var(--pf-text);
  font-size: 0.78rem;
  font-weight: 900;
}

.pf-longhaul-option-value--business {
  color: #d8b4fe;
}

.pf-longhaul-option-value--premium_economy {
  color: #93c5fd;
}

.pf-longhaul-option-value--economy {
  color: #6ee7b7;
}

.pf-asia-cabin-badge--business {
  border: 1px solid rgba(168, 85, 247, 0.38);
  background: rgba(168, 85, 247, 0.13);
  color: #d8b4fe;
}

.pf-asia-cabin-badge--premium_economy {
  border: 1px solid rgba(59, 130, 246, 0.38);
  background: rgba(59, 130, 246, 0.13);
  color: #93c5fd;
}

.pf-asia-cabin-badge--economy {
  border: 1px solid rgba(16, 185, 129, 0.34);
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
}

.pf-asia-empty-cell {
  padding: 1.2rem;
  color: var(--pf-text-muted);
  text-align: center;
}

.pf-asia-table-note {
  margin: 0;
  color: var(--pf-text-muted);
  font-size: 0.9rem;
}

.pf-longhaul-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--pf-text-muted);
  font-size: 0.88rem;
}

.pf-longhaul-pagination-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.pf-longhaul-pagination-links a,
.pf-longhaul-pagination-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  min-height: 2.1rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.34);
  color: var(--pf-text-muted);
  font-weight: 850;
  text-decoration: none;
}

.pf-longhaul-pagination-links a {
  color: var(--pf-secondary);
}

.pf-longhaul-pagination-links a:hover,
.pf-longhaul-pagination-links .is-current {
  border-color: rgba(59, 130, 246, 0.38);
  background: rgba(59, 130, 246, 0.13);
  color: var(--pf-text);
}

.pf-asia-mini-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.pf-asia-mini-card__media {
  aspect-ratio: 16 / 9;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.pf-asia-mini-card__body {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem 1rem;
}

@media (max-width: 1199.98px) {
  .pf-longhaul-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .pf-nav {
    overflow-x: clip;
  }

  .pf-nav .container,
  .pf-nav .nav-content {
    gap: 0.5rem;
    padding-left: 12px;
    padding-right: 12px;
  }

  .pf-nav .pf-brand-link {
    flex: 1 1 min(260px, calc(100% - 64px));
    min-width: 0;
    max-width: calc(100% - 64px);
  }

  .pf-brand-text {
    min-width: 0;
    overflow: hidden;
  }

  .pf-brand-name,
  .pf-brand-sub {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pf-nav .navbar-toggler {
    flex: 0 0 auto;
    max-width: 52px;
    margin-left: auto;
  }

  .pf-nav .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
  }

  .pf-nav .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
    min-width: 0;
    padding-top: 0.5rem;
  }

  .pf-nav .nav-link,
  .pf-nav .btn-cta,
  .pf-nav form:not(.pf-nav-logout-form) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: left;
    white-space: normal;
  }

  .pf-nav .nav-links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
  }

  .pf-nav-links-auth {
    margin-left: auto;
    width: auto;
    max-width: none;
  }

  .pf-nav-logout-form,
  .pf-nav-logout-btn {
    width: auto;
    max-width: none;
    text-align: center;
    white-space: nowrap;
  }

  .pf-tool-hero,
  .pf-tool-grid,
  .pf-tools-grid,
  .pf-asia-destination-grid,
  .pf-asia-seo-grid,
  .pf-longhaul-stats-grid,
  .pf-trip-builder-legs,
  .pf-trip-builder-summary,
  .pf-asia-filters {
    grid-template-columns: 1fr;
  }

  .pf-trip-builder-panel {
    top: 0.5rem;
    padding: 0.8rem;
  }

  .pf-trip-builder-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pf-asia-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }

  .pf-longhaul-quick-filters-row {
    grid-template-columns: 1fr;
  }

  .pf-asia-filters.is-mobile-collapsed .pf-asia-advanced-filter {
    display: none;
  }

  .pf-longhaul-pro-cta .pf-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .pf-longhaul-pro-cta .pf-section-heading .btn {
    width: 100%;
  }

  .pf-eb-results {
    position: static;
  }

  .pf-tool-cta {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  main.container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .pf-tool-page {
    gap: 0.85rem;
  }

  .pf-tool-hero {
    padding: 1rem;
    border-radius: 18px;
  }

  .pf-tool-hero-notes {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pf-tool-hero-card {
    min-height: auto;
    padding: 1rem;
    border-radius: 16px;
  }

  .pf-tool-stat-value {
    font-size: 3rem;
  }

  .pf-tool-card {
    padding: 0.85rem;
    border-radius: 16px;
  }

  .pf-eb-form {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .pf-eb-field select,
  .pf-eb-field input[type="number"],
  .pf-eb-stepper button {
    min-height: 40px;
  }

  .pf-eb-stepper {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }

  .pf-eb-result-list > div {
    flex-wrap: wrap;
    gap: 0.7rem;
  }

  .pf-eb-result-list dt,
  .pf-eb-result-list dd {
    flex: 1 1 100%;
    text-align: left;
  }

  .pf-eb-table {
    min-width: 640px;
  }

  .pf-eb-table th,
  .pf-eb-table td {
    padding: 0.7rem 0.75rem;
  }

  .pf-tool-cta-actions {
    width: 100%;
  }

  .pf-eb-result-list dd {
    font-size: 1rem;
  }

  .pf-eb-result-list .pf-eb-result-total dd {
    font-size: 1.35rem;
  }

  .pf-tool-cta-actions .btn {
    width: 100%;
  }

  .pf-asia-card-head,
  .pf-asia-cabin-head {
    align-items: stretch;
    flex-direction: column;
  }

  .pf-asia-card-head .btn,
  .pf-asia-cabin-head span {
    width: 100%;
    white-space: normal;
  }

  .pf-asia-filter-actions {
    flex-direction: column;
  }

  .pf-asia-filter-actions .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   SAS Longhaul — lighter navy canvas (reference look)
   -------------------------------------------------------------------------- */
body:has(.pf-asia-tool) {
  background:
    radial-gradient(ellipse 110% 72% at 8% -6%, rgba(59, 130, 246, 0.26), transparent 58%),
    radial-gradient(ellipse 78% 52% at 100% 2%, rgba(52, 211, 153, 0.11), transparent 52%),
    radial-gradient(ellipse 85% 58% at 50% 102%, rgba(37, 99, 235, 0.1), transparent 62%),
    linear-gradient(180deg, #0c1f3d 0%, #0a1830 42%, #071222 100%);
}

.pf-asia-tool .pf-tool-hero {
  background:
    radial-gradient(circle at 12% 15%, rgba(59, 130, 246, 0.3), transparent 38%),
    radial-gradient(circle at 88% 78%, rgba(52, 211, 153, 0.09), transparent 42%),
    linear-gradient(135deg, rgba(20, 38, 66, 0.95), rgba(12, 28, 52, 0.9));
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pf-asia-tool .pf-tool-hero-card {
  background: rgba(14, 32, 58, 0.58);
  border-color: rgba(52, 211, 153, 0.34);
}

.pf-asia-tool .pf-tool-hero-notes span {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.24);
}

.pf-asia-tool .glass-card.pf-tool-card {
  background: linear-gradient(180deg, rgba(24, 42, 72, 0.84) 0%, rgba(16, 32, 58, 0.78) 100%);
  border-color: rgba(96, 165, 250, 0.18);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.15);
}

.pf-asia-tool .glass-card.pf-tool-card:hover {
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
}

.pf-asia-tool .pf-longhaul-pro-list li,
.pf-asia-tool .pf-longhaul-quick-filter {
  background: rgba(28, 46, 76, 0.48);
}

.pf-asia-tool .pf-trip-builder-panel {
  background: rgba(16, 34, 60, 0.9);
  border-color: rgba(96, 165, 250, 0.24);
}

.pf-asia-tool .pf-trip-builder-leg,
.pf-asia-tool .pf-trip-builder-summary > div {
  background: rgba(28, 46, 76, 0.46);
}

.pf-asia-tool .pf-asia-filters select,
.pf-asia-tool .pf-asia-filters input,
.pf-asia-tool .pf-asia-filter-toggle {
  background: rgba(20, 36, 62, 0.72);
  border-color: rgba(148, 163, 184, 0.28);
}

.pf-asia-tool .pf-asia-table th {
  background: rgba(20, 36, 62, 0.8);
}

.pf-asia-tool .pf-asia-seo section {
  background: rgba(24, 42, 72, 0.52);
  border-color: rgba(96, 165, 250, 0.14);
}

.pf-asia-tool .pf-longhaul-pagination-links a,
.pf-asia-tool .pf-longhaul-pagination-links span {
  background: rgba(28, 46, 76, 0.45);
}

.pf-asia-tool .pf-section-heading {
  flex-wrap: wrap;
}

.pf-asia-tool .pf-asia-table-card > *,
.pf-asia-tool .pf-asia-filters,
.pf-asia-tool .pf-asia-filters label,
.pf-asia-tool .pf-longhaul-quick-filters,
.pf-asia-tool .pf-longhaul-quick-filters-row {
  min-width: 0;
  max-width: 100%;
}

body.pf-embed-shell .pf-asia-tool .pf-tool-page {
  width: 100%;
  max-width: none;
  overflow-x: visible;
}
