/* Destination Anywhere — multi-step trip planner */
:root {
  --pt-navy: #071428;
  --pt-navy-2: #0e2a56;
  --pt-orange: #e87722;
  --pt-gold: #f4b942;
  --pt-sky: #3ab5e5;
  --pt-cream: #f7f4ea;
  --pt-ink: #101828;
  --pt-muted: #667085;
  --pt-font: "Outfit", "Segoe UI", sans-serif;
  --pt-display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body.pt-page {
  font-family: var(--pt-font);
  color: var(--pt-ink);
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(232, 119, 34, 0.08), transparent 55%),
    linear-gradient(180deg, #fbf8ef 0%, var(--pt-cream) 45%, #f3f0e6 100%);
}

/* Header / steps */
.pt-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(105deg, var(--pt-navy) 0%, var(--pt-navy-2) 55%, #1a4f93 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(7, 20, 40, 0.22);
}

.pt-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.pt-logo img {
  height: 46px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}

.pt-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
}

.pt-step {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.72);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.45rem 0.15rem 0.55rem;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}
.pt-step:hover { color: #fff; }
.pt-step.is-active {
  color: #fff;
}
.pt-step.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pt-orange), var(--pt-gold));
}
.pt-step.is-done { color: rgba(255,255,255,0.92); }
.pt-step.has-value {
  color: #fff;
  font-weight: 700;
}

.pt-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

.pt-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--pt-navy);
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.16);
  transition: transform 0.2s ease, background 0.2s ease;
}
.pt-close:hover {
  transform: scale(1.04);
  background: var(--pt-gold);
  color: var(--pt-navy);
}

/* Main */
.pt-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.4rem 1.25rem 3.5rem;
}

.pt-panel[hidden] { display: none !important; }
.pt-panel {
  animation: ptRise 0.4s ease both;
}

@keyframes ptRise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.pt-title {
  margin: 0 0 1.15rem;
  text-align: center;
  font-family: var(--pt-display);
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pt-ink);
}

.pt-sub {
  text-align: center;
  color: var(--pt-muted);
  margin: -0.4rem 0 1.5rem;
  font-size: 0.98rem;
}

/* Search pill + suggestion list */
.pt-search-block {
  max-width: 560px;
  margin: 0 auto 1.75rem;
  position: relative;
  z-index: 20;
}

.pt-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 2px solid var(--pt-orange);
  border-radius: 999px;
  padding: 0.75rem 1rem 0.75rem 1.15rem;
  box-shadow: 0 12px 30px rgba(232, 119, 34, 0.12);
}
.pt-search-wide { max-width: 560px; margin-left: auto; margin-right: auto; }
.pt-search > i { color: #94a3b8; flex-shrink: 0; }
.pt-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 1rem;
  color: var(--pt-ink);
  background: transparent;
}
.pt-search input::placeholder { color: #94a3b8; }
.pt-search input::-webkit-search-cancel-button { display: none; }

.pt-search-clear {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #e8edf3;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 0.75rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.pt-search-clear:hover {
  background: #dbe3ee;
  color: var(--pt-navy);
}
.pt-search-clear[hidden] { display: none !important; }

.pt-suggest {
  margin-top: 0.85rem;
  background: transparent;
  animation: ptRise 0.25s ease both;
}
.pt-suggest[hidden] { display: none !important; }

.pt-suggest-item {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: transparent;
  padding: 0.95rem 0.35rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--pt-ink);
  transition: background 0.15s ease, padding-left 0.15s ease;
}
.pt-suggest-item:last-child { border-bottom: 0; }
.pt-suggest-item:hover,
.pt-suggest-item:focus-visible {
  background: rgba(255, 255, 255, 0.55);
  padding-left: 0.55rem;
  outline: none;
  border-radius: 10px;
}

.pt-suggest-label {
  font-size: 1.02rem;
  font-weight: 600;
  color: #1f2937;
}

.pt-suggest-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 500;
  color: #94a3b8;
}
.pt-suggest-meta i {
  font-size: 0.72rem;
  opacity: 0.85;
}

.pt-suggest-empty {
  padding: 1.1rem 0.35rem;
  color: var(--pt-muted);
  font-size: 0.95rem;
  text-align: left;
}

