/*
Theme Name: WpRentals Child theme
Theme URI: http://themeforest.net/user/wpestate
Description: Ultimate WordPress Theme created by WpEstate for accommodation booking. WpRentals is clean, flexible, fully responsive and retina Ready. Its smart settings allow you to build outstanding renting websites easily and fast.
Version: 3.15.0
Author: wpestate.org
Author URI: http://themeforest.net/user/annapx
Tags: white, one-column, two-columns,left-sidebar, right-sidebar, fluid-layout , custom-menu, theme-options, translation-ready
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: wprentals
*/

.wprentals_dashboard_page .content_wrapper_dashboard {
    margin-top: 140px;
}
.mvp-membership-plans__card {
	overflow: hidden;
	padding: 24px;
}
body input[type="checkbox"] {
    border: 1px solid #d7d7d7;
    border-radius: 3px;
}

body #advanced_search_map_list .form-control {
    margin-bottom: 5px;
    margin-top: 5px;
}
.mvp-membership-plans__media {
	width: auto;
	aspect-ratio: 16 / 9;
	margin: -24px -24px 20px;
	border-radius: 20px 20px 0 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.mvp-membership-plans__extra-text {
	margin-top: 14px;
	font-size: 15px;
	line-height: 1.6;
	color: #5e5656;
}

.mvp-membership-plans__extra-text ul,
.mvp-membership-plans__extra-text ol {
	margin: 0;
	padding-left: 18px;
}

.mvp-membership-plans__extra-text li + li {
	margin-top: 6px;
}

.mvp-membership-plans__extra-text p {
	margin: 0 0 10px;
}

.mvp-membership-plans__extra-text p:last-child {
	margin-bottom: 0;
}

.header_wrapper.header_type2.header_align_center.header_wide_yes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
  box-shadow: none;
}
.header_wrapper.header_type2.header_align_center.header_wide_yes.navbar-fixed-top {
	background-color:#fff;
	}
.home .elementor-location-header + .elementor,
.home .header_wrapper + .elementor {
  margin-top: -170px;
  padding-top: 170px;
}

.elementor-widget-text-editor h3 {
    font-size: 28px !important;
    line-height: 1.3;
    margin: 32px 0 16px;
    font-weight: 600;
}
.elementor-widget-text-editor table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.55;
}

.elementor-widget-text-editor table th,
.elementor-widget-text-editor table td {
    text-align: left;
    vertical-align: top;
    border: 1px solid #ddd;
    padding: 12px;
}

.elementor-widget-text-editor table th {
    background: #111;
    color: #fff;
    font-weight: 600;
}

.elementor-widget-text-editor table td {
    background: #fff;
}

/* HEADER TYPE 2: logo centrado, menú izq, usuario/teléfono dcha */
.header_wrapper.header_type2 .header_wrapper_inside{
  position: relative;
  min-height: 80px;
}

/* El wrapper del menú ocupa toda la fila */
.header_wrapper.header_type2 .wprentals_header_type2_menu_wrapper{
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  box-sizing: border-box;
}

/* El logo se coloca centrado de verdad, sin romper el menú */
.header_wrapper.header_type2 .wprentals_header_type2_logo_wrapper{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* El enlace/logo sí debe poder clicarse */
.header_wrapper.header_type2 .wprentals_header_type2_logo_wrapper a{
  pointer-events: auto;
  display: block;
}

/* Tamaño del logo */

h1 .subtitulo {
  font-size: 0.8em;
}
h1 .subtitulopeque {
  font-size: 0.6em;
}

.header_wrapper #access a {
    display: block;
    text-decoration: none;
    cursor: pointer;
    padding: 23px 10px;
	font-weight: 400;
}
    .wpestate_property_disclaimer, #footer-widget-area, .entry-prop, .property_categs, .header_wrapper_inside, .top_bar, .wpestate_property_disclaimer, #footer-widget-area, .content-fixed-listing, .listing_main_image_location, .carousel_type2_control_wrapper, .wide .theme_slider_type2 .slider-content-wrapper, #gmap-controls-wrapper, .content_wrapper, .property_menu_wrapper_hidden .property_menu_wrapper_insider {
    	width:100% !important;
        max-width: 100% !important;
    }	

