@media (max-width: 1024px) {
  body:not(.password-protected-page) .header-main-wrap.header-transparent-wrap {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
  }

  #header-mobile {
    background: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: row-reverse !important;
  }

  #nav-mobile,
  #navi-user {
    z-index: 9999 !important;
  }

  body.home .toggle-button-left .houzez-icon {
    color: #fff !important;
  }

  .logo-mobile img {
    height: 32px !important;
    width: auto !important;
    max-width: 140px !important;
    object-fit: contain !important;
  }
}

#nav-mobile.slideout-menu-right {
  left: auto !important;
  right: 0 !important;
}

/* ============================================
   CSS PARA PÁGINA DE CONTRASEÑA - LUCID LOCATIONS
   Pega esto en: Apariencia > Personalizar > CSS adicional
   (o en el CSS del child theme)
   ============================================ */

/* Fondo general de la página: gris claro */
body.password-protected-page {
    background-color: #f2f2f2;
    min-height: 100vh;
}

/* Bloque blanco superior detrás del logo (simula la franja blanca de la imagen) */
body.password-protected-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 360px;
    background-color: #ffffff;
    z-index: 0;
}

/* Header: quitamos el fondo transparente/oscuro y centramos solo el logo */
body.password-protected-page .header-main-wrap,
body.password-protected-page #header-section {
    background: transparent !important;
    box-shadow: none !important;
    position: relative;
    z-index: 1;
}

/* Ocultamos el menú de navegación y el login/register en esta pantalla */
body.password-protected-page .main-nav,
body.password-protected-page .login-register,
body.password-protected-page #header-mobile {
    display: none !important;
}

/* Centramos el logo horizontalmente */
body.password-protected-page .header-inner-wrap,
body.password-protected-page .navbar.d-flex {
    justify-content: center !important;
    padding-top: 60px;
}

body.password-protected-page .logo.logo-splash img {
    filter: brightness(0) saturate(100%); /* logo en negro, como en la imagen */
    height: auto;
    width: 160px;
}

/* ============================================
   TARJETA DEL FORMULARIO DE CONTRASEÑA
   ============================================ */
main#main-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding-top: 40px;
}

.post-password-form {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 48px 40px;
    max-width: 520px;
    width: 100%;
    margin: 0 24px;
    text-align: left;
}

.post-password-form p {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 20px;
}

.post-password-form label {
    display: block;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.post-password-form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-size: 15px;
    margin-top: 8px;
    box-sizing: border-box;
}

.post-password-form input[type="password"]:focus {
    outline: none;
    border-color: #1877f2;
}

.post-password-form input[type="submit"] {
    width: 100%;
    background-color: #1877f2;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 24px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.post-password-form input[type="submit"]:hover {
    background-color: #0f6ae0;
}

/* Ocultamos footer y otros elementos que no aparecen en la imagen */
body.password-protected-page footer.footer-wrap,
body.password-protected-page #compare-property-panel,
body.password-protected-page .back-to-top-wrap {
    display: none !important;
}