/* Zovya Travels — Form A /packages hub stylesheet + /hotels listing surface.
   Compact dark hero (imagery + veil, breadcrumb, serif title, trust chips),
   light listing surface: filter toolbar + workbench + card grid, inline quote
   card, zero state, editorial, quote banner. /hotels and /hotel/location/*
   reuse the pkg-* workbench, cards and zero state (no filter toolbar: /hotels
   carries a Tier + Sort bar instead); only the hotel fact line + touch-target
   sizing are hotels-specific (see block below). /updates reuses the pkg-hero
   shell with an in-hero guide search instead of the trust line.
   Reuses hero field primitives (.input-*, .ms-*) + buttons from header-style.
   Depends on header-style.css tokens (always linked together). */


.pkg-hero { position: relative; overflow: clip; background-color: var(--color-bg-dark); border-bottom: 1px solid var(--color-border-dark); }
.pkg-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.pkg-hero-veil { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 15, 26, 0.62) 0%, rgba(11, 15, 26, 0.86) 100%); }
.pkg-hero-inner { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 56px; text-align: center; }
.pkg-crumb { font-size: 12.5px; color: var(--color-text-on-dark); margin-bottom: 12px; }
.pkg-crumb a { color: var(--color-gold-light); }
.pkg-crumb a:hover { color: var(--color-gold); }
.pkg-hero-title { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); line-height: 1.15; color: var(--color-text-on-dark); margin: 0 0 12px; text-wrap: balance; }
.pkg-hero-sub { font-size: 15.5px; color: var(--color-text-on-dark); max-width: 62ch; margin: 0 auto 16px; line-height: 1.6; }
/* WYSIWYG hero copy (location archive description, rendered as HTML): the
   wrapper keeps the .pkg-hero-sub type + outer margins, so the editor's own
   block elements must not stack extra margins on top of it. */
.hero-sub-html > * { margin-top: 0; }
.hero-sub-html > *:last-child { margin-bottom: 0; }
.hero-sub-html p, .hero-sub-html ul, .hero-sub-html ol, .hero-sub-html blockquote { margin: 0 0 10px; }
.hero-sub-html ul, .hero-sub-html ol { text-align: left; }
.hero-sub-html a { color: var(--color-gold-light); text-decoration: underline; }
.pkg-hero-trust { font-size: 13px; color: var(--color-text-on-dark); margin: 0; display: flex; gap: 10px; justify-content: center; align-items: center; }
.pkg-hero-trust strong { color: var(--color-gold-light); }

/* /updates hero: in-hero guide search (replaces the trust line as the hero
   action). White field for contrast on the veiled image, gold pill submit,
   ghost Clear pill when a query is active — all primitives from header-style.
   Live suggestions dropdown (2026-10-12): the input sits in a positioned
   .phs-wrap so .pkg-hero-results can anchor under it; up to 5 rows + a
   trailing "See all results" link to /updates?q=... */
