/* ======================================================================
   APD 29.1 · Portada y descubrimiento ajustados al video de referencia
   Esta es la última capa de la cascada pública. No modifica reservas,
   pagos, perfiles ni la ficha individual del alojamiento.
   ====================================================================== */

body.apd-marketplace-ui [data-search-panel][hidden],
body.apd-marketplace-ui .apd10-fee-toast[hidden],
body.apd-marketplace-ui .apd10-fee-sheet[hidden],
body.apd-marketplace-ui .apd26-field-clear[hidden],
body.apd-marketplace-ui .apd28-date-clear[hidden],
body.apd-marketplace-ui .apd16-search-clear[hidden] {
    display:none !important;
}

body.apd-marketplace-ui .apd26-field-clear,
body.apd-marketplace-ui .apd28-date-clear,
body.apd-marketplace-ui .apd16-search-clear {
    display:none !important;
}
body.apd-marketplace-ui .apd5-search.has-open-panel
    .apd5-search-field.is-open > .apd26-field-clear:not([hidden]),
body.apd-marketplace-ui .apd5-search.has-open-panel
    .apd5-search-field.is-open > .apd28-date-clear:not([hidden]),
body.apd-marketplace-ui .apd5-search.has-open-panel
    .apd5-search-field.is-open > .apd16-search-clear:not([hidden]) {
    display:grid !important;
}

/* Barra para continuar una búsqueda, situada entre cabecera y colecciones. */
body.home.apd-marketplace-ui .apd29-video-home {
    padding-top:0 !important;
}
body.home.apd-marketplace-ui .apd29-continue-strip {
    width:100vw !important;
    min-height:66px !important;
    margin:0 0 0 calc(50% - 50vw) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-bottom:1px solid #e6e6e6 !important;
    background:#fff !important;
}
body.home.apd-marketplace-ui .apd29-continue-strip > a {
    min-width:0 !important;
    max-width:660px !important;
    min-height:54px !important;
    padding:5px 12px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    border-radius:12px !important;
    color:#222 !important;
    text-decoration:none !important;
    transition:background-color .16s ease !important;
}
body.home.apd-marketplace-ui .apd29-continue-strip > a:hover {
    background:#f7f7f7 !important;
}
body.home.apd-marketplace-ui .apd29-continue-strip img {
    width:42px !important;
    height:42px !important;
    flex:0 0 42px !important;
    display:block !important;
    border-radius:10px !important;
    object-fit:cover !important;
    box-shadow:0 2px 8px rgba(0,0,0,.12) !important;
}
body.home.apd-marketplace-ui .apd29-continue-strip span {
    min-width:0 !important;
    display:flex !important;
    align-items:baseline !important;
    gap:5px !important;
}
body.home.apd-marketplace-ui .apd29-continue-strip strong,
body.home.apd-marketplace-ui .apd29-continue-strip small {
    overflow:hidden !important;
    white-space:nowrap !important;
    text-overflow:ellipsis !important;
}
body.home.apd-marketplace-ui .apd29-continue-strip strong {
    color:#222 !important;
    font-size:12px !important;
    line-height:1.25 !important;
    font-weight:600 !important;
}
body.home.apd-marketplace-ui .apd29-continue-strip small {
    color:#717171 !important;
    font-size:11px !important;
    line-height:1.25 !important;
    font-weight:400 !important;
}
body.home.apd-marketplace-ui .apd29-continue-strip b {
    color:#717171 !important;
    font-size:14px !important;
    line-height:1 !important;
    font-weight:400 !important;
}