/* Departure airport list */
.pt-depart-search-wrap {
  max-width: 560px;
  margin: 0 auto 1.25rem;
}

.pt-airport-list {
  margin-top: 0.35rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0.15rem;
}

.pt-airport-item {
  appearance: none;
  width: 100%;
  display: block;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: transparent;
  padding: 1.05rem 0.45rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
  transition: background 0.15s ease, padding-left 0.15s ease, color 0.15s ease;
}

.pt-airport-item:last-child { border-bottom: 0; }

.pt-airport-item:hover,
.pt-airport-item:focus-visible {
  background: rgba(255, 255, 255, 0.65);
  padding-left: 0.7rem;
  outline: none;
  border-radius: 10px;
  color: var(--pt-navy);
}

.pt-airport-item.is-selected {
  background: rgba(232, 119, 34, 0.1);
  color: var(--pt-navy);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1.5px rgba(232, 119, 34, 0.45);
}

.pt-airport-item.is-hidden { display: none; }

.pt-airport-empty {
  padding: 1.1rem 0.45rem;
  color: var(--pt-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.pt-carousel-wrap.is-searching {
  opacity: 0.22;
  pointer-events: none;
  filter: blur(1px);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

/* Destination photo cards */
.pt-carousel-wrap {
  position: relative;
  margin: 0.35rem auto 0;
  max-width: 1120px;
  padding: 0 3.25rem;
}

.pt-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 1rem 0.15rem 1.7rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.pt-carousel::-webkit-scrollbar { display: none; }

.pt-dest-card {
  --pt-delay: 0s;
  appearance: none;
  border: 0;
  padding: 0;
  flex: 0 0 240px;
  width: 240px;
  height: 360px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  scroll-snap-align: start;
  isolation: isolate;
  text-align: left;
  background: #0e2a56;
  box-shadow: 0 16px 34px rgba(7, 20, 40, 0.14);
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  animation: ptCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--pt-delay) forwards;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

@keyframes ptCardIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pt-dest-card:hover,
.pt-dest-card:focus-visible,
.pt-dest-card.is-selected {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 28px 48px rgba(7, 20, 40, 0.24),
    0 0 0 2px rgba(232, 119, 34, 0.55);
  outline: none;
  z-index: 2;
}

.pt-dest-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.pt-dest-card:hover .pt-dest-media,
.pt-dest-card:focus-visible .pt-dest-media,
.pt-dest-card.is-selected .pt-dest-media {
  transform: scale(1.08);
}

.pt-dest-shine {
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.22) 50%, transparent 62%);
  transform: translateX(-120%) rotate(8deg);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.pt-dest-card:hover .pt-dest-shine,
.pt-dest-card:focus-visible .pt-dest-shine {
  opacity: 1;
  animation: ptShine 0.85s ease forwards;
}

@keyframes ptShine {
  to { transform: translateX(120%) rotate(8deg); }
}

.pt-dest-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 20, 40, 0.05) 28%,
    rgba(7, 20, 40, 0.35) 52%,
    rgba(7, 20, 40, 0.88) 100%
  );
  z-index: 1;
  transition: background 0.35s ease;
}

.pt-dest-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1rem 1rem;
  color: #fff;
}

