.fullscreen-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  /* touch-action: none; */

    position: absolute;
    top: 0;
    top: 6rem;
    /* left: 0; */
    inset-inline-end: 2rem;
    background-color: red;
    background-color: var(--color-muted-background-60);
    box-shadow: inset 0 0 0 0.1rem var(--color-muted-border);
    /* border: solid 0.1rem var(--color-muted-border); */
    color: var(--color-primary-text);
    color: rgb(235, 235, 235);

    border-radius: 50%;
    padding: 0.75rem;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fullscreen-button:hover {
    background-color: var(--color-accent);
    color: var(--color-secondary-text);
    box-shadow: inset 0 0 0 0.1rem var(--color-secondary-border);
    box-shadow: inset 0 0 0 0.1rem rgb(15, 15, 15);
}

.fullscreen-button:active {
    transform: scale(0.95);
}

.fullscreen-button__icon {
    font-size: 1.5rem !important;
}



.property-hero__backdrop {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    opacity: 0.75;
    border-radius: 0.25rem;
    background-image: linear-gradient(to bottom, transparent, var(--color-primary-backdrop))
}


.embla__contaisner::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.45) 35%,
        rgba(0,0,0,0.0) 70%
    );

    /* z-index: -1; */
    background-color: red;
    pointer-events: none;
}

.property-hero {
    position: absolute; 
    /* bottom: 0; */
    /* left: 0; */
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 2rem 1rem;
    /* color: var(--color-primary-text); */
    /* background-color: green;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.45) 35%,
        rgba(0,0,0,0.0) 70%
    ); */
    background-image: linear-gradient(to bottom, transparent, var(--color-primary-backdrop));
    /* background-color: red; */
    
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.45) 35%,
        rgba(0,0,0,0.0) 70%
    );

    /* background: transparent; */
    
    pointer-events: none;
}

.property-hessro::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.45) 35%,
        rgba(0,0,0,0.0) 70%
    );

    /* z-index: -1; */
    background-color: red;
    pointer-events: none;
}



.property-hero__badges {
    display: flex;
    gap: 0.5rem;

    pointer-events: auto;
}

.property-hero__status,
.property-hero__type {
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--color-secondary-text);
    color: rgb(15, 15, 15);
}

.property-hero__status {
    background-color: var(--color-accent);
}

.property-hero__type {
    background-color: var(--color-secondary-background);
    background-color: rgb(235, 235, 235);

}

.property-hero__title {
    font-size: 3rem;
    color: rgb(235, 235, 235);
    /* margin-bottom: 0; */

    pointer-events: auto;

}


.property-hero__location {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 1.125rem;
    color: var(--color-muted-text);

    pointer-events: auto;

}

.property-hero__location span {
    /* font-size: 1.25rem; */
    color: var(--color-accent-75);
}


/* FIX BEFORE HERE */

.share-modal .modal-content {
    background-color: var(--color-primary-background);
}

.share-modal .modal-header,
.share-modal .modal-footer {
    border-color: var(--color-muted-border);
}

.share-modal .modal-header{
    color: var(--color-accent);
}

.share-modal .modal-header .close {
    color: var(--color-primary-text);
}

.share-modal__body {
    display: grid;
    justify-content: center;
    gap: 1rem;
}

