.vtsg-grid-empreendimentos-single-item {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    gap: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 9999;
}

.vtsg-grid-empreendimentos-single-item.active {
    display: flex;
    flex-direction: column;
}

/* ---------------------------------------------------------------------------- */
.vtsg-grid-empreendimentos-single-item-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
    max-width: 1140px;
}

/* ---------------------------------------------------------------------------- */

/* Single Item Header */
.vtsg-grid-empreendimentos-single-item-header {
    display: flex;
    justify-content: flex-end;
    order: 1;
    width: 100%;
    padding: 12px 20px;
}

/* Single Item Close Button */
.vtsg-grid-empreendimentos-single-item-header-close-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-family: var(--e-global-typography-text-font-family);
    font-size: 1rem;
    color: #fff;
    background: var(--e-global-color-primary);
    padding: 12px;
    border: none;
    border-radius: 50% !important;
    outline: none;
    cursor: pointer;
}

.vtsg-grid-empreendimentos-single-item-contact-share {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 8px;
}

.vtsg-grid-empreendimentos-single-item-contact-wa-button,
.vtsg-grid-empreendimentos-single-item-contact-share-button {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff !important;
    fill: #fff;
    text-wrap: nowrap;
    background: var(--e-global-color-primary);
    border-radius: 4px;
    border: none;
    outline: none;
    cursor: pointer;
}

.vtsg-grid-empreendimentos-single-item-contact-wa-button {
    padding: 8px;
}

.vtsg-grid-empreendimentos-single-item-contact-share-button {
    padding: 8px 12px 8px 12px;
}

/* ---------------------------------------------------------------------------- */

/* Carrossel <div> [data-lightbox="false"] */
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="false"] {
    width: 100%;
    padding: 0;
    order: 2;
}

/* Carrossel <div> Lightbox [data-lightbox="true"] */
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="true"] {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    padding: 40px;
    overflow: hidden;
    z-index: 9999999999999999;
}

/* Carrossel Wrapper <div> [data-lightbox="false"] */
/* Carrossel Wrapper <div> Lightbox [data-lightbox="True"] */
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="false"] .vtsg-grid-empreendimentos-single-item-carousel-wrapper,
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="true"] .vtsg-grid-empreendimentos-single-item-carousel-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Carrossel <ul> [data-lightbox="false"] */
/* Carrossel <ul> Lightbox [data-lightbox="true"] */
.vtsg-grid-empreendimentos-single-item-carousel-list {
    position: relative;
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Carrossel <ul> [data-lightbox="false"] */
/* Carrossel <ul> Lightbox [data-lightbox="true"] */
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="false"] .vtsg-grid-empreendimentos-single-item-carousel-list,
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="true"] .vtsg-grid-empreendimentos-single-item-carousel-list {
    width: 100%;
}

/* Carrossel Barra de Rolagem */
.vtsg-grid-empreendimentos-single-item-carousel-list::-webkit-scrollbar {
    display: none;
}

/* Carrossel <li> [data-lightbox="false"] */
/* Carrossel <li> Lightbox [data-lightbox="true"] */
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="true"] .vtsg-grid-empreendimentos-single-item-carousel-list-item,
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="false"] .vtsg-grid-empreendimentos-single-item-carousel-list-item {
    position: relative;
    flex: 0 0 100%;
    overflow: hidden;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

/* Carrossel <li> [data-lightbox="false"] */
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="false"] .vtsg-grid-empreendimentos-single-item-carousel-list-item {
    width: 100%;
    height: 320px;
    cursor: pointer;
}

/* Carrossel <li> Lightbox [data-lightbox="true"] */
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="true"] .vtsg-grid-empreendimentos-single-item-carousel-list-item {
    width: 100vw;
    height: 100vh;
    cursor: auto;
    z-index: 1;
}

/* Carrossel <img> [data-lightbox="false"] */
/* Carrossel <img> Lightbox [data-lightbox="true"] */
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="false"] .vtsg-grid-empreendimentos-single-item-carousel-list-item img,
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="true"] .vtsg-grid-empreendimentos-single-item-carousel-list-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-position: center center;
}

/* Carrossel <img> [data-lightbox="false"] */
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="false"] .vtsg-grid-empreendimentos-single-item-carousel-list-item img {
    object-fit: cover;
}

/* Carrossel <img> Lightbox [data-lightbox="true"] */
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="true"] .vtsg-grid-empreendimentos-single-item-carousel-list-item img {
    object-fit: contain;
}

/* Carrossel Botões de Navegação (Javascript) */
/* Carrossel <nav> */
.vtsg-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    color: #fff;
    background: var(--e-global-color-accent, #000);
    border: none;
    border-radius: 50% !important;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.3s;
    z-index: 10;
}

/* Carrossel <nav> Hover */
.vtsg-carousel-nav:hover {
    opacity: 1;
}

/* Carrossel <nav> Prev */
.vtsg-carousel-nav.prev {
    left: 10px;
}

/* Carrossel <nav> Next*/
.vtsg-carousel-nav.next {
    right: 10px;
}