.pt-dest-name {
  font-family: var(--pt-font);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.pt-dest-blurb {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pt-dest-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.pt-dest-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pt-carousel-nav {
  position: absolute;
  top: calc(1rem + 180px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--pt-navy);
  box-shadow: 0 8px 22px rgba(7, 20, 40, 0.14);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  font-size: 0.9rem;
  transform: translateY(-50%);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pt-carousel-nav[hidden] {
  display: none !important;
}

.pt-carousel-prev {
  left: 0.15rem;
}

.pt-carousel-next {
  right: 0.15rem;
}

.pt-carousel-nav:hover {
  background: rgba(232, 119, 34, 0.88);
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 10px 26px rgba(232, 119, 34, 0.28);
}

.pt-group-carousel-wrap .pt-carousel-nav {
  top: calc(1rem + 150px);
}

.pt-empty {
  margin: 1rem auto;
  padding: 2rem;
  color: var(--pt-muted);
  text-align: center;
}

.pt-dest-card.is-hidden { display: none; }

/* Counters / chips / duration */
.pt-counters {
  max-width: 520px;
  margin: 0 auto 1.5rem;
  display: grid;
  gap: 0.85rem;
}

/* Travel group / interest cards — carousel (same as destination on mobile) */
.pt-group-carousel-wrap {
  margin-top: 0.5rem;
}

.pt-group-carousel {
  justify-content: flex-start;
}

.pt-group-carousel .pt-group-card {
  flex: 0 0 200px;
  width: 200px;
  height: 300px;
  scroll-snap-align: start;
}

@media (min-width: 992px) {
  .pt-group-carousel {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .pt-group-carousel-wrap .pt-carousel-nav {
    display: none;
  }
}

/* legacy grid class kept for safety */
.pt-group-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  max-width: 1120px;
  margin: 0.5rem auto 0.5rem;
}

.pt-group-card {
  --pt-delay: 0s;
  appearance: none;
  border: 0;
  padding: 0;
  width: 200px;
  height: 300px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  isolation: isolate;
  text-align: left;
  background: #0e2a56;
  box-shadow: 0 16px 34px rgba(7, 20, 40, 0.14);
  transform: translateY(14px) scale(0.97);
  opacity: 0;
  animation: ptCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--pt-delay) forwards;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pt-group-card:hover,
.pt-group-card:focus-visible,
.pt-group-card.is-selected {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 28px 48px rgba(7, 20, 40, 0.24),
    0 0 0 3px rgba(232, 119, 34, 0.55);
  outline: none;
  z-index: 2;
}

.pt-group-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.pt-group-card:hover .pt-group-media,
.pt-group-card.is-selected .pt-group-media {
  transform: scale(1.08);
}

.pt-group-shine {
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.22) 50%, transparent 62%);
  transform: translateX(-120%) rotate(8deg);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.pt-group-card:hover .pt-group-shine,
.pt-group-card.is-selected .pt-group-shine {
  opacity: 1;
  animation: ptShine 0.85s ease forwards;
}

.pt-group-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 20, 40, 0.05) 30%,
    rgba(7, 20, 40, 0.4) 58%,
    rgba(7, 20, 40, 0.9) 100%
  );
  z-index: 1;
}

.pt-group-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 1.1rem 1rem 1.15rem;
  color: #fff;
}

.pt-group-name {
  display: block;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.pt-group-blurb {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pt-group-check {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pt-orange), var(--pt-gold));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 16px rgba(232, 119, 34, 0.4);
}
.pt-group-card.is-selected .pt-group-check {
  opacity: 1;
  transform: scale(1);
}

/* Rooms configurator */
.pt-rooms {
  max-width: 560px;
  margin: 0 auto 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.pt-room {
  background: #fff;
  border: 1px solid rgba(7, 20, 40, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(7, 20, 40, 0.06);
}

.pt-room-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.05rem;
  background: linear-gradient(135deg, rgba(232, 119, 34, 0.12), rgba(244, 185, 66, 0.1));
  cursor: pointer;
  user-select: none;
}

.pt-room-head strong {
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pt-navy);
}

.pt-room-summary {
  color: var(--pt-muted);
  font-size: 0.84rem;
  font-weight: 500;
  margin-left: 0.35rem;
  text-transform: none;
  letter-spacing: 0;
}

.pt-room-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.pt-room-delete {
  appearance: none;
  border: 0;
  background: transparent;
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
}
.pt-room-delete:hover { text-decoration: underline; }

.pt-room-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: var(--pt-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.pt-room.is-collapsed .pt-room-toggle { transform: rotate(-90deg); }
.pt-room.is-collapsed .pt-room-body { display: none; }

.pt-room-body { padding: 0.35rem 0.35rem 0.55rem; }

.pt-room-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.85rem;
  border-top: 1px solid #f1f5f9;
}
.pt-room-row:first-child { border-top: 0; }
.pt-room-row strong {
  display: block;
  font-size: 0.95rem;
  color: var(--pt-ink);
}
.pt-room-row span {
  display: block;
  font-size: 0.78rem;
  color: var(--pt-muted);
  margin-top: 0.12rem;
}