/* Solo el hero de la Home a ancho completo */
.home .hero-full {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Que no se corte por el wrapper */
.home .content_wrapper.row {
  overflow: visible !important;
}

/* Evitar scroll horizontal raro */
body {
  overflow-x: hidden;
}
body .transparent_header .menu_username {
    color: #000;
}
body .back_to_home {
    display: none;
}
.mobile_header i {
    color: #fff;
    font-size: 25px;
    margin: 22px 23px;
}	
.mvp-login-alert-success {
	margin-bottom: 18px;
}
.mvp-user-menu-block {
	margin-top: 18px;
}

.mvp-user-menu-block__title {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: #2f2f2f;
margin: 0 15px;
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 10px;
}
body .user_tab_menu i, .user_dashboard_links i {
    margin-right: 10px;
}
.mvp-user-menu-block--subscription .pack_description {
	margin-bottom: 30px;
}

.mvp-pack-description--empty .pack-name span {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    padding: 0 10px;
}

.mvp-pack-description--empty .pack-date-wrapper {
	font-size: 13px;
    text-align: center;
    margin: 0;
}

body .user_tab_menu .mvp-user-menu-primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    padding: 14px 18px;
    background: #111;
    color: #fff;
    font-weight: 600;
    margin-top: auto;
}



.mvp-user-dashboard-actions a {
	display: flex;
	align-items: center;
	gap: 10px;
}

.mvp-user-dashboard-actions #stripe_cancel {
	cursor: pointer;
}
.mvp-subscription-inline-links {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mvp-subscription-inline-link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
	color: inherit;
}

.mvp-subscription-inline-link:hover {
	opacity: .8;
}

.mvp-subscription-inline-link i {
	width: 16px;
	text-align: center;
}

.mvp-subscription-inline-link--cancel {
	color: #b42318;
}

body .pack_description {
       padding-bottom: 20px;
}
body .pack-info, .pack-unit {
    float: none;
}
.pack-date-wrapper-date{
	display:block;
}
button.close {
    z-index: 99;
}
body #stripe_cancel{
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
    padding: 0;
    margin: 0;
    font-weight: normal;
    background-color: transparent;
    color: #564f4fA6;
     margin-top: 20px;
}
body .pack-name {
    font-size: 24px;
	font-family: Frank Ruhl Libre;
}
body .pack-name span {
    color: #000;
    font-size: 14px;
}
body footer .widget-area{
    padding-right: 25px;
    padding-left: 25px;
}
body #colophon .xoxo {
    padding-top: 90px;
    padding-bottom: 50px;
}
/* Responsive */

@media (max-width: 1180px){
	body #colophon .xoxo {
    padding-top: 0px;
    padding-bottom: 0px;
}
		body .dashboard-margin {
    height: auto;
    min-height: 0;
}
body .user_dashboard_panel {
	min-width:100%;
	max-width:100%;
}
	
.master_header .logo img,.master_header .mobile-logo img {
    max-height: 50px;
}
	body .row {
margin:0;
}
	    body .wpestate_bell_note, .back_to_home {
        top: 90px;
    }
	.mvp-subscriptions-top {
    grid-template-columns: minmax(0, 1fr) 250px;
	}
}


@media (max-width: 991px) {
	body .user_tab_menu {
    left: 0;
	}

	body #user_tab_menu_trigger {
padding: 10px 14px;
    position: fixed;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 400;
		top: 70px;
}

body #user_tab_menu_trigger::after {
content: "";
    display: inline-block;
    width: 12px;
    height: 8px;
    margin-left: 0px;
    flex: 0 0 14px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 8px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'><path d='M2 2.25 L7 6 L12 2.25' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
	
	
   body  .is_dashboard_page .dashboard-margin {
        margin-top: 30px;
    }
 body #user_tab_menu_container {
        position: fixed;
        top: 110px;
        left: 0;
        height: calc(100vh - 110px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
}
@media (max-width: 600px){
.buscador_home{
	max-width: 360px !important;
}
}


/* ==========================================================
   AJUSTES CUANDO EL MAPA ESTÁ OCULTO (listado completo)
   ========================================================== */

