/* Extracted from original ETP inner tour page — itinerary, pricing, highlights, meta bar */

/* =========================================
   ITINERARY ACCORDION & TIMELINE
   ========================================= */

.gx-itinerary-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gx-itinerary-accordion .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    background-color: var(--bg-white);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: box-shadow var(--transition-speed) ease;
}

.gx-itinerary-accordion .accordion-item:hover {
    box-shadow: var(--shadow-sm);
}

.gx-itinerary-accordion .accordion-button {
    padding: 20px 24px;
    background-color: var(--bg-second);
    box-shadow: none !important;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--brand-dark-blue);
    display: flex;
    align-items: center;
    gap: 12px;
}


/* ------------------ */
img.tour-itinerary-image {
    max-height: 300px !important;
    min-height: 300px !important;
}
/* ------------------ */


/* Caret/Arrow Animation tied to custom aria-expanded attribute */
.gx-itinerary-accordion .accordion-button::after {
    transition: transform 0.3s ease;
}

.gx-itinerary-accordion .accordion-button[aria-expanded="true"]::after {
    transform: rotate(-180deg);
}

/* Stops the blue background on open state, using aria-expanded instead of .collapsed */
.gx-itinerary-accordion .accordion-button[aria-expanded="true"] {
    background-color: var(--bg-second);
    color: var(--brand-dark-blue);
    border-bottom: 1px solid var(--border-color);
}

.gx-itinerary-accordion .day-label {
    color: #ffffff;
    font-weight: 600;
    width: 7rem ;
    background-color: #088bae;
    text-align: center;
    padding: 7px 0;
    border-radius: 12px;
}

.gx-itinerary-accordion .day-title {
    font-weight: 500;
}

.gx-itinerary-accordion .accordion-body {
    padding: 30px 24px 24px 24px;
}

/* --- Timeline Layout --- */
.itinerary-timeline {
    position: relative;
    padding-left: 0;
    margin-top: 10px;
}

.itinerary-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 2px;
    background-color: var(--border-color);
    z-index: 0;
}

/* Paragraphs */
.itinerary-timeline > p {
    padding-left: 50px;
    position: relative;
}

/* UL */
.itinerary-timeline ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* LI */
.itinerary-timeline ul li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 16px;
    line-height: 1.7;
}

/* Timeline Dot */
.itinerary-timeline ul li::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-destination);
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px var(--border-color);
    z-index: 1;
}
/* --------------------------------- End Of Layout  ------------------------------------------- */

.timeline-item {
    display: flex;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-marker .image-marker {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.timeline-marker .icon-marker {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.timeline-marker .meal-marker {
    background-color: #fbecec;
    color: var(--color-destination);
}

.timeline-marker .sleep-marker {
    background-color: var(--brand-teal-light);
    color: var(--brand-teal);
}

.timeline-content {
    flex-grow: 1;
    padding-top: 10px;
}

.timeline-content .event-title {
    font-size: 1.05rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-content .step-num {
    color: var(--color-destination);
}

.timeline-content .event-desc p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 2;
    margin-bottom: 20px;
    
}

.itinerary-timeline p {
    line-height: 2;
}

/* --- Premium Daily Inclusions (Pill Design) --- */
.day-inclusions-wrapper {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px dashed var(--border-color); /* Elegant separator from the timeline */
}

.inclusion-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.inc-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 8px 18px 8px 8px; /* Extra padding on the right for balance */
    border-radius: 50px; /* Fully rounded pill shape */
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.inc-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.inc-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Distinct Icon Colors */
.bg-blue-soft {
    background-color: #e8f0fe;
    color: var(--brand-dark-blue); /* Sharp blue for flights */
}

.bg-orange-soft {
    background-color: #f3e9e8;
    color: var(--color-destination); /* Using your orange variable */
}

.bg-teal-soft {
    background-color: var(--brand-teal-light);
    color: var(--brand-teal);
}

.inc-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.inc-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.inc-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-dark-blue);
}


/* =========================================
   HOTEL ACCOMMODATION CARDS LAYOUT
   ========================================= */
.tp-hotels-wrapper {
    animation: smoothReveal 0.4s ease-out forwards;
}

.tp-hotels-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-dark-blue);
    display: flex;
    align-items: center;
}

.tp-hotels-heading i {
    color: var(--brand-teal);
}

