/* ========================================
   Tour Detail Page — tour-detail.css
   ======================================== */

/* Breadcrumb */
.td-breadcrumb {
    padding: 14px 0;
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--dark-gray);
}
.td-breadcrumb a { color: var(--primary); text-decoration: none; }
.td-breadcrumb a:hover { text-decoration: underline; }
.td-breadcrumb i { font-size: 10px; margin: 0 6px; opacity: 0.5; }
.td-breadcrumb span { color: var(--text); font-weight: 500; }

/* ────────── Gallery Section (Reference-style grid) ────────── */
.td-gallery-section { padding: 20px 0 0; }
.td-gallery-grid-new {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 380px;
    gap: 6px;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.td-gallery-main-new {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}
.td-gallery-main-new img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.td-gallery-main-new:hover img { transform: scale(1.03); }
.td-gallery-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
}
.td-gallery-thumb {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.td-gallery-thumb:nth-child(2) { border-radius: 0 var(--radius-md) 0 0; }
.td-gallery-thumb:nth-child(4) { border-radius: 0 0 var(--radius-md) 0; }
.td-gallery-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.td-gallery-thumb:hover img { transform: scale(1.05); }
.td-gallery-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    color: #fff;
    font-size: 11px; font-weight: 600;
    padding: 18px 10px 8px;
    text-align: center;
}
.td-gallery-more {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    gap: 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.td-gallery-more:hover { background: rgba(0,0,0,0.7); }
.td-gallery-more i { font-size: 22px; }

/* ────────── Lightbox ────────── */
.td-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
}
.td-lightbox-body { max-width: 90vw; max-height: 85vh; }
.td-lightbox-body img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}
.td-lightbox-close,
.td-lightbox-prev,
.td-lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 22px;
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}
.td-lightbox-close { top: 20px; right: 20px; }
.td-lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.td-lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.td-lightbox-close:hover,
.td-lightbox-prev:hover,
.td-lightbox-next:hover { background: rgba(255,255,255,0.3); }
.td-lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    font-weight: 500;
}

/* ────────── Main Layout ────────── */
.td-main { padding: 28px 0 60px; }
.td-layout {
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 28px;
    align-items: start;
}
.td-content,
.td-sidebar {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Sections */
.td-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    overflow: hidden;
}
.td-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
}
.td-section-title i { color: var(--primary); font-size: 20px; }

/* ────────── Title Block + Quick Strip ────────── */
.td-title-block {
    margin-bottom: 24px;
}
.td-title-block h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    font-family: var(--font-heading);
    line-height: 1.25;
    margin: 0 0 14px;
}
.td-quick-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.td-duration-badge {
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
}
.td-city-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 12px;
    color: var(--text);
}
.td-city-tag strong {
    font-size: 22px;
    color: var(--primary);
    font-weight: 800;
    line-height: 1;
}
.td-city-tag small {
    font-size: 10px;
    line-height: 1.2;
    color: var(--dark-gray);
}
.td-city-tag small b {
    display: block;
    font-size: 12px;
    color: var(--text);
}
.td-quick-features {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 100%;
}
.td-quick-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--dark-gray);
    background: var(--primary-ultra-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}
.td-quick-features i { color: var(--primary); font-size: 14px; }

/* ────────── Trip Highlights (bullet list) ────────── */
.td-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.td-highlights-list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    border-bottom: 1px solid var(--border);
}
.td-highlights-list li:last-child { border-bottom: none; }
.td-highlights-list li::before { content: none; }
.td-highlight-icon {
    color: var(--primary);
    font-size: 14px;
    line-height: 1.6;
    flex-shrink: 0;
    margin-top: 1px;
}
.td-highlights-list li:not(:has(.td-highlight-icon))::before {
    content: '\F26B';
    font-family: 'bootstrap-icons';
    color: var(--primary);
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
}

.td-day-highlights {
    margin: 8px 16px 14px;
    padding: 10px 12px;
    background: var(--primary-ultra-light);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}
