.cross-sell-section {
    border: 1px solid rgba(35, 83, 9, 0.08);
}

.cross-sell-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: #46CB25;
    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 #1c8b4a;
    border-radius: 25px;
    color: #1c8b4a;
    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: #235309 !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: #235309;
    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;
    background-color: #46CB25 !important;
    border-color: #46CB25 !important;
    transition: all 0.3s ease;
}

.cross-sell-cta:hover {
    background-color: #38a31e !important;
    border-color: #38a31e !important;
    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: rgba(70, 203, 37, 0.08) !important;
    border-color: rgba(70, 203, 37, 0.3) !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: #46CB25 !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 {
    background-color: #38a31e !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(70, 203, 37, 0.4);
}

.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;
}
