.product-itinerary-list {
    --itinerary-marker-size: 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-itinerary-item {
    position: relative;
    display: grid;
    grid-template-columns: var(--itinerary-marker-size) minmax(0, 1fr);
    gap: 1rem;
    padding-bottom: 2rem;
}

.product-itinerary-item:last-child {
    padding-bottom: 0;
}

.product-itinerary-item:not(:last-child)::after {
    position: absolute;
    top: var(--itinerary-marker-size);
    bottom: 0;
    left: calc((var(--itinerary-marker-size) / 2) - 1px);
    width: 2px;
    background: #d8dde5;
    content: "";
}

.product-itinerary-marker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: var(--itinerary-marker-size);
    height: var(--itinerary-marker-size);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
}

.product-itinerary-content {
    min-width: 0;
    padding-top: 0.2rem;
}

.product-itinerary-content p {
    line-height: 1.65;
}

[data-bs-theme="dark"] .product-itinerary-item:not(:last-child)::after,
html.dark-mode .product-itinerary-item:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 575.98px) {
    .product-itinerary-list {
        --itinerary-marker-size: 2.25rem;
    }

    .product-itinerary-item {
        gap: 0.75rem;
        padding-bottom: 1.5rem;
    }
}

.cross-sell-section {
    border: 1px solid color-mix(in srgb, var(--brand-primary) 12%, transparent);
}

.cross-sell-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--brand-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cross-sell-card {
    position: relative;
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #ffffff;
    border: 1px solid #e6e8ee !important;
    height: 100%;
}

.cross-sell-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(31, 41, 55, 0.12) !important;
}

.cross-sell-image-link {
    display: block;
}

.cross-sell-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 0.7;
}

.cross-sell-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

.cross-sell-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cross-sell-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1rem;
    border: 1px solid var(--brand-primary);
    border-radius: 25px;
    color: var(--brand-primary);
    background-color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

.cross-sell-card-body {
    padding: 1rem !important;
    flex: 1;
}

.cross-sell-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
}

.cross-sell-location i {
    color: #7b7f86;
    font-size: 0.95rem;
}

.cross-sell-title {
    line-height: 1.3;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2f3137;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5rem;
}

.cross-sell-title a:hover,
.cross-sell-title a:focus {
    color: var(--brand-primary) !important;
}

.cross-sell-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #6b7280 !important;
    font-size: 0.88rem;
    line-height: 1.5;
}

.cross-sell-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.cross-sell-price-label {
    margin-bottom: 0.35rem;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 600;
}

.cross-sell-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.cross-sell-price-row strong {
    color: var(--brand-primary);
    font-size: 1.85rem;
    line-height: 1;
    font-weight: 800;
}

.cross-sell-price-row span {
    color: #6b7280;
    font-size: 0.88rem;
    font-weight: 500;
}

.cross-sell-cta {
    padding: 0.75rem 1.2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px !important;
    transition: all 0.3s ease;
}

.cross-sell-cta:hover {
    transform: scale(1.02);
}

[data-bs-theme="dark"] .cross-sell-section,
html.dark-mode .cross-sell-section {
    background: var(--bs-tertiary-bg) !important;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .cross-sell-card,
html.dark-mode .cross-sell-card {
    background: #2b3035;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

[data-bs-theme="dark"] .cross-sell-section .text-dark,
html.dark-mode .cross-sell-section .text-dark {
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .cross-sell-location,
html.dark-mode .cross-sell-location,
[data-bs-theme="dark"] .cross-sell-description,
html.dark-mode .cross-sell-description,
[data-bs-theme="dark"] .cross-sell-price-label,
html.dark-mode .cross-sell-price-label,
[data-bs-theme="dark"] .cross-sell-price-row span,
html.dark-mode .cross-sell-price-row span {
    color: #c2c8d0 !important;
}

[data-bs-theme="dark"] .cross-sell-badge,
html.dark-mode .cross-sell-badge {
    color: #b9f4a8;
    background-color: color-mix(in srgb, var(--brand-primary) 8%, transparent) !important;
    border-color: color-mix(in srgb, var(--brand-primary) 30%, transparent) !important;
}

[data-bs-theme="dark"] .cross-sell-image-wrapper,
html.dark-mode .cross-sell-image-wrapper {
    background: var(--bs-secondary-bg);
}

[data-bs-theme="dark"] .cross-sell-footer,
html.dark-mode .cross-sell-footer {
    border-top-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 767.98px) {
    .cross-sell-section {
        padding: 1.5rem !important;
    }

    .cross-sell-card-body {
        min-height: auto;
    }

    .cross-sell-description {
        min-height: auto;
    }

    .cross-sell-price-row strong {
        font-size: 1.75rem;
    }
}

/* ===== CARROSSEL WRAPPER (Seta Externa) ===== */
.carousel-wrap {
    position: relative;
    overflow: visible;
    padding: 0 10px;
}

.carousel-wrap .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: var(--brand-primary) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    cursor: pointer;
    z-index: 100;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.carousel-wrap .carousel-arrow i {
    font-size: 20px;
    color: #ffffff !important;
}

.carousel-wrap .carousel-arrow-prev {
    left: -20px;
}

.carousel-wrap .carousel-arrow-next {
    right: -20px;
}

@media (min-width: 992px) {
    .carousel-wrap .carousel-arrow-prev {
        left: -30px;
    }

    .carousel-wrap .carousel-arrow-next {
        right: -30px;
    }
}

.carousel-wrap .carousel-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--brand-primary) 40%, transparent);
}

.carousel-wrap .carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Transições suaves para o carrossel */
.carousel.slide .carousel-item {
    transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Esconde setas por padrão e mostra no hover */
@media (hover: hover) {
    .carousel-wrap .carousel-arrow {
        opacity: 0;
        visibility: hidden;
    }
    .carousel-wrap:hover .carousel-arrow {
        opacity: 1;
        visibility: visible;
    }
}

/* Equalização */
.carousel-item.__measure {
    display: block !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: 0;
    right: 0;
}

.limber-consulta {
    border: 1px solid color-mix(in srgb, var(--brand-primary) 8%, transparent);
}

.limber-consulta-panel {
    border-radius: 8px !important;
}

.limber-consulta-kicker {
    display: inline-flex;
    align-items: center;
    color: var(--brand-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.limber-consulta-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 32px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand-primary) 12%, transparent);
    color: var(--brand-primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.limber-consulta .form-control,
.limber-consulta .form-select {
    min-height: 44px;
    border-radius: 8px;
}

.calendar-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--brand-primary);
    font-size: 0.92rem;
    font-weight: 600;
}

.limber-consulta-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.92rem;
}

.limber-categoria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.limber-categoria-item {
    min-height: 78px;
    padding: 0.9rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
}

@media (max-width: 767.98px) {
    .limber-consulta {
        padding: 1.5rem !important;
    }
}