.pt-room-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.pt-room-ctrl button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: var(--pt-navy);
  font-size: 1.05rem;
  cursor: pointer;
  line-height: 1;
}
.pt-room-ctrl button:hover:not(:disabled) {
  border-color: var(--pt-orange);
  color: var(--pt-orange);
}
.pt-room-ctrl button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.pt-room-ctrl em {
  font-style: normal;
  min-width: 1.25rem;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
}

.pt-rooms-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.35rem 0 0.5rem;
}

.pt-btn-add {
  background: rgba(232, 119, 34, 0.1);
  color: #c45f12;
  border: 1.5px solid rgba(232, 119, 34, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.pt-btn-add:hover {
  background: rgba(232, 119, 34, 0.16);
  color: #c45f12;
}

.pt-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  filter: none !important;
}

@media (max-width: 767px) {
  .pt-group-carousel .pt-group-card,
  .pt-group-card {
    flex: 0 0 210px;
    width: 210px;
    height: 320px;
  }
  .pt-group-carousel {
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }
  .pt-group-carousel-wrap .pt-carousel-nav {
    display: inline-flex;
    top: calc(1rem + 160px);
  }
  .pt-carousel-wrap {
    padding-left: 2.75rem;
    padding-right: 2.75rem;
  }
  .pt-carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 0.82rem;
  }
}

.pt-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid rgba(7, 20, 40, 0.08);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  box-shadow: 0 10px 24px rgba(7, 20, 40, 0.05);
}
.pt-counter strong { display: block; font-size: 1rem; }
.pt-counter span { color: var(--pt-muted); font-size: 0.82rem; }
.pt-counter-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.pt-counter-ctrl button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--pt-navy);
}
.pt-counter-ctrl button:hover {
  border-color: var(--pt-orange);
  color: var(--pt-orange);
}
.pt-counter-ctrl span {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--pt-ink);
}

.pt-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  max-width: 760px;
  margin: 0 auto 1.5rem;
}
.pt-chip {
  appearance: none;
  border: 1px solid rgba(7, 20, 40, 0.1);
  background: #fff;
  color: var(--pt-ink);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.pt-chip:hover { transform: translateY(-1px); border-color: rgba(232,119,34,0.45); }
.pt-chip.is-selected {
  background: linear-gradient(135deg, var(--pt-navy), var(--pt-navy-2));
  border-color: transparent;
  color: #fff;
}

.pt-panel-cities {
  padding-bottom: 6.5rem;
}

.pt-cities-search-wrap {
  margin-bottom: 0.35rem;
}

.pt-place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 1.15rem 1rem;
  max-width: 1120px;
  margin: 0.85rem auto 1rem;
  padding: 0.25rem 0.5rem 1rem;
}

.pt-city-card {
  --pt-delay: 0s;
  appearance: none;
  border: 1px solid rgba(7, 20, 40, 0.08);
  padding: 0;
  width: 100%;
  max-width: 228px;
  justify-self: center;
  background: #fff;
  border-radius: 20px;
  cursor: pointer;
  text-align: left;
  position: relative;
  overflow: hidden;
  transform: translateY(14px) scale(0.97);
  opacity: 0;
  animation: ptCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--pt-delay) forwards;
  box-shadow:
    0 1px 2px rgba(7, 20, 40, 0.04),
    0 8px 24px rgba(7, 20, 40, 0.06);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.pt-city-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 119, 34, 0.28);
  box-shadow:
    0 4px 8px rgba(7, 20, 40, 0.05),
    0 18px 36px rgba(7, 20, 40, 0.12);
}

.pt-city-card.is-selected {
  border-color: rgba(232, 119, 34, 0.55);
  box-shadow:
    0 0 0 3px rgba(232, 119, 34, 0.14),
    0 18px 36px rgba(232, 119, 34, 0.16);
}

.pt-city-media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: linear-gradient(145deg, #e8edf5 0%, #dce4ef 100%);
}

.pt-city-img {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.pt-city-media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 20, 40, 0.02) 0%,
    rgba(7, 20, 40, 0.08) 55%,
    rgba(7, 20, 40, 0.42) 100%
  );
  pointer-events: none;
}

.pt-city-card:hover .pt-city-img,
.pt-city-card.is-selected .pt-city-img {
  transform: scale(1.06);
}

.pt-city-body {
  display: block;
  padding: 0.85rem 0.95rem 1rem;
}

.pt-city-name {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pt-navy);
  line-height: 1.2;
}