/* Carrossel <nav> Prev Lightbox [data-lightbox="true"] */
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="true"] .vtsg-carousel-nav.prev {
    left: 20px;
}

/* Carrossel <nav> Next Lightbox [data-lightbox="true"] */
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="true"] .vtsg-carousel-nav.next {
    right: 20px;
}

/* Carrossel <button> Close Button */
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="false"] .vtsg-grid-empreendimentos-single-item-carousel-lightbox-close-button {
    display: none;
}

/* Carrossel <button> Close Button Lightbox [data-lightbox="true"] */
.vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="true"] .vtsg-grid-empreendimentos-single-item-carousel-lightbox-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-family: var(--e-global-typography-text-font-family);
    font-size: 1rem;
    color: #fff;
    background: var(--e-global-color-primary);
    padding: 12px;
    border-radius: 50%;
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 9999999999999999;
}

/* ---------------------------------------------------------------------------- */

/* Single Item Content */
.vtsg-grid-empreendimentos-single-item-content {
    display: flex;
    flex-direction: column;
    width: 75%;
    gap: 20px;
    padding: 20px;
    order: 3;
}

.vtsg-grid-empreendimentos-single-item-content-address {
    font-size: 1.1rem;
    color: var(--e-global-color-secondary);
}

.vtsg-grid-empreendimentos-single-item-content-details-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 12px;
}

.vtsg-grid-empreendimentos-single-item-content-description {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vtsg-grid-empreendimentos-single-item-content-price-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* .vtsg-grid-empreendimentos-single-item-content-price-details-tile {} */

.vtsg-grid-empreendimentos-single-item-content-price-details-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vtsg-grid-empreendimentos-single-item-content-price-details-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--e-global-color-primary);
    padding-bottom: 8px;
}

.vtsg-grid-empreendimentos-single-item-content-price-details-text span:first-child {
    font-weight: 500;
}

.vtsg-grid-empreendimentos-single-item-content-price-details-text span:last-child {
    font-weight: 700;
}

.vtsg-grid-empreendimentos-single-item-content-ref,
.vtsg-grid-empreendimentos-single-item-content-title,
.vtsg-grid-empreendimentos-single-item-content-price,
.vtsg-grid-empreendimentos-single-item-content-address,
.vtsg-grid-empreendimentos-single-item-content-details-items p,
.vtsg-grid-empreendimentos-single-item-content-description-title,
.vtsg-grid-empreendimentos-single-item-content-description-text,
.vtsg-grid-empreendimentos-single-item-content-price-details-title,
.vtsg-grid-empreendimentos-single-item-content-price-details-text {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

/* ---------------------------------------------------------------------------- */

/* Form de Contato */
.vtsg-grid-empreendimentos-single-item-contact-form {
    display: flex;
    flex-direction: column;
    width: 25%;
    gap: 20px;
    padding: 20px;
    order: 4;
}

.vtsg-grid-empreendimentos-single-item-contact-form-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.vtsg-grid-empreendimentos-single-item-contact-form-control {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vtsg-grid-empreendimentos-single-item-contact-label {
    font-family: var(--e-global-typography-accent-font-family);
    font-size: 1rem;
    color: var(--e-global-color-secondary);
}

.vtsg-grid-empreendimentos-single-item-contact-input {
    font-family: var(--e-global-typography-text-font-family);
    font-size: 1rem;
    color: var(--e-global-color-secondary);
    background: rgba(0, 0, 0, 0.03);
    padding: 12px;
    border: 1px solid var(--e-global-color-primary);
    border-radius: 4px;
    outline: none;
}

.vtsg-grid-empreendimentos-single-item-contact-form-close-button {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 2;
}

.vtsg-grid-empreendimentos-single-item-contact-form-close-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    padding: 12px;
}

.vtsg-grid-empreendimentos-single-item-contact-form-close-button,
.vtsg-grid-empreendimentos-single-item-contact-button {
    font-family: var(--e-global-typography-text-font-family);
    font-size: 1rem;
    color: #fff;
    background: var(--e-global-color-primary);
    border: none;
    outline: none;
    cursor: pointer;
}

.vtsg-grid-empreendimentos-single-item-contact-button {
    padding: 12px 24px;
}

/* ---------------------------------------------------------------------------- */

/* Mobile */
@media (max-width:767px) {

    .vtsg-grid-empreendimentos-single-item-content,
    .vtsg-grid-empreendimentos-single-item-contact-form {
        width: 100%;
    }

    /* Carrossel Mobile */
    .vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="false"] .vtsg-grid-empreendimentos-single-item-carousel-list-item {
        height: auto !important;
        aspect-ratio: 16/9 !important;
    }

    /* Carrossel <nav> Prev Lightbox [data-lightbox="true"] */
    .vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="true"] .vtsg-carousel-nav.prev {
        left: -20px;
    }

    /* Carrossel <nav> Next Lightbox [data-lightbox="true"] */
    .vtsg-grid-empreendimentos-single-item-carousel[data-lightbox="true"] .vtsg-carousel-nav.next {
        right: -20px;
    }
}