/* 
 * Tour Details Modern CSS 
 * Extracted from shortcodes.php for better performance and caching.
 */

.tc-tour-page,
.modern-tour-layout {
    font-family: 'Inter', sans-serif;
    color: #1F2937;
    --primary: #065f46;
    --accent: #fd014f;
    padding-bottom: 10px !important;
}

/* Timeline Toggle Support */
.tc-tour-page.no-timeline .tc-timeline::before,
.tc-tour-page.no-timeline .tc-timeline-dot {
    display: none !important;
}

.tc-tour-page.no-timeline .tc-timeline {
    padding-left: 0 !important;
}

.tc-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    border-radius: 12px;
    overflow: hidden;
    max-height: 400px;
    margin-top: 12px;
    position: relative;
}

.tc-gallery-main {
    height: 400px;
    object-fit: cover;
    width: 100%;
    cursor: pointer;
    transition: filter .3s;
}

.tc-gallery-main:hover {
    filter: brightness(0.9);
}

.tc-gallery-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 400px;
}

.tc-gallery-thumb {
    object-fit: cover;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: filter .3s;
}

.tc-gallery-thumb:hover {
    filter: brightness(0.9);
}

.tc-gallery-view-all {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    color: #1F2937;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #1F2937;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform .2s;
}

.tc-gallery-view-all:hover {
    transform: scale(1.02);
    background: #F9FAFB;
}

.tc-gallery-overlay-btn {
    position: absolute;
    top: 20px;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all .2s;
    z-index: 10;
}

.tc-gallery-overlay-btn:hover {
    transform: scale(1.1);
    background: #F9FAFB;
    color: var(--accent);
}

.tc-gallery-share {
    right: 76px;
}

.tc-gallery-save {
    right: 20px;
}

.tc-offers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

@media(max-width: 1024px) {
    .tc-offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width: 640px) {
    .tc-offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tc-offer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #F8F9FA;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    transition: all .2s ease;
}

.tc-offer-item:hover {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.tc-offer-icon-box {
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.tc-offer-info {
    display: flex;
    flex-direction: column;
}

.tc-offer-label {
    font-size: 10px;
    text-transform: uppercase;
    color: #6B7280;
    letter-spacing: 0.5px;
    font-weight: 500;
    margin-bottom: 2px;
}

.tc-offer-value {
    font-weight: 500;
    color: var(--primary);
    font-size: 14px;
    line-height: 1.2;
}

.tc-title-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 360px;
    flex-shrink: 0;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.tc-pricing-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #E2E8F0;
    width: 100%;
}

.tc-pricing-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    font-weight: 400;
    color: #475569;
}

.tc-pricing-badge-item i {
    color: #10B981;
    font-size: 12px;
}

.tc-price-meta {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 0;
    line-height: 1;
}

.tc-price-strike {
    font-size: 13px;
    color: #94A3B8;
    text-decoration: line-through;
    font-weight: 400;
}

.tc-price-current {
    font-size: 26px;
    font-weight: 600;
    color: #111827;
}

.tc-price-unit {
    font-size: 12px;
    color: #64748B;
    font-weight: 400;
    margin-top: 4px;
}

.tc-offer-badge {
    background: linear-gradient(135deg, var(--badge-grad-start, #EF4444), var(--badge-grad-end, #D32F2F));
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tc-title-enquiry-btn {
    background: var(--accent);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    text-decoration: none;
    margin-top: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: background .2s;
}

.tc-title-enquiry-btn:hover {
    background: #fd014f;
    color: #fff;
}

@media(max-width: 768px) {
    .tc-title-pricing {
        align-items: flex-start;
        text-align: left;
        margin-top: 12px;
        width: 100%;
        min-width: unset;
        padding: 14px;
    }

    .tc-price-meta {
        justify-content: flex-start;
    }

    .tc-price-current {
        font-size: 22px;
    }

    .tc-title-enquiry-btn {
        margin-top: 10px;
        padding: 10px 16px;
    }
}

.tc-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0;
}

.trust-elemt {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #334155;
}

.trust-elemt img.emoji {
    height: 16px;
    width: auto;
    margin: 0;
}

.tc-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 5px 0 5px 0;
}

.tc-offers-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}



/* Lightbox */
.tc-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.tc-lightbox.open {
    display: flex;
}

.tc-lightbox img {
    max-height: 85vh;
    max-width: 90vw;
    border-radius: 8px;
    object-fit: contain;
}