.pkg-hero-search { display: flex; gap: 10px; justify-content: center; align-items: center; max-width: 560px; margin: 6px auto 0; }
.pkg-hero-search .phs-wrap { position: relative; flex: 1 1 auto; min-width: 0; max-width: 340px; }
.pkg-hero-search .input-field { width: 100%; min-height: 46px; padding-top: 10px; padding-bottom: 10px; }
.pkg-hero-search .btn-gold, .pkg-hero-search .btn-ghost-dark { flex: 0 0 auto; height: 46px; }
.pkg-hero-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  background: #FFFFFF;
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(11, 15, 26, 0.18);
  padding: 6px;
  max-height: min(340px, 50vh);
  max-height: min(340px, 50dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  text-align: left;
}
.pkg-hero-results[hidden] { display: none; }
.pkg-hero-results ul { list-style: none; margin: 0; padding: 0; }
.pkg-hero-results li + li { margin-top: 2px; }
.pkg-hero-results a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  min-height: 44px;
  border-radius: 10px;
  color: var(--color-navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.pkg-hero-results a:hover { background: rgba(201, 168, 76, 0.12); }
.pkg-hero-results a:focus-visible { outline: 2px solid var(--color-gold); outline-offset: -2px; }
.pkg-hero-results .phs-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pkg-hero-results .phs-d { font-size: 12px; font-weight: 500; color: var(--color-navy-muted); }
.pkg-hero-results .phs-all a {
  flex-direction: row;
  align-items: center;
  color: var(--color-gold-muted);
  border-top: 1px solid var(--color-border-light);
  border-radius: 0 0 10px 10px;
  margin-top: 4px;
}
.pkg-hero-results .phs-none { margin: 0; padding: 12px; font-size: 13.5px; font-weight: 600; color: var(--color-navy-muted); }
/* /updates only: drop the hero's overflow:clip so the suggestions panel can
   paint past the hero's bottom edge (it is anchored to the input, which sits
   close to the section border). Scoped by the .pkg-hero-no-clip modifier on
   the updates hero; /packages, /hotels and /hotel/location/* keep the clip. */
.pkg-hero.pkg-hero-no-clip { overflow: visible; }

/* /updates polymorphic listing (latest | search results | category archive):
   9 cards per page in a 3-per-row grid, Load More reveals +9. Card anatomy
   mirrors the footer "Latest Updates" card (footer-style.css
   .ftr-updates-list): one <a> = image + bold title + 2-line excerpt + date,
   light border/radius/shadow with the gold hover lift. Surface = cream
   (--color-bg-light, same band cream as .pkg-best); cards stay white. */
.ups-list { background: var(--color-bg-light); border-bottom: 1px solid var(--color-border-light); padding: 44px 0; }
.ups-list-title { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); color: var(--color-navy); text-align: center; margin: 0 0 26px; text-wrap: balance; }
.ups-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ups-card {
  display: block;
  color: var(--color-navy);
  text-decoration: none;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ups-card[hidden] { display: none; }
.ups-card:hover { border-color: var(--color-gold); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.ups-card-img { display: block; width: 100%; height: 170px; object-fit: cover; }
.ups-card-title { display: block; padding: 16px 18px 4px; font-weight: 700; font-size: 15.5px; line-height: 1.5; transition: color 0.2s ease; }
.ups-card:hover .ups-card-title { color: var(--color-gold-muted); }
.ups-card-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 0 18px;
  margin-bottom: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-navy-muted);
}
.ups-card-date { display: block; padding: 0 18px 16px; font-size: 12.5px; color: var(--color-navy-muted); }
.ups-more { text-align: center; margin-top: 26px; }
@media (max-width: 900px) { .ups-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .ups-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ups-card { transition: none; } .ups-card:hover { transform: none; } }

/* Journey types strip (below hero → term archives) */
.pkg-types { background: #FFFFFF; border-bottom: 1px solid var(--color-border-light); padding: 48px 0; }
.pkg-types-title { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 38px); color: var(--color-navy); text-align: center; margin: 0 0 10px; text-wrap: balance; }
.pkg-types-sub { text-align: center; color: var(--color-navy-muted); font-size: 15px; margin: 0; }
.pkg-types-grid { display: grid; gap: 18px; margin-top: 26px; }
/* Count-driven columns: N≤5 fills one row in N equal parts; 6+ wraps
   centered at 4 per row (flex so the short last row centers). */
.pkg-types-grid.tcols-1 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
.pkg-types-grid.tcols-2 { grid-template-columns: repeat(2, 1fr); }
.pkg-types-grid.tcols-3 { grid-template-columns: repeat(3, 1fr); }
.pkg-types-grid.tcols-4 { grid-template-columns: repeat(4, 1fr); }
.pkg-types-grid.tcols-5 { grid-template-columns: repeat(5, 1fr); }
.pkg-types-grid.tcols-many { display: flex; flex-wrap: wrap; justify-content: center; }
.pkg-types-grid.tcols-many .pkg-type-card { flex: 0 1 calc(25% - 14px); min-width: 0; }
.pkg-type-card { display: block; background: #FFFFFF; border: 1px solid var(--color-border-light); border-radius: var(--radius-md); overflow: hidden; min-width: 0; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.pkg-type-card:hover { border-color: var(--color-gold); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.pkg-type-media { display: block; aspect-ratio: 16 / 10; background: var(--color-bg-dark); overflow: hidden; }
.pkg-type-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pkg-type-body { display: block; padding: 16px 18px; }
.pkg-type-body strong { display: block; font-size: 16px; color: var(--color-navy); margin-bottom: 6px; }
.pkg-type-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; line-clamp: 3; overflow: hidden; font-size: 13.5px; line-height: 1.55; color: var(--color-navy-muted); }

