﻿:root{
    --dynamic-color: #148dd2;
    --secondary-color: #ff862f;
    /* Theme2 .top_header is position:absolute — reserve space so content does not sit under the navbar */
    --fpd-theme2-header-clearance: calc(var(--pkg-tabs-sticky-top, 76px) + 1.25rem + env(safe-area-inset-top, 0px));
}
/* Clearance below absolute theme2 header (fixed package details + breadcrumb row) */
/* .fpd-main-below-header{
    padding-top: var(--fpd-theme2-header-clearance);
} */

#fpd-package-details-root .fixed-pkg-details-section{
    padding-top: 1.5rem;
}

@media (max-width: 991.98px){
    #fpd-package-details-root .fixed-pkg-details-section{
        padding-top: 1.25rem;
    }
}

/* ---------- Holiday details page — package layout, quick facts, booking panel, tabs, itinerary (.pkg-*, .page-holiday-*) ---------- */
/* Holiday details — quick facts grid (under header info) */

.pkg-quick-facts{
    position: relative;
    margin-top: 20px;
    padding: 18px 16px 18px 20px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.pkg-quick-facts__accent{
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, #0e7490 0%, var(--dynamic-color) 100%);
}

.pkg-quick-facts__grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pkg-quick-facts__item{
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pkg-quick-facts__ico{
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    font-size: 15px;
    color: #0d9488;
    color: var(--dynamic-color);
}

.pkg-quick-facts__line{
    font-size: 14px;
    line-height: 1.45;
    color: #999999;
}

.pkg-quick-facts__lbl{
    font-weight: 600;
    color: #111827;
}

.pkg-quick-facts__sep{
    font-weight: 600;
    color: #6b7280;
}

.pkg-quick-facts__val{
    font-weight: 400;
    font-size: 13px;
    color: #3e3e3e;
}

.pkg-quick-facts__val--accent{
    color: var(--dynamic-color);
    font-weight: 700;
}

@media (max-width: 991px){
    .pkg-quick-facts__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 20px;
    }
}

@media (max-width: 575px){
    .pkg-quick-facts{
        padding: 16px 12px 16px 18px;
    }

    .pkg-quick-facts__grid{
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* Package detail — right column booking panel (sticky for full height of main column row) */
.page-holiday-detail .pkg-detail-layout-row{
    align-items: stretch;
}

.page-holiday-detail .pkg-detail-layout-row > .col-lg-4{
    display: flex;
    flex-direction: column;
    overflow: visible;
}

/* Do not use flex:1 here — it stretches the booking panel to the full height of the
   main column and pushes any sibling (e.g. weather) to the bottom of the sidebar. */
.pkg-side-book{
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    min-height: 0;
}

.pkg-side-book__inner{
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--pkg-tabs-sticky-top, 76px) + 10px + env(safe-area-inset-top, 0px));
    align-self: flex-start;
    width: 100%;
    max-width: 100%;
}

.pkg-side-book__shell{
    position: relative;
    padding:15px;
    margin-left: auto;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.pkg-side-book__head{
    padding: 0;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;

}

.pkg-side-book__price-panel{
    padding: 18px 18px 16px;
    background: #f4f4f5;
    text-align: center;
}

.pkg-side-book__price-was{
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
    letter-spacing: 0.04em;
}

.pkg-side-book__price-was s{
    text-decoration-thickness: 1px;
}

.pkg-side-book__price-main{
    margin: 0 0 8px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    line-height: 1;
    font-family: "Outfit", "Poppins", system-ui, sans-serif;
    font-weight: 800;
    color: #111827;
}

.pkg-side-book__price-inr{
    font-size: 22px;
    font-weight: 700;
}

.pkg-side-book__price-num{
    font-size: 32px;
    letter-spacing: 0.02em;
}

.pkg-side-book__price-caption{
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.pkg-side-book__rewards{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: #fff4f0;
    border-top: 1px solid #fde8e0;
}

.pkg-side-book__rewards-gift{
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--secondary-color);
}

.pkg-side-book__rewards-copy{
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 1px;
}

.pkg-side-book__rewards-kicker{
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
}

.pkg-side-book__rewards-line{
    font-size: 12px;
    line-height: 1.4;
    color: #6b7280;
}

.pkg-side-book__rewards-hint{
    flex-shrink: 0;
    padding: 4px;
    margin: -4px -4px -4px 0;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
}

.pkg-side-book__rewards-hint:hover{
    color: #6b7280;
}

.pkg-side-book__cta{
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
}

.pkg-side-book__btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pkg-side-book__btn--book{
    border: none;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 0px;
}

.pkg-side-book__btn--book:hover{
    background: #ea853c;
}

.pkg-side-book__btn--book:focus-visible{
    outline: 2px solid #e11d48;
    outline-offset: 2px;
}



.pkg-side-book__toolbar{
    display: flex;
    align-items: stretch;
    background: #fafafa;
}

.pkg-side-book__tool{
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #52525b;
    text-decoration: none;
    border: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.pkg-side-book__tool:hover{
    color: #18181b;
    background: rgba(0, 0, 0, 0.03);
}

.pkg-side-book__tool i{
    font-size: 14px;
    opacity: 0.9;
}

.pkg-side-book__tool-sep{
    width: 1px;
    align-self: stretch;
    margin: 10px 0;
    background: #e4e4e7;
    flex-shrink: 0;
}

@media (max-width: 991px){
    .page-holiday-detail{
        padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px));
    }

    .page-holiday-detail .pkg-detail-layout-row > .col-lg-4{
        margin-top: 0 !important;
        min-height: 0;
    }

    .pkg-side-book__inner{
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        z-index: 1050;
        margin: 0;
        padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -6px 28px rgba(15, 23, 42, 0.14);
        width: 100%;
        max-width: 100%;
    }

    .pkg-side-book__shell{
        padding: 0;
        margin: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .pkg-side-book__head{
        display: grid;
        /* auto = price column never shrinks below content; 1fr = room for Book CTA on the right */
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 8px 10px;
        align-items: center;
        border-radius: 0;
        overflow: visible;
    }

    .pkg-side-book__price-panel{
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        padding: 0;
        margin: 0;
        background: transparent;
        text-align: left;
        position: relative;
        z-index: 1;
        min-width: max-content;
    }

    .pkg-side-book__price-was,
    .pkg-side-book__price-caption,
    .pkg-side-book__rewards{
        display: none !important;
    }

    .pkg-side-book__price-main{
        margin: 0;
        justify-content: flex-start;
        display: flex !important;
        visibility: visible;
        color: #111827;
    }

    .pkg-side-book__price-inr{
        font-size: 17px;
    }

    .pkg-side-book__price-num{
        font-size: 26px;
    }

    .pkg-side-book__cta{
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        margin: 0;
        padding: 0;
        background: transparent;
        width: auto;
    }

    .pkg-side-book__btn--book{
        width: auto;
        min-width: 118px;
        padding: 12px 18px;
        border-radius: 8px !important;
        border-top-left-radius: 8px !important;
        border-top-right-radius: 8px !important;
        font-size: 14px;
    }

    .pkg-side-book__toolbar{
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 0;
        padding: 6px 0 0;
        border: none;
        border-top: 1px solid #f1f5f9;
        background: transparent;
        justify-content: center;
        gap: 28px;
    }

    .pkg-side-book__tool-sep{
        display: none;
    }

    .pkg-side-book__tool{
        position: relative;
        flex: 0 0 auto;
        padding: 6px 10px;
        border-radius: 8px;
        color: #71717a;
    }

    .pkg-side-book__tool-txt{
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .pkg-side-book__tool i{
        font-size: 18px;
        opacity: 1;
    }
}

.pkg-side-book__body{
    padding: 18px 20px 20px 24px;
    background: #fafbfc;
}

.pkg-side-book__body-title{
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #475569;
}

.pkg-side-book__facts{
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    border-top: 1px solid #e8edf2;
}

.pkg-side-book__facts > li{
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #e8edf2;
}

.pkg-side-book__facts > li:last-child{
    border-bottom: none;
}

.pkg-side-book__ico{
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--secondary-color);
    background: rgb(255 237 225);
    border-radius: 5px;
}

.pkg-side-book__fact-body{
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 1px;
}

.pkg-side-book__fact-k{
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
}

.pkg-side-book__fact-v{
    font-size: 13px;
    line-height: 1.5;
    color: #1e293b;
    font-weight: 500;
}

.pkg-side-book__inc-label{
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.pkg-side-book__inc-grid{
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.pkg-side-book__inc-grid > li{
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #e8edf2;
    border-radius: 5px;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.pkg-side-book__inc-grid > li i{
    width: 22px;
    text-align: center;
    font-size: 15px;
    color: var(--secondary-color);
    opacity: 0.95;
}

.pkg-side-book__inc-foot{
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    color: #94a3b8;
}

/* Holiday details — horizontal tabs + stacked sections */
/* overflow-x: hidden on html/body breaks position:sticky — clip on this page only */
.page-holiday-detail{
    overflow-x: clip;
}


.page-holiday-detail .row > .col-lg-8{
    overflow: visible;
}

.pkg-detail-stack{
    max-width: 100%;
    overflow: visible;
}

.pkg-detail-tabs-sentinel{
    height: 1px;
    margin: 0;
    pointer-events: none;
    visibility: hidden;
    position: relative;
}

.pkg-detail-tabs{
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--pkg-tabs-sticky-top, 76px) + env(safe-area-inset-top, 0px));
    z-index: 1020;
    margin: 0 0 0px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 0px 0;
}

.pkg-detail-tabs.is-stuck{
    border-color: #d1d5db;
    box-shadow: 0 6px 20px -6px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.pkg-detail-tabs__track{
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.pkg-detail-tabs__track::-webkit-scrollbar{
    height: 5px;
    display:none;
}

.pkg-detail-tabs__track::-webkit-scrollbar-thumb{
    background: #cbd5e1;
    border-radius: 4px;
}

.pkg-detail-tabs__link{
    flex: 0 0 auto;
    padding: 14px 14px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease, font-weight 0.18s ease;
    position: relative;
}

.pkg-detail-tabs__link:hover{
    color: #1f2937;
}

.pkg-detail-tabs__link.is-active,
.pkg-detail-tabs__link[aria-current="true"]{
    color: var(--dynamic-color);
    font-weight: 600;
    border-bottom-color: var(--dynamic-color);
}
.pkg-detail-tabs__link.is-active::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 45%;
    border-bottom: 7px solid var(--dynamic-color);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
}

.pkg-detail-tabs__link--caps{
    letter-spacing: 0.06em;
    font-weight: 600;
}

.pkg-detail-tabs__link--caps:not(.is-active){
    font-weight: 500;
}

.pkg-detail-block{
    padding: 22px 0 26px;
    border-bottom: 1px solid #e5e7eb;
    scroll-margin-top: 138px;
}

.pkg-detail-block--last{
    border-bottom: none;
    padding-bottom: 8px;
}

.pkg-detail-block__heading{
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: var(--dynamic-color);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.pkg-detail-block__sub{
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.pkg-detail-block__itinerary{
    margin: 0;
    padding: 0 0 0 1.15rem;
    color: #334155;
    font-size: 14px;
    line-height: 1.65;
}

.pkg-detail-block__itinerary li{
    margin-bottom: 10px;
}

.pkg-detail-block__itinerary li strong{
    color: #1e293b;
}

.pkg-detail-block__list{
    margin: 0;
    padding-left: 1.1rem;
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
}

.pkg-detail-block__list li{
    margin-bottom: 8px;
}

.pkg-detail-block__para{
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    max-width: 52rem;
}

.pkg-detail-block__para:last-child{
    margin-bottom: 0;
}

.pkg-detail-block__para a{
    color: var(--dynamic-color);
    font-weight: 600;
    text-decoration: none;
}

.pkg-detail-block__para a:hover{
    text-decoration: underline;
}

.pkg-detail-block__map,
.pkg-ie__map{
    margin-top: 16px;
    padding: 36px 16px;
    text-align: center;
    background: repeating-linear-gradient(
        -12deg,
        #f8fafc,
        #f8fafc 8px,
        #f1f5f9 8px,
        #f1f5f9 16px
    );
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
}

.pkg-detail-block__map span,
.pkg-ie__map span{
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.pkg-detail-block__map small,
.pkg-ie__map small{
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #94a3b8;
}

.pkg-ie__card .pkg-ie__map{
    margin-top: 14px;
}

@media (max-width: 575px){
    .pkg-detail-block{
        padding: 18px 0 22px;
    }
}

/* Inclusion / exclusion — inner tabs + timeline list */
.pkg-detail-block--ie{
    padding-top: 8px;
}

.pkg-ie__tabs{
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0 0 14px;
}

.pkg-ie__tab{
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.pkg-ie__tab:hover{
    color: #334155;
}

.pkg-ie__tab.is-active{
    border-color:var(--dynamic-color);
    color: var(--dynamic-color);
    background: #fff;
}

.pkg-ie__tab:focus-visible{
    outline: 2px solid #e11d48;
    outline-offset: 2px;
}

.pkg-ie__card{
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fff;
    padding: 18px 18px 16px;
}

.pkg-ie__panel[hidden]{
    display: none !important;
}

.pkg-ie__list{
    margin: 0;
    padding: 0 0 0 20px;
    list-style: none;
    border-left: 1px solid #e5e7eb;
}

.pkg-ie__list li{
    position: relative;
    margin: 0 0 14px;
    padding-left: 16px;
    font-size: 14px;
    line-height: 1.65;
    color: #1e293b;
}

.pkg-ie__list li:last-child{
    margin-bottom: 0;
}

.pkg-ie__list li::before{
    content: "";
    position: absolute;
    left: -24px;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dynamic-color);
    box-shadow: 0 0 0 2px #fff;
}

.pkg-ie__card--solo{
    margin-top: 2px;
}

.pkg-detail-block--contact .pkg-ie__list strong{
    color: #0f172a;
    font-weight: 700;
}

.pkg-ie__list a{
    color: var(--dynamic-color);
    font-weight: 600;
    text-decoration: none;
}

.pkg-ie__list a:hover{
    text-decoration: underline;
}

.pkg-ie__list-meta{
    color: #64748b;
    font-weight: 400;
}

/* Holiday details — day-wise accordion (itinerary) */
.pkg-day-acc{
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pkg-day-acc__item{
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.pkg-day-acc__item:last-child{
    margin-bottom: 0;
}

.pkg-day-acc__head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 16px 18px;
    border: none;
    background: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.pkg-day-acc__head:hover{
    background: #fafafa;
}

.pkg-day-acc__head:focus-visible{
    outline: 2px solid var(--dynamic-color);
    outline-offset: -2px;
}

.pkg-day-acc__title{
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #111827;
    letter-spacing: -0.01em;
}

.pkg-day-acc__item.is-open .pkg-day-acc__title{
    color: var(--secondary-color);
}

.pkg-day-acc__num{
    font-weight: 700;
    margin-right: 2px;
}

.pkg-day-acc__toggle{
    position: relative;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: #64748b;
    font-size: 13px;
}

.pkg-day-acc__toggle .pkg-day-acc__ico{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.pkg-day-acc__ico--open{
    display: none;
    font-size: 13px;
}

.pkg-day-acc__item.is-open .pkg-day-acc__toggle{
    color: var(--dynamic-color);
}

.pkg-day-acc__item .pkg-day-acc__ico--open{display:none;}

.pkg-day-acc__item.is-open .pkg-day-acc__ico--closed{
    display: none;
}

.pkg-day-acc__ico--open{
    display: none;
}

.pkg-day-acc__item.is-open .pkg-day-acc__ico--open{
    display: block;
}

.pkg-day-acc__body{
    padding: 0 14px 16px;
    border-top: 1px solid #f1f5f9;
}

.pkg-day-acc__body[hidden]{
    display: none !important;
}

/* Day stack: multiple itinerary cards inside one accordion */
.pkg-day-stack{
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 14px;
}

/* Day timeline (reference-style rail + segment headers + transfer strip + hotel gallery) */
.pkg-day-timeline{
    padding-left: 22px;
    padding-top: 6px;
    margin-left: 6px;
    border-left: 3px solid #e6e6e6;
    margin-top: 20px;
}

.pkg-tl-seg{
    position: relative;
    margin-bottom: 22px;
}

.pkg-tl-seg:last-child{
    margin-bottom: 0;
}

.pkg-tl-seg::before{
    content: "";
    position: absolute;
    left: -29px;
    top: 8px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--dynamic-color);
    box-shadow: 0 0 0 3px #fff;
    z-index: 1;
}

.pkg-tl-seg__head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 10px 0 12px;
    border-bottom: 1px solid #f1f5f9;
}

.pkg-tl-seg__label{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #475569;
}

.pkg-tl-seg__label i{
    font-size: 14px;
    color: var(--dynamic-color);
    opacity: 0.9;
}

.pkg-tl-seg__pill{
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color);
    padding: 4px 10px;
    border-radius: 999px;
    background: rgb(255 240 230);
    border: 1px solid #ff862f;
}

.pkg-tl-seg__body{
    padding-top: 14px;
}

.pkg-tl-transfer,
.pkg-tl-activity{
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.pkg-tl-transfer__thumb,
.pkg-tl-activity__thumb{
    flex-shrink: 0;
    width: 140px;
    border-radius: 10px;
    overflow: hidden;
    background: #f4f4f5;
    border: 1px solid #e5e7eb;
}

.pkg-tl-transfer__thumb img,
.pkg-tl-activity__thumb img{
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
}

.pkg-tl-transfer__thumb img{
    object-fit: contain;
}

.pkg-tl-activity__thumb img{
    object-fit: cover;
}

.pkg-tl-transfer__main,
.pkg-tl-activity__main{
    min-width: 0;
    flex: 1;
}

.pkg-tl-activity .it-chip{
    margin-bottom: 8px;
}

.pkg-tl-activity__rating{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0 0 10px;
}

.pkg-tl-activity__score{
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    letter-spacing: 0.02em;
}

.pkg-tl-activity__kv{
    margin: 0 0 12px;
}


.pkg-tl-transfer__title,
.pkg-tl-activity__title{
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.02em;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}
.pkg-tl-hotel__starline i{    font-size: 11px;}

.pkg-tl-transfer__lead,
.pkg-tl-activity__lead{
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
}

.pkg-tl-details{
    margin: 0 0 10px;
    display: flex;
    flex-direction: column-reverse;
}

.pkg-tl-details__summary{
    list-style: none;
    cursor: pointer;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--dynamic-color);
    margin-bottom: 4px;
}

.pkg-tl-details__summary::-webkit-details-marker{
    display: none;
}

.pkg-tl-details__more{
    padding-top: 8px;
}

.pkg-tl-details__more p{
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.55;
    color: #64748b;
}
 
.pkg-tl-transfer__facts,
.pkg-tl-activity__facts{
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    line-height: 1.5;
    color: #475569;
}

.pkg-tl-transfer__facts li,
.pkg-tl-activity__facts li{
    padding: 4px 0;
    border-top: 1px solid #f1f5f9;
}

.pkg-tl-transfer__facts li:first-child,
.pkg-tl-activity__facts li:first-child{
    border-top: none;
    padding-top: 0;
}

.pkg-tl-transfer__loc,
.pkg-tl-activity__meta{
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.pkg-tl-transfer__loc i,
.pkg-tl-activity__meta i{
    color: var(--dynamic-color);
}

.pkg-tl-transfer__meta{
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

.pkg-tl-transfer__thumb-fallback{
    min-height: 110px;
    width: 100%;
    background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 8px;
}

/* Native <details> reads better with normal column order (global .pkg-tl-details uses column-reverse) */
#fpd-package-details-root .pkg-tl-details--transfer{
    flex-direction: column;
}

#fpd-package-details-root .pkg-tl-details--transfer .pkg-tl-details__summary{
    margin-bottom: 0;
}

#fpd-package-details-root .pkg-tl-details--activity{
    flex-direction: column;
}

/* Hotel strip card — single image + caps title + stars + address + amenity pills (day timeline) */
.pkg-tl-hotel--strip{
    display: flex;
    gap: 16px 18px;
    align-items: stretch;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pkg-tl-hotel__media{
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    align-self: stretch;
    height: 100px;
    width: 150px;
}

.pkg-tl-hotel__img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pkg-tl-hotel__body{
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 2px 0;
}

.pkg-tl-hotel__headline{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px 14px;
}

.pkg-tl-hotel__namecaps{
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #0a0a0a;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pkg-tl-hotel__starline{
    display: inline-flex;
    gap: 3px;
    flex-shrink: 0;
    color: #f59e0b;
    font-size: 13px;
    line-height: 1;
    padding-top: 2px;
}

.pkg-tl-hotel__address{
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: #6b7280;
}

.pkg-tl-hotel__dates{
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;
    color: #374151;
}

.pkg-tl-hotel__dates > i{
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 15px;
    color: #9ca3af;
}

.pkg-tl-hotel__dates-nights{
    color: #6b7280;
    font-weight: 600;
}

.pkg-tl-hotel__amen-wrap{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-top: 4px;
}

.pkg-tl-hotel__amen-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pkg-tl-hotel__amen-tags li{
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    background: #f3f4f6;
    border-radius: 6px;
    line-height: 1.3;
}

.pkg-tl-hotel__amen-more{
    font-size: 13px;
    font-weight: 700;
    color: var(--dynamic-color);
    text-decoration: none;
    white-space: nowrap;
}

.pkg-tl-hotel__amen-more:hover{
    text-decoration: underline;
}

@media (max-width: 767px){
    .pkg-day-timeline{
        padding-left: 18px;
        margin-left: 4px;
    }

    .pkg-tl-seg::before{
        left: -27px;
    }

    .pkg-tl-transfer,
    .pkg-tl-activity{
        flex-direction: column;
    }

    .pkg-tl-transfer__thumb,
    .pkg-tl-activity__thumb{
        width: 100%;
        max-width: 100%;
    }

    .pkg-tl-hotel--strip{
        display: block;
    }

    .pkg-tl-hotel__media{
      max-height: 200px;
        width: 100%;
        height: 130px;
    }
    .pkg-tl-activity__lead{font-size:12px;}

    .pkg-tl-hotel__img{
        min-height: 160px;
        max-height: 200px;
    }

    .pkg-tl-seg__head{
        flex-direction: column;
        align-items: flex-start;
        gap: 8px 10px;
    }

    .pkg-tl-seg__label{
        font-size: 11px;
        letter-spacing: 0.05em;
        line-height: 1.35;
    }

    .pkg-tl-seg__pill{
        align-self: flex-start;
    }

    .pkg-tl-activity .it-kv{
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .pkg-tl-activity .it-kv__cell--full{
        grid-column: 1;
    }

    .pkg-tl-transfer,
    .pkg-tl-activity{
        padding: 12px 14px;
    }

    .pkg-tl-transfer__title,
    .pkg-tl-activity__title{
        font-size: 16px;
    }

    .pkg-tl-activity .d-flex.align-items-center.justify-content-between{
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }

    .pkg-tl-activity .d-flex.align-items-center.justify-content-between .it-chip{
        align-self: flex-start;
    }
}

/* Itinerary inner cards — transfer / hotel / sightseeing (distinct layouts) */
.it-card{
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.it-card__split{
    display: grid;
    grid-template-columns: minmax(160px, 36%) minmax(0, 1fr);
    align-items: stretch;
}

.it-card__split--hotel{
    grid-template-columns: minmax(160px, 34%) minmax(0, 1fr);
}

.it-card__pic{
    background: #f1f5f9;
    min-height: 200px;
}

.it-card__pic img{
    display: block;
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: contain;
}

.it-card__pic--soft{
    padding: 12px;
    background: #f8fafc;
    min-height: 0;
}

.it-card__pic--soft img{
    min-height: 220px;
    height: auto;
    border-radius: 12px;
}

.it-card__pic--sight{
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: #fafafa;
    min-height: 0;
}

.it-card__sight-hero{
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.it-card__sight-pair{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.it-card__sight-pair img{
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    min-height: 0;
}

.it-card__core{
    padding: 16px 18px 14px;
}

.it-card__topbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 10px;
}

.it-chip{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.it-chip--transfer{
    background: #eef2ff;
    color: #3730a3;
}

.it-chip--road{
    background: #f1f5f9;
    color: #334155;
}

.it-chip--hotel{
    background: rgba(20, 141, 210, 0.12);
    color: #0b5a87;
}

.it-chip--sight{
    background: rgba(255, 134, 47, 0.14);
    color: var(--secondary-color);
    border: 1px dashed;
    font-size: 8px;
}

.it-card__pin{
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.it-card__h{
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.it-kv{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.it-kv__cell{
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    padding: 5px 5px;
    border: 1px dashed #e6e6e6;
    border-radius: 10px;
    align-items: start;
}

.it-kv__ico{
    grid-row: 1 / -1;
    align-self: start;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e0e7ff;
    color: #4338ca;
    font-size: 13px;
}

.it-kv--sight .it-kv__ico{
    background: #f4f4f4;
    color: var(--secondary-color);
}

.it-kv--road .it-kv__ico{
    background: #e2e8f0;
    color: #475569;
}

.it-kv__k{
    grid-column: 2;
    display: block;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
}

.it-kv__v{
    grid-column: 2;
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
}

.it-card__note{
    margin: 0;
    padding: 14px 18px 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
    background: #fafafa;
    border-top: 1px solid #f1f5f9;
}

.it-card__addr{
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
}

.it-card__when{
    margin: 0 0 14px;
    font-size: 13px;
    color: #334155;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    line-height: 1.45;
}

.it-card__when i{
    margin-top: 2px;
    color: var(--dynamic-color);
}

.it-room{
    border-left: 4px solid var(--dynamic-color);
    padding: 12px 14px 12px 16px;
    background: #f8fafc;
    border-radius: 0 10px 10px 0;
}

.it-room__type{
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.it-room__tag{
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 11px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 5px;
}

.it-room__fine{
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
}

/* Simple polish: transfer image in a light frame; hotel chip spacing */
.it-card__pic--transfer{
    padding: 12px;
    background: #f4f4f5;
    min-height: 0;
}

.it-card__pic--transfer img{
    display: block;
    width: 100%;
    min-height: 200px;
    height: 100%;
    max-height: 280px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

.it-card--hotel .it-card__core > .it-chip{
    margin-bottom: 8px;
}

.it-card__pic--soft img{
    object-fit: cover;
}

.it-card--hotel-compact .it-card__core{
    padding-bottom: 16px;
}

.it-card__rate{
    margin: 0 0 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    font-size: 13px;
}

.it-stars{
    color: #ca8a04;
    letter-spacing: 2px;
    font-size: 13px;
}

.it-stars--soft{
    color: #94a3b8;
}

.it-card__rate-num{
    font-weight: 800;
    color: #0f172a;
}

.it-muted{
    color: #94a3b8;
    font-size: 12px;
}

@media (max-width: 767px){
    .it-card__split,
    .it-card__split--hotel{
        grid-template-columns: 1fr;
    }

    .it-card__pic--transfer img{
        max-height: 220px;
    }

    .it-card__pic{
        min-height: 200px;
        max-height: 260px;
    }

    .it-card__pic img{
        max-height: 260px;
    }

    .it-kv{
        grid-template-columns: 1fr;
    }

    .pkg-day-acc__head{
        padding: 14px 14px;
    }

    .pkg-day-acc__title{
        font-size: 14px;
    }
}

/* ---------- Holiday details page — property gallery + lightbox (.hl-gallery* on holiday-details.html) ---------- */
.hl-gallery-thumbs{
    display: flex;
    gap: 10px;
    flex-direction: column;
    margin-bottom: 0px;
}

.hl-gallery-thumb{
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #e2e8f0;
    width: 110px;
    height: 100px;
}

.hl-gallery-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.4s;
}

.hl-gallery-thumb:hover img{
    transform: scale(1.2);
}


.elementor-icon-list-text{display: flex; gap: 10px; flex-wrap: wrap;    margin: 15px 0px;}
.thim-header-info{padding-left:0px;padding-left: 0px; display: flex; align-items: center; gap: 15px; flex-wrap: wrap;}
.thim-header-info li{list-style: none; font-size: 14px; color: #555;}

.hl-gallery-thumb.is-active{
    border-color: var(--secondary-color);
}

.hl-gallery-hero{
    position: relative;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.hl-gallery-hero__trigger{
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: inherit;
    cursor: zoom-in;
    background: #111;
    text-align: left;
    overflow: hidden;
}

.hl-gallery-hero__trigger:focus-visible{
    outline: 3px solid var(--dynamic-color);
    outline-offset: 2px;
}

.hl-gallery-hero__trigger:hover .hl-gallery-hero__img{
    opacity: 0.94;
}

 .term-river-cruise{background: #148dd2; color: #fff; padding: 5px 5px; border-radius: 5px; font-size: 12px; display: flex; align-items: center; width: fit-content;}

.pkg-details_content{padding:20px 0px;}

.pkg-details_title{font-size: 28px; font-weight: 600; line-height: 1.4em;}

.term-rail-tour{background: var(--secondary-color); color: #fff; padding: 5px 5px; border-radius: 5px; font-size: 12px; display: flex; align-items: center; width: fit-content;}


.hl-gallery{display: flex; gap: 10px;}

.holiday-list-main_box{position: relative;}

.hl-gallery-hero__img{
    width: 100%;
    height:100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.hl-gallery-open{
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    border: none;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.hl-gallery-open:hover{
    background: #f8fafc;
}

.hl-gallery-modal{
    position: fixed;
    inset: 0;
    z-index: 20050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    box-sizing: border-box;
}

.hl-gallery-modal.is-open{
    display: flex;
}

.hl-gallery-modal:fullscreen{
    padding: 0;
    background: #0a0a0a;
}

.hl-gallery-modal:fullscreen .hl-gallery-modal__backdrop{
    display: none;
}

.hl-gallery-modal__backdrop{
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.92);
    cursor: pointer;
}

.hl-gallery-modal__box{
    position: relative;
    z-index: 1;
    width: min(1020px, 100%);
    max-height: min(92vh, 900px);
}

.hl-gallery-modal__chrome{
    background: #161616;
    border: 1px solid #2d2d2d;
    border-radius: 6px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: min(92vh, 900px);
}

.hl-gallery-modal:fullscreen .hl-gallery-modal__box{
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
    border: none;
}

.hl-gallery-modal:fullscreen .hl-gallery-modal__chrome{
    max-height: none;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
}

.hl-gallery-modal__head{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 10px 12px 10px 14px;
    border-bottom: 1px solid #2a2a2a;
    background: #1c1c1c;
}

.hl-gallery-modal__label{
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8c8c8c;
}

.hl-gallery-modal__count{
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #e8e8e8;
    text-align: center;
}

.hl-gallery-modal__head_btns{
    display: flex;
    align-items: center;
    gap: 4px;
}

.hl-gallery-modal__iconbtn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    background: #242424;
    color: #e5e5e5;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hl-gallery-modal__iconbtn:hover{
    background: #2e2e2e;
    border-color: #4a4a4a;
    color: #fff;
}

.hl-gallery-modal__iconbtn:focus-visible{
    outline: 2px solid var(--dynamic-color);
    outline-offset: 2px;
}

.hl-gallery-modal__stage{
    position: relative;
    flex: 1 1 auto;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 12px 8px;
    background: #0d0d0d;
}

.hl-gallery-modal__frame{
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: min(58vh, 520px);
    max-height: min(58vh, 520px);
}

.hl-gallery-modal:fullscreen .hl-gallery-modal__stage{
    flex: 1 1 auto;
    align-self: stretch;
    min-height: 0;
    padding: 6px 4px;
}

.hl-gallery-modal:fullscreen .hl-gallery-modal__frame{
    flex: 1 1 auto;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    min-height: 0;
    max-height: none;
    position: relative;
    overflow: hidden;
}

.hl-gallery-modal__img{
    max-width: 100%;
    max-height: min(58vh, 520px);
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

/* Fullscreen (browser): fill stage with image — cover, not letterboxed contain */
.hl-gallery-modal:fullscreen .hl-gallery-modal__img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
}

/* Safari older fullscreen pseudo */
.hl-gallery-modal:-webkit-full-screen .hl-gallery-modal__stage{
    flex: 1 1 auto;
    align-self: stretch;
    min-height: 0;
    padding: 6px 4px;
}

.hl-gallery-modal:-webkit-full-screen .hl-gallery-modal__frame{
    flex: 1 1 auto;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    min-height: 0;
    max-height: none;
    position: relative;
    overflow: hidden;
}

.hl-gallery-modal:-webkit-full-screen .hl-gallery-modal__img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
}

.hl-gallery-modal:-webkit-full-screen .hl-gallery-modal__chrome{
    max-height: none;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
}

.hl-gallery-modal__nav{
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid #333;
    border-radius: 4px;
    background: #222;
    color: #ddd;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    align-self: center;
}

.hl-gallery-modal__nav:hover{
    background: #2c2c2c;
    color: #fff;
}

.hl-gallery-modal__nav:focus-visible{
    outline: 2px solid var(--dynamic-color);
    outline-offset: 2px;
}

.hl-gallery-modal__cap{
    flex-shrink: 0;
    margin: 0;
    padding: 8px 14px 4px;
    font-size: 13px;
    line-height: 1.45;
    color: #b0b0b0;
    text-align: center;
    min-height: 1.45em;
}

.hl-gallery-modal__strip{
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    padding: 8px 12px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid #2a2a2a;
    background: #141414;
    scrollbar-width: thin;
    scrollbar-color: #444 #1a1a1a;
}

.hl-gallery-modal__strip-item{
    flex: 0 0 auto;
    width: 64px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.15s ease, border-color 0.15s ease;
    background: #000;
}

.hl-gallery-modal__strip-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hl-gallery-modal__strip-item:hover{
    opacity: 0.9;
}

.hl-gallery-modal__strip-item.is-active{
    opacity: 1;
    border-color: #f5f5f5;
}

.hl-gallery-modal__strip-item:focus-visible{
    outline: 2px solid var(--dynamic-color);
    outline-offset: 2px;
}

.hl-gallery-modal__hint{
    flex-shrink: 0;
    margin: 0;
    padding: 6px 12px 10px;
    font-size: 11px;
    color: #5c5c5c;
    text-align: center;
    letter-spacing: 0.02em;
}

.hl-gallery-modal__hint kbd{
    display: inline-block;
    margin: 0 2px;
    padding: 2px 5px;
    font-size: 10px;
    font-family: ui-monospace, monospace;
    color: #8a8a8a;
    background: #222;
    border: 1px solid #333;
    border-radius: 3px;
}

@media (max-width: 576px){
    .hl-gallery-modal__nav{
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .hl-gallery-modal__frame{
        min-height: 42vh;
        max-height: 50vh;
    }

    .hl-gallery-modal__img{
        max-height: 50vh;
    }

    .hl-gallery-modal__head{
        flex-wrap: wrap;
    }

    .hl-gallery-modal__count{
        order: 3;
        flex: 0 0 100%;
        text-align: left;
        padding-top: 2px;
    }
}

@media (max-width: 576px){
    .hl-gallery-thumbs{
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding-bottom: 4px;
        flex-direction: row;
    }

    .hl-gallery-thumb{
        flex: 0 0 22%;
        width: 70px;
         height: 68px;
    }
    .hl-gallery-hero{height: 290px;}
    .pkg-details_title{font-size: 18px;}
    .pkg-tl-seg__pillP{font-size:8px;}
    .pkg-tl-transfer__thumb, .pkg-tl-activity__thumb{
        max-width: 100%;
    height: 137px;
    padding: 10px;
    }
    .pkg-tl-transfer__thumb img{aspect-ratio: auto;}
    .pkg-tl-transfer__title{font-size:15px;}
    .pkg-tl-transfer__lead{font-size:12px;}


   
}

/* ---------- Shared — breadcrumbs strip (.pkg_breadcrumbs_list) ---------- */
.pkg_breadcrumbs_list{margin:20px 0px;}
.pkg_breadcrumbs_list ul{padding-left: 0px; display: flex; align-items: center; gap: 10px;}
.pkg_breadcrumbs_list ul li{list-style: none;}
.pkg_breadcrumbs_list ul li a{text-decoration: none; color: #555; font-size: 14px;}
.pkg_breadcrumbs_list ul li a:hover{text-decoration: underline; color: var(--dynamic-color);}
.pkg_breadcrumbs_list ul li svg{width: 12px; height: 12px;}
.pkg_breadcrumbs_list ul li svg path{fill: #555;}
.pkg_breadcrumbs_list ul li svg path:hover{fill: var(--dynamic-color);}
.pkg_breadcrumbs_list ul li svg path:focus{fill: var(--dynamic-color);}
.pkg_breadcrumbs_list ul li svg path:active{fill: var(--dynamic-color);}
.pkg_breadcrumbs_list ul li svg path:visited{fill: var(--dynamic-color);}
.pkg_breadcrumbs_list ul li svg path:focus-within{fill: var(--dynamic-color);}

#fpd-package-details-root .newhoteldtlscontent{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-start;}
#fpd-package-details-root .lefthotelnewimg{flex:0 0 38%;max-width:300px;min-height:160px;}
#fpd-package-details-root .lefthotelnewimg img{width:100%;height:100%;object-fit:cover;border-radius:10px;}
#fpd-package-details-root .righthotelcontentdtlsnew{flex:1;min-width:220px;padding:0 8px;}
#fpd-package-details-root .needaywisecontent{padding:12px 0;}
#fpd-package-details-root .hotelbedge{display:inline-block;background:#555;color:#fff;padding:3px 12px;font-size:13px;border-radius:5px;}
#fpd-package-details-root .service-divider{border:0;border-top:1px solid #e5e7eb;margin:12px 0;opacity:1;}

.loop-item-term{display:inline-block;padding:4px 10px;border-radius:6px;background:var(--tag-bg,#eef2ff);color:var(--tag-fg,#111827);font-size:0.85rem;}
.pkg-ie__rich{font-size:0.95rem;line-height:1.55;}
.pkg-ie__rich ul{margin:0;padding-left:1.2rem;}
.pkg-ie__rich li {
    position: relative;
    margin: 0 0 14px;
    padding-left: 16px;
    font-size: 14px;
    line-height: 1.65;
    color: #1e293b;
    list-style: none;
  }
  .pkg-ie__rich ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: none;
    border-left: 1px solid #e5e7eb;
  }
  
.pkg-ie__rich li::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
  
    background: var(--dynamic-color);
    box-shadow: 0 0 0 2px #fff;
  }
/* Weather + tabs + hourly chart (from package-details-fixed.css), scoped to fixed package details */
#fpd-package-details-root .weather-card-t2 {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}
#fpd-package-details-root .weather-card-t2 .weather-details {
    width: 100%;
    max-width: 100%;
}
#fpd-package-details-root .themes-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
#fpd-package-details-root .themes-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2f6b92;
    border-radius: 12px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}
#fpd-package-details-root .themes-icon-wrapper svg {
    width: 20px;
    height: 20px;
}
#fpd-package-details-root .themes-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    letter-spacing: -0.3px;
}
#fpd-package-details-root .weather-content {
    margin-top: 0.5rem;
}
#fpd-package-details-root .weather-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    color: #667eea;
}
#fpd-package-details-root .weather-info {
    width: 100%;
}
#fpd-package-details-root .weather-location h6 {
    color: #1a202c;
    font-size: 1.125rem;
}
#fpd-package-details-root .weather-main {
    padding: 1rem 0;
}
#fpd-package-details-root .weather-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}
#fpd-package-details-root .weather-temp .temperature {
    color: #1a202c;
    line-height: 1.2;
}
#fpd-package-details-root .weather-temp .condition {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
#fpd-package-details-root .weather-stats {
    margin-top: 1rem;
}
#fpd-package-details-root .weather-detail-item {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}
#fpd-package-details-root .weather-detail-item small {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}
#fpd-package-details-root .weather-detail-item strong {
    display: block;
    font-size: 1rem;
    color: #1a202c;
    font-weight: 600;
}
#fpd-package-details-root .weather-forecast {
    margin-top: 1rem;
    padding-top: 1rem;
}
#fpd-package-details-root .weather-error {
    color: #6c757d;
    font-size: 0.875rem;
}
#fpd-package-details-root .weather-tabs-wrapper {
    margin-top: 1.25rem;
    margin-bottom: 1rem;
}
#fpd-package-details-root .weather-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    background: #f8f9fa;
    padding: 0.375rem;
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}
#fpd-package-details-root .weather-tab-btn {
    flex: 1;
    min-width: 0;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    background: transparent;
    border: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
#fpd-package-details-root .weather-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}
#fpd-package-details-root .weather-tab-btn:hover::before {
    left: 100%;
}
#fpd-package-details-root .weather-tab-btn:hover {
    color: #667eea;
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.15);
}
#fpd-package-details-root .weather-tab-btn.active {
    color: #fff;
    background: linear-gradient(135deg, #6b7bff, #764ba2);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    transform: translateY(-1px);
}
#fpd-package-details-root .weather-tab-btn.active:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}
#fpd-package-details-root .weather-tab-text {
    position: relative;
    z-index: 1;
    display: block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
#fpd-package-details-root .weather-tab-btn.active .weather-tab-text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
#fpd-package-details-root .weather-hourly-chart {
    width: 100%;
}
#fpd-package-details-root .hourly-chart-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}
#fpd-package-details-root .hourly-chart-container::-webkit-scrollbar {
    height: 4px;
}
#fpd-package-details-root .hourly-chart-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}
#fpd-package-details-root .hourly-chart-container::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 2px;
}
#fpd-package-details-root .hourly-chart-container::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}
#fpd-package-details-root .hourly-chart-scroll {
    min-width: 100%;
}
#fpd-package-details-root .hourly-chart-bars {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    padding: 0.5rem 0;
    min-width: max-content;
}
#fpd-package-details-root .hourly-chart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 45px;
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}
#fpd-package-details-root .hourly-chart-item:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-2px);
}
#fpd-package-details-root .hourly-chart-item.current-hour {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid #667eea;
}
#fpd-package-details-root .hourly-time {
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 500;
    white-space: nowrap;
}
#fpd-package-details-root .hourly-chart-item.current-hour .hourly-time {
    color: #667eea;
    font-weight: 600;
}
#fpd-package-details-root .hourly-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    margin: 0.25rem 0;
}
#fpd-package-details-root .hourly-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
#fpd-package-details-root .hourly-temp-bar-wrapper {
    width: 8px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