.pt-city-blurb {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pt-muted);
  line-height: 1.45;
}

.pt-city-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--pt-navy-2);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.pt-city-card.is-selected .pt-city-badge {
  background: linear-gradient(135deg, rgba(232, 119, 34, 0.92), rgba(244, 185, 66, 0.92));
  border-color: transparent;
  color: #fff;
}

.pt-city-check {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.95);
  color: var(--pt-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease, color 0.22s ease;
  box-shadow: 0 6px 16px rgba(7, 20, 40, 0.18);
  pointer-events: none;
}

.pt-city-check svg {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.pt-city-card:hover .pt-city-check {
  opacity: 0.95;
  transform: scale(1);
}

.pt-city-card.is-selected .pt-city-check {
  opacity: 1;
  transform: scale(1);
  background: linear-gradient(135deg, var(--pt-orange), var(--pt-gold));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(232, 119, 34, 0.42);
}

.pt-cities-dock {
  position: fixed;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.85rem 1rem;
  flex-wrap: wrap;
  justify-content: center;
  min-width: min(920px, calc(100vw - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  padding: 0.7rem 0.85rem 0.7rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #071428, #0e2a56);
  color: #fff;
  box-shadow: 0 18px 40px rgba(7, 20, 40, 0.35);
}

.pt-cities-dock[hidden] { display: none !important; }

.pt-cities-dock-thumbs {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.pt-dock-thumb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid #fff;
  margin-left: -10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.pt-dock-thumb:first-child { margin-left: 0; }

.pt-dock-more {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin-left: -10px;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.pt-cities-dock-msg {
  margin: 0;
  flex: 1 1 160px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pt-cities-dock-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.pt-btn-dock-edit {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
}

.pt-cities-actions-fallback {
  margin-top: 0.25rem;
}

body.pt-has-cities-dock .pt-panel-cities {
  padding-bottom: 7.5rem;
}

@media (max-width: 991px) {
  .pt-place-grid {
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 0.95rem 0.75rem;
  }
  .pt-city-card { max-width: 200px; }
  .pt-cities-dock {
    border-radius: 22px;
    padding: 0.75rem;
  }
  .pt-cities-dock-msg {
    flex-basis: 100%;
    text-align: center;
    white-space: normal;
    order: -1;
  }
}

@media (max-width: 575px) {
  .pt-place-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 0.65rem;
    padding-inline: 0.35rem;
  }
  .pt-city-card { max-width: none; }
  .pt-city-body { padding: 0.72rem 0.78rem 0.85rem; }
  .pt-city-name { font-size: 0.94rem; }
  .pt-city-blurb { font-size: 0.76rem; }
  .pt-city-check { width: 26px; height: 26px; }
  .pt-city-check svg { width: 12px; height: 12px; }
}

.pt-duration-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.35rem 1.5rem;
  max-width: 980px;
  margin: 1rem auto 0.5rem;
  padding: 0.25rem 0 1rem;
}

.pt-duration-card {
  --pt-delay: 0s;
  appearance: none;
  border: 0;
  padding: 0;
  width: 200px;
  background: transparent;
  cursor: pointer;
  text-align: center;
  position: relative;
  transform: translateY(14px) scale(0.97);
  opacity: 0;
  animation: ptCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--pt-delay) forwards;
  transition: transform 0.3s ease;
}

.pt-duration-arch {
  display: block;
  height: 230px;
  border-radius: 110px 110px 22px 22px;
  background: #fff;
  border: 3px solid transparent;
  box-shadow: 0 14px 32px rgba(7, 20, 40, 0.1);
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.3s ease;
}

.pt-duration-card:hover .pt-duration-arch,
.pt-duration-card.is-selected .pt-duration-arch {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(7, 20, 40, 0.16);
}

.pt-duration-card.is-selected .pt-duration-arch {
  border-color: var(--pt-orange);
  box-shadow:
    0 22px 40px rgba(232, 119, 34, 0.2),
    0 0 0 1px rgba(232, 119, 34, 0.2);
}

.pt-duration-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.4rem;
}

.pt-bag {
  display: block;
  filter: drop-shadow(0 8px 12px rgba(7, 20, 40, 0.12));
  transition: transform 0.35s ease;
}
.pt-bag--main { width: 78px; height: auto; z-index: 2; }
.pt-bag--side { width: 48px; height: auto; margin-left: -18px; z-index: 1; align-self: flex-end; margin-bottom: 4px; }
.pt-bag--small { width: 40px; height: auto; margin-left: -14px; z-index: 0; align-self: flex-end; margin-bottom: 2px; }
.pt-bag--tiny { width: 32px; height: auto; margin-left: -12px; z-index: 0; align-self: flex-end; }

.pt-duration-card:hover .pt-bag--main,
.pt-duration-card.is-selected .pt-bag--main {
  transform: translateY(-4px) rotate(-3deg);
}
.pt-duration-card:hover .pt-bag--side,
.pt-duration-card.is-selected .pt-bag--side {
  transform: translateY(-2px) rotate(4deg);
}

.pt-duration-body {
  display: block;
  margin-top: 0.85rem;
  padding: 0 0.25rem 0.35rem;
}

.pt-duration-label {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pt-navy);
}

.pt-duration-check {
  position: absolute;
  top: 198px;
  right: 14px;
  z-index: 4;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pt-orange), var(--pt-gold));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 16px rgba(232, 119, 34, 0.4);
}
.pt-duration-card.is-selected .pt-duration-check {
  opacity: 1;
  transform: scale(1);
}

