/* =====================================================================
   POPULAR TRIPS AT LOWEST PRICES  (frontend/popular-trips/index)
   After the "Next Travel" reference — script titles, thin serif capitals,
   stacked photographs beside the words, gold pill buttons on a warm ground —
   in Kohwan's navy and gold.
   ===================================================================== */

.ptp {
  --ptp-navy: #1f3441;
  --ptp-ink: #25343d;
  --ptp-text: #4f5d65;
  --ptp-muted: #7b878d;
  --ptp-gold: #BD830D;
  --ptp-gold-soft: #d9b25a;
  --ptp-ground: #f7f5f0;
  --ptp-card: #ffffff;
  --ptp-line: #e7e1d5;
  --ptp-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --ptp-script: 'Allura', 'Great Vibes', cursive;
  --ptp-ease: cubic-bezier(.22, .61, .36, 1);

  background: var(--ptp-ground);
  color: var(--ptp-ink);
  overflow-x: clip;
}
.ptp [hidden] { display: none !important; }
.ptp *, .ptp *::before, .ptp *::after { box-sizing: border-box; }
.ptp img { display: block; max-width: 100%; }
.ptp :where(button) { font-family: inherit; }

.ptp-wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }

.ptp-script { font-family: var(--ptp-script); font-weight: 400; text-transform: none; letter-spacing: 0; }
.ptp-script--gold { color: var(--ptp-gold); font-size: 1.35em; line-height: .8; }

.ptp-h2 {
  margin: 0 0 18px; font-family: var(--ptp-serif); font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.1; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ptp-navy);
}
.ptp-h2--center, .ptp-center { text-align: center; }
.ptp-h2--light { color: #fff; }
.ptp-h3 {
  margin: 0; font-family: var(--ptp-serif); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: .02em; color: var(--ptp-navy);
}
.ptp-eyebrow { margin: 0 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ptp-gold); }

.ptp-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ptp-btns--center { justify-content: center; }
.ptp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 26px; border-radius: 999px; border: 1.5px solid var(--ptp-gold);
  background: var(--ptp-gold); color: #fff !important; cursor: pointer;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: background .2s, color .2s, transform .2s var(--ptp-ease), box-shadow .2s;
}
.ptp-btn:hover { background: #a57109; border-color: #a57109; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(189,131,13,.28); }
.ptp-btn--line { background: transparent; color: var(--ptp-gold) !important; }
.ptp-btn--line:hover { background: var(--ptp-gold); color: #fff !important; }
.ptp-btn--ghost { background: transparent; border-color: rgba(255,255,255,.8); }
.ptp-btn--ghost:hover { background: #fff; color: var(--ptp-navy) !important; border-color: #fff; }
.ptp-btn--sm { padding: 8px 16px; font-size: .68rem; letter-spacing: .1em; }
.ptp-link { padding: 0; border: 0; background: none; cursor: pointer; color: var(--ptp-gold); font-weight: 700; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------- hero */
.ptp-hero {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: clamp(460px, 62vh, 620px); padding: 90px 24px 70px; text-align: center; color: #fff;
  background: #2b3f4b var(--ptp-hero) center 60% / cover no-repeat;
}
.ptp-hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,28,36,.45) 0%, rgba(15,28,36,.2) 45%, rgba(15,28,36,.55) 100%); }
.ptp-hero__inner { position: relative; width: min(760px, 100%); }
.ptp-hero__kicker { margin: 0 0 4px; font-size: .74rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; opacity: .9; }
.ptp-hero__title { margin: 0; line-height: 1; }
.ptp-hero__title .ptp-script { font-size: clamp(4rem, 11vw, 8rem); text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.ptp-hero__sub { margin: 4px 0 28px; font-family: var(--ptp-serif); font-size: clamp(1.2rem, 2.4vw, 1.7rem); letter-spacing: .08em; }

.ptp-search { position: relative; width: min(560px, 100%); margin: 0 auto; }
.ptp-search > svg { position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ptp-muted); pointer-events: none; }
.ptp-search input {
  width: 100%; height: 52px; padding: 0 22px 0 48px; border: 2px solid rgba(255,255,255,.9); border-radius: 999px;
  background: rgba(255,255,255,.96); color: var(--ptp-ink); font-size: .95rem; outline: none;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}
.ptp-search input:focus { border-color: var(--ptp-gold); }
.ptp-search__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; margin: 0; padding: 6px; list-style: none;
  background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.2); text-align: left; max-height: 320px; overflow-y: auto;
}
.ptp-search__list a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--ptp-ink); text-decoration: none; }
.ptp-search__list a:hover, .ptp-search__list a.is-on { background: var(--ptp-ground); }
.ptp-search__list img { width: 44px; height: 34px; border-radius: 6px; object-fit: cover; }
.ptp-search__list b { display: block; font-size: .92rem; }
.ptp-search__list small { color: var(--ptp-muted); font-size: .78rem; }
.ptp-search__list li.is-empty { padding: 12px; color: var(--ptp-muted); font-size: .9rem; }

