/* Paste the original CSS (slightly adjusted selectors if needed) */
:root {
    --color-background       : #F0F4F8;
    --color-card             : #FFFFFF;
    --color-primary-text     : #2C3E50;
    --color-secondary-text   : #7F8C8D;
    --color-brand-blue       : #4A90E2;
    /* --color-accent-green  : #2ECC71; */
    --color-accent-green     : #E91E63;
    /* #E91E63 */
    --color-accent-teal      : #16A085;
    --color-accent-orange    : #F39C12;
    --color-shadow           : rgba(0, 0, 0, 0.08);
    --color-divider          : #ECF0F1;
}

.deeplink-page {
    width         : 100%;
    max-width     : 1320px;
    display       : flex;
    flex-direction: column;
    gap           : 1.25em;
    margin        : 20px auto;
    padding       : 0 16px;
    font-family   : 'Poppins', sans-serif;
    color         : var(--color-primary-text);
}

/* --- Progress Bar --- */
.progress-container {
    margin-top     : 0.75em;
    display        : flex;
    justify-content: space-between;
    align-items    : center;
    padding        : 54px 30px 12px 30px;
    background     : var(--color-card);
    border-radius  : 14px;
    box-shadow     : 0 8px 24px var(--color-shadow);
}

.step {
    position      : relative;
    flex          : 1;
    text-align    : center;
    font-size     : 14px !important;
    font-family   : 'Poppins', sans-serif !important;
    font-weight   : 500 !important;
    color         : var(--color-secondary-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step::before {
    content        : attr(data-step);
    position       : absolute;
    top            : -40px;
    left           : 50%;
    transform      : translateX(-50%);
    width          : 35px;
    height         : 35px;
    border-radius  : 50%;
    background     : var(--color-divider);
    display        : flex;
    align-items    : center;
    justify-content: center;
    color          : var(--color-secondary-text);
    font-size      : 14px !important;
    font-family    : 'Poppins', sans-serif !important;
    font-weight    : 600 !important;
    z-index        : 1;
}

.step.completed::before {
    background: var(--color-accent-green);
    color     : #fff;
}

.step.active::before {
    background: var(--color-brand-blue);
    color     : #fff;
}

.step.active {
    color      : var(--color-brand-blue);
    font-weight: 600;
}

.step.completed {
    color: var(--color-accent-green);
}

.step:not(:last-child)::after {
    content   : "";
    position  : absolute;
    top       : -22px;
    right     : -50%;
    width     : 100%;
    height    : 3px;
    background: var(--color-divider);
    z-index   : 0;
}

.step.completed:not(:last-child)::after {
    background: var(--color-accent-green);
}

.step.active:not(:last-child)::after {
    background: var(--color-brand-blue);
}

/* --- Package Section --- */
.package-section {
    background   : var(--color-card);
    padding      : 20px;
    border-radius: 16px;
    box-shadow   : 0 8px 24px var(--color-shadow);
}

.package-section .section-title {
    text-align    : center;
    font-size     : 20px !important;
    font-family   : 'Poppins', sans-serif !important;
    margin-bottom : 5px;
    padding-bottom: 0;
    border-bottom : none;
}

.package-section .section-subtitle {
    text-align   : center;
    color        : var(--color-secondary-text);
    margin-bottom: 15px;
    font-size    : 13px !important;
    font-family  : 'Poppins', sans-serif !important;
}

.packages-grid {
    display              : grid;
    grid-template-columns: repeat(3, 1fr);
    gap                  : 10px;
    align-items          : stretch;
    margin-bottom        : 15px;
}

.package-card {
    border         : 1px solid var(--color-divider);
    border-radius  : 12px;
    padding        : 15px;
    text-align     : center;
    position       : relative;
    background     : #fff;
    display        : flex;
    flex-direction : column;
    justify-content: space-between;
}

.btn-select.btnpack {
    display: none;
}

.btn-select.btnpack.selected {
    display: inline;
}

.package-card.selected {
    border-color   : var(--color-brand-blue);
    box-shadow     : 0 0 0 3px var(--color-brand-blue);
    /* box-shadow  : 0 0 0 3px rgba(74, 144, 226, 0.15); */
}

.package-card h3 {
    font-size    : 18px !important;
    font-family  : 'Poppins', sans-serif !important;
    color        : var(--color-primary-text);
    margin-bottom: 8px;
    font-weight  : 700 !important;
}

.package-card .price {
    font-size    : 20px !important;
    font-family  : 'Poppins', sans-serif !important;
    font-weight  : 600 !important;
    color        : var(--color-brand-blue);
    margin-bottom: 10px;
    border       : none;
}

.package-card ul {
    list-style: none;
    padding   : 0;
    margin    : 0 0 12px;
    flex-grow : 1;
}

.package-card ul li {
    display        : flex;
    align-items    : flex-start;
    justify-content: flex-start;
    gap            : 5px;
    padding        : 5px 0;
    border-bottom  : 1px solid var(--color-divider);
    font-size      : 14px !important;
    font-family    : 'Poppins', sans-serif !important;
    color          : var(--color-secondary-text);
    text-align     : left;
}

.package-card ul li:last-child {
    border-bottom: none;
}

.package-card .check,
.package-card .cross {
    font-size  : 15px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: bold !important;
    line-height: 1;
}

.package-card .check {
    color: var(--color-accent-green);
}

.package-card .cross {
    color: #E74C3C;
}

.package-card .badge {
    position                  : absolute;
    top                       : 0;
    right                     : 10px;
    background                : var(--color-accent-teal);
    color                     : #fff;
    padding                   : 4px 8px;
    font-size                 : 11px !important;
    font-family               : 'Poppins', sans-serif !important;
    font-weight               : 600 !important;
    border-bottom-left-radius : 5px;
    border-bottom-right-radius: 5px;
}

.package-card .badge.orange {
    background: var(--color-accent-orange);
}

.btn-select {
    padding      : 10px;
    background   : var(--color-brand-blue);
    color        : #fff;
    font-size    : 15px !important;
    font-family  : 'Poppins', sans-serif !important;
    font-weight  : 600 !important;
    border       : none;
    border-radius: 8px;
    cursor       : pointer;
    transition   : background 0.3s;
}

.btn-select:hover {
    background: #3a80d2;
    color     : white !important;
}

/* --- Core Content --- */
.content-grid {
    display                  : grid;
    grid-template-columns    : 2fr 1fr;
    gap                      : 1.5em
        /* margin-top        : 1.5em; */
}

.main-section,
.price-section {
    background   : var(--color-card);
    padding      : 24px;
    border-radius: 16px;
    box-shadow   : 0 8px 24px var(--color-shadow);
}

.price-section {
    height  : fit-content;
    position: sticky;
    top     : 40px;
}

.section-title {
    font-size     : 20px !important;
    font-family   : 'Poppins', sans-serif !important;
    font-weight   : 600 !important;
    margin-bottom : 18x;
    color         : var(--color-primary-text);
    border-bottom : 2px solid var(--color-divider);
    padding-bottom: 12px;
}

.flight-card {
    border       : 1px solid var(--color-divider);
    border-radius: 12px;
    padding      : 24px;
    margin-bottom: 25px;
    background   : var(--color-card);
    transition   : transform 0.3s, box-shadow 0.3s;
}

.flight-card:hover {
    /* transform : translateY(-5px); */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.flight-card h3 {
    margin     : 0 0 15px;
    font-size  : 18px !important;
    font-family: 'Poppins', sans-serif !important;
    color      : var(--color-primary-text);
    font-weight: 600 !important;
}

.airline-header {
    display      : flex;
    align-items  : center;
    gap          : 12px;
    margin-bottom: 0px;
}

.airline-header img {
    height    : 32px;
    /* filter : grayscale(100%); */
    /* opacity: 0.8; */
}

.flight-card .stop-over h5 {
    /* color      : #2ecc71 !important; */
    color        : #E91E63 !important;
    font-size    : 15px !important;
    font-family  : 'Poppins', sans-serif !important;
    margin-bottom: 0;
    background   : unset;
}

.flight-card .fa.fa-suitcase {
    /* color      : #2ecc71 !important; */
    color      : #E91E63 !important;
    font-size  : 15px !important;
    font-family: 'Poppins', sans-serif !important;
}

.flight-details-line {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    font-size      : 15px !important;
    font-family    : 'Poppins', sans-serif !important;
    color          : var(--color-secondary-text);
    border-bottom  : 1px solid var(--color-divider);
    padding-bottom : 15px;
    margin-bottom  : 15px;
}

.amenities-icons {
    display    : flex;
    gap        : 12px;
    align-items: center;
}

.amenities-icons svg {
    height         : 20px;
    width          : 20px;
    fill           : none;
    stroke         : var(--color-accent-teal);
    stroke-width   : 2;
    stroke-linecap : round;
    stroke-linejoin: round;
}

.amenities-icons .solid-icon {
    fill  : var(--color-accent-teal);
    stroke: none;
}

.flight-timeline {
    position    : relative;
    /* margin      : 25px 0; */
    margin      : 16px 0;
    padding-left: 50px;
}

.flight-timeline::before {
    content   : "";
    position  : absolute;
    top       : 0;
    left      : 28px;
    width     : 2px;
    height    : 75%;
    background: var(--color-brand-blue);
}

.timeline-point {
    position     : relative;
    margin-bottom: 24px;
}

.timeline-point:last-child {
    margin-bottom: 0;
}

.timeline-point::before {
    content    : "•";
    position   : absolute;
    left       : -32px;
    top        : -2px;
    font-size  : 30px !important;
    font-family: 'Poppins', sans-serif !important;
    line-height: 1;
    color      : var(--color-brand-blue);
    background : var(--color-card);
    padding    : 0 5px;
}

.timeline-point strong {
    display    : block;
    font-size  : 16px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    color      : var(--color-brand-blue);
}

.timeline-point small {
    font-size  : 14px;
    font-family: 'Poppins', sans-serif !important;
    color      : var(--color-secondary-text);
}

.price-row {
    display        : flex;
    justify-content: space-between;
    margin-bottom  : 15px;
    font-size      : 16px !important;
    font-family    : 'Poppins', sans-serif !important;
}

.total {
    font-size  : 18px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    border-top : 2px dashed var(--color-divider);
    padding-top: 15px;
    margin-top : 80px;
}

/* Footer booking section */

.footer-booking-section {
    background   : var(--color-card);
    padding      : 30px;
    border-radius: 16px;
    box-shadow   : 0 8px 24px var(--color-shadow);
}

.promo-code {
    display       : flex;
    align-items   : center;
    gap           : 15px;
    margin-bottom : 25px;
    padding-bottom: 20px;
    border-bottom : 2px solid var(--color-divider);
}

.promo-code .icon {
    font-size  : 30px !important;
    font-family: 'Poppins', sans-serif !important;
    color      : var(--color-brand-blue);
}

.promo-code input {
    flex-grow    : 1;
    padding      : 12px 15px;
    border       : 1px solid var(--color-divider);
    border-radius: 8px;
    font-size    : 16px !important;
    font-family  : 'Poppins', sans-serif !important;
}

.promo-code button {
    padding      : 12px 20px;
    background   : var(--color-brand-blue);
    color        : #fff;
    border       : none;
    border-radius: 8px;
    font-size    : 16px !important;
    font-family  : 'Poppins', sans-serif !important;
    cursor       : pointer;
}

.terms-box {
    border       : 1px solid var(--color-divider);
    border-radius: 8px;
    padding      : 20px;
    background   : #FAFBFC;
    margin-bottom: 25px;
}

.terms-box h4 {
    margin-top : 0;
    color      : var(--color-brand-blue);
    font-weight: 600;
}

.terms-box p {
    font-size  : 14px !important;
    font-family: 'Poppins', sans-serif !important;
    color      : var(--color-secondary-text);
    line-height: 1.5;
}

.terms-box p a {
    color          : var(--color-brand-blue);
    text-decoration: none;
    font-weight    : 500;
}

.terms-box .checkbox-line {
    display    : flex;
    align-items: flex-start;
    gap        : 10px;
}

.terms-box .checkbox-line input[type="checkbox"] {
    margin-top: 3px;
}

.btn-booking {
    display         : block;
    width           : 100%;
    padding         : 16px;
    margin-top      : 25px;
    background      : var(--color-brand-blue);
    color           : white;
    font-size       : 18px !important;
    font-family     : 'Poppins', sans-serif !important;
    font-weight     : 600 !important;
    border          : none;
    border-radius   : 10px;
    cursor          : pointer;
    text-align      : center;
    transition      : background 0.3s, transform 0.2s, box-shadow 0.2s;
    box-shadow      : 0 5px 15px rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(to right, #4A90E2, #7B68EE);
}

.btn-booking:hover {
    /* transform       : translateY(-2px); */
    box-shadow      : 0 8px 20px rgba(0, 0, 0, 0.25);
    background-image: linear-gradient(to right, #3A80D2, #6B58DE);
    color           : white !important;
}

.list_desk {
    display: block;
}

.list_mob {
    display: none;
}

.price-section.dis_desktop {
    display: block;
}

.footer-booking-section.dis_mobile {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .price-section.dis_desktop {
        display: none;
    }

    .footer-booking-section.dis_mobile {
        display: block;
    }

    .packages-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .package-card ul.list_desk {
        display: none;
    }

    .package-card ul.list_mob {
        display: none;
    }

    .package-card ul.list_mob.selected {
        display: block;
    }

    .price-section {
        position: static;
    }

    .step {
        font-size: 10.25px !important;
        padding  : 0 4px;
    }

    .timeline-point strong {
        display  : block;
        font-size: 13px !important;
    }

    .flight-card {
        padding      : 16px;
        margin-bottom: 12px;
    }

    .main-section,
    .price-section {
        padding: 10px 12px;
    }

    .contact-details {
        padding   : 8px !important;
        border-top: none;
    }

    .progress-container {
        padding: 52px 23px 12px 14px;
    }

    .refund-box {
        padding: 8px 12px;
    }

    .passenger-details-section {
        padding: 12px 18px;
    }

    .promo-code input {
        width: 180px;
    }

    .promo-code .icon {
        display: none;
    }

    .package-card ul li {
        font-size: 13px !important;
    }
}

.flight-card .stop-over {
    text-align      : center;
    padding         : 0 6px;
    line-height     : 0;
    font-size       : 14px;
    color           : #343434;
    display         : inline-block;
    font-weight     : 400;
    width           : 100%;
    background-color: #eee;
}

.flight-card .stopover-container {
    width           : 100%;
    display         : inline-block;
    /* border-bottom: dashed 1px #a4a4a4; */
    height          : 32px;
    text-align      : center;
    margin-bottom   : 0;
    background-color: #eee;
    /* height       : 24px; */
    border-radius   : 15px;
    padding         : 8px;
    border: none;
    margin: 0px 0 8px 0;
}

.flight-card p {
    line-height: 1.6;
    margin-bottom: 0;
}