.tc-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
}

.tc-lightbox-prev,
.tc-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    background: rgba(255, 255, 255, .12);
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-lightbox-prev {
    left: 16px;
}

.tc-lightbox-next {
    right: 16px;
}

.tc-lb-thumbs {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 10px;
    max-width: 90vw;
    overflow-x: auto;
    scrollbar-width: none;
    z-index: 100000;
}

.tc-lb-thumbs::-webkit-scrollbar {
    display: none;
}

.tc-lb-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: all .2s ease;
    flex-shrink: 0;
}

.tc-lb-thumb.active {
    opacity: 1;
    border-color: #fff;
    transform: scale(1.1);
}

.tc-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
}

.tc-includes-pill {
    background: #FFF7ED;
    border-color: #FED7AA;
    color: #92400E;
}

.tc-cat-pill {
    background: #ECFDF5;
    border-color: #A7F3D0;
    color: #065F46;
}

.tc-badge-pill {
    background: #FEF2F2;
    border-color: #FCA5A5;
    color: #991B1B;
}

.tc-type-pill {
    background: #F5F3FF;
    border-color: #DDD6FE;
    color: #4C1D95;
}

/* Layout */
.tc-main-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 16px;
}

@media (max-width: 768px) {
    .tc-main-container {
        padding: 0 10px;
    }
}

.tc-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 16px;
    align-items: start;
    margin-top: 5px;
}

@media(max-width:1024px) {
    .tc-layout {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 0;
    }

    .tc-gallery-grid {
        grid-template-columns: 1fr;
    }

    .tc-gallery-thumbs {
        display: none;
    }

    .tc-gallery-main {
        height: 220px;
    }

    .tc-booking-card {
        position: static;
        top: auto;
    }
}

@media(max-width: 640px) {
    .tc-card {
        padding: 15px;
        margin-bottom: 8px;
    }

    .tc-section-title {
        font-size: 18px;
        margin: 0 0 10px;
        padding-bottom: 8px;
    }

    .tc-stats-bar {
        margin: 8px 0 6px 0;
        gap: 6px;
    }

    .tc-trust-bar {
        gap: 8px 10px;
    }

    .tc-stat-pill {
        padding: 5px 10px;
        font-size: 12px;
    }

    .tc-title-pricing {
        margin-top: 8px;
        margin-bottom: 25px;
        gap: 10px;
    }

    .tc-layout {
        gap: 8px;
        margin-top: 0;
    }

    .tc-price-box {
        padding: 15px;
        margin-bottom: 8px;
    }

    .tc-help-card {
        padding: 12px;
    }

    .tc-price-savings {
        margin: 4px 0;
    }

    .tc-slots-badge {
        margin: 6px 0;
        padding: 6px 10px;
    }

    .tc-booking-form input,
    .tc-booking-form select {
        margin-bottom: 8px;
        padding: 8px 12px;
    }

    .tc-price-box hr {
        margin: 8px 0;
    }

    .tc-timeline {
        padding-left: 0;
    }

    .tc-timeline::before,
    .tc-timeline-dot {
        display: none;
    }

    .tc-timeline-item {
        margin-bottom: 8px;
    }

    .tc-timeline-header {
        padding: 10px 12px;
    }

    .tc-whychoose-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .tc-places-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 8px;
    }

    .tc-offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .tc-offers-title {
        margin-bottom: 10px;
    }

    .tc-inex-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .tc-hotel-card {
        margin-bottom: 8px;
    }

    .tc-faq-item {
        margin-bottom: 6px;
    }
}

/* Cards */
.tc-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.tc-section-title {
    font-family: 'Inter', serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--primary);
    margin: 0 0 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #c4c4c4;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Place cards */
.tc-places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}

.tc-place-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: default;
    border: 1px solid #E5E7EB;
}

.tc-place-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.tc-place-info {
    padding: 10px 12px;
    background: #fff;
}

.tc-place-info h4 {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.tc-place-info span {
    font-size: 12px;
    color: #fd014f;
    font-weight: 500;
}

/* Hotel cards */
.tc-hotel-card {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
}

.tc-hotel-card-inner {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
}

@media(max-width:640px) {
    .tc-hotel-card-inner {
        grid-template-columns: 1fr;
    }
}

.tc-hotel-img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
}

.tc-hotel-body {
    padding: 10px;
}