/* 1) Fila resultados + ordenación mejor alineada en escritorio */
@media (min-width: 768px) {
  .page-template-property_list_half .wprentals_adv_listing_filters_head.advanced_filters,
  .page-template-property_list_half-php .wprentals_adv_listing_filters_head.advanced_filters {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .page-template-property_list_half .wprentals_adv_listing_filters_head .half_map_results,
  .page-template-property_list_half-php .wprentals_adv_listing_filters_head .half_map_results {
    margin-right: auto;
    flex: 0 0 auto;
  }

  .page-template-property_list_half .wprentals_adv_listing_filters_head > .col-md-3,
  .page-template-property_list_half-php .wprentals_adv_listing_filters_head > .col-md-3 {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto;
    margin-left: auto;
    padding: 0 !important;
  }

  .page-template-property_list_half .thc-order-wrap,
  .page-template-property_list_half-php .thc-order-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: nowrap;
    margin-left: auto;
  }

  .page-template-property_list_half .thc-order-wrap .listing_filter_select,
  .page-template-property_list_half-php .thc-order-wrap .listing_filter_select {
    min-width: 130px;
  }
}

/* 2) Buscador en una sola fila cuando el mapa está cerrado */
@media (min-width: 1200px) {
  .page-template-property_list_half .half_map_on_right.thc-map-collapsed #advanced_search_map_list .advanced_search_map_list_container,
  .page-template-property_list_half-php .half_map_on_right.thc-map-collapsed #advanced_search_map_list .advanced_search_map_list_container {
    grid-template-columns: repeat(20, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }

  /* Ubicación */
  .page-template-property_list_half .half_map_on_right.thc-map-collapsed #advanced_search_map_list .radius_wrap,
  .page-template-property_list_half-php .half_map_on_right.thc-map-collapsed #advanced_search_map_list .radius_wrap {
    grid-column: 1 / span 7;
    grid-row: 1;
  }

  /* Radio */
  .page-template-property_list_half .half_map_on_right.thc-map-collapsed #advanced_search_map_list .radius_compact_wrap,
  .page-template-property_list_half-php .half_map_on_right.thc-map-collapsed #advanced_search_map_list .radius_compact_wrap {
    grid-column: 8 / span 4;
    grid-row: 1;
  }

  /* Fecha entrada */
  .page-template-property_list_half .half_map_on_right.thc-map-collapsed #advanced_search_map_list .Fecha_entrada,
  .page-template-property_list_half-php .half_map_on_right.thc-map-collapsed #advanced_search_map_list .Fecha_entrada {
    grid-column: 12 / span 3;
    grid-row: 1;
  }

  /* Fecha salida */
  .page-template-property_list_half .half_map_on_right.thc-map-collapsed #advanced_search_map_list .Fecha_salida,
  .page-template-property_list_half-php .half_map_on_right.thc-map-collapsed #advanced_search_map_list .Fecha_salida {
    grid-column: 15 / span 3;
    grid-row: 1;
  }

  /* Invitados */
  .page-template-property_list_half .half_map_on_right.thc-map-collapsed #advanced_search_map_list .Invitados,
  .page-template-property_list_half-php .half_map_on_right.thc-map-collapsed #advanced_search_map_list .Invitados {
    grid-column: 18 / span 3;
    grid-row: 1;
  }

  /* Compactar un poco alturas */
  .page-template-property_list_half .half_map_on_right.thc-map-collapsed #advanced_search_map_list input.form-control,
  .page-template-property_list_half .half_map_on_right.thc-map-collapsed #advanced_search_map_list .wpestate_guest_no_control_info,
  .page-template-property_list_half .half_map_on_right.thc-map-collapsed #advanced_search_map_list .radius_compact_inner,
  .page-template-property_list_half-php .half_map_on_right.thc-map-collapsed #advanced_search_map_list input.form-control,
  .page-template-property_list_half-php .half_map_on_right.thc-map-collapsed #advanced_search_map_list .wpestate_guest_no_control_info,
  .page-template-property_list_half-php .half_map_on_right.thc-map-collapsed #advanced_search_map_list .radius_compact_inner {
    min-height: 48px;
	  overflow: hidden;
  }

  .page-template-property_list_half .half_map_on_right.thc-map-collapsed #advanced_search_map_list .label_radius,
  .page-template-property_list_half-php .half_map_on_right.thc-map-collapsed #advanced_search_map_list .label_radius {
    font-size: 13px;
  }
}

