/**
 * Single Tour Stylesheet - Borboleta Travel
 * Luxury Andes Travel Experience & Meta Box Presentation
 *
 * @package Borboleta_Travel
 */

/* ==========================================================================
   Base & Article Container
   ========================================================================== */
/* ==========================================================================
   Regra Global Anti-Espaçamento Superior (Header -> Hero)
   Garante 0px de espaço entre o header e o hero banner
   ========================================================================== */
body.single-tours .site-content,
body.single-tour .site-content,
.site-content:has(.single-tour-article),
.site-content:has(.tour-hero) {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* ==========================================================================
   Base & Article Container
   ========================================================================== */
.single-tour-article {
    background-color: #f7faf9;
    color: var(--bt-color-charcoal, #1f2926);
    font-family: var(--bt-font-family-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    padding-bottom: 80px;
    margin-top: 0 !important;
}

/* ==========================================================================
   1. Tour Hero Banner
   ========================================================================== */
.tour-hero {
    position: relative;
    background-size: cover;
    background-position: center 38%;
    background-repeat: no-repeat;
    padding: 130px 0 60px;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    margin-top: 0 !important;
}

.tour-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 38, 35, 0.45) 0%, rgba(14, 38, 35, 0.85) 65%, #0e2623 100%);
    z-index: 1;
}

.tour-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Breadcrumbs */
.tour-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--bt-font-family-ui, sans-serif);
    font-size: 0.8125rem;
    color: #a8b8b3;
    margin-bottom: 18px;
}

