/* AAT Travel Itinerary Styles — results page redesign (v1.2.0) */
.aat-results {
  --c-orange-1: #fe9a00;
  --c-orange-2: #ffb347;
  --c-orange-bg: #fff7ed;
  --c-blue-title: #1c398e;
  --c-blue-text: #1447e6;
  --c-blue-light: #eff6ff;
  --c-blue-border: #bedbff;
  --c-border: #e5e7eb;
  --c-text-main: #111827;
  --c-text-sub: #6b7280;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  max-width: 1400px;
  margin: 0 auto;
  color: var(--c-text-main);
}
.aat-results *,
.aat-results *::before,
.aat-results *::after {
  box-sizing: border-box;
}
.aat-results .aat-hidden {
  display: none !important;
}
.aat-results svg {
  vertical-align: -2px;
  flex-shrink: 0;
}

/* ─── Loading overlay (real post names, one by one) ───────── */
.aat-loading-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}
.aat-loading-overlay.aat-fade-out {
  opacity: 0;
  pointer-events: none;
}
.aat-rloader {
  width: 100%;
  max-width: 560px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.aat-rloader-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fe9a00, #ffb347);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  animation: aat-rloader-pulse 1.6s ease-in-out infinite;
}
@keyframes aat-rloader-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
}
.aat-rloader-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 28px;
  text-align: center;
}
.aat-rloader-list-wrap {
  width: 100%;
  height: 208px; /* 4 × 52px */
  overflow: hidden;
  position: relative;
}
.aat-rloader-list {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.aat-rloader-item {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 10px 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.aat-rloader-item.show {
  opacity: 1;
  transform: translateY(0);
}
.aat-rloader-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.aat-rloader-item-text {
  font-size: 15px;
  color: #111827;
}

/* ─── Hero ────────────────────────────────────────────────── */
.aat-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  margin-bottom: 24px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aat-hero-nophoto {
  background: linear-gradient(135deg, #1c398e 0%, #c2410c 100%);
}
.aat-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 24, 39, 0.25),
    rgba(17, 24, 39, 0.45)
  );
}
.aat-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 24px;
}
.aat-hero-inner h1 {
  color: #ffffff;
  font-size: 2.4rem;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.aat-hero-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  margin: 0 0 26px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.aat-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.aat-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  transition: opacity 0.2s, background 0.2s;
  line-height: 1;
}
.aat-hero-btn-solid {
  background: #ffffff;
  border: none;
  color: var(--c-orange-1) !important;
}
.aat-hero-btn-solid:hover {
  opacity: 0.92;
}
.aat-hero-btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #ffffff !important;
  backdrop-filter: blur(4px);
}
.aat-hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.26);
}

/* ─── Layout (sticky map) ─────────────────────────────────── */
.aat-content-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}
/* Prevent grid blowout: without min-width:0 the itinerary column grows to fit
   all day pills (e.g. 14 days) instead of letting them scroll horizontally */