/* Featured category band — light/cream surface. Which index starts cream is
   decided per view: /packages is cream first, /hotels is dark first. */
.pkg-best { background-color: var(--color-bg-light); padding: 56px 0; }
/* Featured category band — dark variant (2nd, 4th... sections; cards stay white for contrast) */
.pkg-best-dark { background: linear-gradient(180deg, #10182B 0%, #0B0F1A 100%); border-top: 1px solid rgba(201, 168, 76, 0.25); }
.pkg-best-dark .pkg-best-title { color: var(--color-text-on-dark); }
.pkg-best-dark .pkg-best-sub { color: var(--color-text-on-dark-2); }
.pkg-best-title { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 38px); color: var(--color-navy); text-align: center; margin: 0 0 10px; text-wrap: balance; }
.pkg-best-sub { text-align: center; color: var(--color-navy-muted); font-size: 15px; margin: 0; }
.pkg-best-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; align-items: start; /* cards size to their own content */ }
/* The hotels featured band reuses .pkg-cards (not .pkg-best-grid), so its
   sub -> cards gap has to be restated here: without it the card grid sat
   flush against the sub line. .pkg-more-wrap already carries the
   cards -> Show more gap further down. */
.pkg-best > .container-wide > .pkg-cards { margin-top: 28px; }
.pkg-best-card { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--color-border-light); border-radius: var(--radius-lg); overflow: hidden; min-width: 0; box-shadow: var(--shadow-sm); transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.pkg-best-card:hover { border-color: var(--color-gold); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.pkg-best-media { display: block; aspect-ratio: 16 / 10; background: var(--color-bg-dark); overflow: hidden; }
.pkg-best-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pkg-best-body { padding: 20px 20px 6px; min-width: 0; }
.pkg-best-body h3 { font-size: 17px; margin: 0 0 10px; line-height: 1.4; }
.pkg-best-body h3 a { color: var(--color-navy); }
.pkg-best-body h3 a:hover { color: var(--color-gold-muted); }
.pkg-best .pkg-card-meta { margin-bottom: 10px; }
.pkg-best .pkg-card-price { margin-bottom: 14px; }
.pkg-best-actions { display: flex; gap: 10px; padding: 0 20px 20px; margin-top: auto; align-items: stretch; }
.pkg-best-actions .btn-ghost-dark, .pkg-best-actions .btn-gold { flex: 1 1 auto; min-height: 42px; font-size: 13px; }
.pkg-best-actions .btn-whatsapp { flex: 0 0 46px; min-width: 46px; min-height: 42px; padding: 0; font-size: 18px; }
/* Band pager: cards past the first 6 stay hidden until Show more reveals them
   (author rule beats the UA [hidden] sheet because .pkg-best-card sets display). */
.pkg-best-card[hidden] { display: none; }
.pkg-more-wrap { display: flex; justify-content: center; margin-top: 30px; }
.pkg-more-wrap .pkg-showmore { min-width: 230px; }

/* Listing surface */
.pkg-wrap { background-color: var(--color-bg-light); padding: 48px 0 64px; }
.pkg-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }

/* Filters: horizontal toolbar on top (brand bar) */
.pkg-filters {
  background: #FFFFFF;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 24px;
  padding: 16px 22px;
}
.pkg-filters-head { display: flex; align-items: center; align-self: stretch; padding-right: 24px; border-right: 1px solid var(--color-border-light); }
.pkg-filters-head h3 { font-family: var(--font-display); font-size: 17px; color: var(--color-navy); margin: 0; white-space: nowrap; }
.pkg-filters-toggle { display: none; }
.pkg-filters-body { min-width: 0; }
.pkg-filter-form { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 14px 20px; }
.pkg-fgroup { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; min-width: 0; flex: 0 1 auto; }
.pkg-fgroup:has(.pkg-price-row) { flex: 1 1 240px; max-width: 300px; }
.pkg-fgroup legend { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-gold-muted); padding: 0; margin-bottom: 2px; }
.pkg-filters .ms-opt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; min-height: 42px; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--color-navy); }
.pkg-filters .ms-opt:hover { background: rgba(201, 168, 76, 0.12); }
.pkg-filters .ms-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pkg-filters .ms-box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--color-border-light); background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #FFFFFF; flex-shrink: 0; }
.pkg-filters .ms-box i { opacity: 0; }
.pkg-filters .ms-opt input:checked + .ms-box { background: var(--color-navy); border-color: var(--color-navy); }
.pkg-filters .ms-opt input:checked + .ms-box i { opacity: 1; }
.pkg-filters .ms-opt input:focus-visible + .ms-box { outline: 2px solid var(--color-gold); outline-offset: 2px; }
.pkg-filters .input-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-gold-muted); display: block; margin-bottom: 0; transition: color 0.2s ease; }
.pkg-fgroup:focus-within .input-label { color: var(--color-gold); }
.pkg-fgroup.active .input-label { color: var(--color-gold); }
.pkg-filter-form .input-field { min-height: 46px; padding-top: 10px; padding-bottom: 10px; }
.pkg-filter-form select.input-field { min-width: 150px; }
.pkg-fgroup.active .input-field { border-color: rgba(201, 168, 76, 0.65); background-color: rgba(201, 168, 76, 0.06); }
.pkg-price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pkg-price-row .input-field { width: 100%; min-width: 0; }
.pkg-price-row .input-field.has-postfix { padding-right: 32px; }
.pkg-price-row .input-postfix { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--color-navy-muted); font-size: 14px; font-weight: 700; pointer-events: none; }
.pkg-filter-actions { display: flex; flex-direction: row; gap: 10px; margin-left: auto; }
.pkg-filter-actions .btn-gold, .pkg-filter-actions .btn-ghost-dark { width: auto; min-height: 46px; }
/* Mobile accordion toggle (hidden ≥901px) */
.pkg-filters-toggle {
  display: none;
  align-items: center; gap: 9px;
  min-height: 44px; padding: 0 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border-light);
  background: var(--color-bg-light);
  color: var(--color-navy);
  font-size: 13.5px; font-weight: 700;
  cursor: pointer; touch-action: manipulation;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.pkg-filters-toggle:hover { border-color: var(--color-gold); }
.pkg-filters-toggle:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 2px; }
.pkg-filters-toggle.has-active { border-color: rgba(201, 168, 76, 0.65); background: rgba(201, 168, 76, 0.1); color: var(--color-gold-muted); }
.pkg-filters-caret { font-size: 11px; transition: transform 0.25s ease; }

/* Results + workbench */
.pkg-results { min-width: 0; }
.pkg-workbench { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.pkg-workbench h3 { font-family: var(--font-display); font-size: 24px; color: var(--color-navy); margin: 0; }
.pkg-sort { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.pkg-sort .input-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-gold-muted); }
.pkg-sort .input-wrap { position: relative; }
.pkg-sort .input-field { background-color: #FFFFFF; border: 1px solid var(--color-border-light); color: var(--color-navy); font-size: 14px; font-weight: 500; padding: 10px 38px 10px 14px; min-height: 44px; border-radius: 12px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.pkg-sort .input-field option { background-color: #FFFFFF; color: var(--color-navy); }
.pkg-sort .input-chevron { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--color-navy-muted); font-size: 12px; pointer-events: none; }