.ptp-hero__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: .88rem; }
.ptp-hero__stats b { font-size: 1.05rem; color: #f3d48b; }

/* ------------------------------------------------------------ split */
.ptp-split {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  width: min(1200px, 100% - 48px); margin: 0 auto; padding: clamp(48px, 7vw, 90px) 0; gap: clamp(28px, 5vw, 72px);
}
.ptp-split__copy p { margin: 0 0 12px; color: var(--ptp-text); line-height: 1.75; font-size: .95rem; }
.ptp-split--flip > .ptp-split__copy { order: 2; }

.ptp-stack { display: grid; grid-template-rows: 70px 1fr 70px; height: clamp(360px, 38vw, 480px); overflow: hidden; }
.ptp-stack img { width: 100%; height: 100%; object-fit: cover; }
.ptp-stack__strip { filter: saturate(1.05); }

.ptp-mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(320px, 34vw, 440px); }
.ptp-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.ptp-mosaic img:first-child { grid-row: 1 / 3; }
.ptp-mosaic img:only-child { grid-column: 1 / 3; }

.ptp-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.ptp-facts li { display: flex; flex-direction: column; min-width: 120px; padding: 12px 16px; border: 1px solid var(--ptp-line); border-radius: 14px; background: #fff; }
.ptp-facts b { font-family: var(--ptp-serif); font-size: 1.6rem; font-weight: 600; line-height: 1; color: var(--ptp-navy); }
.ptp-facts span { margin-top: 4px; font-size: .74rem; color: var(--ptp-muted); }

/* -------------------------------------------------------------- bar */
.ptp-bar { position: sticky; top: 0; z-index: 40; background: rgba(247,245,240,.94); backdrop-filter: blur(10px); border-block: 1px solid var(--ptp-line); }
.ptp-bar__in { display: flex; gap: 6px; width: min(1200px, 100% - 32px); margin: 0 auto; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.ptp-bar__in::-webkit-scrollbar { display: none; }
.ptp-bar a {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
  color: var(--ptp-ink); text-decoration: none; font-size: .84rem; font-weight: 600; white-space: nowrap; border: 1px solid transparent;
}
.ptp-bar a small { padding: 1px 7px; border-radius: 999px; background: #ebe5d8; font-size: .7rem; }
.ptp-bar a:hover { border-color: var(--ptp-line); background: #fff; }
.ptp-bar a.is-on { background: var(--ptp-navy); color: #fff; }
.ptp-bar a.is-on small { background: rgba(255,255,255,.2); }
.ptp-bar__pk { color: var(--ptp-gold) !important; }
.ptp-bar__pk.is-on { background: var(--ptp-gold) !important; color: #fff !important; }

/* ------------------------------------------------------------- area */
.ptp-area { scroll-margin-top: 60px; }
.ptp-area + .ptp-area { border-top: 1px solid var(--ptp-line); }
.ptp-area [id] { scroll-margin-top: 70px; }

.ptp-subhead { margin-bottom: 24px; }
.ptp-subhead p { margin: 4px 0 0; color: var(--ptp-muted); font-size: .9rem; }
.ptp-subhead--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }

/* place cards */
.ptp-places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: clamp(40px, 6vw, 72px); }
.ptp-place {
  display: flex; flex-direction: column; background: var(--ptp-card); border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(31,52,65,.06), 0 10px 30px rgba(31,52,65,.06);
  transition: box-shadow .25s, transform .25s var(--ptp-ease);
}
.ptp-place:hover { box-shadow: 0 2px 4px rgba(31,52,65,.08), 0 18px 40px rgba(31,52,65,.12); }
.ptp-place.is-target { animation: ptp-glow 2.2s var(--ptp-ease); }
@keyframes ptp-glow { 0%, 40% { box-shadow: 0 0 0 3px var(--ptp-gold), 0 18px 40px rgba(189,131,13,.25); } 100% { box-shadow: 0 1px 2px rgba(31,52,65,.06), 0 10px 30px rgba(31,52,65,.06); } }

.ptp-place__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.ptp-place__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ptp-ease); }
.ptp-place:hover .ptp-place__media img { transform: scale(1.05); }
.ptp-place__price {
  position: absolute; right: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.95); color: var(--ptp-ink); font-size: .74rem; box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.ptp-place__price b { color: var(--ptp-gold); font-size: .92rem; }
.ptp-place__type { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(31,52,65,.82); color: #fff; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

.ptp-place__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.ptp-place__name { margin: 0; font-family: var(--ptp-serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; color: var(--ptp-navy); }
.ptp-place__area { display: flex; align-items: center; gap: 5px; margin: 4px 0 10px; font-size: .78rem; color: var(--ptp-muted); }
.ptp-place__area svg { width: 13px; height: 13px; }
.ptp-place__text p { margin: 0 0 6px; color: var(--ptp-text); font-size: .88rem; line-height: 1.65; }

.ptp-place__info { margin: 12px 0 0; display: grid; gap: 8px; }
.ptp-place__info div { padding: 9px 12px; border-radius: 10px; background: var(--ptp-ground); }
.ptp-place__info dt { display: flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ptp-gold); }
.ptp-place__info dt svg { width: 14px; height: 14px; }
.ptp-place__info dd { margin: 3px 0 0; font-size: .82rem; line-height: 1.5; color: var(--ptp-text); }

.ptp-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 14px 0 0; padding: 12px 0 0; list-style: none; border-top: 1px dashed var(--ptp-line); }
.ptp-prices li { display: flex; flex-direction: column; padding: 0 8px; min-width: 0; }
.ptp-prices li + li { border-left: 1px solid var(--ptp-line); }
.ptp-prices li:first-child { padding-left: 0; }
.ptp-prices span { font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ptp-muted); }
.ptp-prices b { margin-top: 3px; font-size: 1rem; color: var(--ptp-navy); white-space: nowrap; }
.ptp-prices b s { margin-left: 5px; font-size: .72rem; font-weight: 400; color: var(--ptp-muted); }
.ptp-prices b.is-quote { font-size: .84rem; color: var(--ptp-text); font-weight: 600; }
.ptp-prices small { font-size: .68rem; color: var(--ptp-muted); line-height: 1.3; }

.ptp-place__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; }
.ptp-wa { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-left: auto; border-radius: 50%; background: #25d366; color: #fff; }
.ptp-wa svg { width: 18px; height: 18px; }
.ptp-none { padding: 0 0 40px; color: var(--ptp-muted); }

/* packages */
.ptp-pk { padding: clamp(40px, 6vw, 64px) 0; background: #efeadf; }
.ptp-pk__tools { display: flex; align-items: center; gap: 16px; }
.ptp-arrows { display: flex; border: 1px solid #d8d0bf; border-radius: 999px; overflow: hidden; background: #fff; }
.ptp-arrows button { width: 46px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--ptp-ink); display: flex; align-items: center; justify-content: center; }
.ptp-arrows button + button { border-left: 1px solid #d8d0bf; }
.ptp-arrows button:hover { background: var(--ptp-ground); }
.ptp-arrows svg { width: 18px; height: 18px; }

.ptp-pk__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 12px; scrollbar-width: none;
}
.ptp-pk__track::-webkit-scrollbar { display: none; }
.ptp-card { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(31,52,65,.08); }
.ptp-card.is-dim { display: none; }
.ptp-card__media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; }
.ptp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ptp-ease); }
.ptp-card:hover .ptp-card__media img { transform: scale(1.05); }
.ptp-card__len { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(31,52,65,.85); color: #fff; font-size: .72rem; font-weight: 700; }
.ptp-card__deal { position: absolute; right: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: #c0392b; color: #fff; font-size: .7rem; font-weight: 700; }
.ptp-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.ptp-card__body h4 { margin: 0; font-size: .98rem; line-height: 1.35; }
.ptp-card__body h4 a { color: var(--ptp-ink); text-decoration: none; }
.ptp-card__body h4 a:hover { color: var(--ptp-gold); }
.ptp-card__rate { margin: 4px 0 0; font-size: .8rem; color: var(--ptp-gold); font-weight: 700; }
.ptp-card__rate span { color: var(--ptp-muted); font-weight: 400; }
.ptp-card__route { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 5px; margin: 8px 0 0; font-size: .74rem; color: var(--ptp-muted); line-height: 1.5; }
.ptp-card__route a { color: var(--ptp-text); text-decoration: underline dotted; text-underline-offset: 2px; }
.ptp-card__route a:hover { color: var(--ptp-gold); }
.ptp-card__route i { font-style: normal; color: var(--ptp-gold-soft); }
.ptp-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; }
.ptp-card__price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; }
.ptp-card__price s { width: 100%; font-size: .74rem; color: var(--ptp-muted); }
.ptp-card__price b { font-size: 1.15rem; color: var(--ptp-navy); }
.ptp-card__price span { font-size: .74rem; color: var(--ptp-muted); }