/* 3) Grid de alojamientos cuando está el listado completo */
.page-template-property_list_half .half_map_on_right.thc-map-collapsed #listing_ajax_container,
.page-template-property_list_half-php .half_map_on_right.thc-map-collapsed #listing_ajax_container {
  display: grid;
  gap: 22px;
  align-items: start;
}

.page-template-property_list_half .half_map_on_right.thc-map-collapsed #listing_ajax_container > .listing_wrapper,
.page-template-property_list_half-php .half_map_on_right.thc-map-collapsed #listing_ajax_container > .listing_wrapper {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 4 columnas */
@media (min-width: 1350px) {
  .page-template-property_list_half .half_map_on_right.thc-map-collapsed #listing_ajax_container,
  .page-template-property_list_half-php .half_map_on_right.thc-map-collapsed #listing_ajax_container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* 3 columnas */
@media (min-width: 1100px) and (max-width: 1349px) {
  .page-template-property_list_half .half_map_on_right.thc-map-collapsed #listing_ajax_container,
  .page-template-property_list_half-php .half_map_on_right.thc-map-collapsed #listing_ajax_container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 2 columnas */
@media (min-width: 768px) and (max-width: 1099px) {
  .page-template-property_list_half .half_map_on_right.thc-map-collapsed #listing_ajax_container,
  .page-template-property_list_half-php .half_map_on_right.thc-map-collapsed #listing_ajax_container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================
   FILA RESULTADOS + ORDENAR + VER MAPA
   ========================================================== */

@media (min-width: 768px) {
  .page-template-property_list_half .wprentals_adv_listing_filters_head.advanced_filters,
  .page-template-property_list_half-php .wprentals_adv_listing_filters_head.advanced_filters {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
    margin-bottom: 10px; /* espacio antes de los alojamientos */
  }

  .page-template-property_list_half .wprentals_adv_listing_filters_head .half_map_results,
  .page-template-property_list_half-php .wprentals_adv_listing_filters_head .half_map_results {
    flex: 1 1 auto;
    margin: 0;
    min-width: 0;
  }

  .page-template-property_list_half .wprentals_adv_listing_filters_head > .col-md-3,
  .page-template-property_list_half-php .wprentals_adv_listing_filters_head > .col-md-3 {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto;
    margin-left: auto;
    padding: 0 !important;
  }

  .page-template-property_list_half .thc-order-wrap,
  .page-template-property_list_half-php .thc-order-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
    margin-left: auto;
    max-width: 100%;
	  padding: 0 15px;
  }

  .page-template-property_list_half .thc-order-label,
  .page-template-property_list_half-php .thc-order-label {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .page-template-property_list_half .thc-order-wrap .listing_filter_select,
  .page-template-property_list_half-php .thc-order-wrap .listing_filter_select {
    flex: 0 0 128px;
    width: 128px;
    min-width: 128px;
    margin: 0;
  }

  .page-template-property_list_half .thc-map-toggle,
  .page-template-property_list_half-php .thc-map-toggle {
    flex: 0 0 auto;
    margin: 0;
  }
}

/* móvil */
@media (max-width: 767px) {
  .page-template-property_list_half .wprentals_adv_listing_filters_head.advanced_filters,
  .page-template-property_list_half-php .wprentals_adv_listing_filters_head.advanced_filters {
    margin-bottom: 22px;
  }
}

/* ==========================================================
   ORDENAR POR + VER MAPA
   ========================================================== */

@media (min-width: 768px) {
  .page-template-property_list_half .wprentals_adv_listing_filters_head.advanced_filters,
  .page-template-property_list_half-php .wprentals_adv_listing_filters_head.advanced_filters {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
    margin-bottom: 28px;
  }

  .page-template-property_list_half .wprentals_adv_listing_filters_head .half_map_results,
  .page-template-property_list_half-php .wprentals_adv_listing_filters_head .half_map_results {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
  }

  .page-template-property_list_half .wprentals_adv_listing_filters_head > .col-md-3,
  .page-template-property_list_half-php .wprentals_adv_listing_filters_head > .col-md-3 {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto;
    margin-left: auto;
    padding: 0 !important;
  }

  .page-template-property_list_half .thc-order-wrap,
  .page-template-property_list_half-php .thc-order-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: nowrap;
    margin-left: auto;
  }

  .page-template-property_list_half .thc-order-label,
  .page-template-property_list_half-php .thc-order-label {
    white-space: nowrap;
    font-size: 14px;
    line-height: 1;
    color: #6b5b54;
    flex: 0 0 auto;
  }

  /* Contenedor del select */
  .page-template-property_list_half .thc-order-wrap .listing_filter_select,
  .page-template-property_list_half-php .thc-order-wrap .listing_filter_select {
    flex: 0 0 120px;
    width: 120px;
    min-width: 120px;
    margin: 0;
  }

  /* Trigger del select */
  .page-template-property_list_half .thc-order-wrap #a_filter_order.filter_menu_trigger,
  .page-template-property_list_half-php .thc-order-wrap #a_filter_order.filter_menu_trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 10px;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid #ddd3cb;
    background: #fff;
    margin: 0;
  }

  /* Dropdown abierto */
  .page-template-property_list_half .thc-order-wrap #filter_order.filter_menu,
  .page-template-property_list_half-php .thc-order-wrap #filter_order.filter_menu {
    width: 100%;
    min-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    right: 0;
    left: auto;
  }

  /* Botón Ver mapa */
  .page-template-property_list_half .thc-map-toggle,
  .page-template-property_list_half-php .thc-map-toggle {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 10px;
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 auto;
  }
}
.listing_filter_select {
    background-color: #ffffff;
    color: #5D6475A6;
    margin-bottom: 0px;
    padding: 0;
    border: 0;
    border-radius: 0;
    max-height: 48px;
}
/* Móvil */
@media (max-width: 767px) {
  .page-template-property_list_half .thc-order-wrap,
  .page-template-property_list_half-php .thc-order-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .page-template-property_list_half .thc-order-wrap .listing_filter_select,
  .page-template-property_list_half-php .thc-order-wrap .listing_filter_select,
  .page-template-property_list_half .thc-map-toggle,
  .page-template-property_list_half-php .thc-map-toggle {
    width: 100%;
    min-width: 0;
  }
}