#fpd-package-details-root .hourly-temp-bar {
    width: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    min-height: 4px;
    transition: all 0.3s ease;
}
#fpd-package-details-root .hourly-chart-item.current-hour .hourly-temp-bar {
    background: linear-gradient(180deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}
#fpd-package-details-root .hourly-temp {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a202c;
    white-space: nowrap;
}
#fpd-package-details-root .hourly-chart-item.current-hour .hourly-temp {
    color: #667eea;
    font-weight: 700;
}
@media (max-width: 768px) {
    #fpd-package-details-root .themes-header {
        margin-bottom: 1rem;
    }
    #fpd-package-details-root .themes-icon-wrapper {
        width: 36px;
        height: 36px;
    }
    #fpd-package-details-root .themes-icon-wrapper svg {
        width: 18px;
        height: 18px;
    }
    #fpd-package-details-root .themes-title {
        font-size: 1rem;
    }
    #fpd-package-details-root .weather-icon img {
        width: 56px;
        height: 56px;
    }
    #fpd-package-details-root .weather-temp .temperature {
        font-size: 1.75rem;
    }
    #fpd-package-details-root .weather-detail-item {
        padding: 0.625rem;
    }
}
@media (max-width: 576px) {
    #fpd-package-details-root .themes-header {
        gap: 0.625rem;
        margin-bottom: 0.875rem;
    }
    #fpd-package-details-root .themes-icon-wrapper {
        width: 32px;
        height: 32px;
    }
    #fpd-package-details-root .themes-icon-wrapper svg {
        width: 16px;
        height: 16px;
    }
    #fpd-package-details-root .themes-title {
        font-size: 0.9375rem;
    }
    #fpd-package-details-root .weather-icon img {
        width: 48px;
        height: 48px;
    }
    #fpd-package-details-root .weather-temp .temperature {
        font-size: 1.5rem;
    }
    #fpd-package-details-root .weather-location h6 {
        font-size: 1rem;
    }
    #fpd-package-details-root .weather-tabs {
        gap: 0.375rem;
        padding: 0.25rem;
    }
    #fpd-package-details-root .weather-tab-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }
}
@media (max-width: 480px) {
    #fpd-package-details-root .weather-tabs {
        gap: 0.25rem;
        padding: 0.25rem;
    }
    #fpd-package-details-root .weather-tab-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        flex: 1 1 calc(50% - 0.25rem);
    }
    #fpd-package-details-root .hourly-chart-item {
        min-width: 40px;
    }
    #fpd-package-details-root .hourly-time {
        font-size: 0.65rem;
    }
    #fpd-package-details-root .hourly-temp {
        font-size: 0.7rem;
    }
    #fpd-package-details-root .hourly-temp-bar-wrapper {
        height: 50px;
    }
}