.tc-hotel-name {
    font-size: 17px;
    font-weight: 500;
    color: var(--primary);
    margin: 0 0 4px;
}

.tc-hotel-stars {
    color: #fd014f;
    font-size: 16px;
    margin-bottom: 10px;
}

.tc-checkin-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #6B7280;
    margin-bottom: 10px;
}

.tc-checkin-bar .tc-bar-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.tc-meal-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    margin-right: 4px;
}

.tc-meal-yes {
    background: #D1FAE5;
    color: #065F46;
}

.tc-meal-no {
    background: #F3F4F6;
    color: #9CA3AF;
    text-decoration: line-through;
}

/* Timeline itinerary */
.tc-timeline {
    position: relative;
    padding-left: 32px;
}

.tc-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.tc-timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.tc-timeline-dot {
    position: absolute;
    left: -32px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary);
}

.tc-timeline-header {
    background: #e7f1ff;
    border: 1px solid #a1cdff;
    border-radius: 12px;
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.tc-timeline-header.open {
    background: #e7f1ff;
    border-color: #a1cdff;
    border-radius: 12px 12px 0 0;
    /* Merge with body */
}

.tc-timeline-header:hover {
    background: #ddecff;
}

@media (max-width: 768px) {
    .tc-timeline-header {
        background: #e7f1ff;
        border: 1px solid #a1cdff;
        border-radius: 12px;
        padding: 15px 18px;
    }

    .tc-timeline-header.open {
        background: #ddecff;
    }
}

.tc-header-content {
    flex: 1;
    text-align: left;
}

.tc-header-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tc-day-badge-inline {
    background: linear-gradient(135deg, #065f46 0%, #0a4a9c 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(4, 44, 97, 0.12);
}

.tc-loc-badge {
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    color: #92400E;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    letter-spacing: 0.5px;
}

.tc-loc-badge i {
    color: #fd014f;
}

.tc-timeline-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

.tc-timeline-header:hover .tc-timeline-title {
    color: var(--accent);
}

.tc-timeline-body {
    display: none;
    padding: 16px 18px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-top: none;
    border-radius: 0 0 12px 12px;
}

@media (max-width: 768px) {
    .tc-timeline-body {
        padding: 20px 0px;
        background: #F9FAFB;
        border-radius: 0 0 12px 12px;
        border: none;
    }
}

.tc-timeline-body.open {
    display: block;
}

.tc-timeline-body img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.tc-activity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.tc-activity-item {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    padding: 8px;
    gap: 10px;
}

.tc-activity-item:hover {
    border-color: var(--primary);
    background: #fdfdfd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tc-act-img-box {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #F3F4F6;
}

.tc-act-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tc-act-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 16px;
}

.tc-act-name {
    font-size: 11px;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

/* Activity Popup Styling */
.tc-act-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tc-act-popup-overlay.open {
    opacity: 1;
    visibility: visible;
}

.tc-act-popup {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 24px;
    overflow: hidden;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.tc-act-popup-overlay.open .tc-act-popup {
    transform: scale(1);
}

.tc-act-popup img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.tc-act-popup-body {
    padding: 30px;
    text-align: center;
}

.tc-act-popup-body h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.tc-act-popup-body p {
    color: #6B7280;
    font-size: 15px;
    margin-bottom: 25px;
}

.tc-act-popup-close {
    background: var(--primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: 12px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.tc-act-popup-close:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px rgba(4, 44, 97, 0.2);
}

/* Activities */
.tc-activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}

.tc-activity-card {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.tc-activity-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
}

.tc-activity-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.tc-activity-card-body {
    padding: 12px;
}

.tc-activity-card-body h4 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
}

.tc-activity-card-body p {
    margin: 0;
    font-size: 12px;
    color: #6B7280;
}

/* End of Trip */
.tc-end-of-trip {
    text-align: center;
    padding: 30px 20px 10px;
    position: relative;
    margin-top: 10px;
}

.tc-end-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    margin: 0 auto 16px;
    border-radius: 4px;
}

.tc-end-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FFF7ED, #FEF3C7);
    border: 2px solid var(--accent);
    border-radius: 30px;
    padding: 10px 28px;
    box-shadow: 0 4px 16px rgba(255, 136, 0, .15);
}

/* Activity Popup */
.tc-act-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.tc-act-popup-overlay.open {
    display: flex;
}