.td-day-highlights-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--primary);
    margin-bottom: 6px;
}
.td-day-highlights ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.td-day-highlights li {
    position: relative;
    padding: 4px 0 4px 18px;
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
}
.td-day-highlights li::before {
    content: '\F26B';
    font-family: 'bootstrap-icons';
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 6px;
    font-size: 11px;
}

.td-day-photo-banner {
    margin: 0 16px 12px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #f1f5f9;
}
.td-day-photo-banner .td-day-photo-open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}
.td-day-photo-banner img {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
}
.td-day-photos {
    margin: 0 16px 14px;
}
.td-day-photos-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #6d28d9;
    margin-bottom: 8px;
}
.td-day-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 8px;
}
.td-day-photo-thumb {
    display: block;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    cursor: zoom-in;
    aspect-ratio: 4 / 3;
}
.td-day-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ────────── Content Tabs ────────── */
.td-tabs {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    overflow: hidden;
    max-width: 100%;
}
.td-tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    overflow-x: auto;
    background: var(--off-white);
}
.td-tab-btn {
    padding: 14px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-gray);
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
    font-family: var(--font);
}
.td-tab-btn:hover { color: var(--primary); }
.td-tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background: var(--white);
}
.td-tab-btn i { font-size: 14px; }
.td-tab-content {
    display: none;
    padding: 24px;
}
.td-tab-content.active { display: block; }

/* City Block in Itinerary Tab */
.td-city-block { margin-bottom: 20px; }
.td-city-block:last-child { margin-bottom: 0; }
.td-city-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 10px 16px;
    background: var(--primary-ultra-light);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
}
.td-city-count {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.td-city-label small {
    font-size: 10px;
    color: var(--dark-gray);
    display: block;
}
.td-city-label strong {
    font-size: 15px;
    color: var(--text);
}

/* Day Accordion */
.td-day-accordion {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
}
.td-day-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--off-white);
    border: none;
    cursor: pointer;
    font-family: var(--font);
    text-align: left;
    transition: background 0.2s;
}
.td-day-toggle:hover { background: var(--light-gray); }
.td-day-badge {
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}
.td-day-title {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.td-day-toggle i {
    color: var(--primary);
    font-size: 14px;
    transition: transform 0.3s;
}
.td-day-accordion.open .td-day-toggle i { transform: rotate(180deg); }
.td-day-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.td-day-accordion.open .td-day-body { max-height: 1800px; }
.td-day-body > * { padding: 0 16px; }
.td-day-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 6px;
}
.td-day-meta span {
    font-size: 12px;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 4px;
}
.td-day-meta i { font-size: 12px; color: var(--primary); }
.td-day-body p {
    font-size: 13px;
    color: var(--dark-gray);
    line-height: 1.7;
    padding-bottom: 14px;
}

/* Summarised View Table */
.td-summary-table { font-size: 13px; }
.td-summary-header {
    display: grid;
    grid-template-columns: 70px 1fr 1fr 1fr;
    gap: 10px;
    padding: 10px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    font-weight: 600;
    font-size: 12px;
}
.td-summary-row {
    display: grid;
    grid-template-columns: 70px 1fr 1fr 1fr;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.td-summary-row:last-child { border-bottom: none; }
.td-summary-day {
    font-weight: 600;
    color: var(--primary);
}

/* Activity & Stay List */
.td-activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.td-activity-list li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}
.td-activity-list li:last-child { border-bottom: none; }
.td-activity-list .bi-check-circle-fill { color: var(--primary); font-size: 14px; margin-top: 3px; flex-shrink: 0; }
.td-stay-list { display: flex; flex-direction: column; gap: 10px; }
.td-stay-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.td-stay-item > i { color: var(--primary); font-size: 20px; margin-top: 2px; }
.td-stay-item strong { display: block; font-size: 13px; color: var(--text); }
.td-stay-item span { font-size: 12px; color: var(--dark-gray); }