/* ==========================================================
   FILA: RESULTADOS + ORDENAR + VER MAPA
   ========================================================== */

.page-template-property_list_half .wprentals_adv_listing_filters_head.advanced_filters,
.page-template-property_list_half-php .wprentals_adv_listing_filters_head.advanced_filters {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  margin-bottom: 30px;
}

/* Contador izquierda */
.page-template-property_list_half .wprentals_adv_listing_filters_head .half_map_results,
.page-template-property_list_half-php .wprentals_adv_listing_filters_head .half_map_results {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

/* Contenedor derecho */
.page-template-property_list_half .wprentals_adv_listing_filters_head > .col-md-6,
.page-template-property_list_half-php .wprentals_adv_listing_filters_head > .col-md-6 {
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0 !important;
}

/* Grupo ordenar + botón */
.page-template-property_list_half .thc-order-wrap,
.page-template-property_list_half-php .thc-order-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: nowrap;
  margin-left: auto;
  max-width: 100%;
}

/* Label */
.page-template-property_list_half .thc-order-label,
.page-template-property_list_half-php .thc-order-label {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1;
  color: #6b5b54;
}

/* Contenedor del select */
.page-template-property_list_half .thc-order-wrap .listing_filter_select,
.page-template-property_list_half-php .thc-order-wrap .listing_filter_select {
  position: relative;
  flex: 0 0 clamp(220px, 24vw, 280px);
  width: clamp(220px, 24vw, 280px);
  min-width: 220px;
  margin: 0;
}

/* Trigger del select */
.page-template-property_list_half .thc-order-wrap #a_filter_order.filter_menu_trigger,
.page-template-property_list_half-php .thc-order-wrap #a_filter_order.filter_menu_trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #ddd3cb;
  border-radius: 10px;
  background: #fff;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

/* Texto interno del trigger */
.page-template-property_list_half .thc-order-wrap #a_filter_order.filter_menu_trigger .caret,
.page-template-property_list_half-php .thc-order-wrap #a_filter_order.filter_menu_trigger .caret {
  flex: 0 0 auto;
}