.tc-act-popup {
    background: #fff;
    border-radius: 16px;
    width: 380px;
    max-width: 92vw;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
    animation: tcPopIn .2s ease-out;
}

@keyframes tcPopIn {
    from {
        opacity: 0;
        transform: scale(.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tc-act-popup img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tc-act-popup-body {
    padding: 20px;
    text-align: center;
}

.tc-act-popup-body h4 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 500;
    color: var(--primary);
}

.tc-act-popup-body p {
    margin: 0;
    font-size: 13px;
    color: #6B7280;
}

.tc-act-popup-close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s;
}

.tc-act-popup-close:hover {
    background: #065f46;
}

/* Why choose */
.tc-whychoose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.tc-why-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: #EFF6FF;
    border-radius: 12px;
    border: 1px solid #BFDBFE;
}

.tc-why-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.tc-why-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
}

/* Inc/Exc */
.tc-inex-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tc-inc-list,
.tc-exc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tc-inc-list li,
.tc-exc-list li {
    padding: 7px 0;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.tc-inc-list li:last-child,
.tc-exc-list li:last-child {
    border-bottom: none;
}

.tc-inc-icon {
    color: #10B981;
    font-size: 16px;
    flex-shrink: 0;
}

.tc-exc-icon {
    color: #EF4444;
    font-size: 16px;
    flex-shrink: 0;
}

/* Notes */
.tc-notes-card {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 14px;
}

.tc-notes-card h4 {
    margin: 0 0 10px;
    color: #92400E;
    font-size: 15px;
    font-weight: 500;
}

.tc-notes-card p {
    margin: 0;
    font-size: 14px;
    color: #78350F;
    line-height: 1.6;
}

/* FAQ */
.tc-faq-item {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}

.tc-faq-q {
    padding: 14px 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
    color: var(--primary);
    background: #fff;
    transition: background .15s;
}

.tc-faq-q:hover {
    background: #EFF6FF;
}

.tc-faq-a {
    display: none;
    padding: 14px 18px;
    background: #F9FAFB;
    font-size: 14px;
    color: #4B5563;
    border-top: 1px solid #E5E7EB;
    line-height: 1.7;
}

.tc-faq-a.open {
    display: block;
}

/* Recommendations */
.tc-recs-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.tc-rec-card {
    flex-shrink: 0;
    width: 220px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.tc-rec-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.tc-rec-card-body {
    padding: 12px;
}

.tc-rec-card-body h4 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
}

.tc-rec-card-body p {
    margin: 0;
    font-size: 12px;
    color: #6B7280;
}

/* Sticky sidebar */
.tc-booking-card {
    position: sticky;
    top: 90px;
}

.tc-price-box {
    background: #065f46;
    border: 1px solid #065f46;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
    margin-bottom: 16px;
}

.tc-title-pricing {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.tc-rating-summary {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
}

.tc-price-regular {
    font-size: 14px;
    color: #9CA3AF;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.tc-price-sale {
    font-size: 34px;
    font-weight: 600;
    color: var(--primary);
}

.tc-price-label {
    font-size: 12px;
    color: #6B7280;
    font-weight: 400;
}

.tc-price-savings {
    display: inline-block;
    background: #D1FAE5;
    color: #065F46;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 12px;
    border-radius: 20px;
    margin: 8px 0;
}

.tc-slots-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #92400E;
    margin: 10px 0;
}

.tc-booking-form input,
.tc-booking-form select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 12px;
    font-family: inherit;
    outline: none;
    transition: border .15s;
}

.tc-booking-form input:focus,
.tc-booking-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(4, 44, 97, .08);
}

.tc-book-btn {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    line-height: 1;
}

.tc-book-btn:hover {
    background: #fd014f;
    transform: translateY(-1px);
}

.tc-whatsapp-btn {
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    text-decoration: none;
    box-sizing: border-box;
    line-height: 1;
}

.tc-whatsapp-btn:hover {
    background: #1dba59;
    color: #fff;
}

.tc-help-card {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
}

.tc-help-card h4 {
    margin: 0 0 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
}

.tc-help-card p {
    margin: 0 0 12px;
    font-size: 13px;
    color: #4B5563;
}

.tc-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 0px 0;
}

.trust-elemt {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #212121ff;
}

/* Recommendations */
.tc-recs-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
}

.tc-rec-card {
    flex-shrink: 0;
    width: 48%;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: all .25s ease;
}