.tour-breadcrumbs a {
    color: #c9d8d4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tour-breadcrumbs a:hover {
    color: var(--bt-color-gold, #E5A842);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-current {
    color: #ffffff;
    font-weight: 600;
}

/* Badges */
.tour-hero-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tour-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--bt-radius-full, 9999px);
    font-family: var(--bt-font-family-ui, sans-serif);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tour-badge--cat {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.tour-badge--featured {
    background: linear-gradient(135deg, #E5A842 0%, #D4902C 100%);
    color: #153A32;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(229, 168, 66, 0.35);
}

/* Title */
.tour-hero-title {
    font-family: var(--bt-font-family-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 28px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
    max-width: 950px;
}

/* Meta Bar */
.tour-hero-meta-bar {
    display: flex;
    align-items: center;
    background: rgba(18, 48, 43, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 14px 24px;
    gap: 28px;
    flex-wrap: wrap;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    max-width: fit-content;
}

.tour-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tour-meta-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bt-color-gold, #E5A842);
    flex-shrink: 0;
}

.tour-meta-icon--star {
    color: #FFC107;
}

.tour-meta-text {
    display: flex;
    flex-direction: column;
}

.tour-meta-label {
    font-size: 0.72rem;
    color: #9cb5ad;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    line-height: 1.2;
}

.tour-meta-text strong {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 700;
}

.tour-meta-item--price {
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.tour-hero-price {
    font-size: 1.35rem !important;
    color: var(--bt-color-gold, #E5A842) !important;
}

.tour-hero-price small {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
}

/* ==========================================================================
   2. Sticky Sub-Nav Bar (Design em Caixas com Ícones)
   ========================================================================== */
.tour-sticky-nav {
    background: #ffffff;
    border-bottom: 2px solid #E5A842;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    position: sticky;
    /* Logo abaixo do header fixo: --bt-header-offset é medido em header-hero.js */
    top: var(--bt-header-offset, 0px);
    z-index: 100;
    transition: top 0.3s ease;
}

.tour-sticky-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 8px;
    padding-bottom: 0;
}

/* Grid de Caixas de Abas (Referência Image 3) */
.tour-tabs-box-bar {
    display: flex;
    align-items: stretch;
    border-top: 1px solid #d8e1dd;
    border-left: 1px solid #d8e1dd;
    border-right: 1px solid #d8e1dd;
    border-radius: 6px 6px 0 0;
    background: #ffffff;
    overflow-x: auto;
    margin-bottom: -2px; /* Encaixa na linha dourada */
}

.tour-tab-box-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px 12px;
    border-right: 1px solid #d8e1dd;
    background: #ffffff;
    text-decoration: none;
    transition: all 0.22s ease;
    min-width: 115px;
    position: relative;
    user-select: none;
}

.tour-tab-box-item:last-child {
    border-right: none;
}

.tour-tab-box-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bt-color-gold, #E5A842);
    transition: transform 0.2s ease;
}

.tour-tab-box-icon svg {
    stroke: var(--bt-color-gold, #E5A842);
}

.tour-tab-box-title {
    font-family: var(--bt-font-family-ui, sans-serif);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--bt-color-teal, #183E40);
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 0.2s ease;
}

/* Hover State */
.tour-tab-box-item:hover {
    background: #fbfdfc;
}

.tour-tab-box-item:hover .tour-tab-box-icon {
    transform: translateY(-2px);
}

.tour-tab-box-item:hover .tour-tab-box-title {
    color: #102a2c;
}

/* Active State */
.tour-tab-box-item.active {
    background: #f4f8f6;
}

.tour-tab-box-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bt-color-gold, #E5A842);
}

.tour-tab-box-item.active .tour-tab-box-title {
    color: var(--bt-color-teal, #183E40);
}

.tour-sticky-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 8px;
}

.tour-sticky-price {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.15;
}

.tour-sticky-price span {
    font-size: 0.7rem;
    color: #7b8a85;
    text-transform: uppercase;
}

.tour-sticky-price strong {
    font-size: 1.15rem;
    color: var(--bt-color-teal, #183E40);
    font-weight: 800;
}

.btn-tour-book {
    background: linear-gradient(135deg, #183E40 0%, #153A32 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--bt-radius-full, 9999px);
    padding: 10px 22px;
    font-family: var(--bt-font-family-ui, sans-serif);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(24, 62, 64, 0.25);
}

.btn-tour-book:hover {
    background: #E5A842;
    color: #153A32;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(229, 168, 66, 0.35);
}

/* ==========================================================================
   3. Main 2-Column Layout
   ========================================================================== */
.tour-main-container {
    padding-top: 48px;
}

.tour-layout-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}

/* ==========================================================================
   Section Common Styling
   ========================================================================== */
.tour-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 40px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #eaf0ed;
    /* Header fixo + barra de abas + respiro */
    scroll-margin-top: calc(var(--bt-header-offset, 0px) + var(--bt-tour-nav-height, 80px) + 16px);
}

.tour-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.tour-section-badge {
    display: inline-block;
    font-family: var(--bt-font-family-ui, sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bt-color-sage, #4E7166);
    background: rgba(78, 113, 102, 0.1);
    padding: 4px 12px;
    border-radius: var(--bt-radius-full, 9999px);
    margin-bottom: 8px;
}

.tour-section-title {
    font-family: var(--bt-font-family-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--bt-color-teal, #183E40);
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

/* Overview Section */
.tour-lead-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #3b4d47;
    font-weight: 500;
    margin-bottom: 20px;
}

.tour-overview-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #4f5f59;
}

/* ==========================================================================
   SEÇÃO 1: Itinerary Timeline & Cards
   ========================================================================== */
.btn-toggle-all-days {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f6f4;
    border: 1px solid #d9e6e1;
    border-radius: 8px;
    padding: 7px 14px;
    font-family: var(--bt-font-family-ui, sans-serif);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--bt-color-teal, #183E40);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-toggle-all-days:hover {
    background: var(--bt-color-teal, #183E40);
    color: #ffffff;
}

.tour-itinerary-timeline {
    position: relative;
    padding-left: 56px;
}

.tour-itinerary-timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 20px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, #cfded8, #cfded8 6px, transparent 6px, transparent 12px);
}

.itinerary-timeline-item {
    position: relative;
    margin-bottom: 22px;
}

.itinerary-timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-node {
    position: absolute;
    left: -56px;
    top: 14px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-node-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--bt-color-sage, #4E7166);
    color: var(--bt-color-teal, #183E40);
    font-family: var(--bt-font-family-ui, sans-serif);
    font-size: 0.8125rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.itinerary-timeline-item.is-open .timeline-node-circle {
    background: var(--bt-color-teal, #183E40);
    border-color: var(--bt-color-gold, #E5A842);
    color: #ffffff;
    transform: scale(1.08);
}

/* Card */
.itinerary-card {
    background: #ffffff;
    border: 1px solid #e1ebe7;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.itinerary-timeline-item.is-open .itinerary-card {
    border-color: #b8d4c8;
    box-shadow: 0 8px 24px rgba(24, 62, 64, 0.06);
}

.itinerary-card-header {
    width: 100%;
    background: #f8faf9;
    border: none;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.itinerary-card-header:hover {
    background: #f0f5f3;
}

.itinerary-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.itinerary-day-badge {
    background: var(--bt-color-teal, #183E40);
    color: #ffffff;
    font-family: var(--bt-font-family-ui, sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--bt-radius-full, 9999px);
    white-space: nowrap;
}

.itinerary-title {
    font-family: var(--bt-font-family-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bt-color-teal, #183E40);
    margin: 0;
    line-height: 1.35;
}

.itinerary-chevron {
    color: #7b8e88;
    display: flex;
    align-items: center;
    transition: transform 0.25s ease, color 0.25s ease;
}

.itinerary-timeline-item.is-open .itinerary-chevron {
    transform: rotate(180deg);
    color: var(--bt-color-teal, #183E40);
}

.itinerary-card-body {
    padding: 24px 26px;
    border-top: 1px solid #e8f0ec;
    background: #ffffff;
}

.itinerary-desc-inner {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #4a5c55;
}

.itinerary-desc-inner p {
    margin: 0 0 14px;
}

.itinerary-desc-inner p:last-child {
    margin-bottom: 0;
}

.itinerary-desc-inner ul {
    margin: 14px 0;
    padding-left: 20px;
}

.itinerary-desc-inner li {
    margin-bottom: 6px;
}

/* ==========================================================================
   SEÇÃO 2: Inclusions & Exclusions Comparison Grid
   ========================================================================== */
.tour-inclusions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.inclusions-box {
    border-radius: 16px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e5ebe8;
}

.inclusions-box--yes {
    background: #fbfdfc;
    border-color: #c9e2d6;
    border-top: 4px solid var(--bt-color-sage, #4E7166);
}

.inclusions-box--no {
    background: #ffffff;
    border-color: #ede2e2;
    border-top: 4px solid #c97272;
}

.inclusions-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.inclusions-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inclusions-box--yes .inclusions-icon {
    background: rgba(78, 113, 102, 0.15);
    color: #2e604f;
}

.inclusions-box--no .inclusions-icon {
    background: rgba(201, 114, 114, 0.15);
    color: #a83b3b;
}

.inclusions-box-header h3 {
    font-family: var(--bt-font-family-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.inclusions-box--yes h3 {
    color: #224c3e;
}

.inclusions-box--no h3 {
    color: #7d3333;
}

.inclusions-box-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.inclusions-box-content li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    font-size: 0.925rem;
    line-height: 1.55;
    color: #41524b;
}

.inclusions-box--yes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2e7a5c;
    font-weight: 800;
    font-size: 1rem;
}

.inclusions-box--no li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #b54a4a;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ==========================================================================
   SEÇÃO 3: Hotel Categories Card
   ========================================================================== */
.tour-hotels-card {
    background: #fbfdfc;
    border: 1px solid #dbe6e1;
    border-radius: 16px;
    padding: 30px 32px;
}

.hotels-card-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5ede9;
}

.hotels-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(78, 113, 102, 0.12);
    color: var(--bt-color-teal, #183E40);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hotels-card-intro h3 {
    font-family: var(--bt-font-family-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bt-color-teal, #183E40);
    margin: 0 0 6px;
}

.hotels-card-intro p {
    margin: 0;
    font-size: 0.925rem;
    color: #64756f;
}

.hotels-card-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #41524b;
}

.tour-hotel-tiers {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.tour-hotel-tier {
    background: #ffffff;
    border: 1px solid #e2ebe6;
    border-radius: 10px;
    padding: 16px 20px;
    line-height: 1.55;
}

.tour-hotel-tier strong {
    color: var(--bt-color-teal, #183E40);
}

/* ==========================================================================
   SEÇÃO 4: Pricing Banner
   ========================================================================== */
.tour-pricing-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(135deg, #183E40 0%, #153A32 100%);
    border-radius: 18px;
    padding: 34px 38px;
    color: #ffffff;
    gap: 36px;
    align-items: center;
    box-shadow: 0 8px 30px rgba(24, 62, 64, 0.2);
}

.pricing-tagline {
    font-family: var(--bt-font-family-ui, sans-serif);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #a7c4bc;
    display: block;
    margin-bottom: 6px;
}

.pricing-number-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 10px;
}

.pricing-number-wrap .currency {
    font-size: 1.15rem;
    color: #c9ded7;
    font-weight: 700;
}

.pricing-number-wrap .amount {
    font-size: 2.85rem;
    font-weight: 800;
    color: var(--bt-color-gold, #E5A842);
    line-height: 1;
}

.pricing-number-wrap .per-person {
    font-size: 0.95rem;
    color: #c9ded7;
}

.pricing-note {
    font-size: 0.8125rem;
    color: #8faea4;
    margin: 0;
    line-height: 1.45;
}

.pricing-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.925rem;
    color: #e5f0ec;
}

.pricing-checks svg {
    color: var(--bt-color-gold, #E5A842);
    flex-shrink: 0;
}

/* ==========================================================================
   4. Sticky Booking Sidebar
   ========================================================================== */
.tour-sidebar {
    position: sticky;
    /* Abaixo do header fixo e da barra de abas do tour */
    top: calc(var(--bt-header-offset, 0px) + var(--bt-tour-nav-height, 80px) + 16px);
    transition: top 0.3s ease;
}

.tour-booking-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #dce6e1;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
    padding: 28px 26px;
}

.booking-card-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #eaf0ed;
    margin-bottom: 20px;
}

.booking-price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #7b8e88;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.booking-card-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 10px;
}

.booking-card-price .price-val {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--bt-color-teal, #183E40);
    line-height: 1;
}

.booking-card-price .price-unit {
    font-size: 0.875rem;
    color: #64756f;
    font-weight: 600;
}

.booking-guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2e7a5c;
    background: rgba(46, 122, 92, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

.booking-card-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 0.875rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px dashed #edf2f0;
}

.summary-label {
    color: #6a7d77;
}

.summary-value {
    color: var(--bt-color-teal, #183E40);
    font-weight: 700;
}

.summary-value--green {
    color: #2e7a5c;
}

/* Actions */
.booking-card-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-primary-book {
    width: 100%;
    background: linear-gradient(135deg, #E5A842 0%, #D4902C 100%);
    color: #153A32;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-family: var(--bt-font-family-ui, sans-serif);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 18px rgba(229, 168, 66, 0.35);
    transition: all 0.25s ease;
}

.btn-primary-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(229, 168, 66, 0.45);
}

.btn-whatsapp-book {
    width: 100%;
    background: #25D366;
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 20px;
    font-family: var(--bt-font-family-ui, sans-serif);
    font-size: 0.925rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
    transition: all 0.25s ease;
}

.btn-whatsapp-book:hover {
    background: #1eb956;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* Trust Badges */
.booking-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8faf9;
    border-radius: 10px;
    padding: 14px;
    border: 1px solid #edf2f0;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #556761;
}

.trust-icon {
    color: #2e7a5c;
    font-weight: 800;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
    .tour-layout-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .tour-sidebar {
        position: static;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .tour-hero {
        padding: 110px 0 40px;
        min-height: 400px;
    }

    .tour-hero-title {
        font-size: 1.85rem;
    }

    .tour-hero-meta-bar {
        gap: 16px;
        padding: 12px 18px;
    }

    .tour-meta-item--price {
        border-left: none;
        padding-left: 0;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding-top: 10px;
    }

    .tour-section {
        padding: 26px 20px;
        border-radius: 14px;
    }

    .tour-inclusions-grid,
    .tour-pricing-banner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tour-itinerary-timeline {
        padding-left: 42px;
    }

    .tour-itinerary-timeline::before {
        left: 14px;
    }

    .timeline-node {
        left: -42px;
        width: 30px;
        height: 30px;
    }

    .timeline-node-circle {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .itinerary-card-header {
        padding: 14px 16px;
    }

    .itinerary-title {
        font-size: 1rem;
    }

    .tour-sticky-cta {
        display: none;
    }
}

/* ==========================================================================
   Carrossel de Fotos (Galeria do Tour e Fotos de cada Dia do Itinerário)
   ========================================================================== */
.bt-carousel {
    position: relative;
    --bt-carousel-radius: 16px;
    --bt-carousel-ratio: 16 / 9;
}

.bt-carousel--day {
    --bt-carousel-radius: 12px;
    --bt-carousel-ratio: 16 / 9;
    margin-bottom: 20px;
}

.bt-carousel-viewport {
    border-radius: var(--bt-carousel-radius);
    overflow: hidden;
    background: #eef3f1;
    box-shadow: 0 6px 20px rgba(24, 62, 64, 0.10);
}

.bt-carousel-track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bt-carousel-track::-webkit-scrollbar {
    display: none;
}

.bt-carousel-track:focus-visible {
    outline: 3px solid var(--bt-pastel-amber, #E8AC55);
    outline-offset: -3px;
}

.bt-carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.bt-carousel-figure {
    position: relative;
    margin: 0;
    aspect-ratio: var(--bt-carousel-ratio);
}

.bt-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.bt-carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 36px 18px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* Setas de navegação */
.bt-carousel-btn {
    position: absolute;
    top: calc(50% - 22px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--bt-color-teal, #183E40);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    z-index: 2;
}

.bt-carousel-btn:hover:not(:disabled) {
    background: #ffffff;
    transform: scale(1.06);
}

.bt-carousel-btn:disabled {
    opacity: 0;
    pointer-events: none;
}

.bt-carousel-btn--prev {
    left: 14px;
}

.bt-carousel-btn--next {
    right: 14px;
}

/* A posição vertical das setas desconta o rodapé (contador + indicadores) */
.bt-carousel:has(.bt-carousel-footer) .bt-carousel-btn {
    top: calc(50% - 22px - 22px);
}

/* Rodapé: contador + indicadores */
.bt-carousel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    min-height: 32px;
}

.bt-carousel-counter {
    font-size: 0.82rem;
    color: #6b7c75;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bt-carousel-counter strong {
    color: var(--bt-color-teal, #183E40);
}

.bt-carousel-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 2px;
}

/* Área de toque de 24px com indicador visual menor */
.bt-carousel-dot {
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.bt-carousel-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cfdcd6;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, background-color 0.25s ease;
}

.bt-carousel-dot.is-active::before {
    width: 20px;
    background: var(--bt-color-terracotta, #D95B28);
}

/* Muitas fotos: os indicadores dão lugar apenas ao contador */
.bt-carousel-dots:has(.bt-carousel-dot:nth-child(13)) {
    display: none;
}

/* Contador de fotos no cabeçalho de cada dia */
.itinerary-photo-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 999px;
    background: #e8f1ed;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    color: var(--bt-color-sage, #4E7166);
}

@media (max-width: 768px) {
    /* Cabeçalho do dia: selo + nº de fotos na 1ª linha, título na 2ª */
    .itinerary-header-left {
        flex-wrap: wrap;
        gap: 6px 8px;
    }

    .itinerary-header-left .itinerary-title {
        order: 3;
        flex-basis: 100%;
    }

    .itinerary-card-body {
        padding: 16px;
    }

    .bt-carousel--day {
        --bt-carousel-ratio: 4 / 3;
    }

    .bt-carousel--gallery {
        --bt-carousel-ratio: 4 / 3;
    }

    /* No toque o deslize é o gesto principal: setas menores */
    .bt-carousel-btn {
        width: 36px;
        height: 36px;
        top: calc(50% - 18px);
    }

    .bt-carousel:has(.bt-carousel-footer) .bt-carousel-btn {
        top: calc(50% - 18px - 22px);
    }

    .bt-carousel-btn--prev {
        left: 8px;
    }

    .bt-carousel-btn--next {
        right: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bt-carousel-track {
        scroll-behavior: auto;
    }
}
/* ==========================================================================
   Tours Similares (abaixo do conteúdo do tour — reutiliza os cards da home)
   ========================================================================== */
.tour-similar {
    padding: 56px 0 72px;
    background: #F3EEE6;
    border-top: 1px solid #EAE3D7;
}

.tour-similar-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.tour-similar-title {
    font-family: var(--bt-font-family-heading);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    color: var(--bt-color-teal);
    margin: 8px 0 0;
}

.tour-similar-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-family: var(--bt-font-family-ui);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--bt-color-terracotta);
    transition: gap 0.2s ease;
}

.tour-similar-all:hover {
    gap: 10px;
    color: var(--bt-color-terracotta);
    text-decoration: none;
}

@media (max-width: 640px) {
    .tour-similar {
        padding: 40px 0 56px;
    }

    .tour-similar-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Com "Tours similares" a faixa bege encosta no rodapé (sem o espaço padrão do conteúdo) */
.single-tour-article:has(.tour-similar) {
    padding-bottom: 0;
}

.site-content:has(.tour-similar) {
    padding-bottom: 0;
}

.tour-similar {
    margin-top: 48px;
}

/* Celular: tours similares em faixa deslizável (evita uma coluna muito longa) */
@media (max-width: 640px) {
    .tour-similar-grid {
        display: grid;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 82%;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        margin: 0 calc(var(--bt-container-padding) * -1);
        padding: 4px var(--bt-container-padding) 12px;
        scroll-padding-inline: var(--bt-container-padding);
    }

    .tour-similar-grid::-webkit-scrollbar {
        display: none;
    }

    .tour-similar-grid > * {
        scroll-snap-align: start;
    }
}