/* ────────── Inclusions & Exclusions ────────── */
.td-incl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.td-incl-heading {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.td-included { color: var(--primary); }
.td-excluded { color: var(--rose); }
.td-incl-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.td-incl-col ul li {
    padding: 6px 0;
    font-size: 13px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.td-incl-col ul li:last-child { border-bottom: none; }
.td-included + ul li::before {
    content: '\F26B';
    font-family: 'bootstrap-icons';
    color: var(--primary);
    font-size: 12px;
    margin-top: 2px;
}
.td-excluded + ul li::before {
    content: '\F62A';
    font-family: 'bootstrap-icons';
    color: var(--rose);
    font-size: 12px;
    margin-top: 2px;
}

/* ────────── Accordion Sections (Know Before You Go, Policies, etc.) ────────── */
.td-accordion-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    max-width: 100%;
}
.td-accord-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--white);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    font-family: var(--font);
}
.td-accord-toggle:hover { background: var(--off-white); }
.td-accord-toggle h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    font-family: var(--font-heading);
}
.td-accord-toggle i {
    color: var(--primary);
    font-size: 16px;
    transition: transform 0.3s;
}
.td-accord-toggle:not(.open) i { transform: rotate(180deg); }
.td-accord-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.td-accord-body.open { max-height: 800px; }
.td-accord-body p,
.td-accord-body ul {
    padding: 0 20px 16px;
    font-size: 13px;
    color: var(--dark-gray);
    line-height: 1.7;
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.td-accord-body ul {
    list-style: none;
}
.td-accord-body ul li {
    padding: 5px 0 5px 20px;
    position: relative;
    border-bottom: 1px solid var(--border);
}
.td-accord-body ul li:last-child { border-bottom: none; }
.td-accord-body ul li::before {
    content: '\F287';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 7px;
    font-size: 11px;
    color: var(--primary);
}

/* ────────── USP / Trust Banner ────────── */
.td-usp-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding: 24px;
    background: linear-gradient(135deg, var(--primary-ultra-light), var(--off-white));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.td-usp-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
}
.td-usp-icon {
    width: 48px; height: 48px;
    background: var(--white);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 6px;
}
.td-usp-item strong {
    font-size: 14px;
    color: var(--text);
}
.td-usp-item span {
    font-size: 11px;
    color: var(--dark-gray);
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ────────── Tourism Links ────────── */
.td-tourism-links {
    padding: 0 20px 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.td-tourism-links a {
    color: var(--primary);
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}
.td-tourism-links a:hover { text-decoration: underline; }
.td-tourism-links span { color: var(--gray); font-size: 12px; }

/* ────────── Group Discount Banner ────────── */
.td-group-banner {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    margin-bottom: 24px;
    color: #fff;
    overflow: hidden;
}
.td-group-banner-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}
.td-group-banner-content p {
    font-size: 13px;
    margin: 0 0 16px;
    opacity: 0.9;
    color: #fff;
}
.td-group-banner .td-btn-primary {
    background: #fff;
    color: var(--primary);
}
.td-group-banner .td-btn-primary:hover {
    background: rgba(255,255,255,0.9);
}

/* ────────── FAQs ────────── */
.td-faqs { display: flex; flex-direction: column; gap: 8px; }
.td-faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.td-faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--off-white);
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    font-family: var(--font);
    text-align: left;
    transition: background 0.2s;
}
.td-faq-q:hover { background: var(--light-gray); }
.td-faq-q i { transition: transform 0.3s; color: var(--primary); }
.td-faq-item.open .td-faq-q i { transform: rotate(180deg); }
.td-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.td-faq-item.open .td-faq-a { max-height: 300px; }
.td-faq-a p {
    padding: 0 16px 14px;
    font-size: 13px;
    color: var(--dark-gray);
    line-height: 1.7;
    margin: 0;
}

/* ────────── Sidebar ────────── */
.td-sidebar { position: sticky; top: 90px; }

/* Price Card */
.td-price-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-md);
}
.td-price-header { margin-bottom: 14px; }
.td-price-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.td-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.td-final-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
}
.td-per-person {
    font-size: 12px;
    color: var(--dark-gray);
}
.td-price-old-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}
.td-original-price {
    font-size: 14px;
    color: var(--gray);
    text-decoration: line-through;
}
.td-sale-badge {
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}
.td-rating-badge {
    display: flex;
    align-items: center;
    gap: 3px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}