/* Package cards: grid style matching the featured-category bands */
.pkg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.pkg-card { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--color-border-light); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; min-width: 0; }
.pkg-card:hover { border-color: var(--color-gold); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
/* Featured-location band pager: cards past the first 6 stay hidden until
   Show more reveals them (author rule beats the UA [hidden] sheet because
   .pkg-card sets display — same reason as .pkg-best-card above). */
.pkg-card[hidden] { display: none; }
.pkg-card-media { display: block; aspect-ratio: 16 / 10; background: var(--color-bg-dark); overflow: hidden; }
.pkg-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pkg-card-body { padding: 20px 20px 6px; min-width: 0; }
.pkg-card-body h4 { font-size: 17px; margin: 0 0 10px; line-height: 1.4; }
.pkg-card-body h4 a { color: var(--color-navy); }
.pkg-card-body h4 a:hover { color: var(--color-gold-muted); }
/* Card details (items 3–8): stars, duration, segments, tours, chips */
.pkg-stars, .pkg-dur, .pkg-tours { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--color-navy-muted); margin: 0 0 8px; }
.pkg-star-row { display: inline-flex; gap: 2px; color: var(--color-gold); font-size: 13px; }
.pkg-star-row .off { opacity: 0.28; }
.pkg-stars > span:last-child { font-weight: 700; color: var(--color-navy); }
.pkg-dur i, .pkg-tours i, .pkg-segments i { color: var(--color-gold-muted); font-size: 13px; flex-shrink: 0; }
.pkg-segments { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.pkg-segments li { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; color: var(--color-navy-muted); min-width: 0; }
.pkg-segments li em { font-style: normal; color: var(--color-gold-muted); font-size: 12.5px; }
.pkg-tours span { overflow-wrap: anywhere; }
.pkg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; }
.pkg-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--color-navy); background: rgba(201, 168, 76, 0.14); border: 1px solid rgba(201, 168, 76, 0.45); border-radius: var(--radius-full); padding: 5px 12px; }
.pkg-chip i { color: var(--color-gold-muted); font-size: 13px; }
.pkg-card-price { font-size: 19px; font-weight: 800; color: var(--color-navy); margin: 0 0 14px; }
.pkg-card-actions { display: flex; gap: 10px; padding: 0 20px 20px; margin-top: auto; align-items: stretch; background: transparent; border-left: none; }
.pkg-card-actions a { flex: 1 1 auto; font-size: 13px; min-height: 42px; }
.pkg-card-actions .btn-whatsapp { flex: 0 0 46px; min-width: 46px; padding: 0; font-size: 18px; }
.pkg-card-actions .btn-whatsapp span { display: none; }