/* Dropdown abierto */
.page-template-property_list_half .thc-order-wrap #filter_order.filter_menu,
.page-template-property_list_half-php .thc-order-wrap #filter_order.filter_menu {
  min-width: 100%;
  width: 100%;
  max-width: 320px;
  border-radius: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 260px;
  left: 0;
  right: auto;
  padding: 5px;
}

/* Items del dropdown */
.page-template-property_list_half .thc-order-wrap #filter_order.filter_menu li,
.page-template-property_list_half-php .thc-order-wrap #filter_order.filter_menu li {
  white-space: normal;
  line-height: 1.25;
}

/* Botón Ver mapa */
.page-template-property_list_half .thc-map-toggle,
.page-template-property_list_half-php .thc-map-toggle {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  line-height: 1;
  white-space: nowrap;
  margin: 0;
}

/* ==========================================================
   TABLET
   ========================================================== */
@media (max-width: 1199px) and (min-width: 768px) {
  .page-template-property_list_half .wprentals_adv_listing_filters_head.advanced_filters,
  .page-template-property_list_half-php .wprentals_adv_listing_filters_head.advanced_filters {
    gap: 16px;
  }

  .page-template-property_list_half .thc-order-wrap,
  .page-template-property_list_half-php .thc-order-wrap {
    gap: 10px;
  }

  .page-template-property_list_half .thc-order-wrap .listing_filter_select,
  .page-template-property_list_half-php .thc-order-wrap .listing_filter_select {
    flex: 0 0 220px;
    width: 220px;
    min-width: 220px;
  }
}

/* ==========================================================
   MÓVIL
   ========================================================== */
@media (max-width: 767px) {
  .page-template-property_list_half .wprentals_adv_listing_filters_head.advanced_filters,
  .page-template-property_list_half-php .wprentals_adv_listing_filters_head.advanced_filters {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 22px;
  }

  .page-template-property_list_half .wprentals_adv_listing_filters_head > .col-md-6,
  .page-template-property_list_half-php .wprentals_adv_listing_filters_head > .col-md-6 {
    width: 100% !important;
    max-width: none !important;
    flex: none;
    margin-left: 0;
    padding: 0 !important;
  }

  .page-template-property_list_half .thc-order-wrap,
  .page-template-property_list_half-php .thc-order-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin-left: 0;
  }

  .page-template-property_list_half .thc-order-label,
  .page-template-property_list_half-php .thc-order-label {
    font-size: 13px;
  }

  .page-template-property_list_half .thc-order-wrap .listing_filter_select,
  .page-template-property_list_half-php .thc-order-wrap .listing_filter_select,
  .page-template-property_list_half .thc-map-toggle,
  .page-template-property_list_half-php .thc-map-toggle {
    width: 100%;
    min-width: 0;
  }

  .page-template-property_list_half .half_map_results,
  .page-template-property_list_half-php .half_map_results {
    order: 2;
  }
}
.caret:after {
    right: 5px;
    top: 15px;
}

/* ===== menu footer copyright ===== */
@media (max-width: 767px) {
body .sub_footer_content.wide_footer, body .header_wrapper.header_wide_yes{
     height: auto;
    padding: 10px;
    }
  .sub_footer_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 14px 16px;
  }

  .sub_footer_content .copyright {
    display: block;
    width: 100%;
    margin: 0;
    text-align: center;
    line-height: 1.4;
  }

  .sub_footer_content .subfooter_menu {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .sub_footer_content .subfooter_menu .menu-footer-menu-container {
    width: 100%;
  }

  .sub_footer_content .subfooter_menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .sub_footer_content .subfooter_menu li {
    margin: 0;
    float: none;
  }

  .sub_footer_content .subfooter_menu a {
    display: inline-block;
    text-align: center;
    line-height: 1.4;
  }
	body .wpestate_guest_no_buttons_labels {
    width: 50%;
    }
	body .wpestate_guest_no_buttons_steppers {
    width: 50%;
	}
	.wpestate_guest_no_buttons {
    padding: 15px 15px;
	}
}



/* ===== SUBMENÚ HEADER PRINCIPAL ===== */

#access .menu > li {
    position: relative;
}

#access .menu > li > ul.sub-menu {
    min-width: 220px;
    padding: 8px 0;
    margin: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