.pt-duration-picked {
  display: none;
  margin: 0.55rem auto 0;
  max-width: 180px;
  padding: 0.42rem 0.55rem;
  border-radius: 6px;
  background: linear-gradient(135deg, #1e3a5f, #0e2a56);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(7, 20, 40, 0.18);
}
.pt-duration-card.is-selected .pt-duration-picked {
  display: block;
  animation: ptPickedIn 0.35s ease;
}

@keyframes ptPickedIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* legacy simple duration buttons kept for safety */
.pt-duration {
  appearance: none;
  border: 1px solid rgba(7, 20, 40, 0.1);
  background: #fff;
  border-radius: 18px;
  padding: 1.15rem 0.5rem;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pt-duration strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--pt-navy);
}
.pt-duration span {
  color: var(--pt-muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.pt-duration:hover,
.pt-duration.is-selected {
  transform: translateY(-2px);
  border-color: var(--pt-orange);
  box-shadow: 0 12px 28px rgba(232, 119, 34, 0.16);
}
.pt-duration.is-selected {
  background: linear-gradient(180deg, #fff7ed, #fff);
}

.pt-date-wrap {
  max-width: 360px;
  margin: 0 auto 1.5rem;
}
.pt-date-wrap input {
  width: 100%;
  border: 2px solid rgba(232, 119, 34, 0.45);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  font-size: 1.05rem;
  background: #fff;
  color: var(--pt-ink);
}

/* Multi-month departure calendar */
.pt-cal {
  position: relative;
  max-width: 980px;
  margin: 0.75rem auto 1.25rem;
  padding: 1.35rem 1.25rem 1.1rem;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(7, 20, 40, 0.1);
}

.pt-cal.is-shake {
  animation: ptCalShake 0.4s ease;
}

@keyframes ptCalShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.pt-cal-nav {
  position: absolute;
  top: 1.15rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 119, 34, 0.45);
  background: rgba(232, 119, 34, 0.12);
  color: var(--pt-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.pt-cal-nav:hover:not(:disabled) {
  background: rgba(232, 119, 34, 0.22);
  transform: scale(1.05);
}
.pt-cal-nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.pt-cal-prev { left: 1rem; }
.pt-cal-next { right: 1rem; }

.pt-cal-months {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  padding: 0.35rem 2.5rem 0.5rem;
}

.pt-cal-month-title {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--pt-navy);
  letter-spacing: -0.02em;
}

.pt-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.15rem;
  margin-bottom: 0.35rem;
}
.pt-cal-weekdays span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pt-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem 0.15rem;
}

.pt-cal-cell {
  appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  aspect-ratio: 1;
  max-width: 42px;
  margin: 0 auto;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pt-ink);
  position: relative;
}

