/* Paquete por pasos (templates/web/packages/funnel/). Mobile-first, minimalista:
 * fondo blanco, mucho aire, un foco por pantalla y la compra siempre a mano. */
body:has(#pkg-funnel) { background: #fff; }
.pf { --pf-ink: var(--brand-ink, #16213e); --pf-accent: var(--brand-accent, #c0336d); --pf-muted: #667085; --pf-line: #eaecf0;
      --pf-soft: #f7f8fa; --pf-ok: #067647; --pf-warn: #b54708;
      max-width: 1120px; margin: 0 auto 80px; color: var(--pf-ink); }

.pf-step[hidden] { display: none !important; }
.pf-step { animation: pf-in .25s ease; }
@keyframes pf-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pf-step:not(.pf-pdp) { max-width: 720px; margin: 0 auto; }

/* ---------- progreso ---------- */
.pf-progress { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; max-width: 720px; margin: 0 auto 28px;
               background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); padding: 12px 0; }
.pf-progress__back { flex: 0 0 40px; height: 40px; border-radius: 50%; border: 1px solid var(--pf-line); background: #fff; font-size: 1.5rem; line-height: 1; color: var(--pf-ink); padding: 0 0 3px; }
.pf-progress__list { list-style: none; display: flex; flex: 1; gap: 6px; margin: 0; padding: 0; }
.pf-progress__item { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--pf-muted); min-width: 0; }
.pf-progress__item[hidden] { display: none; }
.pf-progress__item::before { content: ""; height: 4px; border-radius: 4px; background: var(--pf-line); transition: background .2s ease; }
.pf-progress__item.is-done::before, .pf-progress__item.is-current::before { background: var(--pf-accent); }
.pf-progress__item.is-current { color: var(--pf-ink); font-weight: 800; }
.pf-progress__t { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-progress__n { flex: 0 0 20px; height: 20px; border-radius: 50%; background: var(--pf-line); color: var(--pf-muted); font-size: .7rem; font-weight: 800;
                  display: inline-flex; align-items: center; justify-content: center; }
.pf-progress__item.is-done .pf-progress__n, .pf-progress__item.is-current .pf-progress__n { background: var(--pf-accent); color: #fff; }
.pf-progress__label { overflow: hidden; text-overflow: ellipsis; }

/* ---------- ficha de venta (paso 0) ---------- */
.pf-pdp__head { margin: 6px 0 22px; }
.pf-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-accent); margin: 0 0 8px; }
.pf-pdp__title { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 900; line-height: 1.02; letter-spacing: -.035em; margin: 0 0 12px; }
.pf-pdp__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; color: var(--pf-muted); font-weight: 600; }
.pf-pdp__meta li:not(:last-child)::after { content: "·"; margin-left: 18px; color: #c4c9d2; }
.pf-pdp__meta .pf-pdp__urgency { color: var(--pf-warn); }

.pf-pdp__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }

.pf-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 190px 190px; gap: 8px; border-radius: 22px; overflow: hidden; }
.pf-mosaic__item { margin: 0; position: relative; background: var(--pf-soft); }
.pf-mosaic__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-mosaic__item--1 { grid-row: 1 / 3; }
.pf-mosaic--simple { grid-template-columns: 1fr 1fr; grid-template-rows: 380px; }
.pf-mosaic--simple .pf-mosaic__item--1 { grid-row: auto; }
.pf-mosaic--single { grid-template-columns: 1fr; }
.pf-mosaic[hidden] { display: none; }
.pf-mosaic__tag { position: absolute; left: 10px; bottom: 10px; background: #fff; color: var(--pf-ink); font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }

.pf-glance { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; }
.pf-glance__item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--pf-line); }
.pf-glance__item:first-child { border-top: 1px solid var(--pf-line); }
.pf-glance__icon { flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--pf-soft) no-repeat center / 20px; }
.pf-glance__icon--flight { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316213e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z'/%3E%3C/svg%3E"); }
.pf-glance__icon--hotel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316213e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4v16'/%3E%3Cpath d='M2 8h18a2 2 0 0 1 2 2v10'/%3E%3Cpath d='M2 17h20'/%3E%3Cpath d='M6 8v9'/%3E%3C/svg%3E"); }
.pf-glance__icon--transfer { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316213e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Cpath d='M9 17h6'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E"); }
.pf-glance__title { margin: 0 0 2px; font-weight: 800; font-size: 1.02rem; }
.pf-glance__text { margin: 0; color: var(--pf-muted); font-size: .93rem; line-height: 1.5; }
.pf-stars { color: #f5a400; letter-spacing: 1px; font-size: .9em; }
.pf-pdp__about { color: var(--pf-muted); line-height: 1.65; margin: 22px 0 0; }

.pf-facts-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.pf-facts-list__item { position: relative; padding-left: 26px; font-size: .92rem; font-weight: 600; line-height: 1.4; }
.pf-facts-list__item::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; font-size: .66rem; font-weight: 900;
                               display: flex; align-items: center; justify-content: center; background: #e7f6ec; color: var(--pf-ok); }
.pf-facts-list__item--warn::before { content: "!"; background: #fef0e6; color: var(--pf-warn); }
.pf-facts-list__item--deal { color: var(--pf-ok); }

.pf-pdp__aside { position: sticky; top: 24px; }
.pf-buybox { border: 1px solid var(--pf-line); border-radius: 22px; padding: 26px; box-shadow: 0 24px 60px rgba(16, 24, 40, .08); background: #fff; }
.pf-buybox__label { margin: 0; font-size: .82rem; font-weight: 700; color: var(--pf-muted); }
.pf-buybox__price { margin: 2px 0 0; font-size: 2.5rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.pf-buybox__basis { margin: 4px 0 0; font-size: .86rem; color: var(--pf-muted); }
.pf-buybox__deal { margin: 8px 0 0; font-size: .9rem; font-weight: 800; color: var(--pf-ok); }
.pf-buybox .pf-btn { margin-top: 18px; }
.pf-buybox .pf-btn + .pf-btn { margin-top: 10px; }
.pf-buybox__micro { margin: 12px 0 0; font-size: .84rem; color: var(--pf-muted); text-align: center; line-height: 1.45; }
.pf-buybox__notice { margin: 16px 0 0; padding: 12px 14px; background: #fef6ee; color: var(--pf-warn); border-radius: 12px; font-weight: 700; font-size: .9rem; }

.pf-mbar { display: none; }

/* ---------- pasos ---------- */
.pf-step__head { margin: 0 0 22px; }
.pf-step__count { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-accent); margin: 0 0 8px; }
.pf-step__title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 8px; }
.pf-step__lead { color: var(--pf-muted); font-size: 1.02rem; line-height: 1.6; margin: 0; }

.pf-card { background: #fff; border: 1px solid var(--pf-line); border-radius: 18px; padding: 20px; margin: 0 0 14px; }
.pf-label { display: block; font-weight: 800; font-size: 1rem; margin: 0 0 12px; }
.pf-label--sub { margin-top: 18px; font-size: .95rem; }
.pf-label small { font-weight: 500; color: var(--pf-muted); }
.pf-hint { margin: 12px 0 0; font-size: .86rem; color: var(--pf-muted); }
.pf-input { width: 100%; height: 52px; border: 1px solid #d0d5dd; border-radius: 12px; padding: 0 14px; font-size: 1rem; background: #fff; color: var(--pf-ink); }
.pf-input:focus { outline: none; border-color: var(--pf-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pf-accent) 12%, transparent); }
.pf-input.js-daterange { cursor: pointer; }
.pf-error { color: #d92d20; font-weight: 700; font-size: .88rem; margin: 8px 0 0; }
.pf-reveal { margin-top: 12px; }

.pf-options, .pf-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-options--split .pf-option { flex: 1 1 200px; }
.pf-option { border: 1.5px solid #d0d5dd; background: #fff; border-radius: 14px; padding: 12px 16px; font-weight: 700; font-size: .96rem; color: var(--pf-ink);
             transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; min-height: 48px; text-align: left; }
.pf-option:hover { border-color: var(--pf-ink); }
.pf-option.is-selected { border-color: var(--pf-accent); background: color-mix(in srgb, var(--pf-accent) 7%, #fff); color: var(--pf-accent);
                         box-shadow: 0 0 0 1px var(--pf-accent) inset; }
.pf-option--check { border-radius: 999px; }
.pf-option--check.is-selected::before { content: "\2713  "; }
.pf-option small { font-weight: 800; color: var(--pf-ok); }

.pf-route__label { font-weight: 800; margin: 0 0 12px; }
.pf-route__line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.pf-route__end { display: flex; flex-direction: column; }
.pf-route__end strong { font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; }
.pf-route__end span { font-weight: 700; font-size: .92rem; }
.pf-route__end small { color: var(--pf-muted); }
.pf-route__end--right { text-align: right; }
.pf-route__mid { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .82rem; color: var(--pf-muted); }
.pf-route__bar { width: 100%; height: 2px; background: repeating-linear-gradient(90deg, #c4c9d2 0 6px, transparent 6px 10px); }
.pf-route__stops { font-weight: 700; color: var(--pf-warn); text-align: center; }
.pf-route__stops.is-direct { color: var(--pf-ok); }
.pf-route__meta { margin: 12px 0 0; font-size: .88rem; color: var(--pf-muted); }

.pf-gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 0 14px; padding-bottom: 4px; scrollbar-width: thin; }
.pf-gallery img { flex: 0 0 78%; max-width: 480px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; scroll-snap-align: start; }
.pf-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pf-facts li.is-ok { color: var(--pf-ok); font-weight: 700; }
.pf-facts li.is-warn { color: var(--pf-warn); font-weight: 700; }
.pf-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; }
.pf-chips li { background: var(--pf-soft); border-radius: 8px; padding: 5px 10px; font-size: .85rem; font-weight: 600; }
.pf-included-card__item { position: relative; padding-left: 28px; font-weight: 700; margin: 0; }
.pf-included-card__item::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #e7f6ec; color: var(--pf-ok);
                                  font-size: .7rem; font-weight: 900; display: flex; align-items: center; justify-content: center; }

.pf-more { margin: 4px 0 14px; }
.pf-more > summary { cursor: pointer; font-weight: 700; color: var(--pf-ink); padding: 10px 0; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.pf-more > summary::-webkit-details-marker { display: none; }

.pf-step__actions { position: sticky; bottom: 0; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(255,255,255,0), #fff 28%); z-index: 10; }

/* ---------- detalle embebido (partials de siempre) y sub-preguntas ---------- */
.pf-embed { margin: 0 0 16px; }
.pf-embed > * { margin-bottom: 0; }
.pf-select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
             background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
.pf-sub { margin-top: 6px; padding-top: 4px; }
.pf-sub__row { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.pf-sub__k { flex: 0 0 56px; font-weight: 700; color: var(--pf-muted); font-size: .9rem; }
.pf-ages { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.pf-input--age { height: 46px; }

/* ---------- ficha: galería completa y secciones de información ---------- */
.pf-mosaic-wrap { position: relative; }
.pf-mosaic__item { cursor: zoom-in; }
.pf-mosaic__all { position: absolute; right: 12px; bottom: 12px; z-index: 2; border: 0; border-radius: 999px; background: #fff; color: var(--pf-ink);
                  font-weight: 800; font-size: .86rem; padding: 9px 16px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.pf-mosaic__all:hover { background: var(--pf-ink); color: #fff; }

.pf-info { margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--pf-line); }
.pf-info__title { font-size: 1.3rem; font-weight: 900; letter-spacing: -.02em; margin: 0 0 14px; }
.pf-info__lead { margin: 0 0 14px; }
.pf-info__hint { margin: 10px 0 0; font-size: .86rem; color: var(--pf-muted); }
.pf-info--split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.pf-itin { padding: 14px 0; border-bottom: 1px solid var(--pf-line); }
.pf-itin:last-child { border-bottom: 0; }
.pf-itin__head { margin: 0 0 10px; color: var(--pf-muted); font-size: .92rem; }
.pf-itin__head strong { color: var(--pf-ink); }
.pf-itin__line { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 12px; align-items: center; }
.pf-itin__line > div { display: flex; flex-direction: column; }
.pf-itin__line strong { font-size: 1.35rem; font-weight: 900; }
.pf-itin__line span { font-size: .86rem; color: var(--pf-muted); }
.pf-itin__end { text-align: right; }
.pf-itin__mid { align-items: center; text-align: center; gap: 3px; }
.pf-itin__bar { width: 100%; height: 2px; background: repeating-linear-gradient(90deg, #c4c9d2 0 6px, transparent 6px 10px); }
.pf-itin__mid .is-ok { color: var(--pf-ok); font-weight: 700; }
.pf-itin__mid .is-warn { color: var(--pf-warn); font-weight: 700; }
.pf-itin__meta { margin: 8px 0 0; font-size: .86rem; color: var(--pf-muted); }

.pf-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin: 0 0 14px; }
.pf-specs div { display: flex; flex-direction: column; }
.pf-specs dt { font-size: .78rem; font-weight: 700; color: var(--pf-muted); text-transform: uppercase; letter-spacing: .05em; }
.pf-specs dd { margin: 0; font-weight: 700; }
.pf-clamp { max-height: 4.9em; overflow: hidden; position: relative; color: var(--pf-muted); line-height: 1.6; }
.pf-clamp p { margin: 0; }
.pf-clamp:not(.is-open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.6em; background: linear-gradient(rgba(255,255,255,0), #fff); }
.pf-clamp.is-open { max-height: none; }
.pf-more-btn { background: none; border: 0; padding: 6px 0; font-weight: 800; color: var(--pf-ink); text-decoration: underline; text-underline-offset: 3px; }
.pf-amenities { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; margin: 16px 0 0; padding: 0; }
.pf-amenities li { position: relative; padding-left: 18px; font-size: .9rem; }
.pf-amenities li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--pf-accent); }

.pf-incl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pf-incl li { position: relative; padding-left: 26px; font-weight: 600; }
.pf-incl li::before { position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; font-size: .66rem; font-weight: 900;
                      display: flex; align-items: center; justify-content: center; }
.pf-incl li.is-in::before { content: "\2713"; background: #e7f6ec; color: var(--pf-ok); }
.pf-incl li.is-out { color: var(--pf-muted); }
.pf-incl li.is-out::before { content: "\2715"; background: var(--pf-soft); color: var(--pf-muted); }

.pf-pay { list-style: none; margin: 0; padding: 0; }
.pf-pay li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "note price"; gap: 2px 16px; align-items: center;
             padding: 12px 0; border-bottom: 1px solid var(--pf-line); }
.pf-pay__name { grid-area: name; font-weight: 800; }
.pf-pay__note { grid-area: note; font-size: .86rem; color: var(--pf-muted); }
.pf-pay__price { grid-area: price; font-weight: 900; font-size: 1.1rem; text-align: right; }
.pf-pay__price small { display: block; font-size: .74rem; font-weight: 600; color: var(--pf-muted); }
.pf-pay li.is-best .pf-pay__note, .pf-pay li.is-best .pf-pay__price { color: var(--pf-ok); }
.pf-conds { margin: 0; padding-left: 18px; color: var(--pf-muted); line-height: 1.6; font-size: .92rem; }
.pf-conds li + li { margin-top: 6px; }

.pf-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10, 14, 22, .96); display: flex; flex-direction: column; }
.pf-lightbox[hidden] { display: none; }
.pf-lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; color: #fff; font-weight: 700; }
.pf-lightbox__close { background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; padding: 0 6px; }
.pf-lightbox__track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pf-lightbox__track::-webkit-scrollbar { display: none; }
.pf-lightbox__item { flex: 0 0 100%; margin: 0; display: flex; align-items: center; justify-content: center; scroll-snap-align: center; padding: 0 12px 24px; }
.pf-lightbox__item img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.pf-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0;
                    background: rgba(255, 255, 255, .15); color: #fff; font-size: 2rem; line-height: 1; padding: 0 0 4px; }
.pf-lightbox__nav--prev { left: 16px; }
.pf-lightbox__nav--next { right: 16px; }

@media (max-width: 767.98px) {
    .pf-info--split { grid-template-columns: 1fr; }
    .pf-amenities { grid-template-columns: 1fr 1fr; }
    .pf-itin__line strong { font-size: 1.1rem; }
    .pf-lightbox__nav { display: none; }
}

/* ---------- formas de pago ---------- */
.pf-info__hint--top { margin: -6px 0 14px; }
.pf-paycards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.pf-paycard { position: relative; border: 1px solid var(--pf-line); border-radius: 18px; padding: 18px; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.pf-paycard.is-best { border: 2px solid var(--pf-ok); background: linear-gradient(180deg, #f2fbf5, #fff 60%); }
.pf-paycard__badge { position: absolute; top: -11px; left: 16px; background: var(--pf-ok); color: #fff; font-size: .72rem; font-weight: 800;
                     letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.pf-paycard__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.pf-paycard__icon { width: 34px; height: 34px; border-radius: 10px; background: var(--pf-soft) no-repeat center / 18px; flex: 0 0 34px; }
.pf-paycard.is-best .pf-paycard__icon { background-color: #e1f3e7; }
.pf-paycard__icon--transfer { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316213e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 7 4-4 4 4'/%3E%3Cpath d='M7 3v13'/%3E%3Cpath d='m21 17-4 4-4-4'/%3E%3Cpath d='M17 21V8'/%3E%3C/svg%3E"); }
.pf-paycard__icon--card { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316213e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E"); }
.pf-paycard__icon--cash { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316213e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3Cpath d='M6 12h.01M18 12h.01'/%3E%3C/svg%3E"); }
.pf-paycard__name { font-weight: 800; }
.pf-paycard__price { margin: 0; font-size: 1.6rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.pf-paycard__price small { display: block; font-size: .76rem; font-weight: 600; color: var(--pf-muted); letter-spacing: 0; }
.pf-paycard.is-best .pf-paycard__price { color: var(--pf-ok); }
.pf-paycard__total { margin: 2px 0 0; font-size: .84rem; color: var(--pf-muted); }
.pf-paycard__tag { margin: 8px 0 0; font-size: .82rem; font-weight: 700; color: var(--pf-muted); }
.pf-paycard__tag--ok { color: var(--pf-ok); }

/* ---------- escala de precio (ubicación del hotel) ---------- */
.pf-hint--top { margin: -4px 0 12px; }
.pf-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pf-tier { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px; text-align: left; }
.pf-tier__price { font-size: .95rem; font-weight: 900; letter-spacing: 1px; color: var(--pf-ok); }
.pf-tier__label { font-weight: 800; line-height: 1.25; }
.pf-tier__hint { font-size: .82rem; font-weight: 600; color: var(--pf-muted); }
.pf-tier.is-selected .pf-tier__hint { color: inherit; opacity: .8; }
@media (max-width: 575.98px) { .pf-tiers { grid-template-columns: 1fr; } .pf-tier { flex-direction: row; align-items: baseline; flex-wrap: wrap; column-gap: 8px; } .pf-tier__hint { flex-basis: 100%; } }

/* ---------- botones ---------- */
.pf-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border-radius: 14px; border: 0;
          font-weight: 800; font-size: 1.04rem; text-decoration: none; cursor: pointer; transition: transform .15s ease, filter .15s ease, background .15s ease; }
.pf-btn--primary { background: var(--brand-btn-bg, var(--pf-accent)); color: var(--brand-btn-text, #fff); box-shadow: 0 10px 24px rgba(16, 24, 40, .14); width: 100%; }
.pf-btn--primary:hover { color: var(--brand-btn-text, #fff); text-decoration: none; transform: translateY(-1px); filter: brightness(1.05); }
.pf-btn--ghost { background: #fff; color: var(--pf-ink); border: 1.5px solid var(--pf-ink); }
.pf-btn--ghost:hover { background: var(--pf-ink); color: #fff; }
.pf-btn--secondary { background: #fff; color: var(--pf-ink); border: 1.5px solid var(--pf-ink); min-height: 48px; }
.pf-btn--block { display: flex; width: 100%; }
.pf-micro { font-size: .85rem; color: var(--pf-muted); text-align: center; margin: 10px 0 0; }
.pf-wa { display: block; text-align: center; margin-top: 16px; font-weight: 700; font-size: .92rem; color: #087443; text-decoration: underline; text-underline-offset: 3px; }
.pf-link { display: block; width: 100%; background: none; border: 0; margin: 14px 0 0; text-align: center; font-weight: 700; color: var(--pf-muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- resumen ---------- */
.pf-recap { list-style: none; margin: 0; padding: 0; }
.pf-recap li { display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--pf-line); }
.pf-recap li:last-child { border-bottom: 0; }
.pf-recap__k { color: var(--pf-muted); font-size: .88rem; font-weight: 600; }
.pf-recap__v { font-weight: 700; }
.pf-recap__edit { background: none; border: 0; color: var(--pf-accent); font-weight: 700; font-size: .88rem; padding: 0; }
.pf-total { display: flex; flex-direction: column; gap: 4px; }
.pf-total__label { display: block; font-size: .82rem; color: var(--pf-muted); font-weight: 600; }
.pf-total__value { display: block; font-size: 2.1rem; font-weight: 900; letter-spacing: -.03em; }
.pf-total__basis { font-size: .85rem; color: var(--pf-muted); }
.pf-total__deal { margin: 0; font-weight: 800; color: var(--pf-ok); }
.pf-decision { margin-top: 20px; }
.pf-decision__lead { font-weight: 600; line-height: 1.55; margin: 0 0 16px; }
.pf-form { display: flex; flex-direction: column; gap: 12px; }
.pf-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pf-form__row--phone { grid-template-columns: 110px 1fr; }
.pf-form__field .pf-label { margin-bottom: 6px; font-size: .88rem; }
.pf-form .is-invalid { border-color: #d92d20; }

/* ---------- guardar mi viaje ---------- */
.pf-save { margin: 6px 0 10px; text-align: center; }
.pf-save__toggle { background: none; border: 0; color: var(--pf-muted); font-weight: 700; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.pf-save__form { display: flex; flex-direction: column; gap: 10px; text-align: left; background: var(--pf-soft); border-radius: 16px; padding: 16px; margin-top: 8px; }
.pf-save__done { background: #e7f6ec; color: var(--pf-ok); font-weight: 700; border-radius: 12px; padding: 12px 14px; margin: 6px 0 0; }

/* ---------- mobile ---------- */
@media (max-width: 991.98px) {
    .pf-pdp__grid { grid-template-columns: 1fr; gap: 24px; }
    .pf-pdp__aside { position: static; }
    .pf-mosaic { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 0; margin: 0 -12px; gap: 6px; }
    .pf-mosaic::-webkit-scrollbar { display: none; }
    .pf-mosaic__item { flex: 0 0 88%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
    .pf-mosaic__item:first-child { flex-basis: 100%; }
    .pf-facts-list { grid-template-columns: 1fr; }
    .pf-mbar { display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff;
               border-top: 1px solid var(--pf-line); box-shadow: 0 -10px 30px rgba(16, 24, 40, .08); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
    .pf-step[hidden] .pf-mbar { display: none; }
    .pf-mbar__price { flex: 1; display: flex; flex-direction: column; line-height: 1.15; }
    .pf-mbar__price strong { font-size: 1.15rem; font-weight: 900; }
    .pf-mbar__price span { font-size: .75rem; color: var(--pf-muted); }
    .pf-mbar .pf-btn { min-height: 46px; padding: 0 16px; font-size: .95rem; width: auto; }
    .pf-pdp { padding-bottom: 80px; }
}
@media (max-width: 767.98px) {
    .pf-progress__item:not(.pf-progress__item--summary) .pf-progress__label { display: none; }
    .pf-route__end strong { font-size: 1.2rem; }
    .pf-recap li { grid-template-columns: 90px 1fr auto; }
    .pf-form__row { grid-template-columns: 1fr; }
    .pf-form__row--phone { grid-template-columns: 96px 1fr; }
    .pf-buybox { box-shadow: none; padding: 20px; }
}
@media (min-width: 768px) {
    .pf-step__actions { position: static; background: none; }
    .pf-step__actions .pf-btn--primary { width: auto; min-width: 260px; }
}

/* ---------- configuración del vuelo ---------- */
.pf-fconf__title { font-size: 1.1rem; margin-bottom: 0; }
.pf-fconf__group { margin: 20px 0 0; }
.pf-fconf__group + .pf-fconf__group { border-top: 1px solid var(--pf-line); padding-top: 18px; }
.pf-fconf__legend { font-weight: 800; font-size: .98rem; margin: 0 0 12px; }
.pf-fconf__legend small { font-weight: 500; color: var(--pf-muted); }
.pf-fconf .pf-sub__row:first-of-type { margin-top: 0; }
.pf-tiers--4 { grid-template-columns: repeat(4, 1fr); }
.pf-tier { position: relative; }
.pf-tier__now { position: absolute; top: -9px; right: 10px; background: var(--pf-ink); color: #fff; font-size: .66rem; font-weight: 800;
                letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.pf-tier.is-selected .pf-tier__now { background: var(--pf-accent); }
.pf-bag__icon { width: 30px; height: 30px; margin-bottom: 6px; background: no-repeat left center / contain; }
.pf-bag--backpack .pf-bag__icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316213e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10a4 4 0 0 1 4-4h6a4 4 0 0 1 4 4v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z'/%3E%3Cpath d='M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2'/%3E%3Cpath d='M8 21v-5a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v5'/%3E%3C/svg%3E"); }
.pf-bag--carry .pf-bag__icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316213e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='6' width='12' height='14' rx='2'/%3E%3Cpath d='M10 6V3h4v3'/%3E%3Cpath d='M10 10v6M14 10v6'/%3E%3Cpath d='M8 20v1M16 20v1'/%3E%3C/svg%3E"); }
.pf-bag--checked .pf-bag__icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316213e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M9 5V3h6v2'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M7 20v1M17 20v1'/%3E%3C/svg%3E"); }
@media (max-width: 767.98px) { .pf-tiers--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) {
    .pf-tiers.pf-tiers--4 { grid-template-columns: 1fr 1fr; }
    .pf-tiers--4 .pf-tier { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; padding: 12px; }
    .pf-tiers--4 .pf-tier__hint { flex-basis: auto; }
    .pf-fconf .pf-sub__row { display: block; }
    .pf-fconf .pf-sub__row .pf-sub__k { display: block; margin-bottom: 6px; }
    .pf-fconf .pf-sub__row .pf-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .pf-fconf .pf-sub__row .pf-option { padding: 10px 4px; text-align: center; font-size: .86rem; }
    .pf-bag { padding-left: 54px; }
    .pf-bag__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); margin: 0; }
}

/* ---------- facilidad: reservar con seña y pagar el resto ---------- */
.pf-reserve { position: relative; margin: 14px 0; padding: 14px 16px 12px; border: 1.5px dashed #f5a623; border-radius: 14px;
              background: linear-gradient(135deg, #fff8e1, #fff3cd); }
.pf-reserve__badge { position: absolute; top: -10px; left: 14px; background: #f08c00; color: #fff; font-size: .68rem; font-weight: 800;
                     letter-spacing: .05em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; }
.pf-reserve__head { margin: 2px 0 2px; font-weight: 700; color: var(--pf-ink); }
.pf-reserve__head strong { font-size: 1.15rem; font-weight: 900; color: #b54708; white-space: nowrap; }
.pf-reserve__sub { margin: 0; font-size: .86rem; color: #7a4a00; }
.pf-reserve--compact { margin: 10px 0 14px; }
