/* AJUSTE FINAL DO FORMULÁRIO PROPERTY HIVE NO BLOCKSY */
@media (max-width: 768px) {

    /* Garantir que o formulário não usa flex do tema */
    form.property-search-form {
        display: block !important;
        flex-wrap: wrap !important;
        width: 100% !important;
    }

    /* Cada campo individual do formulário */
    form.property-search-form .control {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 15px !important;
        float: none !important;
        clear: both !important;
        box-sizing: border-box !important;
    }

    /* Inputs e selects */
    form.property-search-form .control select,
    form.property-search-form .control input {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Botão Search */
    form.property-search-form button,
    form.property-search-form input[type="submit"] {
        width: 100% !important;
        display: block !important;
        margin-top: 10px !important;
        float: none !important;
        clear: both !important;
    }
}
/* TÍTULO DA PROPRIEDADE (H1) */
.property_title.entry-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
}

/* PREÇO */
.price {
    font-size: 22px !important;
    font-weight: 600 !important;
}

/* LISTA DE FEATURES (bullets) */
div.summary.entry-summary ul li {
    font-size: 16px !important;
    line-height: 1.3 !important;
}

/* LINKS Make Enquiry & Floorplan */
div.summary.entry-summary ul li a {
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* TÍTULO "Property Summary" */
div.summary h4 {
    font-size: 20px !important;
    margin-bottom: 10px !important;
}

/* DESCRIÇÃO GRANDE */
div.summary-contents,
div.summary-contents p {
    font-size: 16px !important;
    line-height: 1.5 !important;
}
/* Padding no telemóvel apenas nas páginas de propriedade */
@media (max-width: 768px) {
    .single-property .entry-content,
    .single-property .summary,
    .single-property .summary-contents {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}
/* 🔹 1. BORDAS ARREDONDADAS DA IMAGEM (DESKTOP + MOBILE) */
.ph-results .property .property-image,
.ph-listing .property .property-image {
    border-radius: 18px;
    overflow: hidden; /* Mantém a imagem dentro das bordas */
}

.ph-results .property .property-image img,
.ph-listing .property .property-image img {
    border-radius: 18px;
    width: 100%;
    height: auto;
    display: block;
}
/* --- MARGENS + IMAGEM ARREDONDADA (DESKTOP & MOBILE) --- */
.propertyhive ul.properties li {
    padding: 20px; /* Margens internas do card */
    border-radius: 18px;
    background: #ffffff;
}

/* Arredondar imagem */
.propertyhive ul.properties li .thumbnail img {
    border-radius: 18px;
    overflow: hidden;
}

/* --- MOBILE AJUSTES --- */
@media (max-width: 768px) {

    /* Margens laterais no telemóvel */
    .propertyhive ul.properties {
        padding: 0 16px !important;
    }

    .propertyhive ul.properties li {
        padding: 16px !important;
        border-radius: 16px;
    }

    .propertyhive ul.properties li .thumbnail img {
        border-radius: 16px !important;
    }
}
/* --- Caixa de características em todas as línguas --- */
.single-property .summary.entry-summary .property_meta {
    background-color: #2B2B2B !important;
    padding: 25px !important;
    border-radius: 22px !important;
    margin-top: 20px !important;
    margin-bottom: 25px !important;
}

/* --- Título (todas as línguas) --- */
.single-property h1.property-title {
    font-size: 32px !important;
    line-height: 1.2 !important;
    color: #c69c6d !important; /* dourado */
}

/* --- Preço (todas as línguas, fora da caixa) --- */
.single-property .price {
    font-size: 26px !important;
    margin-bottom: 10px !important;
    color: #E2A64F !important;
    font-weight: 700 !important;
}

/* --- Caixa de características em todas as línguas --- */
.single-property .summary.entry-summary .property_meta {
    background-color: #2B2B2B !important;
    padding: 25px !important;
    border-radius: 22px !important;
    margin-top: 20px !important;
    margin-bottom: 25px !important;
}

/* --- Título (todas as línguas) --- */
.single-property h1.property-title {
    font-size: 32px !important;
    line-height: 1.2 !important;
    color: #c69c6d !important; /* dourado */
}

/* --- Preço (todas as línguas, fora da caixa) --- */
.single-property .price {
    font-size: 26px !important;
    margin-bottom: 10px !important;
    color: #E2A64F !important;
    font-weight: 700 !important;
}

/* --- Lista dentro da caixa (todas línguas) --- */
.single-property .summary.entry-summary ul li {
    font-size: 16px !important;
    line-height: 1.4 !important;
    color: #F5F5F5 !important;
    margin-bottom: 7px !important;
}

/* --- CORREÇÃO ESPECÍFICA PARA PORTUGUÊS (WPML bug) --- */
html[lang="pt-PT"] .single-property .summary.entry-summary ul li {
    color: #F5F5F5 !important; /* força branco */
}

html[lang="pt-PT"] .single-property .property_meta {
    background-color: #2B2B2B !important; /* mesma cor */
}
/* Corrigir título APENAS nas páginas de propriedade */
.single-property .summary.entry-summary h1.property_title.entry-title {
    font-size: 32px !important;
    line-height: 1.2 !important;
    color: #c69c6d !important; /* dourado */
    margin-bottom: 10px !important;
}