.aat-itinerary {
  min-width: 0;
}
.aat-map-sidebar {
  position: sticky;
  top: 110px;
  height: fit-content;
}
.aat-map-container {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.aat-map {
  width: 100%;
  height: calc(100vh - 140px);
  min-height: 420px;
  max-height: 860px;
  background: #f8f9fa;
}

/* ─── Day pills (scrollable) ──────────────────────────────── */
.aat-tab-headers {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 12px;
  margin-bottom: 20px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.aat-tab-btn {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: #f3f4f6;
  border: none;
  border-radius: 14px;
  padding: 10px 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text-sub);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}
.aat-tab-btn:hover {
  background: #e5e7eb;
  color: var(--c-text-main);
}
.aat-tab-btn.active {
  background: linear-gradient(135deg, var(--c-orange-1), var(--c-orange-2));
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(254, 154, 0, 0.35);
}
.aat-pill-sub {
  display: none;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.9;
}
.aat-tab-btn.active .aat-pill-sub {
  display: block;
}

/* ─── Panels ──────────────────────────────────────────────── */
.aat-tab-panel {
  display: none;
}
.aat-tab-panel.active {
  display: block;
  animation: aat-fade-in 0.3s ease-in-out;
}
@keyframes aat-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Day header card ─────────────────────────────────────── */
.aat-day-header {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--c-blue-light);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.aat-day-badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--c-orange-1), var(--c-orange-2));
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.aat-day-head-text {
  flex: 1;
  min-width: 0;
}
.aat-day-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-text-main);
  margin: 0 0 3px;
  line-height: 1.3;
}
.aat-day-count {
  font-size: 14px;
  color: var(--c-text-sub);
}
.aat-day-energy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--c-text-sub);
  margin-top: 4px;
}
.aat-energy-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
}
.aat-energy-bars i {
  display: block;
  width: 3px;
  background: #d1d5db;
  border-radius: 2px;
}
.aat-energy-bars i:nth-child(1) {
  height: 5px;
}
.aat-energy-bars i:nth-child(2) {
  height: 8px;
}
.aat-energy-bars i:nth-child(3) {
  height: 11px;
}
.aat-energy-bars i:nth-child(4) {
  height: 14px;
}
.aat-energy-bars i.on {
  background: var(--c-text-main);
}
.aat-day-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.aat-day-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  background: #ffffff;
  color: var(--c-text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.aat-day-nav-btn:hover:not(:disabled) {
  border-color: var(--c-orange-1);
  box-shadow: 0 2px 8px rgba(254, 154, 0, 0.18);
}
.aat-day-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ─── Place cards ─────────────────────────────────────────── */
.aat-timeline-item {
  display: flex;
  gap: 18px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  padding: 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.25s;
}
.aat-timeline-item:hover {
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.1);
}
.aat-card-img {
  flex-shrink: 0;
}
.aat-card-img a {
  display: block;
}
.aat-card-img img {
  width: 190px;
  height: 230px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.aat-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.aat-card-toprow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.aat-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 13px;
  color: var(--c-text-sub);
}
.aat-slot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #374151;
}
.aat-distance-info {
  font-size: 12.5px;
  color: #9ca3af;
}
.aat-price-badge {
  background: #f3f4f6;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
.aat-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.3;
}
.aat-card-title a {
  color: var(--c-text-main) !important;
  text-decoration: none !important;
}
.aat-card-title a:hover {
  color: var(--c-orange-1) !important;
}
.aat-card-desc {
  color: #4b5563;
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.aat-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.aat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 5px 12px;
  line-height: 1;
}
.aat-chip-pet {
  background: #ffedd5;
  color: #c2410c;
}
.aat-chip-access {
  background: #dbeafe;
  color: var(--c-blue-text);
}
.aat-card-actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}
.aat-replace-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  color: var(--c-text-main);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 4px;
  transition: color 0.2s;
}
.aat-replace-btn:hover {
  color: var(--c-orange-1);
}

/* ─── Feedback (visual only) ──────────────────────────────── */
.aat-feedback {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 4px 4px 24px;
  font-size: 14px;
  color: var(--c-text-main);
}
.aat-thumb {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-text-main);
  padding: 4px;
  display: flex;
  transition: color 0.2s, transform 0.1s;
}
.aat-thumb:hover {
  color: var(--c-orange-1);
}
.aat-thumb:active {
  transform: scale(0.92);
}
.aat-thumb-down svg {
  transform: rotate(180deg);
}
/* Selected state — set the moment the visitor clicks, before the save call */
.aat-thumb.is-selected {
  color: var(--c-orange-1);
}
.aat-thumb.is-selected svg {
  fill: currentColor;
}
.aat-thumb-down.is-selected {
  color: #dc2626;
}
.aat-thumb-down:hover {
  color: #dc2626;
}
.aat-thumb:disabled {
  opacity: 0.5;
  cursor: default;
}
/* ─── Feedback tooltip (floats above the thumb that was clicked) ─── */
.aat-feedback {
  position: relative;
  flex-wrap: wrap;
}
.aat-feedback-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  /* width:max-content is required, not cosmetic. The thumbs sit at the far
     right of .aat-feedback (justify-content:flex-end), so an auto-width
     absolute child only gets `container width - left` to lay out in — a few
     pixels — and the label breaks one word per line. max-content sizes to the
     text first; translateX(-50%) then recentres it over the thumb. */
  width: max-content;
  max-width: min(320px, 80vw);
  padding: 8px 13px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #f3f4f6;
  color: var(--c-text-main);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.10);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}