body.home.apd-marketplace-ui .apd29-continue-strip + .apd5-rail {
    margin-top:32px !important;
}
body.home.apd-marketplace-ui .apd29-video-home > .apd5-rail,
body.home.apd-marketplace-ui .apd29-topic-section {
    margin-top:35px !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-section-head {
    margin-bottom:12px !important;
    align-items:center !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-section-head h2,
body.home.apd-marketplace-ui .apd29-video-home .apd5-section-head h2 a {
    color:#222 !important;
    font-size:16px !important;
    line-height:1.22 !important;
    font-weight:650 !important;
    letter-spacing:-.02em !important;
    text-decoration:none !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-section-head h2 span {
    width:21px !important;
    height:21px !important;
    margin-left:2px !important;
    display:inline-grid !important;
    place-items:center !important;
    border-radius:50% !important;
    background:#f2f2f2 !important;
    font-size:18px !important;
    line-height:1 !important;
    font-weight:400 !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-section-head p {
    display:none !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-rail-controls {
    gap:6px !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-rail-controls button {
    width:27px !important;
    height:27px !important;
    padding:0 !important;
    display:grid !important;
    place-items:center !important;
    border:0 !important;
    border-radius:50% !important;
    background:#f2f2f2 !important;
    color:#222 !important;
    font-size:17px !important;
    line-height:1 !important;
    transition:background-color .14s ease,transform .14s ease !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-rail-controls button:hover:not(:disabled) {
    background:#e7e7e7 !important;
    transform:scale(1.04) !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-card-rail {
    gap:12px !important;
    padding-bottom:3px !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-card-media {
    aspect-ratio:1.05/1 !important;
    border-radius:15px !important;
    background:#f2f2f2 !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-card-media img {
    transition:transform .22s ease,filter .22s ease !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-card:hover .apd5-card-media img {
    transform:scale(1.015) !important;
    filter:saturate(1.02) !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-card-body {
    padding:7px 2px 0 !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-card-title-row h3 {
    max-height:29px !important;
    color:#222 !important;
    font-size:11.5px !important;
    line-height:14.5px !important;
    font-weight:600 !important;
    letter-spacing:-.01em !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-card-location {
    min-height:14px !important;
    margin:1px 0 0 !important;
    color:#717171 !important;
    font-size:10px !important;
    line-height:14px !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-card-price-row {
    min-height:14px !important;
    margin-top:1px !important;
    gap:3px !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-card-price,
body.home.apd-marketplace-ui .apd29-video-home .apd5-card-price small,
body.home.apd-marketplace-ui .apd29-video-home .apd5-card-rating {
    color:#222 !important;
    font-size:10px !important;
    line-height:14px !important;
    font-weight:450 !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-card-rating .apd5-icon {
    width:9px !important;
    height:9px !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-card-badge {
    top:8px !important;
    left:8px !important;
    padding:5px 8px !important;
    border-radius:999px !important;
    font-size:8.5px !important;
    line-height:1.1 !important;
    font-weight:600 !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-favorite {
    top:6px !important;
    right:6px !important;
    width:31px !important;
    height:31px !important;
}
body.home.apd-marketplace-ui .apd29-video-home .apd5-favorite .apd5-icon {
    width:24px !important;
    height:24px !important;
}

/* Fila visual de categorías de experiencias. */
body.home.apd-marketplace-ui .apd29-topic-rail {
    display:grid !important;
    grid-auto-flow:column !important;
    grid-auto-columns:112px !important;
    justify-content:start !important;
    gap:10px !important;
    overflow-x:auto !important;
    padding:0 0 3px !important;
    scrollbar-width:none !important;
    scroll-snap-type:x proximity !important;
}
body.home.apd-marketplace-ui .apd29-topic-rail::-webkit-scrollbar {
    display:none !important;
}
body.home.apd-marketplace-ui .apd29-topic-rail a {
    min-width:0 !important;
    color:#222 !important;
    text-decoration:none !important;
    scroll-snap-align:start !important;
}
body.home.apd-marketplace-ui .apd29-topic-rail img {
    width:112px !important;
    height:92px !important;
    display:block !important;
    border-radius:14px !important;
    object-fit:cover !important;
    background:#f2f2f2 !important;
    transition:transform .18s ease,filter .18s ease !important;
}
body.home.apd-marketplace-ui .apd29-topic-rail a:hover img {
    transform:translateY(-1px) !important;
    filter:saturate(1.05) !important;
}
body.home.apd-marketplace-ui .apd29-topic-rail strong {
    margin:6px 2px 0 !important;
    display:block !important;
    overflow:hidden !important;
    color:#222 !important;
    font-size:10px !important;
    line-height:13px !important;
    font-weight:500 !important;
    white-space:nowrap !important;
    text-overflow:ellipsis !important;
}

/* Modal central y mensaje inferior de tarifas de la versión de escritorio. */
.apd29-fee-tag {
    display:grid !important;
    place-items:center !important;
}
.apd29-fee-tag svg {
    width:100% !important;
    height:100% !important;
    display:block !important;
    overflow:visible !important;
    filter:drop-shadow(0 5px 6px rgba(13,43,108,.18)) !important;
}
.apd29-fee-tag path {
    fill:url("#apd29-fee-gradient") !important;
    fill:#1676e8 !important;
}
.apd29-fee-tag circle {
    fill:#fff !important;
}

/* Visual de carga al cambiar Todo/Alojamientos/Experiencias/Servicios. */
.apd29-page-skeleton {
    position:fixed !important;
    inset:160px 0 0 !important;
    z-index:850 !important;
    padding:34px max(48px,calc((100vw - 1460px)/2)) !important;
    display:grid !important;
    align-content:start !important;
    gap:32px !important;
    background:#fff !important;
    pointer-events:none !important;
}
.apd29-page-skeleton > div {
    display:grid !important;
    grid-template-columns:repeat(7,minmax(0,1fr)) !important;
    gap:12px !important;
}
.apd29-page-skeleton span {
    height:180px !important;
    display:block !important;
    border-radius:15px !important;
    background:linear-gradient(100deg,#f1f1f1 20%,#f8f8f8 38%,#f1f1f1 56%) !important;
    background-size:220% 100% !important;
    animation:apd29-skeleton 1.1s linear infinite !important;
}
@keyframes apd29-skeleton {
    to { background-position-x:-220%; }
}

@media (min-width:768px) {
    body.apd-marketplace-ui.apd10-fee-open {
        overflow:hidden !important;
    }
    body.apd-marketplace-ui .apd10-fee-sheet:not([hidden]) {
        position:fixed !important;
        inset:0 !important;
        z-index:9000 !important;
        display:grid !important;
        place-items:center !important;
        opacity:0 !important;
        pointer-events:none !important;
        transition:opacity .2s ease !important;
    }
    body.apd-marketplace-ui .apd10-fee-sheet.is-open:not([hidden]) {
        opacity:1 !important;
        pointer-events:auto !important;
    }
    body.apd-marketplace-ui .apd10-fee-sheet-backdrop {
        position:absolute !important;
        inset:0 !important;
        background:rgba(0,0,0,.44) !important;
        backdrop-filter:none !important;
    }
    body.apd-marketplace-ui .apd10-fee-sheet-dialog {
        position:relative !important;
        inset:auto !important;
        width:240px !important;
        min-height:258px !important;
        padding:35px 18px 15px !important;
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:flex-start !important;
        border-radius:20px !important;
        color:#222 !important;
        background:#fff !important;
        box-shadow:0 20px 60px rgba(0,0,0,.24) !important;
        transform:translateY(8px) scale(.96) !important;
        transition:transform .22s cubic-bezier(.2,.8,.2,1) !important;
    }
    body.apd-marketplace-ui .apd10-fee-sheet.is-open .apd10-fee-sheet-dialog {
        transform:none !important;
    }
    body.apd-marketplace-ui .apd10-fee-close {
        position:absolute !important;
        top:9px !important;
        right:9px !important;
        width:28px !important;
        height:28px !important;
        padding:0 !important;
        display:grid !important;
        place-items:center !important;
        border:0 !important;
        border-radius:50% !important;
        color:#222 !important;
        background:transparent !important;
        font-size:18px !important;
        line-height:1 !important;
    }
    body.apd-marketplace-ui .apd10-fee-close:hover {
        background:#f2f2f2 !important;
    }
    body.apd-marketplace-ui .apd10-fee-icon {
        width:58px !important;
        height:58px !important;
        margin:5px 0 24px !important;
        font-size:0 !important;
        filter:none !important;
    }
    body.apd-marketplace-ui .apd10-fee-sheet h2 {
        max-width:194px !important;
        margin:0 !important;
        color:#222 !important;
        text-align:center !important;
        font-size:14px !important;
        line-height:1.24 !important;
        letter-spacing:-.015em !important;
        font-weight:650 !important;
    }
    body.apd-marketplace-ui .apd10-fee-understood {
        width:100% !important;
        min-height:35px !important;
        margin-top:auto !important;
        padding:0 12px !important;
        border:0 !important;
        border-radius:7px !important;
        color:#fff !important;
        background:#222 !important;
        font-size:11px !important;
        line-height:1 !important;
        font-weight:650 !important;
    }
    body.apd-marketplace-ui .apd10-fee-understood:hover {
        background:#000 !important;
    }
    body.apd-marketplace-ui .apd10-fee-toast:not([hidden]) {
        position:fixed !important;
        left:50% !important;
        right:auto !important;
        bottom:16px !important;
        z-index:5200 !important;
        width:max-content !important;
        max-width:min(440px,calc(100vw - 32px)) !important;
        min-height:34px !important;
        padding:7px 13px !important;
        display:flex !important;
        align-items:center !important;
        gap:8px !important;
        border:1px solid #e4e4e4 !important;
        border-radius:999px !important;
        color:#222 !important;
        background:rgba(255,255,255,.98) !important;
        box-shadow:0 5px 18px rgba(0,0,0,.17) !important;
        opacity:0 !important;
        transform:translate(-50%,10px) !important;
        transition:opacity .18s ease,transform .18s ease !important;
    }
    body.apd-marketplace-ui .apd10-fee-toast.is-visible:not([hidden]) {
        opacity:1 !important;
        transform:translate(-50%,0) !important;
    }
    body.apd-marketplace-ui .apd10-fee-toast > .apd29-fee-tag {
        width:18px !important;
        height:18px !important;
        flex:0 0 18px !important;
        font-size:0 !important;
    }
    body.apd-marketplace-ui .apd10-fee-toast strong {
        color:#222 !important;
        font-size:10.5px !important;
        line-height:1.2 !important;
        font-weight:600 !important;
    }
    body.apd-marketplace-ui .apd10-fee-toast button {
        display:none !important;
    }
}

@media (min-width:1180px) {
    /* Cabecera abierta: medidas observadas en el video (640 × 50). */
    body.apd-marketplace-ui .apd5-header.is-discovery-context,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded {
        min-height:160px !important;
        height:160px !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context .apd5-header-row,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded .apd5-header-row {
        width:min(calc(100vw - 96px),1460px) !important;
        max-width:1460px !important;
        height:76px !important;
        min-height:76px !important;
        grid-template-columns:200px minmax(620px,1fr) 270px !important;
        gap:20px !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context .apd5-logo,
    body.apd-marketplace-ui .apd5-header.is-discovery-context .apd5-logo img,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded .apd5-logo,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded .apd5-logo img {
        width:90px !important;
        min-width:90px !important;
        height:38px !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context .apd5-main-nav,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded .apd5-main-nav {
        height:76px !important;
        min-height:76px !important;
        gap:27px !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context .apd5-main-nav a,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded .apd5-main-nav a {
        height:76px !important;
        min-height:76px !important;
        padding:6px 4px 4px !important;
        gap:7px !important;
        font-size:11.5px !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context .apd5-main-nav a > span,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded .apd5-main-nav a > span {
        width:33px !important;
        height:33px !important;
        flex-basis:33px !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context .apd5-header-search-row,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded .apd5-header-search-row {
        position:static !important;
        inset:auto !important;
        width:100% !important;
        height:84px !important;
        min-height:84px !important;
        padding:7px 24px 27px !important;
        display:flex !important;
        align-items:flex-start !important;
        justify-content:center !important;
        transform:none !important;
        pointer-events:auto !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context .apd5-search,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded .apd5-search {
        width:min(640px,calc(100vw - 180px)) !important;
        height:50px !important;
        grid-template-columns:1.12fr 1px .95fr 1px 1fr 49px !important;
        border:1px solid #ddd !important;
        border-radius:999px !important;
        background:#fff !important;
        box-shadow:0 3px 12px rgba(0,0,0,.13) !important;
        transform:none !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context .apd5-search.has-open-panel,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded .apd5-search.has-open-panel {
        grid-template-columns:1.12fr 1px .95fr 1px 1fr 92px !important;
        background:#ebebeb !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context .apd5-search-field > button,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded .apd5-search-field > button {
        padding:0 20px !important;
        flex-direction:column !important;
        align-items:flex-start !important;
        justify-content:center !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context .apd5-search-field span,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded .apd5-search-field span {
        display:block !important;
        font-size:9.5px !important;
        line-height:1.1 !important;
        font-weight:650 !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context .apd5-search-field strong,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded .apd5-search-field strong {
        display:block !important;
        margin-top:3px !important;
        color:#717171 !important;
        font-size:10.5px !important;
        line-height:1.12 !important;
        font-weight:400 !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context .apd5-search-submit,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded .apd5-search-submit {
        width:38px !important;
        min-width:38px !important;
        max-width:38px !important;
        height:38px !important;
        min-height:38px !important;
        margin-right:5px !important;
        padding:0 !important;
        background:#0f6fe8 !important;
        box-shadow:none !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context .apd5-search.has-open-panel .apd5-search-submit,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded .apd5-search.has-open-panel .apd5-search-submit {
        width:78px !important;
        min-width:78px !important;
        max-width:78px !important;
        padding:0 12px !important;
        gap:6px !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context .apd5-search-submit .apd5-icon,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded .apd5-search-submit .apd5-icon {
        width:16px !important;
        min-width:16px !important;
        height:16px !important;
        flex-basis:16px !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context .apd5-search.has-open-panel .apd5-search-submit span,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact.is-search-expanded .apd5-search.has-open-panel .apd5-search-submit span {
        display:inline-block !important;
        font-size:11px !important;
    }

    /* Popovers con la escala y la posición del video. */
    body.apd-marketplace-ui .apd5-search-backdrop:not([hidden]) {
        display:block !important;
        background:transparent !important;
        backdrop-filter:none !important;
        -webkit-backdrop-filter:none !important;
    }
    body.apd-marketplace-ui .apd5-search-panel {
        top:calc(100% + 10px) !important;
        border:1px solid #e4e4e4 !important;
        border-radius:17px !important;
        background:#fff !important;
        box-shadow:0 10px 34px rgba(0,0,0,.15) !important;
    }
    body.apd-marketplace-ui .apd5-search-panel .apd5-panel-title > button,
    body.apd-marketplace-ui .apd5-search-panel .apd5-panel-title > div > [data-panel-close] {
        display:none !important;
    }
    body.apd-marketplace-ui .apd5-location-panel {
        left:0 !important;
        width:335px !important;
        max-height:430px !important;
        padding:13px 12px !important;
        overflow:auto !important;
    }
    body.apd-marketplace-ui .apd5-location-panel > .apd5-panel-title,
    body.apd-marketplace-ui .apd5-location-panel > .apd5-panel-filter {
        display:none !important;
    }
    body.apd-marketplace-ui .apd26-destination-section-title,
    body.apd-marketplace-ui .apd26-recent-destinations > strong {
        margin:4px 8px 7px !important;
        display:block !important;
        color:#717171 !important;
        font-size:9px !important;
        line-height:1.2 !important;
        font-weight:600 !important;
    }
    body.apd-marketplace-ui .apd5-destination-option {
        min-height:49px !important;
        grid-template-columns:39px minmax(0,1fr) !important;
        gap:10px !important;
        padding:5px 7px !important;
        border-radius:10px !important;
    }
    body.apd-marketplace-ui .apd5-destination-option > span {
        width:38px !important;
        height:38px !important;
        border-radius:9px !important;
    }
    body.apd-marketplace-ui .apd5-destination-option .apd5-icon,
    body.apd-marketplace-ui .apd5-destination-option svg {
        width:17px !important;
        height:17px !important;
    }
    body.apd-marketplace-ui .apd5-destination-option strong {
        font-size:10.5px !important;
        line-height:1.2 !important;
        font-weight:600 !important;
    }
    body.apd-marketplace-ui .apd5-destination-option small {
        margin-top:2px !important;
        font-size:9px !important;
        line-height:1.2 !important;
    }
    body.apd-marketplace-ui .apd5-date-panel,
    body.apd-marketplace-ui .apd5-date-panel.is-flexible-mode {
        left:50% !important;
        width:610px !important;
        min-height:0 !important;
        padding:17px 20px 15px !important;
        transform:translateX(-50%) !important;
    }
    body.apd-marketplace-ui .apd5-date-panel > .apd5-panel-title {
        min-height:0 !important;
        margin:0 !important;
    }
    body.apd-marketplace-ui .apd15-date-mode {
        width:156px !important;
        height:30px !important;
        margin:0 auto 13px !important;
    }
    body.apd-marketplace-ui .apd15-date-mode span,
    body.apd-marketplace-ui .apd15-date-mode button {
        font-size:9px !important;
    }
    body.apd-marketplace-ui .apd5-calendar-nav {
        margin:0 0 -28px !important;
    }
    body.apd-marketplace-ui .apd5-calendar-nav button {
        width:27px !important;
        height:27px !important;
        font-size:18px !important;
    }
    body.apd-marketplace-ui .apd5-calendar-months {
        gap:28px !important;
    }
    body.apd-marketplace-ui .apd5-calendar-month h3 {
        margin-bottom:9px !important;
        font-size:10.5px !important;
        line-height:1.2 !important;
    }
    body.apd-marketplace-ui .apd5-calendar-weekdays span,
    body.apd-marketplace-ui .apd5-calendar-days button,
    body.apd-marketplace-ui .apd5-calendar-days > span {
        width:31px !important;
        height:31px !important;
        font-size:8.5px !important;
    }
    body.apd-marketplace-ui .apd15-date-flexibility {
        margin-top:9px !important;
        gap:5px !important;
    }
    body.apd-marketplace-ui .apd15-date-flexibility button {
        min-height:25px !important;
        padding:0 8px !important;
        font-size:8px !important;
    }
    body.apd-marketplace-ui .apd15-date-footer {
        display:none !important;
    }
    body.apd-marketplace-ui .apd5-guests-panel {
        right:0 !important;
        width:335px !important;
        padding:13px 20px !important;
    }
    body.apd-marketplace-ui .apd5-guests-panel > .apd5-panel-title,
    body.apd-marketplace-ui .apd5-guests-panel > .apd5-panel-footer {
        display:none !important;
    }
    body.apd-marketplace-ui .apd5-guests-panel .apd5-guest-row {
        min-height:62px !important;
        padding:10px 0 !important;
    }
    body.apd-marketplace-ui .apd5-guests-panel .apd5-guest-row strong {
        font-size:11.5px !important;
        line-height:1.2 !important;
    }
    body.apd-marketplace-ui .apd5-guests-panel .apd5-guest-row span {
        margin-top:2px !important;
        font-size:9.5px !important;
        line-height:1.2 !important;
    }
    body.apd-marketplace-ui .apd5-guests-panel .apd5-guest-row button {
        width:27px !important;
        height:27px !important;
        font-size:17px !important;
    }
    body.apd-marketplace-ui .apd5-guests-panel .apd5-guest-row output {
        min-width:14px !important;
        font-size:10.5px !important;
    }
    body.apd-marketplace-ui .apd5-service-panel {
        right:0 !important;
        width:390px !important;
        padding:16px !important;
        gap:7px !important;
    }
    body.apd-marketplace-ui .apd5-service-panel > .apd5-panel-title {
        display:none !important;
    }
    body.apd-marketplace-ui .apd5-service-option {
        min-height:31px !important;
        padding:0 10px !important;
        gap:6px !important;
        font-size:9px !important;
    }

    /* Cabecera compacta al desplazarse: una sola pastilla centrada. */
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) {
        position:fixed !important;
        inset:0 0 auto 0 !important;
        min-height:72px !important;
        height:72px !important;
        background:rgba(255,255,255,.985) !important;
        border-bottom:1px solid #e5e5e5 !important;
        box-shadow:0 1px 9px rgba(0,0,0,.08) !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd5-header-row {
        width:min(calc(100vw - 96px),1460px) !important;
        max-width:1460px !important;
        height:72px !important;
        min-height:72px !important;
        grid-template-columns:200px minmax(620px,1fr) 270px !important;
        gap:20px !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd5-logo,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd5-logo img {
        width:82px !important;
        min-width:82px !important;
        height:34px !important;
        opacity:1 !important;
        visibility:visible !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd5-main-nav {
        opacity:0 !important;
        visibility:hidden !important;
        pointer-events:none !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd5-header-search-row {
        position:absolute !important;
        top:0 !important;
        left:50% !important;
        right:auto !important;
        z-index:6 !important;
        width:min(405px,calc(100vw - 650px)) !important;
        height:72px !important;
        min-height:72px !important;
        padding:16px 0 !important;
        transform:translateX(-50%) !important;
        pointer-events:none !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd5-search {
        width:100% !important;
        height:40px !important;
        grid-template-columns:1.24fr 1px 1.13fr 1px .82fr 38px !important;
        border:1px solid #ddd !important;
        background:#fff !important;
        box-shadow:0 2px 10px rgba(0,0,0,.11) !important;
        pointer-events:auto !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd5-search.has-open-panel {
        grid-template-columns:1.24fr 1px 1.13fr 1px .82fr 38px !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd5-search-field > button {
        padding:0 10px !important;
        flex-direction:row !important;
        align-items:center !important;
        gap:7px !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd5-search-field span:not(.apd26-search-leading-icon),
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd5-search-field strong[id] {
        display:none !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd26-search-leading-icon {
        width:17px !important;
        height:17px !important;
        flex:0 0 17px !important;
        display:inline-flex !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd26-search-leading-icon svg {
        width:17px !important;
        height:17px !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd26-compact-summary {
        margin:0 !important;
        display:block !important;
        color:#222 !important;
        font-size:9.5px !important;
        line-height:1.1 !important;
        font-weight:600 !important;
        white-space:nowrap !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd5-search-submit,
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd5-search.has-open-panel .apd5-search-submit {
        width:29px !important;
        min-width:29px !important;
        max-width:29px !important;
        height:29px !important;
        min-height:29px !important;
        margin-right:5px !important;
        padding:0 !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd5-search-submit .apd5-icon {
        width:13px !important;
        min-width:13px !important;
        height:13px !important;
    }
    body.apd-marketplace-ui .apd5-header.is-discovery-context.is-compact:not(.is-search-expanded) .apd5-search-submit span {
        display:none !important;
    }
}

@media (min-width:768px) and (max-width:1179px) {
    body.home.apd-marketplace-ui .apd29-continue-strip > a {
        max-width:560px !important;
    }
    body.home.apd-marketplace-ui .apd29-video-home .apd5-card-title-row h3 {
        font-size:12px !important;
        line-height:15px !important;
    }
}

@media (max-width:767px) {
    body.home.apd-marketplace-ui .apd29-video-home {
        width:calc(100% - 24px) !important;
        padding-top:0 !important;
    }
    body.home.apd-marketplace-ui .apd29-continue-strip {
        min-height:64px !important;
    }
    body.home.apd-marketplace-ui .apd29-continue-strip > a {
        width:calc(100% - 20px) !important;
        max-width:none !important;
        justify-content:flex-start !important;
    }
    body.home.apd-marketplace-ui .apd29-continue-strip span {
        flex-direction:column !important;
        align-items:flex-start !important;
        gap:1px !important;
    }
    body.home.apd-marketplace-ui .apd29-continue-strip strong {
        max-width:calc(100vw - 112px) !important;
        font-size:12px !important;
    }
    body.home.apd-marketplace-ui .apd29-continue-strip small {
        max-width:calc(100vw - 112px) !important;
        font-size:10px !important;
    }
    body.home.apd-marketplace-ui .apd29-continue-strip + .apd5-rail,
    body.home.apd-marketplace-ui .apd29-video-home > .apd5-rail,
    body.home.apd-marketplace-ui .apd29-topic-section {
        margin-top:30px !important;
    }
    body.home.apd-marketplace-ui .apd29-video-home .apd5-section-head h2,
    body.home.apd-marketplace-ui .apd29-video-home .apd5-section-head h2 a {
        font-size:18px !important;
    }
    body.home.apd-marketplace-ui .apd29-topic-rail {
        grid-auto-columns:118px !important;
        margin-right:-12px !important;
        padding-right:12px !important;
    }
    body.home.apd-marketplace-ui .apd29-topic-rail img {
        width:118px !important;
        height:96px !important;
    }
    .apd29-page-skeleton {
        inset:154px 0 76px !important;
        padding:22px 12px !important;
    }
    .apd29-page-skeleton > div {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
    .apd29-page-skeleton span:nth-child(n+5) {
        display:none !important;
    }
}

@media (prefers-reduced-motion:reduce) {
    body.apd-marketplace-ui .apd29-video-home *,
    body.apd-marketplace-ui .apd10-fee-sheet,
    body.apd-marketplace-ui .apd10-fee-sheet-dialog,
    body.apd-marketplace-ui .apd10-fee-toast {
        transition:none !important;
    }
    .apd29-page-skeleton span {
        animation:none !important;
    }
}
