/* Mobile hero overrides loaded last. */
@media (max-width: 760px) {
    .program-details-page .tour-gallery-hero {
        padding-top: 18px !important;
        padding-bottom: 58px !important;
    }

    .program-details-page .tour-gallery-shell,
    .program-details-page .main-content-wrapper {
        width: calc(100% - 26px) !important;
    }

    .program-details-page .tour-gallery-heading {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-bottom: 11px !important;
    }

    .program-details-page .tour-gallery-hero h1.details-main-title,
    body.program-details-page .tour-gallery-hero #tour-gallery-title.details-main-title {
        margin-bottom: 12px !important;
        font-size: clamp(1.58rem, 7vw, 1.92rem) !important;
        line-height: 1.08 !important;
        letter-spacing: 0 !important;
    }

    .program-details-page .tour-gallery-hero .details-meta {
        display: grid !important;
        grid-template-columns: minmax(96px, 0.7fr) minmax(0, 1.3fr) !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        white-space: normal !important;
    }

    .program-details-page .tour-gallery-hero .meta-item {
        display: inline-flex !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 38px !important;
        margin: 0 !important;
        padding: 7px 9px !important;
        flex: initial !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        overflow: hidden !important;
        border-radius: 10px !important;
        font-size: 0.68rem !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        vertical-align: initial !important;
    }

    .program-details-page .tour-gallery-hero .meta-item:first-child {
        grid-column: 1 / -1 !important;
        min-height: 40px !important;
        padding-right: 12px !important;
        padding-left: 12px !important;
        justify-content: center !important;
        font-size: 0.72rem !important;
    }

    .program-details-page .tour-gallery-hero .meta-item:nth-child(2) {
        grid-column: 1 !important;
        font-size: 0.7rem !important;
    }

    .program-details-page .tour-gallery-hero .meta-item:nth-child(3) {
        grid-column: 2 !important;
        font-size: 0.66rem !important;
    }

    .program-details-page .tour-gallery-hero .meta-item span {
        min-width: 0 !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: nowrap !important;
    }

    .program-details-page .tour-gallery-hero .meta-item i {
        flex: 0 0 auto !important;
        font-size: 0.88rem !important;
    }

    .program-details-page .tour-gallery-hero .meta-separator {
        flex: 0 0 auto !important;
        height: 14px !important;
        margin: 0 2px !important;
    }

    .program-details-page .tour-gallery-price {
        display: grid !important;
        grid-template-columns: minmax(98px, auto) minmax(0, 1fr) !important;
        gap: 5px 9px !important;
        align-items: center !important;
        padding: 12px !important;
        border-radius: 14px !important;
    }

    .program-details-page .tour-gallery-price > span {
        grid-column: 1 !important;
        grid-row: 1 !important;
        align-self: end !important;
        font-size: 0.76rem !important;
        line-height: 1 !important;
    }

    .program-details-page .tour-gallery-price strong {
        grid-column: 1 !important;
        grid-row: 2 !important;
        align-self: start !important;
        font-size: clamp(1.65rem, 8vw, 1.95rem) !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .program-details-page .tour-gallery-price a {
        grid-column: 2 !important;
        grid-row: 1 / 3 !important;
        align-self: center !important;
        min-height: 42px !important;
        grid-template-columns: minmax(0, 1fr) 36px !important;
        border-radius: 9px !important;
        font-size: 0.74rem !important;
    }

    .program-details-page .tour-gallery-price a span {
        padding: 0 7px !important;
        white-space: nowrap !important;
    }

    .program-details-page .tour-gallery-price a i {
        width: 36px !important;
        min-width: 36px !important;
        height: 42px !important;
    }

    .program-details-page .tour-gallery-grid,
    .program-details-page .tour-gallery-count-3,
    .program-details-page .tour-gallery-count-4,
    .program-details-page .tour-gallery-count-5 {
        grid-template-rows: 255px 96px !important;
    }

    .program-details-page .tour-gallery-shell > .tour-gallery-tabs {
        position: relative !important;
        top: auto !important;
        margin-top: -8px !important;
        margin-bottom: -46px !important;
        padding: 5px !important;
        z-index: 20 !important;
    }

    .program-details-page .tour-gallery-shell > .tour-gallery-tabs a {
        min-height: 32px !important;
        padding: 6px 8px !important;
        font-size: 0.69rem !important;
    }

    .program-details-page .floating-whatsapp {
        right: 18px !important;
        bottom: calc(max(12px, env(safe-area-inset-bottom)) + 190px) !important;
    }
}