/* Dynamic itinerary rows (legacy partials) inside timeline segments — match pkg-tl card look */
#fpd-package-details-root .pkg-tl-seg__body .needaywisecontent{
    padding: 16px 18px;
    margin: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
#fpd-package-details-root .pkg-tl-seg__body .needaywisecontent.pt-3,
#fpd-package-details-root .pkg-tl-seg__body .needaywisecontent.pt-4{
    padding-top: 16px;
}
#fpd-package-details-root .pkg-tl-seg__body .needaywisecontent .newhoteldtlscontent{
    display: flex;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
}
#fpd-package-details-root .pkg-tl-seg__body .needaywisecontent .lefthotelnewimg{
    flex-shrink: 0;
    width: 140px;
    max-width: 38%;
}
#fpd-package-details-root .pkg-tl-seg__body .needaywisecontent .righthotelcontentdtlsnew{
    flex: 1;
    min-width: 0;
}
#fpd-package-details-root .pkg-tl-seg__body .needaywisecontent .transfer-image-wrapper,
#fpd-package-details-root .pkg-tl-seg__body .needaywisecontent .activity-image-wrapper{
    border-radius: 10px;
    overflow: hidden;
    background: #f4f4f5;
    border: 1px solid #e5e7eb;
}
#fpd-package-details-root .pkg-tl-seg__body .needaywisecontent .transfer-image-wrapper img,
#fpd-package-details-root .pkg-tl-seg__body .needaywisecontent .hotel-image,
#fpd-package-details-root .pkg-tl-seg__body .needaywisecontent .activity-image-wrapper img{
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
#fpd-package-details-root .pkg-tl-seg__body .needaywisecontent .transfer-image-wrapper img{
    object-fit: contain;
}
#fpd-package-details-root .pkg-tl-seg__body .needaywisecontent .hotelbedge{
    display: none;
}
#fpd-package-details-root .pkg-tl-seg__body--flight .pkgItiList{
    margin: 0 !important;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    background: #fff;
}

