﻿/* *********************************** Experiências */

.bv-header-experiences {
    min-width: 0;
}

.bv-header-experiences-dynamic {
    display: grid;
    gap: 20px;
}

.bv-header-experiences-category-section {
    display: grid;
    gap: 11px;
}

    .bv-header-experiences-category-section h4 {
        margin: 0;
        color: var(--bv-catalog-text);
        font-size: .8rem;
        font-weight: 950;
    }

.bv-header-experiences-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

/* *********************************** Card */

.bv-header-experiences-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .bv-header-experiences-card.is-featured {
        border-color: rgba(255, 46, 147, .28);
    }

.bv-header-experiences-card__open {
    width: 100%;
    min-height: 260px;
    flex: 1;
    display: grid;
    grid-template-columns: 165px minmax(0, 1fr);
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.bv-header-experiences-card__image {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    background: #eff1f4;
}

    .bv-header-experiences-card__image img {
        width: 100%;
        height: 100%;
        min-height: 260px;
        display: block;
        object-fit: cover;
        transition: transform 220ms ease;
    }

.bv-header-experiences-card:hover
.bv-header-experiences-card__image img {
    transform: scale(1.035);
}

.bv-header-experiences-card__featured {
    position: absolute;
    top: 10px;
    left: 10px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(24, 24, 30, .76);
    color: #fff;
    font-size: .56rem;
    font-weight: 900;
    backdrop-filter: blur(9px);
}

    .bv-header-experiences-card__featured[hidden] {
        display: none !important;
    }

.bv-header-experiences-card__status {
    position: absolute;
    right: 9px;
    bottom: 9px;
    max-width: calc(100% - 18px);
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(24, 24, 30, .76);
    color: #fff;
    font-size: .54rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(9px);
}

    .bv-header-experiences-card__status.is-direct {
        background: rgba(15, 112, 62, .9);
    }

    .bv-header-experiences-card__status.is-request {
        background: rgba(145, 92, 0, .9);
    }

    .bv-header-experiences-card__status.is-unavailable {
        background: rgba(81, 87, 98, .9);
    }

.bv-header-experiences-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.bv-header-experiences-card__category {
    color: var(--bv-catalog-accent-dark);
    font-size: .58rem;
    font-weight: 950;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.bv-header-experiences-card__content > strong {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 6px;
    color: #292e37;
    font-size: .88rem;
    line-height: 1.34;
    font-weight: 950;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bv-header-experiences-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 10px;
}

    .bv-header-experiences-card__price small {
        color: #8b929c;
        font-size: .61rem;
        font-weight: 800;
        text-decoration: line-through;
    }

    .bv-header-experiences-card__price strong {
        color: var(--bv-catalog-accent-dark);
        font-size: .92rem;
        font-weight: 950;
    }

.bv-header-experiences-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

    .bv-header-experiences-card__meta > span {
        min-height: 27px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 0 8px;
        border-radius: 9px;
        background: var(--bv-catalog-surface-soft);
        color: #656d78;
        font-size: .56rem;
        font-weight: 850;
    }

        .bv-header-experiences-card__meta > span[hidden] {
            display: none !important;
        }

    .bv-header-experiences-card__meta i {
        color: var(--bv-catalog-accent-dark);
    }

.bv-header-experiences-card__description {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 9px;
    color: var(--bv-catalog-muted);
    font-size: .65rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

    .bv-header-experiences-card__description[hidden] {
        display: none !important;
    }

.bv-header-experiences-card__footer {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding: 10px 14px;
    border-top: 1px solid var(--bv-catalog-border);
    background: var(--bv-catalog-surface-soft);
}

    .bv-header-experiences-card__footer > span:first-child {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: #727a86;
        font-size: .61rem;
        font-weight: 850;
    }

.bv-header-experiences-card__action {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 11px;
    border-radius: 11px;
    background: var(--bv-catalog-accent);
    color: #fff !important;
    font-size: .61rem;
    font-weight: 950;
    text-decoration: none !important;
}

    .bv-header-experiences-card__action[hidden] {
        display: none !important;
    }

    .bv-header-experiences-card__action.is-disabled {
        background: #e8eaee;
        color: #858c97 !important;
    }

/* *********************************** Paginação */

.bv-header-experiences-more {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

/* *********************************** CTA */

.bv-header-experiences-full {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 46, 147, .16);
    border-radius: 22px;
    background: radial-gradient( circle at 90% 0, rgba(255, 46, 147, .11), transparent 38% ), linear-gradient( 135deg, rgba(255, 46, 147, .055), #fff );
}

    .bv-header-experiences-full > div {
        min-width: 0;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: center;
        gap: 11px;
    }

        .bv-header-experiences-full > div > span {
            width: 44px;
            height: 44px;
            display: grid;
            place-items: center;
            border-radius: 15px;
            background: var(--bv-catalog-accent-soft);
            color: var(--bv-catalog-accent-dark);
        }

    .bv-header-experiences-full strong {
        display: block;
        font-size: .79rem;
        font-weight: 950;
    }

    .bv-header-experiences-full p {
        margin: 3px 0 0;
        color: var(--bv-catalog-muted);
        font-size: .65rem;
        line-height: 1.45;
    }

/* *********************************** Vazio */

.bv-header-experiences-empty h3 {
    margin: 14px 0 0;
    color: var(--bv-catalog-text);
    font-size: .97rem;
    font-weight: 950;
}

.bv-header-experiences-empty p {
    max-width: 470px;
    margin: 7px 0 0;
    color: var(--bv-catalog-muted);
    font-size: .73rem;
    line-height: 1.55;
}

/* *********************************** Modal */

.bv-header-experiences-modal {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
}

    .bv-header-experiences-modal[hidden] {
        display: none !important;
    }

    .bv-header-experiences-modal.is-open {
        opacity: 1;
        visibility: visible;
    }

.bv-header-experiences-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(10, 13, 21, .74);
    backdrop-filter: blur(8px);
}

.bv-header-experiences-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(820px, 100%);
    max-height: min(90dvh, 820px);
    display: grid;
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
    overflow: hidden;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(7, 11, 20, .35);
}

.bv-header-experiences-modal__close {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #282d35;
    cursor: pointer;
}

.bv-header-experiences-modal__image {
    min-height: 520px;
    background: #eef0f4;
}

    .bv-header-experiences-modal__image img {
        width: 100%;
        height: 100%;
        min-height: 520px;
        display: block;
        object-fit: cover;
    }

.bv-header-experiences-modal__content {
    min-width: 0;
    max-height: min(90dvh, 820px);
    overflow-y: auto;
    padding: 28px;
}

.bv-header-experiences-modal__status {
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eceef2;
    color: #676e79;
    font-size: .59rem;
    font-weight: 900;
}

    .bv-header-experiences-modal__status.is-direct {
        background: rgba(22, 138, 77, .1);
        color: #168a4d;
    }

    .bv-header-experiences-modal__status.is-request {
        background: rgba(154, 100, 0, .1);
        color: #9a6400;
    }

    .bv-header-experiences-modal__status.is-unavailable {
        background: #eceef2;
        color: #676e79;
    }

.bv-header-experiences-modal__category {
    display: block;
    margin-top: 13px;
    color: var(--bv-catalog-accent-dark);
    font-size: .62rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bv-header-experiences-modal__content h3 {
    margin: 7px 45px 0 0;
    color: #242932;
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: 950;
}

.bv-header-experiences-modal__price {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin-top: 15px;
}

    .bv-header-experiences-modal__price small {
        color: #8b929c;
        font-size: .7rem;
        text-decoration: line-through;
    }

    .bv-header-experiences-modal__price strong {
        color: var(--bv-catalog-accent-dark);
        font-size: 1.15rem;
        font-weight: 950;
    }

.bv-header-experiences-modal__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

    .bv-header-experiences-modal__meta > span {
        min-height: 45px;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px;
        border-radius: 13px;
        background: var(--bv-catalog-surface-soft);
        color: #616975;
        font-size: .65rem;
        font-weight: 850;
    }

        .bv-header-experiences-modal__meta > span[hidden] {
            display: none !important;
        }

    .bv-header-experiences-modal__meta i {
        color: var(--bv-catalog-accent-dark);
    }

.bv-header-experiences-modal__description {
    margin-top: 16px;
    color: #59616e;
    font-size: .76rem;
    line-height: 1.7;
}

    .bv-header-experiences-modal__description strong {
        color: #252a33;
        font-weight: 950;
    }

.bv-header-experiences-modal__note {
    margin-top: 13px;
    padding: 11px;
    border-radius: 13px;
    background: rgba(255, 46, 147, .06);
    color: #65525d;
    font-size: .66rem;
    line-height: 1.5;
}

    .bv-header-experiences-modal__note[hidden] {
        display: none !important;
    }

.bv-header-experiences-modal__feedback {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding: 11px;
    border: 1px solid rgba(255, 46, 147, .14);
    border-radius: 15px;
    background: rgba(255, 46, 147, .045);
}

    .bv-header-experiences-modal__feedback button {
        min-height: 39px;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 0 13px;
        border: 1px solid rgba(255, 46, 147, .24);
        border-radius: 12px;
        background: #fff;
        color: var(--bv-catalog-accent-dark);
        font: inherit;
        font-size: .66rem;
        font-weight: 900;
        cursor: pointer;
    }

        .bv-header-experiences-modal__feedback button.is-voted {
            border-color: var(--bv-catalog-accent);
            background: var(--bv-catalog-accent);
            color: #fff;
        }

    .bv-header-experiences-modal__feedback > span {
        color: #6c7480;
        font-size: .65rem;
        font-weight: 850;
    }

.bv-header-experiences-modal__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}

html.bv-header-experiences-no-scroll,
html.bv-header-experiences-no-scroll body {
    overflow: hidden !important;
}

/* *********************************** Responsivo */

@media (max-width: 900px) {
    .bv-header-experiences-card__open {
        grid-template-columns: 135px minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .bv-header-experiences-grid {
        grid-template-columns: 1fr;
    }

    .bv-header-experiences-full {
        align-items: stretch;
        flex-direction: column;
    }

        .bv-header-experiences-full .bv-header-catalog-button {
            width: 100%;
        }

    .bv-header-experiences-modal__dialog {
        width: min(580px, 100%);
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .bv-header-experiences-modal__image,
    .bv-header-experiences-modal__image img {
        min-height: 260px;
        max-height: 38dvh;
    }

    .bv-header-experiences-modal__content {
        overflow: visible;
    }
}

@media (max-width: 560px) {
    .bv-header-experiences-card__open {
        min-height: 220px;
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .bv-header-experiences-card__image,
    .bv-header-experiences-card__image img {
        min-height: 220px;
    }

    .bv-header-experiences-card__content {
        padding: 13px;
    }

    .bv-header-experiences-card__meta {
        gap: 4px;
    }

        .bv-header-experiences-card__meta > span {
            min-height: 24px;
            padding-inline: 6px;
            font-size: .52rem;
        }

    .bv-header-experiences-card__footer {
        padding-inline: 11px;
    }

    .bv-header-experiences-card__action {
        padding-inline: 9px;
        font-size: .56rem;
    }

    .bv-header-experiences-modal {
        align-items: end;
        padding: 0;
    }

    .bv-header-experiences-modal__dialog {
        width: 100%;
        max-height: 94dvh;
        border-radius: 24px 24px 0 0;
    }

    .bv-header-experiences-modal__content {
        padding: 20px;
    }

    .bv-header-experiences-modal__meta {
        grid-template-columns: 1fr;
    }

    .bv-header-experiences-modal__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

        .bv-header-experiences-modal__actions
        .bv-header-catalog-button {
            width: 100%;
        }
}