button.pt-cal-day {
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

button.pt-cal-day:hover {
  background: rgba(232, 119, 34, 0.12);
}

.pt-cal-day.is-empty {
  visibility: hidden;
  pointer-events: none;
}

.pt-cal-day.is-disabled {
  color: #cbd5e1;
  cursor: default;
}

.pt-cal-day.is-low::after,
.pt-cal-day.is-high::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 2px solid transparent;
  pointer-events: none;
}

.pt-cal-day.is-low::after {
  border-color: rgba(58, 181, 229, 0.85);
}

.pt-cal-day.is-high::after {
  border-color: rgba(232, 119, 34, 0.75);
}

.pt-cal-day.is-selected {
  background: linear-gradient(135deg, var(--pt-orange), var(--pt-gold));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(232, 119, 34, 0.35);
  z-index: 1;
}

.pt-cal-day.is-selected::after {
  display: none;
}

.pt-cal-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(7, 20, 40, 0.06);
}

.pt-cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--pt-muted);
}

.pt-cal-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid transparent;
  display: inline-block;
}
.pt-cal-dot.is-low { border-color: rgba(58, 181, 229, 0.9); }
.pt-cal-dot.is-high { border-color: rgba(232, 119, 34, 0.85); }

@media (max-width: 991px) {
  .pt-cal-months {
    grid-template-columns: 1fr;
    padding: 0.25rem 2.25rem;
    max-height: 520px;
    overflow-y: auto;
  }
  .pt-cal-month {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(7, 20, 40, 0.06);
  }
  .pt-cal-month:last-child { border-bottom: 0; }
}

@media (max-width: 575px) {
  .pt-cal { padding: 1.1rem 0.75rem 0.95rem; border-radius: 18px; }
  .pt-cal-prev { left: 0.45rem; }
  .pt-cal-next { right: 0.45rem; }
  .pt-cal-months { padding: 0.25rem 1.85rem; }
  .pt-cal-cell { font-size: 0.82rem; }
}

/* Mobile popup (after date select) */
.pt-phone-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(7, 20, 40, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: ptRise 0.25s ease both;
}

.pt-phone-overlay[hidden] {
  display: none !important;
}

.pt-phone-modal {
  position: relative;
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 1.85rem 1.45rem 1.45rem;
  background: #fff;
  border: 1px solid rgba(7, 20, 40, 0.08);
  border-radius: 24px;
  box-shadow: 0 28px 60px rgba(7, 20, 40, 0.28);
  text-align: center;
  animation: ptRise 0.3s ease both;
}

.pt-phone-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 20, 40, 0.06);
  color: var(--pt-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pt-phone-close:hover {
  background: rgba(7, 20, 40, 0.1);
  transform: scale(1.04);
}

.pt-phone-title {
  margin: 0 1.5rem 0 0;
  font-family: var(--pt-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--pt-navy);
  letter-spacing: -0.02em;
}

.pt-phone-sub {
  margin: 0.4rem 0 1.15rem;
  font-size: 0.9rem;
  color: var(--pt-muted);
  line-height: 1.45;
}

.pt-phone-field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.35rem 0.45rem 0.35rem 0.95rem;
  border: 2px solid rgba(7, 20, 40, 0.1);
  border-radius: 999px;
  background: #fbfaf7;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pt-phone-field:focus-within {
  border-color: var(--pt-orange);
  box-shadow: 0 0 0 4px rgba(232, 119, 34, 0.12);
  background: #fff;
}

.pt-phone-field.is-invalid {
  border-color: #e11d2e;
  box-shadow: 0 0 0 4px rgba(225, 29, 46, 0.1);
}

.pt-phone-prefix {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pt-navy);
  letter-spacing: 0.02em;
}

.pt-phone-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--pt-ink);
  padding: 0.7rem 0.85rem 0.7rem 0;
  letter-spacing: 0.04em;
}

.pt-phone-input::placeholder {
  color: #98a2b3;
  font-weight: 500;
  letter-spacing: 0;
}

.pt-phone-error {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e11d2e;
}

.pt-phone-error[hidden] {
  display: none !important;
}