.tc-rec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(4, 44, 97, .12);
}

@media(min-width: 640px) {
    .tc-rec-card {
        width: 47%;
    }
}

@media(min-width: 1024px) {
    .tc-recs-scroll {
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .tc-rec-card {
        width: calc(33.333% - 11px);
    }
}

.trust-elemt span {
    color: var(--accent);
}

.tc-trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #374151;
    font-weight: 400;
}

/* WhatsApp float */
.tc-wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
    z-index: 9999;
    transition: transform .2s;
    text-decoration: none;
}

.tc-wa-float:hover {
    transform: scale(1.12);
}

.tc-back-top {
    position: fixed;
    bottom: 96px;
    right: 30px;
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    border: none;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(4, 44, 97, .3);
}

.tc-back-top.show {
    display: flex;
}

@media(max-width: 1024px) {
    .tc-title-pricing {
        width: 100%;
    }

    .tc-pricing-badges {
        justify-content: flex-start;
    }
}

@media(max-width: 640px) {
    .tc-tour-page>div[style] {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .tc-tour-page h1 {
        font-size: clamp(20px, 5vw, 26px) !important;
        margin-bottom: 8px !important;
    }

    .tc-tour-page>div>div[style*="display:flex"]>div[style*="flex:1"] {
        padding: 2px 0 !important;
    }


    .tc-tour-page>div>div[style*="font-size:13px"] {
        margin-top: 15px !important;
        margin-bottom: 0 !important;
    }
}

/* Related Tours Section */
.tc-recs-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    flex-wrap: wrap;
}

.tc-rec-card {
    flex-shrink: 0;
    width: 47%;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tc-rec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media(min-width: 1024px) {
    .tc-recs-scroll {
        flex-wrap: nowrap;
        overflow-x: visible;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .tc-rec-card {
        width: 100%;
    }
}


/* Trip Stats Bar */
.tc-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tc-stat-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    border-right: 1px solid #E2E8F0;
    padding-right: 20px;
}

.tc-stat-box:nth-child(4n),
.tc-stat-box:last-child {
    border-right: none;
    padding-right: 0;
}



.tc-stat-box>div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tc-stat-icon {
    width: 44px;
    height: 44px;
    background: #F0FDFA;
    /* Very light Teal */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.tc-stat-box:hover .tc-stat-icon {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.tc-stat-box-label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #64748B;
    margin-bottom: 2px;
}

.tc-stat-box-val {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.2;
}

/* Included in Price Section - Image Style */
.tc-place-inc-container {
    padding: 0;
}

.tc-place-inc-block {
    margin-bottom: 30px;
}

.tc-place-inc-header {
    margin-bottom: 20px;
    display: inline-block;
}

.tc-inc-pin-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.tc-pin-icon {
    color: var(--primary);
    font-size: 18px;
}

.tc-pin-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Inter', serif;
}

.tc-pin-meta {
    font-size: 15px;
    color: #9CA3AF;
    font-weight: 400;
    font-family: 'Inter', serif;
}

.tc-inc-underline {
    height: 2px;
    background: #fd014f;
    /* Orange */
    width: 120px;
    /* More consistent underline width */
}

.tc-inc-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tc-inc-bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 7px;
    margin-bottom: 7px;
    font-size: 14px;
    line-height: 1.6;
    color: #4B5563;
    border-bottom: 1px solid #e9e9e9;
}

.tc-inc-bullet-list li:last-child {
    border-bottom: none;
}

.tc-inc-check-icon {
    color: #10B981;
    /* Green */
    font-size: 16px;
    margin-top: 3px;
}

@media(max-width: 768px) {
    .tc-pin-text {
        font-size: 16px;
    }

    .tc-pin-meta {
        font-size: 14px;
    }

    .tc-inc-bullet-list li {
        font-size: 14px;
    }
}

/* Mobile Fixed Footer */
.tc-mobile-fixed-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 16px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #F1F5F9;
}

.tc-mobile-price {
    display: flex;
    flex-direction: column;
}

.tc-m-price-label {
    font-size: 10px;
    font-weight: 500;
    color: #64748B;
    text-transform: uppercase;
}

.tc-m-price-val {
    font-size: 22px;
    font-weight: 500;
    color: var(--primary);
}

.tc-m-book-btn {
    background: var(--accent);
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
}