.aat-feedback-tip[hidden] {
  display: none;
}
.aat-feedback-tip.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* Two stacked triangles so the arrow keeps the bubble's 1px border */
.aat-feedback-tip::before,
.aat-feedback-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
}
.aat-feedback-tip::before {
  top: 100%;
  border-top-color: #e5e7eb;
}
.aat-feedback-tip::after {
  top: calc(100% - 1px);
  border-top-color: #f3f4f6;
}
.aat-feedback-tip.is-error {
  border-color: #fda29b;
  background: #fef3f2;
  color: #912018;
}
.aat-feedback-tip.is-error::before {
  border-top-color: #fda29b;
}
.aat-feedback-tip.is-error::after {
  border-top-color: #fef3f2;
}

/* ─── Feedback modal: why? (chips + optional free text) ──── */
.aat-fb-modal {
  opacity: 0;
  transition: opacity 0.22s ease;
}
.aat-fb-modal.is-open {
  opacity: 1;
}
.aat-fb-modal .aat-modal-backdrop {
  background: rgba(17, 24, 39, 0.62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.aat-fb-sheet {
  max-width: 460px;
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.aat-fb-modal.is-open .aat-fb-sheet {
  opacity: 1;
  transform: none;
}
.aat-fb-question {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--c-text-sub);
}
/* Vote buttons — only shown when the modal opens on the way out */
.aat-fb-votes {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}
.aat-fb-votes[hidden] {
  display: none;
}
.aat-fb-vote-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1.5px solid var(--c-border);
  border-radius: 14px;
  background: #fff;
  padding: 14px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-main);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.aat-fb-vote-btn:hover {
  border-color: var(--c-orange-1);
  background: var(--c-orange-bg);
}
.aat-fb-vote-btn.is-selected {
  border-color: var(--c-orange-1);
  background: var(--c-orange-bg);
}
.aat-fb-vote-down svg {
  transform: rotate(180deg);
}
.aat-fb-vote-down:hover {
  border-color: #dc2626;
  background: #fef3f2;
  color: #912018;
}
.aat-fb-vote-down.is-selected {
  border-color: #dc2626;
  background: #fef3f2;
  color: #912018;
}
.aat-fb-details {
  margin-top: 18px;
}
.aat-fb-details[hidden] {
  display: none;
}
.aat-feedback-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.aat-feedback-chips[hidden] {
  display: none;
}
.aat-chip {
  border: 1.5px solid var(--c-border);
  background: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  line-height: 1.2;
  color: var(--c-text-sub);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.aat-chip:hover {
  border-color: var(--c-orange-2);
  color: var(--c-text-main);
}
.aat-chip.is-selected {
  border-color: var(--c-orange-1);
  background: var(--c-orange-bg);
  color: var(--c-text-main);
  font-weight: 600;
}
.aat-feedback-textlabel {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--c-text-sub);
}
.aat-feedback-text {
  width: 100%;
  border: 1.5px solid var(--c-border);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--c-text-main);
  resize: vertical;
  transition: border-color 0.15s;
}
.aat-feedback-text:focus {
  outline: none;
  border-color: var(--c-orange-1);
}
.aat-feedback-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.aat-feedback-count {
  font-size: 12px;
  color: var(--c-text-sub);
}
.aat-feedback-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.aat-fb-skip {
  border: none;
  background: none;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--c-text-sub);
  cursor: pointer;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}
