.section-ai-recommendation .ai-recommendation-wrapper {
    background: #F7F7F7;
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-ai-recommendation .ai-recommendation-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.section-ai-recommendation .ai-button {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(40, 33, 97, 1) 0%, rgba(40, 33, 97, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-ai-recommendation .ai-recommendation-title-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-ai-recommendation .ai-recommendation-title {
    color: #0B0E21;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    margin: 0;
    padding: 0;

    @media screen and (max-width: 768px) {
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        line-height: 26px;
    }
}

.section-ai-recommendation .ai-recommendation-title--mobile {
    display: none;
}

.section-ai-recommendation .ai-recommendation-title--desktop {
    display: block;
}

@media (max-width: 768px) {
    .section-ai-recommendation .ai-recommendation-title--mobile {
        display: block;
    }

    .section-ai-recommendation .ai-recommendation-title--desktop {
        display: none;
    }
}

.section-ai-recommendation .ai-recommendation-subtitle {
    margin: 0;
    padding: 0;
    color: var(--Neutral-Dark-2, #3C4268);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.25px;
}

.section-ai-recommendation .ai-recommendation-indicators {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
    align-items: center;
}

.section-ai-recommendation .ai-recommendation-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.section-ai-recommendation .ai-recommendation-query-box {
    background: #F3F1FC;
    border-radius: 8px;
    padding: 12px 16px;
    display: inline-block;
    width: auto;
    max-width: 100%;
    align-self: flex-start;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.25px;
    color: #3C4268;
    margin-top: 8px;
}

.section-ai-recommendation .ai-recommendation-query-text {
    margin: 0;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.25px;
    color: #3C4268;
}

.section-ai-recommendation .ai-recommendation-cards-wrapper {
    overflow: hidden !important;
}

.section-ai-recommendation .ai-recommendation-cards-wrapper.is-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.section-ai-recommendation .ai-recommendation-cards-container.swiper {
    width: 100%;
}

.section-ai-recommendation .ai-recommendation-cards-container .swiper-wrapper {
    align-items: stretch;
}

.section-ai-recommendation .ai-recommendation-cards-container .swiper-slide {
    width: auto;
    min-width: 300px;
    max-width: 368px;
    height: auto;
}

.section-ai-recommendation .ai-recommendation-cards-container .swiper-slide.ai-recommendation-cards-loading-slide {
    width: 100%;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-ai-recommendation .ai-recommendation-cards-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 160px;
}

.section-ai-recommendation .ai-recommendation-cards-loading-spinner {
    width: 48px;
    height: 48px;
}

.section-ai-recommendation .ai-recommendation-arrow-left.swiper-button-disabled,
.section-ai-recommendation .ai-recommendation-arrow-right.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 768px) {
    .section-ai-recommendation .ai-recommendation-query-box {
        display: block;
        width: 100%;
        align-self: stretch;
    }

    .section-ai-recommendation-title-mobile {
        display: flex;
        gap: 16px;
        align-items: center;
        flex-direction: row;
    }

    .section-ai-recommendation .card-ai-match-block__icon {
        display: none;
    }

    .section-ai-recommendation .card-project-container--ai-recommendation .card-detail-container {
        padding: 0;
    }

    .section-ai-recommendation .card-project-container--ai-recommendation .card-extra-info-btn {
        padding-inline: 0;
    }
}

.section-ai-recommendation .card-project-container--ai-recommendation {
    border-radius: 12px;
    box-shadow: 0px 2px 4px 0px rgba(96, 97, 112, 0.16), 0px 0px 1px 0px rgba(40, 41, 61, 0.04);
    overflow: hidden;
}

.section-ai-recommendation .card-project-container--ai-recommendation .card-property-image-container {
    border-radius: 12px 12px 0 0;
}

.section-ai-recommendation .card-project-container--ai-recommendation .card-property-image-container .card-property-image {
    border-radius: 12px 12px 0 0;
}

.section-ai-recommendation .card-project-container--ai-recommendation .card-detail-wrapper {
    padding: 16px;
}

.section-ai-recommendation .card-project-container--ai-recommendation .card-detail-container {
    gap: 16px;
}

.section-ai-recommendation .card-ai-match-block {
    background: #EBF8F6;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.section-ai-recommendation .card-ai-match-block__header {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.section-ai-recommendation .card-ai-match-block__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #120253;
}

.section-ai-recommendation .card-ai-match-block__label {
    color: #0B0E21;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.section-ai-recommendation .card-ai-match-badge {
    margin-left: auto;
    padding: 0px 16px;
    color: var(--State-Success-Bg, #EBF8F6);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    border-radius: 100px;
    border: 1px solid var(--State-Success, #26A592);
    background: var(--State-Success, #26A592);
}

.section-ai-recommendation .card-ai-match-block__caption {
    margin: 0;
    overflow: hidden;
    color: #0B0E21;
    font-feature-settings: 'liga' off, 'clig' off;
    text-overflow: ellipsis;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.25px;
}

@media (max-width: 768px) {
    .section-ai-recommendation .ai-recommendation-cards-container .swiper-slide .card-project-container--ai-recommendation.secondary.track-listing-impression {
        max-width: 300px;
    }
}