/* ---------------------------------------------------------- popular */
.ptp-popular { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--ptp-line); }
.ptp-popular .ptp-center { margin: -6px 0 32px; color: var(--ptp-muted); }
.ptp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 14px; }
.ptp-tile { position: relative; overflow: hidden; border-radius: 14px; color: #fff; text-decoration: none; }
.ptp-tile:nth-child(1) { grid-row: span 2; }
.ptp-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ptp-ease); }
.ptp-tile:hover img { transform: scale(1.06); }
.ptp-tile__veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,20,26,.72)); }
.ptp-tile__txt { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; flex-direction: column; }
.ptp-tile__txt b { font-family: var(--ptp-serif); font-size: 1.7rem; font-weight: 600; line-height: 1.05; }
.ptp-tile__txt small { font-size: .82rem; opacity: .92; }

/* -------------------------------------------------------------- cta */
.ptp-cta { position: relative; padding: clamp(70px, 10vw, 120px) 24px; text-align: center; color: #fff; background: var(--ptp-navy) var(--ptp-hero) center / cover no-repeat; }
.ptp-cta::before { content: ""; position: absolute; inset: 0; background: rgba(20,34,43,.72); }
.ptp-cta__in { position: relative; width: min(720px, 100%); margin: 0 auto; }
.ptp-cta__script { margin: 0; font-size: clamp(2.8rem, 6vw, 4.2rem); line-height: 1; color: #f3d48b; }
.ptp-cta p:not(.ptp-cta__script) { margin: 0 auto; max-width: 600px; line-height: 1.7; opacity: .92; }

/* ------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .ptp-places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ptp-pk__track { grid-auto-columns: calc((100% - 48px) / 3); }
}
@media (max-width: 860px) {
  .ptp-split { grid-template-columns: 1fr; }
  .ptp-split--flip > .ptp-split__copy { order: 0; }
  .ptp-stack { height: 320px; grid-template-rows: 50px 1fr 50px; }
  .ptp-mosaic { height: 280px; }
  .ptp-pk__track { grid-auto-columns: calc((100% - 24px) / 2); }
  .ptp-tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
}
@media (max-width: 640px) {
  .ptp-wrap, .ptp-split { width: calc(100% - 32px); }
  .ptp-hero { min-height: 480px; padding: 70px 16px 50px; }
  .ptp-places { grid-template-columns: 1fr; gap: 18px; }
  .ptp-pk__track { grid-auto-columns: 84%; gap: 14px; }
  .ptp-subhead--row { flex-direction: column; align-items: flex-start; }
  .ptp-facts li { min-width: 0; flex: 1 1 40%; }
  .ptp-tiles { grid-template-columns: 1fr; grid-auto-rows: 190px; }
  .ptp-tile:nth-child(1) { grid-row: auto; }
  .ptp-prices b { font-size: .9rem; }
}