.share-modal__option {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    background-color: var(--color-secondary-background);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: var(--color-secondary-text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.share-modal__option:hover {
    text-decoration: none;
    background-color: var(--color-secondary-background-75);
    color: var(--color-secondary-text);
}

.share-modal__option:active {
    transform: translateY(2px);
}

.share-modal__option--whatsapp svg {
    fill: var(--color-secondary-text);
}

.property-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem 0;
}

.property-actions__button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-actions__button:active {
    transform: translateY(2px);
}

.property-actions__button--whatsapp {
    background-color: var(--color-green);
    color: rgb(15, 15, 15);
}

.property-actions__button--whatsapp:hover {
    text-decoration: none;
    background-color: var(--color-green-75);
    color: rgb(15, 15, 15);
}

.property-actions__button--share {
    background-color: var(--color-secondary-background);
    color: var(--color-secondary-text);
}

.property-actions__button--share:hover {
    text-decoration: none;
    background-color: var(--color-secondary-background-75);
}

.property-actions__button--details {
    background-color: var(--color-accent);
    color: rgb(15, 15, 15);
}

.property-actions__button--details:hover {
    text-decoration: none;
    background-color: var(--color-accent-75);
    color: rgb(15, 15, 15);
}

.property-details {
    padding-inline-end: 2rem;
}

.property-details__title {
    /* position: relative; */
    /* display: inline-block; */
    color: var(--color-primary-text);
    /* margin: 2.5rem 0 1.25rem; */
    margin-top: 2.5rem;
    font-size: 1.5rem;
}

/* .property-details__title::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0%;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
    opacity: 0.8;
} */

.property-details__title:nth-of-type(1) {
    margin-top: 0;
}

.property-details__payment-plan {
    color: var(--color-muted-text);
    font-size: 1.25rem;
    margin-bottom: 0;
}

.property-details__payment-plan span {
    color: var(--color-accent);
}

.property-details__specifications {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.property-details__specification {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    background-color: var(--color-muted-background);
    border-radius: 0.5rem;
    padding:  0.75rem;
}

.property-details__specification-icon {
    color: var(--color-accent);
    font-size: 1.5rem !important;
    background-color: var(--color-primary-background);
    padding: 0.75rem;
    border-radius: 50%;
}

.property-details__specification-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.property-details__specification-value {
    color: var(--color-primary-text);
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0;
}

.property-details__specification-label {
    color: var(--color-muted-text);
}

.property-details__description {
    color: var(--color-muted-text);
    text-align: justify;
}

.property-details__show-units {
    display: flex;
    gap: 0.5rem;
    color: var(--color-primary-text);
    white-space: nowrap;
    margin-inline-end: 0.5rem;
}

.property-details__units {
    border: none !important;
    border-collapse: separate;
    border-spacing: 0.5rem;
    text-align: center;
    white-space: nowrap;
}

.property-details__units th, 
.property-details__units td {
    border-radius: 0.25rem;
    vertical-align: middle;
    padding: 0.5rem;
}

.property-details__units thead th {
    background-color: var(--color-accent);
    border-color: var(--color-accent-75) !important;
    color: var(--color-secondary-text);
}

.property-details__units thead th:nth-of-type(1) {
    background-color: transparent;
    border: none;
    width: 0;
}

.property-details__units td:not(:nth-of-type(2)) {
    color: var(--color-primary-text);
    border-color: var(--color-muted-border) !important;
}

.unit-row {
    background-color: var(--color-muted-background);
    cursor: pointer;
    transition: background-color 0.3s ease-in;
}

.unit-row:hover {
    background-color: var(--color-muted-background-40);
}

.unit-row__toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
}

.unit-row__toggle-icon {
    transition: transform 0.3s ease-in;
}

.unit-row__toggle-icon--open {
    transform: rotate(180deg);
}

.unit-details {
    display: none;
    display: table-row; /* always visible structurally */
    background-color: var(--color-muted-background);
    color: var(--color-primary-text);
}

.unit-details td:nth-of-type(1) {
    background-color: var(--color-primary-background);
    border: none;
    width: 0;
    height: 0;
    padding: 0;
}

.unit-details__content-cell {
    padding: 0 !important;
    border-color: var(--color-secondary-border) !important;
    max-height: 0;
    overflow: hidden;
}

.unit-details__content-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in;
}

.unit-details__content {
    padding: 1rem 0.75rem 0.5rem;
    display: grid;
    border: solid 1px var(--color-muted-border);
    border-radius: 0.25rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
}














.property-details__features {
    display: grid;
    /* grid-template-columns: repeat(4, 1fr); */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    /* grid-template-columns: repeat(auto-fit, auto); */
    gap: 1.5rem;
    gap: 0.75rem;
}

.property-details__feature {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-muted-background);
    border-radius: 0.5rem;
    padding:  0.75rem;

    /* white-space: nowrap; */
    /* min-width: 0; */


}

.property-details__feature-icon {
    color: var(--color-accent);
    font-size: 1.25rem !important;
    /* background-color: var(--color-primary-background); */
    /* padding: 0.75rem; */
    /* border-radius: 50%; */
}

.property-details__feature-value {
    /* white-space: nowrap; */
    color: var(--color-primary-text);
    margin-bottom: 0;
}

.property-details__video {
    border: 0;
    border-radius: 1rem;
}

.property-details__map {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 1rem;
}




.property-inquiry {

}


.property-inquiry__form {
    
    position: sticky;
    top: 90px;
    /* bottom: 150px; */

    /* position: sticky;
top: 0;
max-height: 100vh;
overflow-y: auto; */
    
    background-color: var(--color-muted-background);
    padding: 1.5rem;
    border-radius: 1rem;
}

.property-inquiry__title {
    /* position: relative; */
    /* display: inline-block; */
    color: var(--color-primary-text);
    font-size: 1.5rem;
    /* margin-bottom: 1.25rem; */
}

/* .property-inquiry__title::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    left: 0%;
    width: 8rem;
    width: 100%;
    height: 2px;
    transform: translateX(-50%);
    background-color: var(--color-accent);
    opacity: 0.8;
} */

.property-inquiry__subtitle {
    color: var(--color-muted-text);

}

/* .property-inquiry__submit {
    background-color: var(--color-accent);
}
 */



.property-inquiry__submit {
    position: relative;
    width: 100%;
    border: solid 1px var(--color-accent);
    color: var(--color-accent);
    z-index: 1;
    padding: 0.5rem 0;
    margin-top: 1.5rem;
    transition: color 0.4s cubic-bezier(0.3, 1, 0.8, 1);
}

.property-inquiry__submit::before {
    content: "";
    position: absolute;
    z-index: -1;
    background: var(--color-accent);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.3, 1, 0.8, 1);
}

.property-inquiry__submit:hover {
    color: var(--color-secondary-text);
}

.property-inquiry__submit:focus {
    box-shadow: 0 0 0 .2rem var(--color-accent-25);
}

.property-inquiry__submit:hover::before {
    opacity: 1;
}



@media screen and (max-width: 991px){
    .property-details {
        /* inset-inline-end: 1rem; */
        padding-inline-end: 15px;
        margin-bottom: 3rem;
    }
}


@media screen and (max-width: 767px){

    .property-actions {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media screen and (max-width: 575px){

    .property-hero {
        padding: 0 1rem 0.5rem;
    }

    .property-hero__title {
        font-size: 2.25rem;
    }

}