.aat-fb-skip:hover {
  color: var(--c-text-main);
  background: #f3f4f6;
}
.aat-feedback-send {
  border: none;
  border-radius: 999px;
  background: var(--c-orange-1);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.aat-feedback-send:hover {
  background: var(--c-orange-2);
}
.aat-feedback-send:disabled {
  opacity: 0.6;
  cursor: default;
}
/* Honeypot: off-screen rather than display:none, which some bots skip */
.aat-feedback-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
@media (prefers-reduced-motion: reduce) {
  .aat-feedback-tip,
  .aat-fb-modal,
  .aat-fb-sheet {
    transition: none;
  }
}

/* ─── CTA box ─────────────────────────────────────────────── */
.aat-cta {
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border-radius: 20px;
  text-align: center;
  padding: 40px 24px;
}
.aat-cta h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-text-main);
  margin: 0 0 8px;
}
.aat-cta p {
  color: var(--c-text-sub);
  font-size: 15px;
  margin: 0 0 22px;
}
.aat-cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--c-orange-1), var(--c-orange-2));
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  padding: 13px 32px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(254, 154, 0, 0.35);
  transition: opacity 0.2s, transform 0.1s;
}
.aat-cta-btn:hover {
  opacity: 0.92;
}
.aat-cta-btn:active {
  transform: scale(0.99);
}

/* ─── Replace popup ───────────────────────────────────────── */
.aat-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.aat-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
}
.aat-modal-sheet {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 620px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.aat-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.aat-modal-head h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--c-text-main);
}
.aat-modal-close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--c-text-sub);
  cursor: pointer;
  padding: 2px 8px;
}
.aat-modal-close:hover {
  color: var(--c-text-main);
}
.aat-modal-sub {
  font-size: 13.5px;
  color: var(--c-text-sub);
  margin: 0 0 14px;
}
.aat-modal-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 6px;
}
.aat-alt-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--c-border);
  border-radius: 14px;
  padding: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.aat-alt-item:hover {
  border-color: var(--c-orange-1);
  box-shadow: 0 2px 10px rgba(254, 154, 0, 0.12);
}
.aat-alt-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}
.aat-alt-body {
  flex: 1;
  min-width: 0;
}
.aat-alt-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text-main);
  margin: 0 0 4px;
}
.aat-alt-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.aat-alt-price {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 4px 10px;
}
.aat-alt-select {
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--c-orange-1), var(--c-orange-2));
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.aat-alt-select:hover {
  opacity: 0.92;
}
.aat-modal-empty {
  text-align: center;
  color: var(--c-text-sub);
  font-size: 14px;
  padding: 26px 10px;
}

/* ─── Leaflet pin popup (directions) ──────────────────────── */
.aat-pin-popup {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 150px;
}
.aat-pin-popup strong {
  font-size: 14px;
  color: #111827;
  line-height: 1.35;
}
.aat-pin-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #fe9a00, #ffb347);
  color: #ffffff !important;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: opacity 0.2s;
}
.aat-pin-directions:hover {
  opacity: 0.92;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1200px) {
  .aat-content-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .aat-map-sidebar {
    position: static;
    order: -1;
  }
  .aat-map {
    height: 400px;
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .aat-hero {
    border-radius: 18px;
    min-height: 280px;
  }
  .aat-hero-inner {
    padding: 44px 16px;
  }
  .aat-hero-inner h1 {
    font-size: 1.6rem;
  }
  .aat-hero-sub {
    font-size: 0.95rem;
  }
  .aat-hero-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  .aat-tab-btn {
    padding: 9px 20px;
    font-size: 14px;
  }
  .aat-day-header {
    padding: 14px;
    gap: 12px;
  }
  .aat-day-badge {
    width: 46px;
    height: 46px;
    font-size: 16px;
  }
  .aat-day-title {
    display: none;
  }
  .aat-timeline-item {
    flex-direction: column;
    padding: 14px;
  }
  .aat-card-img img {
    width: 100%;
    height: 180px;
  }
  .aat-card-toprow {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 6px;
  }
  .aat-cta {
    padding: 30px 16px;
  }
}