/* Inline quote card + zero state */
.pkg-inline-quote { background: #FFFFFF; border: 1.5px solid var(--color-gold); border-radius: var(--radius-lg); padding: 30px 26px; text-align: center; }
.pkg-inline-quote h3 { font-family: var(--font-display); font-size: 24px; color: var(--color-navy); margin: 0 0 8px; text-wrap: balance; }
.pkg-inline-quote p { color: var(--color-navy-muted); margin: 0 0 18px; font-size: 14.5px; }
.pkg-zero { background: #FFFFFF; border: 1px dashed var(--color-gold-muted); border-radius: var(--radius-lg); padding: 44px 28px; text-align: center; }
.pkg-zero h3 { font-family: var(--font-display); font-size: 26px; color: var(--color-navy); margin: 0 0 10px; text-wrap: balance; }
.pkg-zero p { color: var(--color-navy-muted); margin: 0 0 20px; }

/* Inline quote card spans the full card grid */
.pkg-cards .pkg-inline-quote { grid-column: 1 / -1; }

/* Editorial + banner */
.pkg-editorial { background: #FFFFFF; border-top: 1px solid var(--color-border-light); padding: 56px 0; color: var(--color-navy); }
.pkg-banner { background-color: #FFFFFF; border-top: 1px solid var(--color-border-light); padding: 64px 0; text-align: center; }
.pkg-banner h2 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 38px); color: var(--color-navy); margin: 0 0 10px; text-wrap: balance; }
.pkg-banner p { color: var(--color-navy-muted); margin: 0 0 24px; }
.pkg-banner-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Hotels listing (/hotels + /hotel/location/*) ─────────────────────────
   Inherits the pkg-* workbench, card grid and zero state above; there is no
   filter toolbar (the Stars + Sort bar lives in the workbench). Adds the hotel
   key-fact line (mirrors .pkg-card-price emphasis) and ≥48px / ≥16px control
   sizing on touch devices so iOS does not zoom the Stars / Sort selects on
   focus. Scoped by #htlSortBar / #htlResults. */
.pkg-card-fact { font-size: 17px; font-weight: 800; color: var(--color-navy); margin: 0 0 12px; overflow-wrap: anywhere; }
@media (pointer: coarse) {
  #htlSortBar .input-field { min-height: 48px; font-size: 16px; }
  #htlSortBar .btn-ghost-dark,
  #htlResults .pkg-card-actions a { min-height: 48px; }
  .pkg-hero-search .input-field { min-height: 48px; font-size: 16px; }
  .pkg-hero-search .btn-gold, .pkg-hero-search .btn-ghost-dark { height: 48px; }
}

/* The 900px rule below widens every .pkg-fgroup to 100%; keep the Stars + Sort
   bar inline — the workbench already wraps it onto its own row. */
@media (max-width: 900px) {
  #htlSortBar .pkg-fgroup, #htlSortBar .pkg-fgroup:has(.pkg-price-row) { flex: 0 1 auto; width: auto; }
}

/* Listing responsive */
@media (max-width: 1100px) {
  .pkg-filters { grid-template-columns: 1fr; gap: 12px; }
  .pkg-filters-head { align-self: auto; padding-right: 0; padding-bottom: 12px; border-right: none; border-bottom: 1px dashed var(--color-border-light); }
}
@media (max-width: 1024px) {
  .pkg-best-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pkg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pkg-filters { padding: 14px 16px; gap: 0; }
  .pkg-filters-head { justify-content: space-between; padding-bottom: 0; border-bottom: none; }
  .pkg-filters-head h3 { display: none; }
  .pkg-filters-toggle { display: inline-flex; }
  .pkg-filters.is-open .pkg-filters-caret { transform: rotate(180deg); }
  .pkg-filters-body { display: none; padding-top: 14px; margin-top: 14px; border-top: 1px dashed var(--color-border-light); }
  .pkg-filters.is-open .pkg-filters-body { display: block; }
  .pkg-filter-form { flex-direction: column; align-items: stretch; gap: 14px; }
  .pkg-fgroup, .pkg-fgroup:has(.pkg-price-row) { flex: 0 0 auto; max-width: none; width: 100%; }
  .pkg-filter-form .input-field, .pkg-filter-form select.input-field { width: 100%; min-width: 0; }
  .pkg-filter-actions { margin-left: 0; }
  .pkg-filter-actions .btn-gold, .pkg-filter-actions .btn-ghost-dark { flex: 1 1 auto; width: auto; }
}
@media (max-width: 640px) {
  .pkg-best-grid { grid-template-columns: 1fr; }
  .pkg-types-grid.tcols-2, .pkg-types-grid.tcols-3, .pkg-types-grid.tcols-4, .pkg-types-grid.tcols-5, .pkg-types-grid.tcols-many { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .pkg-types-grid.tcols-2 .pkg-type-card, .pkg-types-grid.tcols-3 .pkg-type-card, .pkg-types-grid.tcols-4 .pkg-type-card, .pkg-types-grid.tcols-5 .pkg-type-card, .pkg-types-grid.tcols-many .pkg-type-card { flex: 0 1 calc(50% - 7px); min-width: 0; }
  .pkg-hero-inner { padding-top: 44px; padding-bottom: 44px; }
  .pkg-cards { grid-template-columns: 1fr; }
  .pkg-card-media { aspect-ratio: 16 / 9; }
  .pkg-workbench h3 { font-size: 20px; }
  .pkg-banner-actions .btn-gold, .pkg-banner-actions .btn-whatsapp { width: 100%; }
  .pkg-hero-search { flex-wrap: wrap; }
  .pkg-hero-search .phs-wrap { flex: 1 1 100%; max-width: none; }
  .pkg-hero-search .btn-gold { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pkg-card, .pkg-filters, .pkg-filters-toggle, .pkg-filters-caret, .pkg-filters .input-label { transition: none; }
  .pkg-card:hover { transform: none; }
}