#access .menu > li > ul.sub-menu > li {
    margin: 0;
    padding: 0;
    width: 100%;
}

#access .menu > li > ul.sub-menu > li > a {
    display: block;
    padding: 10px 18px;
    margin: 0;
    font-size: 16px;      /* mismo tamaño que el principal */
    font-weight: 400;
    line-height: 1.35;
    color: #000;
    background: transparent;
    white-space: normal;
    text-transform: none;
    letter-spacing: 0;
    min-height: auto;
    height: auto;
}

#access .menu > li > ul.sub-menu > li > a:hover,
#access .menu > li > ul.sub-menu > li.current-menu-item > a {
    background: rgba(0,0,0,0.04);
    color: #000;
}
.wprentals_dashboard_page .dashboard-margin {
    height: auto !important;
    min-height: 0 !important;
}
body .property_unit_v3 .property_unit_action .icon-fav-on svg {
    fill: #f35d49;
}
#user_menu_open {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
}

#user_menu_open > a {
  min-height: 86px;
}
/* =========================================================
   TARJETAS UNIFICADAS — HOME + ALOJAMIENTOS
   Imagen, título, textos, rating y botón
   ========================================================= */

/* 1) Caja general de la tarjeta */
.property_listing {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 2) Imagen uniforme en todos los listados */
.property_listing .listing-unit-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  flex: 0 0 auto;
}

.property_listing .property_unit_carousel,
.property_listing .carousel,
.property_listing .carousel-inner,
.property_listing .carousel-inner .item,
.property_listing .carousel-inner .item > a {
  height: 100%;
  display: block;
}

.property_listing .listing-unit-img-wrapper img,
.property_listing .property_unit_carousel img,
.property_listing .carousel-inner .item img,
.property_listing img.img-responsive {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.property_listing .carousel-inner {
  position: relative;
  overflow: hidden;
}

.property_listing .carousel-inner > .item {
  display: none !important;
  height: 100%;
}

.property_listing .carousel-inner > .item.active,
.property_listing .carousel-inner > .item.next,
.property_listing .carousel-inner > .item.prev {
  display: block !important;
}

.property_listing .carousel-inner > .item > a,
.property_listing .carousel-inner > .item img {
  display: block;
  width: 100%;
  height: 100%;
}

.property_listing .carousel-inner > .item img {
  object-fit: cover;
}

/* 3) Zona de contenido */
.property_listing .title-container {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.property_listing .category_name {
  padding-top: 10px;
  margin: 0 0 6px;
}

.property_listing .category_name .listing_title_unit {
  display: block;
  margin: 0;
  font-size: 18px;
    padding-bottom: 5px;
  line-height: 1.35;
  font-weight: 500;
  color: #111;
  text-decoration: none;
}

.property_listing .category_name .listing_title_unit:hover {
  color: #111;
  text-decoration: none;
}

.property_listing .category_tagline,
.property_listing .category_tagline_actions_icon,
.property_listing .category_tagline.custom_details {
  font-size: 13px;
  line-height: 1.45;
  color: #6b6b6b;
}

/* 4) Fila CTA inferior */
.property_listing .thc-card-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.property_listing .thc-card-cta-row .property-rating {
  display: flex !important;
  align-items: center;
  gap: 4px;
  margin: 0;
  line-height: 1;
  flex-shrink: 0;
}

.property_listing .thc-card-cta-row .property-rating i {
  font-size: 10px;
  color: #f35d49;
}

.property_listing .thc-card-cta-row .rating_placeholder {
  display: none;
}

.property_listing .thc-card-cta-row .thc-card-view-btn {
  margin-left: auto;
}

/* 5) Botón Ver alojamiento */
.property_listing .thc-card-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #ddd3cb;
  border-radius: 8px;
  background: #fff;
  color: #6b5b54;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s ease;
}

.property_listing .thc-card-view-btn:hover {
  border-color: #c7b9ae;
  color: #111;
  text-decoration: none;
}

/* 6) Ajuste móvil */
@media (max-width: 767px) {
  .property_listing .category_name .listing_title_unit {
    font-size: 15px;
  }

  .property_listing .category_tagline,
  .property_listing .category_tagline_actions_icon,
  .property_listing .category_tagline.custom_details {
    font-size: 12px;
  }
}