/**
 * Tour detail — sticky enquire bar (bottom).
 * Loaded after detail-tour.css.
 */

body.page-tour .tour-sticky-enquire {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    transform: translateY(110%);
    transition: transform 0.28s ease, opacity 0.28s ease;
    opacity: 0;
    pointer-events: none;
    background: #0d1b2a;
    border-top: 1px solid rgba(193, 138, 43, 0.35);
    box-shadow: 0 -10px 32px rgba(13, 27, 42, 0.35);
}

body.page-tour .tour-sticky-enquire.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

body.page-tour .tour-sticky-enquire__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
}

body.page-tour .tour-sticky-enquire__lead {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1 1 auto;
}

body.page-tour .tour-sticky-enquire__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border: 1.5px solid #c18a2b;
    border-radius: 50%;
    color: #c18a2b;
    font-size: 0.95rem;
    line-height: 1;
}

body.page-tour .tour-sticky-enquire__copy {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.45rem;
    margin: 0;
    min-width: 0;
    font-family: "Manrope", sans-serif;
    font-size: 0.9375rem;
    line-height: 1.35;
    color: #ffffff;
}

body.page-tour .tour-sticky-enquire__title {
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

body.page-tour .tour-sticky-enquire__sep {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 400;
}

body.page-tour .tour-sticky-enquire__from,
body.page-tour .tour-sticky-enquire__person {
    font-weight: 500;
    color: #ffffff;
}

body.page-tour .tour-sticky-enquire__price {
    font-weight: 700;
    color: #c18a2b;
}

body.page-tour .tour-sticky-enquire__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin: 0;
    padding: 0.7rem 1.15rem;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, #d5a84b 0%, #b47712 100%);
    color: #ffffff !important;
    font-family: "Manrope", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(180, 119, 18, 0.28);
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.page-tour .tour-sticky-enquire__cta:hover,
body.page-tour .tour-sticky-enquire__cta:focus {
    color: #ffffff !important;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(180, 119, 18, 0.34);
}

body.page-tour .tour-sticky-enquire__cta .bi {
    font-size: 0.95rem;
    line-height: 1;
}

body.page-tour .tour-sticky-enquire__cta-text--short {
    display: none;
}

@media (max-width: 991px) {
    body.page-tour .tour-sticky-enquire__inner {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    body.page-tour .tour-sticky-enquire__copy {
        font-size: 0.875rem;
    }

    body.page-tour .tour-sticky-enquire__title {
        white-space: normal;
    }
}

@media (max-width: 767px) {
    body.page-tour .tour-sticky-enquire__inner {
        align-items: center;
        padding: 0.65rem 0.75rem;
    }

    body.page-tour .tour-sticky-enquire__lead {
        gap: 0.55rem;
    }

    body.page-tour .tour-sticky-enquire__icon {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.82rem;
    }

    body.page-tour .tour-sticky-enquire__copy {
        font-size: 0.78rem;
        gap: 0.25rem 0.35rem;
    }

    body.page-tour .tour-sticky-enquire__cta {
        padding: 0.55rem 0.75rem;
        font-size: 0.62rem;
    }

    body.page-tour .tour-sticky-enquire__cta-text--full {
        display: none;
    }

    body.page-tour .tour-sticky-enquire__cta-text--short {
        display: inline;
    }
}