.td-rating-badge i { color: #fff; font-size: 12px; }
.td-rating-badge span {
    font-size: 11px;
    opacity: 0.85;
    font-weight: 400;
}

.td-enquiry-toggle-btn { margin-bottom: 12px; }

/* Trust Row */
.td-trust-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.td-trust-row span {
    font-size: 11px;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 4px;
}
.td-trust-row i { color: var(--primary); font-size: 13px; }

/* ────────── Enquiry Card ────────── */
.td-enquiry-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.td-enquiry-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
    margin-bottom: 16px;
}
.td-enquiry-header h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 6px;
    line-height: 1.3;
}
.td-enquiry-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.td-enquiry-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
}
.td-enquiry-old {
    font-size: 13px;
    color: var(--gray);
    text-decoration: line-through;
}
.td-enquiry-save {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    background: var(--green-light);
    padding: 2px 8px;
    border-radius: 4px;
}
.td-enquiry-form { display: flex; flex-direction: column; gap: 10px; }
.td-form-group { position: relative; }
.td-form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: var(--font);
    color: var(--text);
    background: var(--off-white);
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.td-form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}
textarea.td-form-input { resize: vertical; min-height: 60px; }
.td-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.td-phone-group {
    display: flex;
    align-items: stretch;
}
.td-phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: var(--light-gray);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 13px;
    color: var(--dark-gray);
    font-weight: 500;
}
.td-phone-group .td-form-input {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* CTA Buttons */
.td-btn-primary {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}
.td-btn-primary:hover { background: var(--primary-hover); }

/* Book Now button */
.td-btn-book-now {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.15s, box-shadow 0.3s;
    text-decoration: none;
    margin-top: 8px;
}
.td-btn-book-now:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(217,119,6,0.35);
    color: #fff;
}
.td-btn-book-now:active { transform: translateY(0); }

/* Info Card */
.td-info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    overflow: hidden;
}
.td-info-card h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 14px;
}
.td-info-list { display: flex; flex-direction: column; gap: 12px; }
.td-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.td-info-row > i {
    color: var(--primary);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}
.td-info-row div { display: flex; flex-direction: column; }
.td-info-row strong { font-size: 12px; color: var(--text); font-weight: 600; }
.td-info-row span { font-size: 12px; color: var(--dark-gray); }

/* Duration Options (sibling tours) */
.td-duration-options {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.td-duration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
}
.td-duration-item:hover {
    border-color: var(--primary);
    text-decoration: none;
    color: var(--text);
}
.td-duration-item.active {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb, 234, 88, 12), 0.05);
}
.td-duration-img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 6px;
}
.td-duration-days {
    font-size: 0.95rem;
    font-weight: 700;
}
.td-duration-meta {
    font-size: 0.65rem;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
}
.td-duration-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}
.td-duration-badge {
    font-size: 0.6rem;
    background: var(--primary);
    color: #fff;
    padding: 1px 6px;
    border-radius: 4px;
    margin-top: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Variants */
.td-variants { display: flex; flex-direction: column; gap: 8px; }
.td-variant-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}
.td-variant-option:hover,
.td-variant-option:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-ultra-light);
}
.td-variant-option input[type="radio"] {
    accent-color: var(--primary);
    flex-shrink: 0;
}
.td-variant-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.td-variant-top { display: flex; align-items: center; gap: 8px; }
.td-variant-name { font-size: 13px; font-weight: 600; color: var(--text); }
.td-variant-stars { font-size: 10px; color: var(--gold); display: flex; align-items: center; gap: 2px; }
.td-variant-stars small { font-size: 10px; color: var(--dark-gray); margin-left: 2px; }
.td-variant-desc {
    font-size: 11px;
    color: var(--dark-gray);
    line-height: 1.4;
    margin-top: 4px;
    overflow-wrap: anywhere;
}
.td-variant-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