@media(max-width: 1024px) {
    .tc-mobile-fixed-footer {
        display: flex;
    }

    .tc-tour-page {
        padding-bottom: 70px;
        /* Space for footer */
    }
}

@media(max-width: 640px) {
    .tc-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
    }

    .tc-stat-box {
        gap: 8px;
        padding-right: 12px;
    }

    .tc-stat-box:nth-child(2n) {
        border-right: none;
        padding-right: 0;
    }

    .tc-stat-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
        border-radius: 8px;
    }

    .tc-stat-box-label {
        font-size: 10px;
    }

    .tc-stat-box-val {
        font-size: 13px;
    }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   ENHANCED COMPONENTS (V2.1)
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Modern Destination Cards */
.tc-places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.tc-place-card-modern {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #F3F4F6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tc-place-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.tc-place-img-wrap {
    position: relative;
    height: 140px;
}

.tc-place-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tc-place-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), #065f46);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
}

.tc-place-nights-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
}

.tc-place-content {
    padding: 12px;
}

.tc-place-content h4 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary);
}

.tc-place-meta-icons {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #6B7280;
}

.tc-place-meta-icons span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tc-place-meta-icons i {
    color: var(--accent);
}

/* Itinerary Image Enhancements */
.tc-day-main-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Day Info Badges (Activities/Hotels) */
.tc-day-info-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tc-badge-v2 {
    background: #F3F4F6;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.tc-badge-v2 i {
    color: var(--accent);
}

.tc-badge-line {
    flex: 1;
    height: 1px;
    background: #E5E7EB;
}

/* Linked Hotels in Itinerary */
.tc-day-hotels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tc-day-hotel-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #E5E7EB;
    padding: 6px 12px 6px 6px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.tc-day-hotel-pill:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.tc-day-hotel-pill img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.tc-day-hotel-pill-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
}

.tc-day-hotel-pill-stars {
    display: flex;
    gap: 1px;
}

/* Enhanced Hotels Section */
.tc-hotel-card-v2 {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    transition: all 0.2s;
}

.tc-hotel-card-v2:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.tc-hotel-card-v2 .tc-hotel-card-inner {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
}

.tc-hotel-img-box {
    position: relative;
    height: 100%;
}

.tc-hotel-view-btn {
    position: absolute;
    inset: 0;
    background: rgba(4, 44, 97, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tc-hotel-card-v2:hover .tc-hotel-view-btn {
    opacity: 1;
}

.tc-hotel-meta-row {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #6B7280;
    margin: 8px 0;
}

.tc-hotel-meta-row span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tc-hotel-meta-row i {
    color: var(--accent);
}

.tc-meal-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    background: #F3F4F6;
    color: #9CA3AF;
}

.tc-meal-tag.active {
    background: #ECFDF5;
    color: #065F46;
}

.tc-meal-tag.active i {
    color: #10B981;
}

/* Important Notes (V2) */
.tc-notes-card-v2 {
    background: #FEFCE8;
    border: 1px solid #FEF08A;
    border-radius: 12px;
    padding: 16px;
}

.tc-notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tc-notes-list li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #854D0E;
    line-height: 1.5;
}

.tc-notes-list li i {
    color: #EAB308;
    margin-top: 3px;
}

@media (max-width: 768px) {
    .tc-day-main-img {
        height: 220px;
    }

    .tc-hotel-card-v2 .tc-hotel-card-inner {
        grid-template-columns: 1fr;
    }

    .tc-hotel-img-box {
        height: 180px;
    }
}

/* -- Destinations Covered (V2) ------------------- */
.tc-places-grid {
    display: grid;
    gap: 16px;
    margin-top: 15px;
}

.tc-dest-4-col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tc-dest-3-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tc-place-card-modern {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    min-width: 0;
}