#fpd-package-details-root .pkg-tl-seg__body--flight .pkgItiList .d-flex.gap-2.p-3{
    padding: 1rem 1.125rem !important;
    gap: 1rem !important;
    align-items: flex-start;
}

#fpd-package-details-root .pkg-tl-seg__body--flight .pkgItiList .bg-light.rounded{
    border: 1px solid #e5e7eb;
    background: #f8fafc !important;
}
@media (max-width: 767px){
    #fpd-package-details-root .pkg-tl-seg__body .needaywisecontent .newhoteldtlscontent{
        flex-direction: column;
    }
    #fpd-package-details-root .pkg-tl-seg__body .needaywisecontent .lefthotelnewimg{
        width: 100%;
        max-width: 100%;
    }
}

/* Travel map: itinerary modal must not leak chrome when closed (was conflicting with global .close-btn) */
#travelMapItineraryModal.itinerary-modal:not(.active) {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
}

/*
 * Right service drawer (flight/hotel/transfer): scoped only to this page.
 * Do NOT use bare `.overlay` here — it breaks other theme2 overlays.
 */
#fpdFixedPkgDrawerOverlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9998;
}

#fpdFixedPkgDrawerOverlay.active {
    opacity: 1;
    pointer-events: auto;
}

#fpd-package-details-root .rightModal {
    max-width: 600px;
    position: fixed;
    top: 0;
    right: -600px;
    height: 100%;
    z-index: 9999;
    padding: 10px;
    background: rgb(254 251 242);
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.76);
    opacity: 0;
    pointer-events: none;
    transition: right 0.5s ease-in-out, opacity 0.5s ease-in-out;
    overflow-y: auto;
}

#fpd-package-details-root .rightModal.active {
    right: 0;
    opacity: 1;
    pointer-events: auto;
}

