    *{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, sans-serif;
}

body{
    background:#f1f1f1;
    overflow-x: hidden;
}

a{
    text-decoration: none;
}

.property-detail-section{
    padding:80px 8%;
    background:#f8f8f8;
}

.property-detail-container{
    display:flex;
    gap:50px;
    align-items:flex-start;
    flex-wrap:wrap;
}

/* esquerda */
.property-detail-left{
    flex:2;
    min-width:320px;
}

.property-detail-back{
    display:inline-flex;
    gap:10px;
    margin-bottom:30px;
    text-decoration:none;
    color:#444;
}

.property-detail-main-image img{
    width:100%;
    height:520px;
    object-fit:cover;
    border-radius:14px;
}

.property-detail-thumbs{
    display:flex;
    gap:15px;
    margin:20px 0 40px;
}

.property-detail-thumbs img{
    width:120px;
    height:80px;
    object-fit:cover;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

.property-detail-thumbs img:hover{
    transform:scale(1.05);
}

.property-detail-title-row{
    display:flex;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
}

.property-detail-title-row h1{
    font-size:48px;
    color:#222;
    margin-bottom:10px;
}

.property-detail-title-row p{
    color:#666;
}

.property-detail-actions{
    display:flex;
    gap:15px;
}

.property-detail-actions button{
    width:50px;
    height:50px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    background:white;
}

.property-detail-actions .property-delete-btn{
    background:#111;
    border:1px solid rgba(255,255,255,.7);
    border-radius:50%;
    color:#fff;
    height:42px;
    width:42px;
}

.property-detail-actions .property-delete-btn:hover{
    background:#b42318;
    border-color:#b42318;
    color:#fff;
}

.property-detail-info h2{
    color:#c89b3c;
    font-size:44px;
    margin:35px 0;
}

/* specs */
.property-detail-specs{
    display:flex;
    gap:25px;
    flex-wrap:wrap;
}

.property-detail-spec{
    flex:1;
    min-width:180px;
    background:white;
    padding:35px;
    border-radius:14px;
    text-align:center;
}

.property-detail-spec i{
    color:#c89b3c;
    font-size:28px;
    margin-bottom:15px;
}

.property-detail-spec h3{
    font-size:32px;
    margin-bottom:8px;
}

.property-detail-spec span{
    color:#666;
}


/* sidebar */
.property-detail-sidebar{
    flex:1;
    min-width:300px;
    position:sticky;
    top:30px;
}

.property-detail-contact-box{
    background:white;
    padding:35px;
    border-radius:14px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.property-detail-contact-box h3{
    margin-bottom:20px;
    font-size:28px;
}

.property-detail-contact-box p{
    color:#666;
    line-height:1.7;
    margin-bottom:30px;
}

.call-btn,
.mail-btn,
.whatsapp-btn{
    display:block;
    text-align:center;
    text-decoration:none;
    padding:16px;
    border-radius:8px;
    margin-bottom:15px;
}

.call-btn{
    background:#c89b3c;
    color:white;
}

.mail-btn{
    border:1px solid #ddd;
    color:#222;
}

.whatsapp-btn{
    background:#111;
    color:white;
}

.property-detail-contact-box .whatsapp-btn span,
.property-detail-contact-box .whatsapp-btn i,
.property-detail-contact-box .property-detail-whatsapp-btn span,
.property-detail-contact-box .property-detail-whatsapp-btn i{
    color:#fff;
}

.property-detail-contact-box hr{
    margin:25px 0;
}

.property-detail-extra-section{
    padding:40px 8% 80px;
    background:#f8f8f8;
}

.property-detail-extra-container{
    display:flex;
    gap:40px;
    align-items:flex-start;
}

.property-detail-extra-left{
    flex:2;
}

.property-detail-description-box,
.property-detail-features-box{
    background:white;
    border:1px solid #ddd;
    border-radius:12px;
    padding:28px;
    margin-bottom:25px;
}

.property-detail-description-box h3,
.property-detail-features-box h3{
    font-size:20px;
    color:#222;
    margin-bottom:25px;
}

.property-detail-description-box p{
    color:#555;
    line-height:1.8;
    font-size:16px;
}

.property-detail-features-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.property-detail-features-list ul{
    list-style:none;
    padding:0;
}

.property-detail-features-list li{
    margin-bottom:18px;
    color:#222;
    font-size:16px;
}

.property-detail-features-list i{
    color:#c89b3c;
    margin-right:10px;
}

.property-detail-date{
    color:#666;
    font-size:14px;
    margin-top:20px;
}

.property-detail-date i{
    margin-right:8px;
}

/* sidebar direita */
.property-detail-extra-sidebar{
    flex:1;
    min-width:300px;
}

.property-detail-contact-box{
    background:white;
    border:1px solid #ddd;
    border-radius:12px;
    padding:28px;
}

.property-detail-contact-box h3{
    font-size:20px;
    margin-bottom:28px;
    color:#222;
}

.property-detail-contact-box p{
    color:#666;
    line-height:1.7;
    margin-bottom:25px;
}

.property-detail-call-btn,
.property-detail-mail-btn,
.property-detail-whatsapp-btn{
    display:block;
    width:100%;
    text-align:center;
    text-decoration:none;
    padding:14px;
    border-radius:6px;
    margin-bottom:14px;
    font-size:15px;
}

.property-detail-call-btn{
    background:#c89b3c;
    color:white;
}

.property-detail-mail-btn{
    border:1px solid #ddd;
    color:#222;
    background:white;
}

.property-detail-whatsapp-btn{
    background:#111;
    color:white;
}

.property-detail-contact-box hr{
    border:none;
    border-top:1px solid #ddd;
    margin:22px 0;
}

.property-detail-contact-box span{
    display:block;
    text-align:center;
    margin-bottom:14px;
    color:#222;
    font-size:14px;
}

.property-detail-contact-box .whatsapp-btn span,
.property-detail-contact-box .whatsapp-btn i,
.property-detail-contact-box .property-detail-whatsapp-btn span,
.property-detail-contact-box .property-detail-whatsapp-btn i{
    color:#fff;
}

@media(max-width:900px){
    .property-detail-extra-container{
        flex-direction:column;
    }

    .property-detail-extra-sidebar{
        width:100%;
    }

    .property-detail-features-list{
        grid-template-columns:1fr;
    }
}

/* responsivo */
@media(max-width:900px){

    .property-detail-container{
        flex-direction:column;
    }

    .property-detail-sidebar{
        position:static;
        width:100%;
    }

    .property-detail-title-row h1{
        font-size:34px;
    }

    .property-detail-main-image img{
        height:350px;
    }
}
.public-empty-message{
    background:#fff;
    border:1px solid #ddd;
    border-radius:8px;
    color:#666;
    padding:28px;
    text-align:center;
    width:100%;
}

.property-detail-carousel{
    border-radius:14px;
    height:520px;
    overflow:hidden;
    position:relative;
    background:#111;
}

.property-detail-carousel-track{
    height:100%;
    position:relative;
}

.property-detail-carousel-slide{
    height:100%;
    inset:0;
    opacity:0;
    position:absolute;
    transform:translateX(100%);
    transition:transform .65s ease, opacity .65s ease;
    width:100%;
}

.property-detail-carousel-slide.active{
    opacity:1;
    transform:translateX(0);
    z-index:2;
}

.property-detail-carousel-slide img{
    height:100%;
    object-fit:cover;
    width:100%;
}

.property-detail-carousel-btn{
    align-items:center;
    background:rgba(17,17,17,.72);
    border:none;
    border-radius:50%;
    color:#fff;
    cursor:pointer;
    display:flex;
    height:44px;
    justify-content:center;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:44px;
    z-index:3;
}

.property-detail-carousel-btn:hover{
    background:#c89b3c;
    color:#111;
}

.property-detail-carousel-btn.prev{
    left:18px;
}

.property-detail-carousel-btn.next{
    right:18px;
}

.property-detail-carousel-dots{
    bottom:18px;
    display:flex;
    gap:8px;
    justify-content:center;
    left:0;
    position:absolute;
    right:0;
    z-index:3;
}

.property-detail-carousel-dots button{
    background:rgba(255,255,255,.65);
    border:none;
    border-radius:50%;
    cursor:pointer;
    height:10px;
    width:10px;
}

.property-detail-carousel-dots button.active{
    background:#c89b3c;
    transform:scale(1.25);
}

@media(max-width:900px){
    .property-detail-carousel{
        height:350px;
    }
}

.property-detail-carousel{
    max-height:520px;
    max-width:100%;
}

.property-detail-carousel-slide img,
.property-detail-carousel-slide video,
.property-detail-carousel-slide iframe{
    display:block;
    height:100%;
    max-height:520px;
    max-width:100%;
    object-fit:cover;
    width:100%;
}

.property-detail-carousel-slide video,
.property-detail-carousel-slide iframe{
    background:#111;
    border:0;
}

@media(max-width:900px){
    .property-detail-carousel-slide img,
    .property-detail-carousel-slide video,
    .property-detail-carousel-slide iframe{
        max-height:350px;
    }
}


/* Ajuste final do carrossel de midias */
.property-detail-container{
    display:grid;
    grid-template-columns:minmax(0, 780px) minmax(280px, 360px);
    gap:40px;
    margin:0 auto;
    max-width:1220px;
    width:100%;
}

.property-detail-left{
    max-width:780px;
    min-width:0;
    width:100%;
}

.property-detail-sidebar,
.property-detail-extra-sidebar{
    max-width:360px;
    width:100%;
}

.property-detail-carousel{
    aspect-ratio:16 / 9;
    height:auto;
    max-height:440px;
    max-width:780px;
    width:100%;
}

.property-detail-carousel-slide img,
.property-detail-carousel-slide video,
.property-detail-carousel-slide iframe{
    height:100%;
    max-height:440px;
    object-fit:cover;
    width:100%;
}

.property-detail-carousel-slide video,
.property-detail-carousel-slide iframe{
    object-fit:contain;
}

@media(max-width:1100px){
    .property-detail-container{
        grid-template-columns:1fr;
        max-width:820px;
    }

    .property-detail-sidebar,
    .property-detail-extra-sidebar{
        max-width:none;
    }
}

@media(max-width:900px){
    .property-detail-carousel{
        max-height:350px;
    }

    .property-detail-carousel-slide img,
    .property-detail-carousel-slide video,
    .property-detail-carousel-slide iframe{
        max-height:350px;
    }
}

/* Carrossel consolidado */
.property-detail-carousel{
    aspect-ratio:16 / 9 !important;
    background:#111 !important;
    border-radius:14px !important;
    height:auto !important;
    max-height:440px !important;
    max-width:780px !important;
    overflow:hidden !important;
    position:relative !important;
    width:100% !important;
}

.property-detail-carousel-track{
    display:flex !important;
    height:100% !important;
    position:relative !important;
    transform:translateX(0);
    transition:transform .65s ease !important;
    width:100% !important;
}

.property-detail-carousel-slide{
    flex:0 0 100% !important;
    height:100% !important;
    inset:auto !important;
    opacity:1 !important;
    position:relative !important;
    transform:none !important;
    transition:none !important;
    width:100% !important;
}

.property-detail-carousel-slide img,
.property-detail-carousel-slide video,
.property-detail-carousel-slide iframe{
    border:0 !important;
    display:block !important;
    height:100% !important;
    max-height:440px !important;
    max-width:100% !important;
    width:100% !important;
}

.property-detail-carousel-slide img{
    object-fit:contain !important;
}

.property-detail-carousel-slide video,
.property-detail-carousel-slide iframe{
    background:#111 !important;
    object-fit:contain !important;
}

@media(max-width:900px){
    .property-detail-carousel{
        max-height:350px !important;
    }

    .property-detail-carousel-slide img,
    .property-detail-carousel-slide video,
    .property-detail-carousel-slide iframe{
        max-height:350px !important;
    }
}

/* Botao de exclusao admin */
.property-card-admin-wrap,
.featured-property-admin-wrap{
    position:relative;
}

.property-delete-form{
    margin:0;
}

.property-delete-btn{
    align-items:center;
    background:#111;
    border:1px solid rgba(255,255,255,.7);
    border-radius:50%;
    color:#fff;
    cursor:pointer;
    display:inline-flex;
    height:42px;
    justify-content:center;
    transition:.25s;
    width:42px;
}

.property-delete-btn:hover{
    background:#b42318;
    border-color:#b42318;
    color:#fff;
}

.public-card-delete-form,
.featured-delete-form{
    position:absolute;
    right:14px;
    top:58px;
    z-index:12;
}

.detail-delete-form{
    display:inline-flex;
}

.admin-row-delete-form .property-delete-btn{
    border-color:#ddd;
    color:#222;
    background:#fff;
    height:35px;
    width:35px;
}

.admin-row-delete-form .property-delete-btn:hover{
    background:#b42318;
    border-color:#b42318;
    color:#fff;
}


/* Botao de edicao admin */
.property-admin-action-stack{
    align-items:center;
    display:flex;
    flex-direction:column;
    gap:8px;
    position:absolute;
    right:14px;
    top:58px;
    z-index:14;
}

.property-admin-action-stack .property-delete-form,
.property-admin-action-stack .property-edit-link{
    position:static;
}

.property-edit-link{
    align-items:center;
    background:#111;
    border:1px solid rgba(255,255,255,.7);
    border-radius:50%;
    color:#fff;
    display:inline-flex;
    height:42px;
    justify-content:center;
    transition:.25s;
    width:42px;
}

.property-edit-link:hover{
    background:#c89b3c;
    border-color:#c89b3c;
    color:#111;
}

.detail-admin-action-stack{
    position:static;
}

.admin-row-edit-link{
    background:#fff;
    border-color:#ddd;
    color:#222;
    height:35px;
    width:35px;
}

.admin-row-edit-link:hover{
    background:#c89b3c;
    border-color:#c89b3c;
    color:#111;
}

.property-detail-no-media{
    width:100%;
    min-height:420px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    color:#8c7e20;
    background:linear-gradient(135deg,#0f0f0f,#202020);
    border-radius:18px;
}
.property-detail-no-media i{font-size:44px;}
.property-detail-no-media span{font-weight:700;}
.property-detail-carousel-empty{background:#111;}