.pt-btn-show-package {
  width: 100%;
  margin-top: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

@media (max-width: 575px) {
  .pt-phone-modal {
    padding: 1.55rem 1.1rem 1.2rem;
    border-radius: 20px;
  }
  .pt-phone-title { font-size: 1.25rem; }
}

/* Show packages — loading + thank you */
.pt-done-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(7, 20, 40, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: ptRise 0.25s ease both;
}
.pt-done-overlay[hidden] { display: none !important; }

body.pt-overlay-open {
  overflow: hidden;
}

.pt-done-card {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 2.25rem 1.75rem 1.85rem;
  text-align: center;
  box-shadow: 0 28px 60px rgba(7, 20, 40, 0.28);
}

.pt-done-gif {
  display: block;
  width: min(160px, 55vw);
  height: auto;
  margin: 0 auto 1rem;
}

.pt-done-loading-text {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--pt-muted);
}

.pt-done-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pt-orange), var(--pt-gold));
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 12px 28px rgba(232, 119, 34, 0.35);
  animation: ptCardIn 0.45s ease both;
}

.pt-done-title {
  margin: 0 0 0.45rem;
  font-family: var(--pt-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--pt-navy);
}

.pt-done-msg {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--pt-muted);
  line-height: 1.45;
}

.pt-done-success .pt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.pt-panel-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.pt-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.45rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}
.pt-btn:hover { transform: translateY(-1px); }
.pt-btn-next {
  background: linear-gradient(135deg, var(--pt-orange), var(--pt-gold));
  color: var(--pt-navy);
  box-shadow: 0 12px 28px rgba(232, 119, 34, 0.28);
}
.pt-btn-ghost {
  background: #fff;
  color: var(--pt-navy);
  border: 1px solid rgba(7, 20, 40, 0.12);
}

@media (max-width: 991px) {
  .pt-header {
    grid-template-columns: auto auto;
    grid-template-areas:
      "logo close"
      "steps steps";
    gap: 0.55rem 1rem;
    padding: 0.55rem 0.85rem 0.7rem;
  }
  .pt-logo { grid-area: logo; }
  .pt-close { grid-area: close; justify-self: end; }
  .pt-steps {
    grid-area: steps;
    justify-content: flex-start;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    gap: 0.15rem 0.35rem;
    margin: 0 -0.85rem;
    padding: 0.15rem 0.85rem 0.45rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
  }
  .pt-steps::-webkit-scrollbar {
    height: 3px;
  }
  .pt-steps::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
  }
  .pt-step {
    flex: 0 0 auto;
    max-width: none;
    overflow: visible;
    text-overflow: unset;
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 0.5rem 0.65rem 0.6rem;
    scroll-snap-align: start;
  }
  .pt-step.is-active::after {
    left: 0.55rem;
    right: 0.55rem;
  }
  .pt-dot { display: none; }
  .pt-duration-grid { gap: 1.1rem; }
  .pt-duration-card { width: 170px; }
  .pt-duration-arch { height: 200px; border-radius: 95px 95px 18px 18px; }
  .pt-duration-check { top: 172px; right: 10px; }
  .pt-bag--main { width: 66px; }
}

@media (max-width: 575px) {
  .pt-dest-card {
    flex-basis: 210px;
    width: 210px;
    height: 330px;
  }
  .pt-carousel-wrap {
    padding-left: 2.35rem;
    padding-right: 2.35rem;
  }
  .pt-carousel-nav {
    top: calc(1rem + 165px);
    width: 38px;
    height: 38px;
  }
  .pt-carousel-prev { left: 0.1rem; }
  .pt-carousel-next { right: 0.1rem; }
  .pt-group-carousel .pt-group-card {
    flex: 0 0 210px;
    width: 210px;
    height: 330px;
  }
  .pt-group-carousel-wrap .pt-carousel-nav {
    top: calc(1rem + 165px);
  }
  .pt-duration-card { width: 148px; }
  .pt-duration-arch { height: 176px; }
  .pt-duration-label { font-size: 1rem; }
  .pt-duration-check { top: 150px; width: 26px; height: 26px; font-size: 0.65rem; }
  .pt-duration-picked { font-size: 0.55rem; max-width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .pt-panel,
  .pt-dest-card,
  .pt-dest-media,
  .pt-dest-shine,
  .pt-group-card,
  .pt-duration-card,
  .pt-duration-picked {
    animation: none !important;
    transition: none !important;
  }
  .pt-dest-card,
  .pt-group-card,
  .pt-duration-card,
  .pt-city-card,
  .pt-place-chip {
    opacity: 1;
    transform: none;
  }
}