/* ────────── Related Tours ────────── */
.td-related {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.td-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.td-related-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.td-related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}
.td-related-img { height: 180px; position: relative; overflow: hidden; }
.td-related-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.3s;
}
.td-related-card:hover .td-related-img img { transform: scale(1.05); }
.td-related-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}
.td-related-body { padding: 14px 16px; }
.td-related-body h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 8px;
    line-height: 1.3;
}
.td-related-meta { display: flex; gap: 14px; margin-bottom: 8px; }
.td-related-meta span {
    font-size: 12px;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 3px;
}
.td-related-meta .bi-star-fill { color: var(--gold); }
.td-related-price { display: flex; align-items: baseline; gap: 8px; }
.td-related-old { font-size: 13px; color: var(--gray); text-decoration: line-through; }
.td-related-new { font-size: 18px; font-weight: 700; color: var(--text); }

/* ────────── Mobile Inline Price Strip (hidden on desktop) ────────── */
.td-mobile-price-strip {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.td-mobile-price-left {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}
.td-mobile-price-final {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
}
.td-mobile-price-old {
    font-size: 13px;
    color: var(--gray);
    text-decoration: line-through;
}
.td-mobile-price-off {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--accent);
    padding: 2px 6px;
    border-radius: 4px;
}
.td-mobile-price-per {
    font-size: 11px;
    color: var(--dark-gray);
    width: 100%;
}
.td-mobile-price-right { flex-shrink: 0; }
.td-mobile-price-book {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.td-mobile-price-book:hover { color: #fff; }
.td-mobile-price-enquiry {
    background: var(--primary);
}

/* ────────── Mobile Sticky Bottom Bar ────────── */
.td-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(15,23,42,0.1);
    padding: 10px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.td-mobile-bar-price {
    display: flex;
    flex-direction: column;
}
.td-mobile-bar-final {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
}
.td-mobile-bar-info {
    font-size: 11px;
    color: var(--dark-gray);
}
.td-mobile-bar-btn {
    padding: 11px 28px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
    flex-shrink: 0;
}
.td-mobile-bar-btn:hover { color: #fff; }
.td-mobile-bar-btn-enquiry {
    background: var(--primary);
}

/* ────────── Responsive ────────── */
@media (max-width: 991px) {
    .td-layout { grid-template-columns: 1fr; }
    .td-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .td-enquiry-card { grid-column: 1 / -1; }
    .td-related-grid { grid-template-columns: repeat(2, 1fr); }
    .td-usp-banner { grid-template-columns: repeat(2, 1fr); }
    .td-mobile-bar { display: flex; }
    .td-mobile-price-strip { display: flex; }
    .td-price-card { display: none; }
    .td-main { padding-bottom: 80px; }
}

@media (max-width: 768px) {
    .td-gallery-grid-new {
        grid-template-columns: 1fr;
        grid-template-rows: 240px auto;
    }
    .td-gallery-main-new { border-radius: var(--radius-md) var(--radius-md) 0 0; }
    .td-gallery-side {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 90px;
    }
    .td-gallery-thumb:nth-child(2) { border-radius: 0; }
    .td-gallery-thumb:nth-child(4) { border-radius: 0 0 var(--radius-md) 0; }
    .td-gallery-thumb:first-child { border-radius: 0 0 0 var(--radius-md); }
    .td-gallery-section { padding: 12px 0 0; }

    .td-title-block h1 { font-size: 20px; }
    .td-quick-strip { gap: 8px; }
    .td-quick-features { gap: 8px; }
    .td-quick-features span { padding: 4px 10px; font-size: 11px; }

    /* Tabs — horizontal scroll with hint */
    .td-tab-nav {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .td-tab-nav::-webkit-scrollbar { display: none; }
    .td-tab-btn { padding: 12px 14px; font-size: 12px; }

    .td-incl-grid { grid-template-columns: 1fr; }
    .td-sidebar { grid-template-columns: 1fr; }
    .td-related-grid { grid-template-columns: 1fr; }
    .td-form-row-2 { grid-template-columns: 1fr; }

    /* Summary table — hide last column */
    .td-summary-header,
    .td-summary-row { grid-template-columns: 60px 1fr 1fr; }
    .td-summary-header span:last-child,
    .td-summary-row span:last-child { display: none; }

    /* Section padding */
    .td-section { padding: 18px 16px; }
    .td-tab-content { padding: 16px; }
    .td-main { padding: 16px 0 80px; }

    /* Accordion */
    .td-accord-toggle { padding: 14px 16px; }
    .td-accord-toggle h3 { font-size: 14px; }
    .td-accord-body p, .td-accord-body ul { padding: 0 16px 14px; font-size: 12px; }

    /* USP */
    .td-usp-banner { padding: 16px; gap: 12px; }
    .td-usp-icon { width: 40px; height: 40px; font-size: 16px; }
    .td-usp-item strong { font-size: 13px; }
    .td-usp-item span { font-size: 10px; }

    /* Group banner */
    .td-group-banner { padding: 20px 16px; }
    .td-group-banner-content h3 { font-size: 16px; flex-wrap: wrap; }
    .td-group-banner-content p { font-size: 12px; }
}

@media (max-width: 576px) {
    .td-gallery-grid-new { grid-template-rows: 200px auto; }
    .td-gallery-side { grid-template-rows: 70px; }
    .td-gallery-label { font-size: 10px; padding: 14px 6px 6px; }

    .td-title-block h1 { font-size: 18px; }
    .td-quick-strip { gap: 6px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
    .td-quick-strip::-webkit-scrollbar { display: none; }
    .td-city-tag { padding: 4px 8px; flex-shrink: 0; }
    .td-city-tag strong { font-size: 18px; }
    .td-duration-badge { font-size: 11px; padding: 5px 12px; flex-shrink: 0; }

    .td-final-price { font-size: 22px; }
    .td-per-person { font-size: 11px; }

    /* Day accordion */
    .td-day-toggle { padding: 10px 12px; gap: 8px; }
    .td-day-badge { font-size: 9px; padding: 3px 8px; }
    .td-day-title { font-size: 13px; }
    .td-day-meta { gap: 10px; }
    .td-day-body > * { padding: 0 12px; }

    /* City block */
    .td-city-header { padding: 8px 12px; }
    .td-city-count { font-size: 22px; }
    .td-city-label strong { font-size: 13px; }

    /* Highlights */
    .td-highlights-list li { font-size: 13px; padding: 6px 0 6px 20px; }

    /* Summary table even tighter */
    .td-summary-header,
    .td-summary-row { grid-template-columns: 50px 1fr; gap: 8px; font-size: 12px; }
    .td-summary-header span:nth-child(3),
    .td-summary-row span:nth-child(3) { display: none; }

    /* Price card */
    .td-price-card { padding: 16px; }
    .td-enquiry-card { padding: 16px; }
    .td-info-card { padding: 16px; }

    /* FAQs */
    .td-faq-q { padding: 12px 14px; font-size: 13px; }
    .td-faq-a p { padding: 0 14px 12px; font-size: 12px; }

    /* Related tours */
    .td-related-img { height: 160px; }
    .td-related-body { padding: 12px 14px; }
    .td-related-body h4 { font-size: 13px; }

    /* Lightbox buttons */
    .td-lightbox-close,
    .td-lightbox-prev,
    .td-lightbox-next { width: 40px; height: 40px; font-size: 18px; }
    .td-lightbox-prev { left: 10px; }
    .td-lightbox-next { right: 10px; }

    /* Inclusions */
    .td-incl-heading { font-size: 13px; }
    .td-incl-col ul li { font-size: 12px; }

    /* Mobile bar refinement */
    .td-mobile-bar { padding: 8px 14px; }
    .td-mobile-bar-final { font-size: 18px; }
    .td-mobile-bar-btn { padding: 10px 22px; font-size: 13px; }

    /* Tourism links */
    .td-tourism-links { flex-direction: column; gap: 6px; align-items: flex-start; }
    .td-tourism-links span { display: none; }

    /* Trust row */
    .td-trust-row { flex-direction: column; gap: 6px; align-items: center; }

    /* Breadcrumb */
    .td-breadcrumb { padding: 10px 0; font-size: 12px; }
    .td-breadcrumb i { margin: 0 4px; }
}