.tc-place-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.tc-place-img-wrap {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.tc-place-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tc-place-nights-badge-v3 {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tc-place-nights-badge-v3 i {
    color: var(--accent);
}

.tc-place-content {
    padding: 12px;
    overflow: hidden;
}

.tc-place-loc-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    min-width: 0;
}

.tc-place-loc-row i {
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
}

.tc-place-loc-row h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.tc-place-meta-icons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tc-place-meta-icons span {
    font-size: 11px;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

/* -- Itinerary Styles --------------------------- */
.tc-day-main-img {
    width: 60% !important;
    height: 250px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    margin-bottom: 15px !important;
}

.tc-day-info-badge-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0 10px;
}

.tc-badge-v2 {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-badge-v2 i.fa-ticket {
    color: #2563EB;
}

.tc-badge-v2:has(i.fa-ticket) {
    background: #DBEAFE !important;
    color: #065f46;
}

.tc-badge-v2 i.fa-hotel {
    color: #fd014f;
}

.tc-badge-v2:has(i.fa-hotel) {
    background: #FFEDD5 !important;
    color: #9A3412;
}

.tc-badge-line {
    flex: 1;
    height: 1px;
    background: #E5E7EB;
}

/* -- Popups ------------------------------------- */
.tc-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tc-popup-overlay.open {
    display: flex;
}

.tc-popup-content {
    background: #fff;
    width: 100%;
    max-width: 550px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.tc-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: none;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tc-popup-img-wrap {
    height: 250px;
    position: relative;
}

.tc-popup-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tc-popup-info {
    padding: 24px;
}

.tc-popup-info h3 {
    margin: 0 0 16px;
    font-size: 22px;
    color: #111827;
    font-weight: 500;
}

.tc-pop-included-section h4 {
    font-size: 16px;
    color: var(--primary);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-pop-includes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tc-pop-includes-list li {
    font-size: 14px;
    color: #4B5563;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-pop-includes-list li i {
    color: #10B981;
    font-size: 12px;
}

/* Activity Popup Specific */
.tc-activity-popup-content .tc-popup-img-wrap {
    height: 300px;
}

.tc-act-pop-desc {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .tc-dest-4-col {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .tc-dest-4-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .tc-dest-4-col {
        grid-template-columns: minmax(0, 1fr);
    }

    .tc-day-main-img {
        width: 100% !important;
    }
}

/* -- Destinations Popup Fix & Improvement ------ */
#tc-pop-badge {
    top: auto !important;
    bottom: 20px !important;
    left: 20px !important;
    right: auto !important;
    background: linear-gradient(135deg, #F59E0B, #fd014f) !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3) !important;
    font-size: 13px !important;
}

#tc-pop-badge i {
    color: #ffffff !important;
    margin-right: 4px;
}

/* -- Mobile Grid Fix --------------------------- */
@media (max-width: 768px) {
    .tc-places-grid.tc-dest-4-col {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

/* -- Itinerary Hotel Cards ---------------------- */
.tc-day-hotels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .tc-day-hotels-grid {
        grid-template-columns: 1fr;
    }
}

.tc-day-hotel-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.tc-day-hotel-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tc-day-hotel-card-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.tc-day-hotel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tc-day-hotel-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 44, 97, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.tc-day-hotel-card:hover .tc-day-hotel-card-overlay {
    opacity: 1;
}

.tc-day-hotel-card-overlay span {
    color: #fff;
    font-size: 10px;
    font-weight: 500;
}

.tc-day-hotel-card-name {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 4px;
}

.tc-day-hotel-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #6B7280;
}

.tc-day-hotel-card-meta span i {
    font-size: 10px;
}

/* -- Activity Popup Improvements ---------------- */
.tc-pop-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 8px;
}

.tc-act-pop-desc-v2 p {
    font-size: 15px;
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tc-pop-meta-row {
    display: flex;
    gap: 15px;
    border-top: 1px solid #bfbfbf;
    padding-top: 15px;
}

.tc-pop-meta-row span {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tc-pop-meta-row span i {
    color: var(--primary);
}

/* -- Hotel Detail Popup Timeline --------------- */
.tc-hotel-pop-stars {
    margin-bottom: 8px;
}

.tc-hotel-pop-loc-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tc-hotel-timeline {
    display: flex;
    align-items: center;
    margin: 25px 0;
    background: #F9FAFB;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #F3F4F6;
}

.tc-timeline-point {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tc-time-box {
    display: flex;
    flex-direction: column;
}

.tc-time-label {
    font-size: 10px;
    font-weight: 600;
    color: #9CA3AF;
    letter-spacing: 0.05em;
}

.tc-time-val {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.tc-time-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tc-time-icon.in {
    background: #ECFDF5;
    color: #059669;
}

.tc-time-icon.out {
    background: #FFF1F2;
    color: #E11D48;
}

.tc-timeline-connector {
    width: 40px;
    height: 2px;
    background: repeating-linear-gradient(to right, #D1D5DB, #D1D5DB 4px, transparent 4px, transparent 8px);
    margin: 0 10px;
}

.tc-hotel-features-section h4 {
    font-size: 16px;
    color: #111827;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-hotel-pop-feat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tc-hotel-pop-feat-tag {
    background: #F3F4F6;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #4B5563;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tc-hotel-pop-feat-tag i {
    color: #10B981;
    font-size: 10px;
}


@media (max-width: 768px) {

    .tc-inc-bullet-list,
    .tc-inc-list,
    .tc-exc-list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .tc-pop-includes-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .tc-layout,
    .tc-tour-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 600px) {

    .tc-whychoose-grid,
    .tc-inc-bullet-list,
    .tc-inc-list,
    .tc-exc-list,
    .tc-inex-grid,
    .tc-pop-includes-list {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .tc-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Related Tours Section Styles */
.tc-related-tours-section {
    margin-top: 48px;
    border-top: 1px solid #E5E7EB;
    padding-top: 40px;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    width: 100%;
}

.tc-related-tours-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.tc-related-tours-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-related-tours-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tc-related-tour-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    height: 100%;
    text-decoration: none;
}

.tc-related-tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.tc-related-tour-img-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #f3f4f6;
}

.tc-related-tour-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tc-related-tour-card:hover .tc-related-tour-img-wrap img {
    transform: scale(1.06);
}

.tc-related-tour-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    font-size: 11px;
    font-weight: 500;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tc-related-tour-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
}

.tc-related-tour-duration-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tc-related-tour-body {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tc-related-tour-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tc-related-tour-rating {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #fd014f;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tc-related-tour-inclusions-icons {
    display: flex;
    gap: 4px;
}

.tc-related-tour-inc-icon-wrapper {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    font-size: 10px;
}

.tc-related-tour-card-title {
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    margin: 0 0 12px;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tc-related-tour-card:hover .tc-related-tour-card-title {
    color: var(--accent);
}

.tc-related-tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #E5E7EB;
}

.tc-related-tour-price-box {
    display: flex;
    flex-direction: column;
}

.tc-related-tour-price-label {
    font-size: 10px;
    color: #9CA3AF;
    text-transform: uppercase;
    tracking-wider: 0.05em;
    font-weight: 500;
}

.tc-related-tour-price-val {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.1;
}

.tc-related-tour-explore-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F3F4F6;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.tc-related-tour-card:hover .tc-related-tour-explore-btn {
    background: var(--accent);
    color: #fff;
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .tc-related-tours-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .tc-related-tours-section {
        margin-top: 32px;
        padding-top: 24px;
    }

    .tc-related-tours-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Browse More Banner Section */
.tc-browse-more-banner-section {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 0 16px;
    box-sizing: border-box;
}

.tc-browse-more-banner-container {
    max-width: 1280px;
    margin: 0 auto;
    background: linear-gradient(90deg, rgba(var(--banner-primary-rgb, 4, 44, 97), 0.98) 0%, rgba(var(--banner-primary-rgb, 4, 44, 97), 0.85) 30%, rgba(var(--banner-primary-rgb, 4, 44, 97), 0) 45%), var(--banner-bg, none);
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    padding: 54px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    z-index: 2;
}

.tc-browse-more-banner-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.tc-browse-more-banner-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tc-browse-more-subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.tc-browse-more-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.tc-browse-more-banner-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.tc-browse-more-btn-primary {
    background: var(--banner-accent, #fd014f);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.tc-browse-more-btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: #ffffff !important;
}

.tc-browse-more-btn-secondary {
    background: #ffffff;
    border: 1px solid #ffffff;
    color: var(--banner-accent, #fd014f) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.tc-browse-more-btn-secondary:hover {
    background: #f8fafc;
    border-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--banner-accent, #fd014f) !important;
}

@media (max-width: 768px) {
    .tc-browse-more-banner-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 24px 20px;
    }

    .tc-browse-more-banner-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .tc-browse-more-btn-primary,
    .tc-browse-more-btn-secondary {
        justify-content: center;
    }
}

/* Sidebar Related Blogs Link */
.tc-sidebar-blog-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 14px 16px;
    border-radius: 12px;
    color: #0f172a;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.tc-sidebar-blog-link:hover {
    background: #065f46;
    color: #fff;
    border-color: #065f46;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(9, 166, 150, 0.2);
}
.tc-sidebar-blog-link i {
    font-size: 16px;
}