.tp-hotels-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tp-hotel-card {
    display: flex;
    background-color: var(--bg-light, #f8f9fa);
    border: 1px solid var(--border-color, #e9ecef);
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    transition: border-color var(--transition-speed) ease, background-color var(--transition-speed) ease;
}

.tp-hotel-card:hover {
    border-color: rgba(0, 130, 155, 0.3);
    background-color: #fcfdfe;
}

/* Left structural block for destination identifiers */
.tp-hotel-loc-side {
    width: 140px;
    background-color: var(--bg-white, #ffffff);
    border-right: 1px dashed var(--border-color, #e9ecef);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
}

.tp-hotel-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--brand-teal-light, rgba(0, 130, 155, 0.1));
    color: var(--brand-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.tp-hotel-city-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-dark-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Right data display side */
.tp-hotel-info-side {
    flex-grow: 1;
    padding: 16px 20px;
    display: flex;
    align-items: center;
}

.tp-hotel-desc {
    font-size: 0.9rem;
    color: var(--text-color, #44546a);
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}


/* Responsive collapse on mobile targets */
@media (max-width: 576px) {
    .tp-hotel-card {
        flex-direction: column;
    }
    .tp-hotel-loc-side {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        padding: 12px 16px;
        border-right: none;
        border-bottom: 1px dashed var(--border-color, #e9ecef);
    }
    .tp-hotel-badge-icon {
        margin-bottom: 0;
    }
    .tp-hotel-info-side {
        padding: 14px 16px;
    }
}

.tp-heading { font-weight: 800; color: var(--brand-dark-blue); }

/* Boxed tabs */
.tp-tabs-box { border: 1px solid #e9ecef; border-radius: 14px; padding: 10px; background: #fff; }
.tp-tabs { gap: 10px; scrollbar-width: none; }
.tp-tabs::-webkit-scrollbar { display: none; }
.tp-tab {
    border: 1px solid #dce0e6; background: #fff; color: var(--brand-dark-blue);
    font-weight: 600; font-size: .95rem; padding: 12px 22px; border-radius: 10px;
    display: inline-flex; align-items: center; transition: all .25s ease;
}
.tp-tab:hover { border-color: var(--brand-teal); }
.tp-tab.active { background: var(--brand-dark-blue); color: #fff; border-color: var(--brand-dark-blue); }

/* Package box */
.tp-package-box { border: 1px solid #e9ecef; border-radius: 14px; padding: 28px; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.03); }
.tp-badge {
    position: absolute; top: 22px; right: 22px;
    background: linear-gradient(90deg, var(--brand-teal), #1B9CB8);
    color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .3px;
    padding: 6px 14px; border-radius: 999px; display: inline-flex; align-items: center;
    box-shadow: 0 3px 8px rgba(0,130,155,.25);
}
.tp-badge svg { color: #FFD23F; }
.tp-package-title { font-weight: 800; color: var(--brand-dark-blue); font-size: 1.5rem; margin-bottom: 14px; }
.tp-starting-label { color: var(--muted); font-size: .9rem; }
.tp-starting-price { color: var(--brand-teal); font-weight: 800; font-size: 2.5rem; }
.tp-divider { border-color: #eaeaea; margin: 22px 0; }
.tp-dates-title { font-weight: 700; color: var(--brand-dark-blue); font-size: 1.05rem; }
.tp-dates-help { color: var(--muted); font-size: .88rem; margin: 6px 0 16px; }

/* Accommodation toggle */
.tp-toggle-group { border: 1px solid #dee2e6; border-radius: 8px; overflow: hidden; }
.tp-toggle { background: #fff; color: var(--muted); font-weight: 600; border: none; font-size: .85rem; padding: 7px 16px; }
.btn-check:checked + .tp-toggle { background: var(--brand-teal); color: #fff; }

/* Dates accordion */
.tp-dates-accordion .accordion-item { border: 1px solid #e3e7eb; border-radius: 10px !important; margin-bottom: 12px; overflow: hidden; }
.tp-dates-accordion .accordion-button {
    background: #fff; color: var(--brand-dark-blue); font-weight: 600; box-shadow: none; padding: 16px 18px;
}
.tp-dates-accordion .accordion-button:not(.collapsed) { background: #f6fbfc; color: var(--brand-dark-blue); }
.tp-dates-accordion .accordion-button:focus { box-shadow: none; }
.tp-cal-icon { color: var(--brand-teal); display: inline-flex; margin-right: 12px; }

/* Expanded season: group-size rows */
.tp-group-subhead { color: var(--muted); font-size: .82rem; font-weight: 600; margin: 0 0 12px; }
.tp-pax-list { display: flex; flex-direction: column; gap: 10px; }
.tp-pax-row {
    display: flex; align-items: center; justify-content: space-between;
    border: 1px solid #e3e7eb; border-radius: 10px; padding: 14px 18px;
    background: #fff; cursor: pointer; margin: 0; transition: border-color .2s ease, background .2s ease;
}
.tp-pax-row:hover { border-color: var(--brand-teal); background: #f9fdfe; }
.tp-pax-left { display: flex; align-items: center; gap: 14px; }

.tp-pax-name { color: var(--brand-dark-blue); font-weight: 600; font-size: .95rem; }
.tp-pax-price { color: var(--brand-dark-blue); font-weight: 700; font-size: 1rem; }

.tp-acc-note {
    color: var(--muted);
    font-size: .85rem;
    font-style: italic;
    /*margin: -10px 0 16px;*/
}

@media (max-width: 576px) {
    li.nav-item button.tp-tab {
        padding: 6px;
    }
}

.custom-field-block .rich-text table.table1 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 12px;
    margin: -12px;
}

.custom-field-block .rich-text table.table1 thead {
    display: none;
}

.custom-field-block .rich-text table.table1 tbody,
.custom-field-block .rich-text table.table1 tr {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.custom-field-block .rich-text table.table1 td {
    flex: 1 1 220px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 20px;
    vertical-align: top;
    border: none;
}

.custom-field-block .rich-text table.table1 td p {
    margin: 0 0 8px;
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.custom-field-block .rich-text table.table1 td p:last-child {
    margin-bottom: 0;
}

.custom-field-block .rich-text table.table1 td p::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--brand-teal);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.85rem;
}

@media (max-width: 767px) {
    .custom-field-block .rich-text table.table1 tr {
        flex-direction: column;
    }
    .custom-field-block .rich-text table.table1 td {
        flex: 1 1 auto;
    }
}
/*-----------------------*/
.view-prices-link{
    color: var(--brand-teal);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    transition: .2s ease;
}

.view-prices-link:hover{
    color: var(--brand-dark-blue);
}

.view-prices-link i{
    transition: transform .2s ease;
}

.view-prices-link:hover i{
    transform: translateX(4px);
}
.tour-breadcrumbs .active{
    color: var(--brand-teal);
    font-weight: 600;
    cursor: default;
}
    .what-pack-mobile {
        width: auto !important;
    }

    .wishlist-btns:hover,
    .wishlist-btns.active {
        background: #fff;
        color: #e53935;
        transform: scale(1.1);
    }


.price-scroll-note{
    transition: background-color .2s ease;
}

.price-scroll-note:hover{
    background: rgba(0,130,155,.08) !important;
}
    .wishlist-toast {
        position: fixed;
        top: 30px;
        right: 30px;
        z-index: 999999;
        background: #fff;
        color: #222;
        border-radius: 12px;
        padding: 14px 18px;
        display: flex;
        align-items: center;
        gap: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
        border-left: 4px solid var(--brand-teal);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);

        transition: all .3s ease;
    }

    .wishlist-toast.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .wishlist-toast i {
        color: #ff4d6d;
        font-size: 18px;
    }
    .why-book-text .title {
        font-size:1rem;
    }
  .why-book-text .subtitle {
      font-size:0.8rem;
  }

    @media(max-width:768px) {
        .wishlist-toast {
            left: 15px;
            right: 15px;
            top: 15px;
        }
    }

    [gx-section="tour-overview"] .overview-box {
        background: var(--bg-white);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 25px;
        margin-bottom: 25px;
    }

    [gx-section="tour-overview"] .meta-bar {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
    }

    [gx-section="tour-overview"] .meta-col {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    [gx-section="tour-overview"] .meta-col i {
        font-size: 1.5rem;
        color: var(--brand-teal);
        background: var(--brand-teal-light);
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    [gx-section="tour-overview"] .meta-col .text {
        display: flex;
        flex-direction: column;
    }

    [gx-section="tour-overview"] .label {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--text-muted);
    }

    [gx-section="tour-overview"] .value {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-main);
    }

    [gx-section="tour-overview"] .rich-text {
        line-height: 1.8;
        color: var(--text-main);
        font-size: 1.05rem;
    }

    @media (max-width: 767px) {
        [gx-section="tour-overview"] .meta-bar {
            display: flex;
            grid-template-columns: 1fr 1fr;
        }


        [gx-section="tour-overview"] .meta-bar {
            display: flex;
            flex-wrap: nowrap;
            overflow-x: auto;
            gap: 15px;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 10px;
        }

        [gx-section="tour-overview"] .meta-bar::-webkit-scrollbar {
            display: none;
        }

        [gx-section="tour-overview"] .meta-col {
            flex: 0 0 auto;
            min-width: 220px;
        }
    }


    /* =========================================
   INCLUSION/EXCLUSION STYLING
   ========================================= */
    .inclusion-header,
    .exclusion-header {
        font-weight: 700;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
    }

    .inclusion-exclusion-wrapper {
        background: var(--bg-light);
        padding: 30px;
        border-radius: var(--radius-md);
    }

    .text-success {
        color: var(--color-trustpilot) !important;
    }

    .text-danger {
        color: var(--color-destination) !important;
    }
    
    .input-icon {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        pointer-events: none;
        z-index: 1;
    }
    .whatsapp-link{
        font-size:1rem;
        background-color:var(--brand-teal);
    }

    #inquiry_send:disabled {
        opacity: .6;
        cursor: not-allowed;
    }

/* Highlight cards (structure from source; rules may live in remote CSS) */
.highlight-card {
    background: #fff;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 14px;
    padding: 12px;
    gap: 14px;
    min-width: 0;
}
.highlight-img-wrapper {
    width: 132px;
    height: 96px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
}
.highlight-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.highlight-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-dark-blue);
    margin: 0 0 6px;
}
.highlight-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0 0 8px;
    line-height: 1.5;
}
.highlight-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-teal);
    text-decoration: none;
}
.highlight-slide { min-width: 100%; }

.why-book-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.why-book-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.why-book-icon {
    color: var(--brand-teal);
    font-size: 1.05rem;
    margin-top: 2px;
}
.why-book-text .title { display: block; font-weight: 700; font-size: 0.85rem; color: var(--brand-dark-blue); }
.why-book-text .subtitle { display: block; font-size: 0.75rem; color: var(--text-muted); }

.sidebar-card.contact-card {
    background: #fff;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 14px;
    padding: 18px;
}
.sidebar-card.contact-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.contact-details { display: flex; flex-direction: column; gap: 10px; }
.gx-notice { display: flex; gap: 12px; padding: 16px; border-radius: 12px; background: #f4f9fb; border: 1px solid #e5eef2; margin: 16px 0 28px; }
.gx-notice-title { font-weight: 700; color: var(--brand-dark-blue); }
.mobile-sticky-cta {
    position: sticky;
    bottom: 0;
    z-index: 20;
    background: #fff;
    padding: 12px 16px;
}

[gx-page="tour"] .accordion-button { width: 100%; text-align: left; }

.love-trip-list { display: flex; flex-direction: column; gap: 12px; }
.love-trip-item { display: flex; gap: 12px; align-items: flex-start; }
.love-trip-icon { color: var(--brand-teal); margin-top: 2px; }
.love-trip-title { color: var(--text-muted); line-height: 1.55; }

.hw-booking-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}
.hw-step { flex: 1 1 140px; text-align: center; }
.hw-step-icon {
    width: 52px; height: 52px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 8px; color: var(--brand-dark-blue);
}
.hw-step-title { font-size: 0.92rem; font-weight: 600; color: var(--brand-dark-blue); }
.hw-step-divider { display: flex; align-items: center; color: var(--text-muted); }
.bg-blue-soft { background: #e8f1fb; }
.bg-teal-soft { background: #e6f6f4; }
.bg-orange-soft { background: #fff3e8; }

.gx-info-group { display: flex; flex-direction: column; gap: 10px; }
.gx-info-list-item { display: flex; gap: 10px; align-items: flex-start; color: var(--text-muted); }
.gx-info-list-item i { color: var(--brand-teal); margin-top: 3px; }

.pack-item { display: flex; gap: 10px; align-items: flex-start; }
.pack-icon { color: var(--brand-teal); }
.pack-title { color: var(--text-muted); }

.view-prices-link { font-weight: 600; color: var(--brand-teal); text-decoration: none; }
.tailor-made-banner-cta-btn { color: #fff !important; }

@media (max-width: 767px) {
    img.tour-itinerary-image {
        max-height: 200px !important;
        min-height: 160px !important;
        width: 100%;
        object-fit: cover;
    }
    .hw-step-divider { display: none; }
    .highlight-card { flex-direction: column; align-items: stretch !important; }
    .highlight-img-wrapper { width: 100%; height: 160px; }
    .mobile-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; }
    [gx-page="tour"] { padding-bottom: 76px; }
}