/*
 Theme Name:   WpResidence child theme
 Theme URI:    https://themeforest.net/item/wp-residence-real-estate-wordpress-theme/7896392
 Description:   WpResidence child theme
 Author:       WpEstate
 Author URI:   http://wpestate.org
 Template:     wpresidence
 Version:      3.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Nunito+Sans:wght@300;400;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap");
.prueba{
	color:red;
}
.print-col-img img{
	margin-bottom: 0px !importan;
    width: 60%;
	height: 51%;
	float: left;
}
.printimg img {
	width: 100% !important;
	height: 17%;
	float: right;
/*	margin-top: -627px; */
  /*  margin-bottom: 606px !important; */
	
	}
.printimg {
    margin-bottom: 0px !important;
    display: flow-root;
}
.print_title {
    font-size: 25px;
    /*border-bottom: 1px solid #f0f0f0;*/
    padding-top: 35px !important;
    display: initial;
    margin-left: 30px;
    margin-bottom: 30px;
    padding-bottom: 50px;
}
.print-addr {
    margin-left: 40px;
    margin-bottom: 30px;
    display: initial;
}
.print-col-img {
    position: relative;
    margin-right: 20px;
    margin-top: 0px;
}
.print-content {
    width: calc(100% - 40px);
    line-height: 1.6em;
    border: 1px solid #f0f0f0;
    padding: 0px !important; 
    font-size: 14px;
    float: left;
	/* margin-top: -20px;*/

}
.print_qrcode {
    position: absolute;
    top: -91px !important;
    right: 32px;
    width: 110px!important;
    height: 110px!important;
}
.print_header {
    margin-top: 0px !important;
    width: 100%;
    /* background-color: #f0f0f0; */
    /* padding: 10px; */
    font-size: 16px;
    font-weight: 700;
    display: inline-block;
}
.print-col-img img {
    margin-bottom: 0px !important;
    width: 70%;
}

#accordion_prop_map {
display: none;
}
.single-estate_property #search_wrapper{
 display: none!important;
 }
.nav-next-wrapper {
display: none;
}

.nav-prev-wrapper {
display: none;
}
/* Letra de la web (Nunito Sans) en los elementos del tema; el tema 5.8 trae Roboto */
html:root{--wp-estate-card-unit-font-family:"Nunito Sans",sans-serif;--wp-estate-menu-font-family:"Nunito Sans",sans-serif;--wp-estate-paragraph-font-family:"Nunito Sans",sans-serif}
html body,html .ui-menu .ui-menu-item,html .ui-state-active,html .ui-widget-content .ui-state-active,html .ui-widget-header .ui-state-active,html .prop_pricex,html .infobox_details,html .listing-review .review-list-content .review-title,html .listing-review .review-list-content .property_ratings .ratings-star,html .listing-review .review-list-content .review-date,html .wpestate_tabs .ui-widget-content,html .wpestate_accordion_tab .ui-widget-content,html .property_slider_carousel_elementor_v3_price,html .property_slider_carousel_elementor_v3_title,html .listing_loader_title,html .wpestate_marker{font-family:"Nunito Sans",sans-serif}
html:root{--bs-body-font-family:"Nunito Sans",sans-serif;--wp-estate-h1-font-family:"Nunito Sans",sans-serif;--wp-estate-h2-font-family:"Nunito Sans",sans-serif;--wp-estate-h3-font-family:"Nunito Sans",sans-serif;--wp-estate-h4-font-family:"Nunito Sans",sans-serif;--wp-estate-h5-font-family:"Nunito Sans",sans-serif;--wp-estate-h6-font-family:"Nunito Sans",sans-serif}

/* Letra fija aunque se guarde el panel de opciones con tipografías por defecto */
html:root{--wp-estate-card-details-font-family-option:"Nunito Sans",sans-serif;--wp-estate-h1-font-family-option:"Nunito Sans",sans-serif;--wp-estate-h2-font-family-option:"Nunito Sans",sans-serif;--wp-estate-h3-font-family-option:"Nunito Sans",sans-serif;--wp-estate-h4-font-family-option:"Nunito Sans",sans-serif;--wp-estate-h5-font-family-option:"Nunito Sans",sans-serif;--wp-estate-h6-font-family-option:"Nunito Sans",sans-serif;--wp-estate-menu-font-family-option:"Nunito Sans",sans-serif;--wp-estate-paragraph-font-family-option:"Nunito Sans",sans-serif;}

/* ==========================================================================
   REDISEÑO 2026 v3 · marca nueva (logo «Honradez y experiencia»)
   Azul noche y oro del logo. Títulos en Playfair Display (clásica, como el logo),
   menús y botones en Manrope, texto en Nunito Sans.
   ========================================================================== */
html:root {
	--pm-noche: #0c1322;
	--pm-azul: #14223f;
	--pm-azul-2: #1e3361;
	--pm-oro: #c9a14a;
	--pm-oro-claro: #e2c271;
	--pm-oro-osc: #8a6820;
	--pm-crema: #f7f3ea;
	--pm-crema-2: #efe8d8;
	--pm-tinta: #131a2a;
	--pm-texto: #3a4152;
	--pm-suave: #646c7c;
	--pm-linea: #e6e0d2;
	--pm-radio: 16px;
	--pm-sombra: 0 1px 2px rgba(12, 19, 34, .06), 0 12px 32px rgba(12, 19, 34, .08);
	--pm-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--pm-ui: "Manrope", "Nunito Sans", system-ui, sans-serif;
	--wp-estate-main-color: #14223f;
	--wp-estate-active-menu-font-color: #e2c271;
	--wp-estate-top-menu-hover-font-color: #e2c271;
	--wp-estate-top-menu-hover-back-font-color: #e2c271;
	--wp-estate-menu-hover-back-color: #14223f;
}
/* Nada se sale por los lados (sin scroll lateral) */
html, body { overflow-x: clip !important; max-width: 100%; }

html body { color: var(--pm-texto); background: #fff; }
html body h1, html body h2, html body .elementor-heading-title, html body .heading_over_image, html body .entry-title, html body h1.entry-title {
	font-family: var(--pm-serif) !important; letter-spacing: -.01em; color: var(--pm-tinta);
}
html body h3, html body h4, html body h5, html body .property_listing h4, html body .title_prop {
	font-family: var(--pm-ui) !important; letter-spacing: -.01em;
}
html body a { transition: color .15s ease; }
html body a:hover { color: var(--pm-oro-osc); }
::selection { background: var(--pm-oro-claro); color: var(--pm-noche); }

/* ---------- Cabecera (azul noche, logo nuevo) ---------- */
html body .master_header, html body .master_header .header_wrapper, html body .header_wrapper,
html body .header_wrapper.header_type1, html body .header_wrapper_inside, html body .sticky_header, html body .master_header_sticky {
	background: var(--pm-noche) !important; border: 0 !important;
}
html body .master_header { box-shadow: 0 1px 0 rgba(201, 161, 74, .35) !important; }
html body .logo img, html body .header_wrapper .logo img, html body .mobile-logo img, html body .mobile_header .mobile-logo img {
	max-height: 60px !important; height: 60px !important; width: auto !important; max-width: 300px !important; object-fit: contain;
}
html body .wpresidence-navigation-menu .menu > li > a {
	font-family: var(--pm-ui) !important; font-weight: 600 !important; font-size: 15px !important;
	color: rgba(247, 243, 234, .9) !important; position: relative;
}
html body .wpresidence-navigation-menu .menu > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 26px; height: 2px; border-radius: 2px;
	background: var(--pm-oro); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
html body .wpresidence-navigation-menu .menu > li:hover > a::after,
html body .wpresidence-navigation-menu .menu > li.current-menu-item > a::after { transform: scaleX(1); }
html body .wpresidence-navigation-menu .menu > li.current-menu-item > a,
html body .wpresidence-navigation-menu .menu > li > a:hover { color: var(--pm-oro-claro) !important; }
html body .wpresidence-navigation-menu .sub-menu { background: var(--pm-noche) !important; border-top: 2px solid var(--pm-oro) !important; }
html body .wpresidence-navigation-menu .sub-menu a { color: rgba(247, 243, 234, .85) !important; }
html body .wpresidence-navigation-menu .sub-menu a:hover { color: var(--pm-oro-claro) !important; background: rgba(255, 255, 255, .04) !important; }
html body .header_phone {
	border: 1.5px solid var(--pm-oro); border-radius: 999px; padding: 8px 18px 8px 14px;
	display: inline-flex !important; align-items: center; gap: 8px; transition: background-color .15s ease;
}
html body .header_phone a { font-family: var(--pm-ui); font-weight: 800 !important; color: var(--pm-oro-claro) !important; font-size: 15px !important; }
html body .header_phone svg, html body .header_phone svg path { fill: var(--pm-oro) !important; color: var(--pm-oro) !important; width: 18px; height: 18px; }
html body .header_phone:hover { background: rgba(201, 161, 74, .12); }
/* Cabecera del móvil */
html body .mobile_header, html body .mobile_header_wrapper { background: var(--pm-noche) !important; border-bottom: 1px solid rgba(201, 161, 74, .35); }
html body .mobile_header .mobile-logo img { height: 46px !important; max-height: 46px !important; }
html body .mobile_header i, html body .mobile_header svg, html body .mobile-trigger, html body .mobile-trigger-user, html body .mobile_header a { color: var(--pm-crema) !important; fill: var(--pm-crema) !important; }

/* ---------- Gran foto de cabecera ---------- */
.heading_over_image_wrapper { padding: 0 24px; }
html body h1.heading_over_image {
	font-size: clamp(38px, 5vw, 68px) !important; font-weight: 600 !important; line-height: 1.06 !important;
	letter-spacing: -.01em !important; color: #fff !important; text-wrap: balance; max-width: 940px; margin: 0 auto;
	text-shadow: 0 2px 30px rgba(12, 19, 34, .35);
}
html body.home .heading_over_image_wrapper::before {
	content: "Honradez y experiencia · El Morche"; display: block; font-family: var(--pm-ui); font-weight: 700; font-size: 13px;
	letter-spacing: .22em; text-transform: uppercase; color: var(--pm-oro-claro); margin-bottom: 18px; text-align: center; text-shadow: 0 1px 12px rgba(0, 0, 0, .4);
}
.subheading_over_image {
	font-size: clamp(16px, 1.5vw, 20px) !important; font-weight: 500 !important; color: rgba(255, 255, 255, .92) !important;
	max-width: 680px; margin: 16px auto 0 !important; text-wrap: balance;
}

/* ---------- Buscador en tarjeta sobre la foto ---------- */
.search_wrapper_color { background: transparent !important; }
html body .search_wrapper.search_wr_6, html body .search_wrapper {
	max-width: 1180px; margin: -84px auto 0 !important; position: relative; z-index: 20;
	background: #fff; border-radius: 20px; box-shadow: 0 30px 70px rgba(12, 19, 34, .22);
	padding: 20px 26px 16px !important; border-top: 3px solid var(--pm-oro);
}
.adv_search_tab .nav-tabs { gap: 6px; border: 0 !important; justify-content: flex-start !important; margin-bottom: 14px; }
html body .adv_search_tab_item, html body .adv_search_tab_item:not(.active) {
	background: var(--pm-crema) !important; border: 1px solid var(--pm-linea) !important; color: var(--pm-texto) !important;
	border-radius: 999px !important; font-family: var(--pm-ui) !important; font-weight: 700 !important; font-size: 14px !important;
	padding: 8px 18px !important; margin: 0 !important; transition: background-color .15s ease, color .15s ease;
}
html body .adv_search_tab_item.active { background: var(--pm-azul) !important; border-color: var(--pm-azul) !important; color: #fff !important; }
.adv_search_tab_item.active::after, .adv_search_tab_item.active::before { display: none !important; }
.search_wrapper .form-control, .search_wrapper .dropdown-toggle, .search_wrapper .bootstrap-select > .btn {
	height: 48px !important; border-radius: 10px !important; border: 1px solid var(--pm-linea) !important; background: #fff !important;
	color: var(--pm-texto) !important; font-size: 15px !important; box-shadow: none !important;
}
html body .search_wrapper .wpresidence_button, html body .search_wrapper input[type=submit], html body .search_wrapper .advanced_search_submit_button {
	height: 48px !important; border-radius: 10px !important; background: var(--pm-oro) !important; border: 0 !important; color: var(--pm-noche) !important;
	font-family: var(--pm-ui) !important; font-weight: 800 !important; font-size: 15px !important; letter-spacing: 0 !important;
}
html body .search_wrapper .wpresidence_button:hover { background: var(--pm-oro-claro) !important; }
.search_wrapper .adv_extended_options_text, .search_wrapper .extended_search_check_wrapper a { font-weight: 700; color: var(--pm-oro-osc) !important; font-size: 13px; }
html body .search_wrapper .ui-slider-range, html body .ui-slider .ui-slider-range { background: var(--pm-oro) !important; }
html body .search_wrapper .ui-slider-handle { border-color: var(--pm-oro) !important; }
html body .search_wrapper .wpresidence_slider_price, html body .search_wrapper [id^=amount] { color: var(--pm-oro-osc) !important; }

/* ---------- Títulos de sección (Elementor) ---------- */
.home .elementor-top-section { background-color: transparent !important; }
.home .elementor-widget-heading .elementor-heading-title {
	color: var(--pm-tinta) !important; font-size: clamp(30px, 3.2vw, 42px) !important; font-weight: 600 !important; line-height: 1.15 !important;
}
.home .elementor-widget-heading + .elementor-widget-heading .elementor-heading-title {
	font-family: "Nunito Sans", sans-serif !important; font-size: 17px !important; font-weight: 400 !important;
	color: var(--pm-suave) !important; letter-spacing: 0; margin-top: 6px;
}

/* ---------- Tarjetas de inmueble ---------- */
html body .property_listing {
	border-radius: var(--pm-radio) !important; overflow: hidden; border: 1px solid var(--pm-linea) !important;
	box-shadow: var(--pm-sombra) !important; background: #fff !important; transition: transform .2s ease, box-shadow .2s ease;
}
html body .property_listing:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(12, 19, 34, .06), 0 20px 44px rgba(12, 19, 34, .14) !important; }
html body .property_listing h4 a { color: var(--pm-tinta) !important; font-weight: 700 !important; }
html body .listing_unit_price_wrapper, html body .listing_unit_price_wrapper .price_label { color: var(--pm-azul) !important; font-family: var(--pm-ui); font-weight: 800 !important; }
html body .property_listing .featured_div { background: var(--pm-oro) !important; color: var(--pm-noche) !important; border-radius: 999px !important; font-weight: 800; }
html body .property_listing .status-wrapper .action_tag_wrapper, html body .property_listing .ribbon-inside { border-radius: 999px !important; background: var(--pm-azul) !important; color: #fff !important; }

/* Botones del tema */
html body .wpresidence_button, html body .wpresidence_button_inverse, html body .agent_contanct_form input[type=submit], html body .comment-form #submit, html body .wpcf7-submit {
	border-radius: 10px !important; font-family: var(--pm-ui) !important; font-weight: 800 !important; letter-spacing: 0 !important;
}
html body .wpresidence_button:not(.wpresidence_button_inverse), html body .wpcf7-submit { background: var(--pm-azul) !important; border-color: var(--pm-azul) !important; color: #fff !important; }
html body .wpresidence_button:not(.wpresidence_button_inverse):hover, html body .wpcf7-submit:hover { background: var(--pm-noche) !important; }

/* ---------- Bloques de la portada ---------- */
/* Fondo a todo el ancho SIN ensanchar la página (sin scroll lateral) */
.pm-bloque, .pm-inmu-sec, .pm-testi-sec { --bg: #fff; background: var(--bg) !important; box-shadow: 0 0 0 100vmax var(--bg) !important; clip-path: inset(0 -100vmax) !important; }
.pm-bloque > .elementor-container { max-width: 1240px !important; padding: 0 24px; margin: 0 auto; }
.pm-bloque .elementor-widget-wrap, .pm-bloque .elementor-column-wrap { padding: 0 !important; }
.pm-sec-cab { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.pm-eyebrow {
	display: inline-block; font-family: var(--pm-ui); font-size: 13px; font-weight: 800; letter-spacing: .18em;
	text-transform: uppercase; color: var(--pm-oro-osc); margin-bottom: 14px;
}
.pm-eyebrow::before { content: ""; display: inline-block; width: 26px; height: 1.5px; background: currentColor; vertical-align: middle; margin: -3px 12px 0 0; }
html body .pm-sec-cab h2, html body .pm-bloque h2 { font-family: var(--pm-serif) !important; font-size: clamp(30px, 3.2vw, 44px); font-weight: 600; color: var(--pm-tinta); margin: 0 0 14px; line-height: 1.12; text-wrap: balance; }
.pm-sec-cab p { font-size: 17px; color: var(--pm-suave); margin: 0; line-height: 1.65; }

.pm-botones { display: flex; gap: 12px; flex-wrap: wrap; }
.pm-boton {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 12px;
	font-family: var(--pm-ui); font-weight: 800; font-size: 16px; text-decoration: none !important; border: 1.5px solid transparent;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.pm-boton:active { transform: scale(.98); }
.pm-boton svg { width: 19px; height: 19px; }
html body .pm-boton-oro { background: var(--pm-oro); color: var(--pm-noche) !important; }
html body .pm-boton-oro:hover { background: var(--pm-oro-claro); color: var(--pm-noche) !important; }
html body .pm-boton-linea { border-color: rgba(247, 243, 234, .4); color: #fff !important; }
html body .pm-boton-linea:hover { border-color: var(--pm-oro-claro); color: var(--pm-oro-claro) !important; }
html body .pm-boton-linea-osc { border-color: var(--pm-azul); color: var(--pm-azul) !important; }
html body .pm-boton-linea-osc:hover { background: var(--pm-azul); color: #fff !important; }

/* 1 · Servicios */
.pm-serv-sec { padding: 96px 0 40px !important; }
.pm-serv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
html body .pm-serv { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; color: #fff !important; isolation: isolate; box-shadow: var(--pm-sombra); }
html body .pm-serv img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; margin: 0 !important; transition: transform .6s ease; z-index: -1; }
.pm-serv:hover img { transform: scale(1.05); }
.pm-serv::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 19, 34, 0) 35%, rgba(12, 19, 34, .88)); }
.pm-serv-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: grid; gap: 4px; }
.pm-serv-txt b { font-family: var(--pm-serif); font-size: 27px; font-weight: 600; line-height: 1.1; }
.pm-serv-txt span { font-size: 15px; color: rgba(255, 255, 255, .82); }
.pm-serv-txt em { position: absolute; right: 22px; bottom: 24px; width: 42px; height: 42px; border-radius: 50%; background: var(--pm-oro); color: var(--pm-noche); display: grid; place-items: center; transition: transform .2s ease; }
.pm-serv-txt em svg { width: 20px; height: 20px; }
.pm-serv:hover .pm-serv-txt em { transform: translateX(4px); }
.pm-serv-txt b, .pm-serv-txt span { padding-right: 52px; }

/* 2 · Últimos inmuebles */
html body .pm-inmu-sec { padding: 56px 0 96px !important; }
.pm-inmu-vacio { display: none; max-width: 760px; margin: 8px auto 0; padding: 34px 36px; text-align: center; background: var(--pm-crema); border: 1px solid var(--pm-linea); border-radius: 20px; }
.pm-inmu-vacio p { font-size: 17px; line-height: 1.65; color: var(--pm-texto); margin: 0 0 20px; }
.pm-inmu-vacio .pm-botones { justify-content: center; }
.pm-inmu-sec:not(:has(.property_listing)) .pm-inmu-vacio { display: block; }
.pm-inmu-sec:not(:has(.property_listing)) .elementor-widget-WpResidenc_Items_Slider { display: none !important; }
.pm-inmu-mas { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
html body .pm-inmu-mas a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--pm-linea); font-family: var(--pm-ui); font-weight: 700; font-size: 15px; color: var(--pm-azul) !important; background: #fff; }
.pm-inmu-mas a svg { width: 17px; height: 17px; transition: transform .2s ease; }
html body .pm-inmu-mas a:hover { border-color: var(--pm-oro); color: var(--pm-oro-osc) !important; }
.pm-inmu-mas a:hover svg { transform: translateX(3px); }
.pm-inmu-sec .slick-dots li.slick-active button::before, .pm-inmu-sec .slick-dots li button::before { color: var(--pm-oro) !important; }

/* 3 · Marca */
html body .pm-marca-sec { --bg: var(--pm-noche); padding: 104px 0 !important; color: rgba(247, 243, 234, .8);
	background-image: radial-gradient(ellipse at 15% 50%, rgba(30, 51, 97, .55), transparent 60%) !important; }
.pm-marca { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: 72px; align-items: center; }
html body .pm-marca-logo img { width: 100% !important; height: auto !important; max-width: 400px; display: block; margin: 0 auto; }
.pm-marca-sec .pm-eyebrow { color: var(--pm-oro); }
html body .pm-marca-sec h2 { color: #fff !important; font-size: clamp(34px, 3.6vw, 50px); }
.pm-marca-intro { font-size: 18px; line-height: 1.7; margin: 0 0 34px; max-width: 640px; color: rgba(247, 243, 234, .82); }
.pm-marca-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.pm-marca-lista li { display: flex; gap: 16px; align-items: flex-start; }
.pm-marca-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(201, 161, 74, .45); color: var(--pm-oro-claro); display: grid; place-items: center; }
.pm-marca-ico svg { width: 24px; height: 24px; }
.pm-marca-lista b { display: block; font-family: var(--pm-ui); font-size: 17px; color: #fff; margin: 2px 0 4px; }
.pm-marca-lista p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(247, 243, 234, .7); }

/* 4 · Nuestra zona */
html body .pm-zona-sec { --bg: var(--pm-crema); padding: 104px 0 !important; }
.pm-zona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
html body .pm-zona-card { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; color: #fff !important; box-shadow: var(--pm-sombra); isolation: isolate; }
html body .pm-zona-card img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; margin: 0 !important; transition: transform .6s ease; }
.pm-zona-card:hover img { transform: scale(1.05); }
.pm-zona-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 26px 24px; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(180deg, transparent, rgba(12, 19, 34, .85)); }
.pm-zona-txt b { font-family: var(--pm-serif); font-size: 30px; font-weight: 600; }
.pm-zona-txt em { font-style: normal; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; color: var(--pm-oro-claro); }
.pm-zona-txt svg { width: 18px; height: 18px; transition: transform .2s ease; }
.pm-zona-card:hover .pm-zona-txt svg { transform: translateX(4px); }

/* 5 · Propietarios */
html body .pm-vender-sec { padding: 104px 0 !important; }
.pm-vender { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pm-vender-foto { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--pm-sombra); }
.pm-vender-foto::after { content: ""; position: absolute; inset: 14px; border: 1.5px solid rgba(226, 194, 113, .8); border-radius: 16px; pointer-events: none; }
html body .pm-vender-foto img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; margin: 0 !important; }
.pm-vender-txt > p { font-size: 17px; color: var(--pm-suave); line-height: 1.65; margin: 0 0 28px; }
.pm-pasos { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 22px; counter-reset: none; }
.pm-pasos li { display: flex; gap: 18px; align-items: flex-start; }
.pm-paso-n { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--pm-noche); color: var(--pm-oro-claro); display: grid; place-items: center; font-family: var(--pm-serif); font-size: 20px; font-weight: 600; }
.pm-pasos b { display: block; font-family: var(--pm-ui); font-size: 17px; color: var(--pm-tinta); margin: 2px 0 2px; }
.pm-pasos p { margin: 0; font-size: 15px; color: var(--pm-suave); line-height: 1.55; }
html body .pm-vender .pm-boton-linea { border-color: var(--pm-azul); color: var(--pm-azul) !important; }
html body .pm-vender .pm-boton-linea:hover { background: var(--pm-azul); color: #fff !important; }

/* 6 · Opiniones */
html body .pm-testi-sec { --bg: var(--pm-crema); padding: 96px 0 !important; }
.wpestate_testimonial_slider .item_testimonial_content { font-size: 17px; line-height: 1.7; color: var(--pm-texto); }
html body .pm-testi-sec .owl-item > div, html body .pm-testi-sec .item_testimonial_content { background: transparent !important; }
html body .pm-testi-sec .item_testimonial_text { font-family: var(--pm-serif); font-style: italic; font-size: 21px !important; line-height: 1.6 !important; color: var(--pm-tinta) !important; }
html body .pm-testi-sec .item_testimonial_name { font-family: var(--pm-ui); font-weight: 800; color: var(--pm-azul) !important; }
html body .pm-testi-sec .item_testimonial_stars, html body .pm-testi-sec .item_testimonial_stars i { color: var(--pm-oro) !important; }
html body .owl-theme .owl-dots .owl-dot.active span, html body .wpestate_testimonial_slider .owl-dot.active span { background: var(--pm-oro) !important; }

/* 7 · Visítanos */
html body .pm-visita-sec { --bg: var(--pm-noche); padding: 0 !important; }
.pm-visita { position: relative; padding: 110px 0; isolation: isolate; }
.pm-visita::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: linear-gradient(90deg, rgba(12, 19, 34, .94) 0%, rgba(12, 19, 34, .72) 50%, rgba(12, 19, 34, .25) 100%), var(--fondo) center / cover; }
.pm-visita-caja { max-width: 520px; color: rgba(247, 243, 234, .85); }
.pm-visita .pm-eyebrow { color: var(--pm-oro); }
html body .pm-visita h2 { color: #fff !important; }
.pm-visita-datos { list-style: none; padding: 0; margin: 8px 0 32px; display: grid; gap: 16px; }
.pm-visita-datos li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.5; }
.pm-visita-datos svg { flex: none; width: 22px; height: 22px; color: var(--pm-oro-claro); margin-top: 2px; }
html body .pm-visita-datos a { color: #fff !important; }
html body .pm-visita-datos a:hover { color: var(--pm-oro-claro) !important; }

/* ---------- Pie ---------- */
html body #colophon { background: var(--pm-noche) !important; border-top: 1px solid rgba(201, 161, 74, .3); }
#colophon.sticky_footer { position: relative !important; }
html body.home .main_wrapper, html body .main_wrapper { margin-bottom: 0 !important; }
#colophon .footer-widget-area { padding-top: 72px !important; padding-bottom: 44px !important; }
html body #colophon .widget-title-footer, html body #colophon .widget-title, html body #colophon h3 {
	font-family: var(--pm-ui) !important; color: var(--pm-oro-claro) !important; font-size: 14px !important; font-weight: 800 !important;
	letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px !important;
}
html body #colophon, html body #colophon p, html body #colophon li, html body #colophon .contact_sidebar_wrap { color: rgba(247, 243, 234, .72) !important; font-size: 15px; }
html body #colophon a { color: rgba(247, 243, 234, .82) !important; }
html body #colophon a:hover { color: var(--pm-oro-claro) !important; }
html body #colophon i, html body #colophon svg { color: var(--pm-oro) !important; fill: var(--pm-oro); }
.pm-pie-enlaces { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
html body #colophon .pm-pie-logo { width: 220px !important; max-width: 100%; height: auto !important; display: block; margin: -10px 0 14px; }
.pm-pie-redes { display: flex; gap: 10px; margin-top: 16px !important; }
html body #colophon .pm-pie-redes a { display: inline-block; padding: 7px 14px; border: 1px solid rgba(201, 161, 74, .45); border-radius: 999px; font-size: 13px; font-weight: 700; }
html body #colophon .pm-pie-redes a:hover { border-color: var(--pm-oro-claro); }
html body .sub_footer { background: #070b14 !important; border-top: 1px solid rgba(201, 161, 74, .18); }
html body .sub_footer .copyright, html body .sub_footer a { color: rgba(247, 243, 234, .55) !important; font-size: 14px; }

/* ---------- Páginas interiores ---------- */
html body .wpestate_header_image, html body .header_media { position: relative; }
html body .entry-title.title_prop, html body .single-estate_property h1 { color: var(--pm-tinta) !important; }
html body .price_area, html body .single-estate_property .price_area { color: var(--pm-azul) !important; font-family: var(--pm-ui); font-weight: 800; }
html body .breadcrumb a:hover, html body .property_categs a:hover { color: var(--pm-oro-osc) !important; }
html body .wpestate_property_description h4, html body .panel-title, html body .wpestate_tabs .ui-tabs-nav .ui-state-active a { color: var(--pm-tinta) !important; }
html body .listing_filters_head, html body .listing_filter_select .dropdown-toggle { border-radius: 10px !important; }
html body .pagination > .active > a, html body .pagination > .active > span, html body .pagination > li > a:hover { background: var(--pm-azul) !important; border-color: var(--pm-azul) !important; color: #fff !important; }
/* Página de créditos */
.pm-creditos { padding-left: 1.2em; } .pm-creditos li { margin-bottom: 8px; line-height: 1.55; }
/* Sin hueco blanco antes del pie y sin buscador vacío */
html body .wpresidence_main_wrapper_class { min-height: 0 !important; margin-bottom: 0 !important; }
html body .search_wrapper:empty, html body .search_wrapper.page_without_search:not(:has(*)) { display: none !important; }

/* ---------- Tableta y móvil ---------- */
@media (max-width: 1100px) {
	.pm-serv-grid { grid-template-columns: 1fr 1fr; }
	.pm-serv { aspect-ratio: 4 / 3.4; }
	.pm-marca { grid-template-columns: 1fr; gap: 40px; text-align: left; }
	.pm-marca-logo img { max-width: 300px !important; }
	.pm-vender { grid-template-columns: 1fr; gap: 40px; }
	.pm-vender-foto { aspect-ratio: 16 / 10; }
	.pm-zona-grid { grid-template-columns: 1fr; }
	html body .pm-zona-card { aspect-ratio: 16 / 10; }
	html body .search_wrapper.search_wr_6, html body .search_wrapper { margin: -56px 16px 0 !important; padding: 16px !important; }
}
@media (max-width: 680px) {
	.pm-serv-sec { padding: 64px 0 24px !important; }
	.pm-serv-grid { grid-template-columns: 1fr; gap: 16px; }
	html body .pm-serv { aspect-ratio: 16 / 10; }
	html body .pm-marca-sec, html body .pm-zona-sec, html body .pm-vender-sec, html body .pm-testi-sec { padding: 72px 0 !important; }
	.pm-marca-lista { grid-template-columns: 1fr; }
	.pm-visita { padding: 72px 0; }
	.pm-visita::before { background: linear-gradient(180deg, rgba(12, 19, 34, .9), rgba(12, 19, 34, .8)), var(--fondo) center / cover; }
	.pm-boton { width: 100%; }
	.pm-bloque > .elementor-container { padding: 0 18px; }
	html body.home .heading_over_image_wrapper::before { font-size: 11px; letter-spacing: .16em; }
}
@media (prefers-reduced-motion: reduce) {
	.pm-zona-card img, .pm-serv img, .property_listing, .pm-zona-txt svg, .pm-serv-txt em, .wpresidence-navigation-menu .menu > li > a::after { transition: none !important; }
	.property_listing:hover, .pm-serv:hover img, .pm-zona-card:hover img { transform: none !important; }
}

/* Fondo de los bloques: gana a la regla general de secciones de la portada */
html body .elementor-top-section.pm-bloque, html body .elementor-top-section.pm-inmu-sec, html body .elementor-top-section.pm-testi-sec { background-color: var(--bg) !important; }
html body .elementor-top-section.pm-marca-sec { background-image: radial-gradient(ellipse at 15% 50%, rgba(30, 51, 97, .55), transparent 60%) !important; }
/* Opiniones: avatar pequeño y redondo, texto centrado en tarjeta */
.wpestate_testimonial_slider .item_testimonal_image { width: 72px !important; height: 72px !important; min-height: 0 !important; border-radius: 50%; background-size: cover !important; background-position: center; margin: 0 auto 16px !important; float: none !important; display: block; order: -1; border: 2px solid var(--pm-oro); }
.wpestate_testimonial_slider .item_testimonial_content { width: 100% !important; height: auto !important; min-height: 0 !important; text-align: center; float: none !important; padding: 0 !important; }
.wpestate_testimonial_slider .owl-item > div, .wpestate_testimonial_slider *:has(> .item_testimonal_image) { display: flex !important; flex-direction: column; align-items: center; }
html body .pm-testi-sec .owl-item .item { background: #fff !important; border: 1px solid var(--pm-linea); border-radius: 20px; padding: 36px 34px !important; box-shadow: var(--pm-sombra); margin: 10px; }
/* Título sobre la foto en las páginas de operación y localidad */
html body .header_media h1.entry-title, html body .listing_main_image h1.entry-tax { color: #fff !important; font-weight: 600 !important; font-size: clamp(36px, 4.4vw, 60px) !important; text-shadow: 0 2px 24px rgba(12, 19, 34, .35); }
html body .listing_main_image .category_tagline, html body .header_media .category_tagline { color: rgba(255, 255, 255, .92) !important; }
/* Logo de la empresa en Contacto */
html body .contact-comapany-logo { max-height: 90px !important; width: auto !important; }

/* Bloque «Honradez y experiencia»: foto de Paco en la oficina */
.pm-marca { grid-template-columns: minmax(300px, 440px) 1fr !important; }
.pm-marca-foto { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 22px; overflow: visible; }
html body .pm-marca-foto > img:first-child { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; object-position: 50% 22% !important; border-radius: 22px; margin: 0 !important; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.pm-marca-foto::after { content: ""; position: absolute; inset: 14px; border: 1.5px solid rgba(226, 194, 113, .85); border-radius: 14px; pointer-events: none; }
html body .pm-marca-sello { position: absolute !important; top: -26px; right: -26px; width: 96px !important; height: 96px !important; border-radius: 22px; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); border: 2px solid var(--pm-oro); z-index: 2; }
.pm-marca-foto figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 46px 22px 18px; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, transparent, rgba(12, 19, 34, .9)); display: grid; gap: 2px; }
.pm-marca-foto figcaption b { font-family: var(--pm-serif); font-size: 24px; font-weight: 600; color: #fff; }
.pm-marca-foto figcaption span { font-size: 14px; color: var(--pm-oro-claro); font-weight: 600; }
@media (max-width: 1100px) { .pm-marca { grid-template-columns: 1fr !important; } .pm-marca-foto { max-width: 420px; width: 100%; } }
@media (max-width: 680px) { html body .pm-marca-sello { width: 72px !important; height: 72px !important; top: -18px; right: -10px; } }

/* ---------- Ficha del inmueble: más ancha, fotos protagonistas, contacto fijo a la derecha ---------- */
html body.single-estate_property .content_wrapper.container, html body.single-estate_property .container.content_wrapper,
html body.single-estate_property .wpresidence-content-container-wrapper { max-width: 1360px !important; }
html body.single-estate_property .wpresidence-content-container-wrapper { margin-left: auto; margin-right: auto; }
/* Galería de cabecera: pequeños huecos y esquinas suaves */
html body.single-estate_property .gallery_wrapper .img_listings_overlay, html body.single-estate_property .gallery_wrapper .property_media_item,
html body.single-estate_property .gallery_wrapper div[style*=background-image] { border-radius: 10px; overflow: hidden; }
html body.single-estate_property .img_listings_mes, html body.single-estate_property .gallery_wrapper .img_listings_overlay_last span {
	font-family: var(--pm-ui); font-weight: 800; font-size: 17px; background: rgba(12, 19, 34, .55); padding: 12px 22px; border-radius: 999px; border: 1px solid var(--pm-oro-claro); color: #fff;
}
/* Título y precio */
html body.single-estate_property .wpresidence_property_page_title_area { padding-top: 34px !important; padding-bottom: 10px !important; }
html body.single-estate_property h1.entry-title { font-size: clamp(28px, 2.6vw, 40px) !important; font-weight: 600 !important; line-height: 1.15 !important; text-transform: none; }
html body.single-estate_property .price_area { font-size: clamp(26px, 2.4vw, 36px) !important; }
html body.single-estate_property .property_categs a, html body.single-estate_property .action_tag_wrapper, html body.single-estate_property .ribbon-inside { border-radius: 999px !important; background: var(--pm-azul) !important; color: #fff !important; padding: 4px 12px !important; }
/* Bloques del contenido como tarjetas limpias */
html body.single-estate_property .property-panel { background: #fff !important; border: 1px solid var(--pm-linea) !important; border-radius: 18px !important; box-shadow: none !important; margin-bottom: 18px !important; }
html body.single-estate_property .property-panel:not(.accordion) { padding: 26px 30px !important; }
html body.single-estate_property .property-panel h4, html body.single-estate_property .property-panel .panel-title, html body.single-estate_property .property-panel .accordion-button {
	font-family: var(--pm-serif) !important; font-size: 23px !important; font-weight: 600 !important; color: var(--pm-tinta) !important; background: none !important; box-shadow: none !important; }
html body.single-estate_property .wpestate_property_description p { font-size: 16.5px; line-height: 1.75; color: var(--pm-texto); }
html body.single-estate_property .listing_detail strong, html body.single-estate_property .listing_detail { font-size: 15px; }
html body.single-estate_property .listing_detail span, html body.single-estate_property .listing_detail a { color: var(--pm-tinta) !important; font-weight: 600; }
html body.single-estate_property .single-overview-section i, html body.single-estate_property .single-overview-section svg, html body.single-estate_property .feature_chapter_name + * i { color: var(--pm-oro-osc) !important; }
html body.single-estate_property .property-panel .listing_detail svg, html body.single-estate_property .property-panel .features_listing_wrapper svg { color: var(--pm-oro) !important; fill: var(--pm-oro); }
/* La visita y el contacto ya están en la columna derecha: no repetirlos abajo */
html body.single-estate_property .wpestate_column_content #accordion_property_schedule_tour,
html body.single-estate_property .wpestate_column_content #wpestate_single_agent_details_wrapper { display: none !important; }
/* Columna derecha: tarjeta de contacto fija */
html body.single-estate_property #primary { position: sticky; top: 24px; align-self: flex-start; }
html body.single-estate_property #wpestate_sidebar_property_contact_tabs { background: #fff; border: 1px solid var(--pm-linea); border-radius: 20px; box-shadow: 0 18px 44px rgba(12, 19, 34, .10); padding: 18px; border-top: 3px solid var(--pm-oro); }
html body.single-estate_property #wpestate_sidebar_property_contact_tabs .nav-tabs { border: 0 !important; gap: 6px; background: var(--pm-crema); padding: 4px; border-radius: 12px; margin-bottom: 16px; flex-wrap: nowrap; }
html body.single-estate_property #wpestate_sidebar_property_contact_tabs .nav-link { border: 0 !important; border-radius: 9px !important; font-family: var(--pm-ui); font-weight: 700; font-size: 14px; color: var(--pm-suave) !important; padding: 9px 10px; width: 100%; background: transparent; }
html body.single-estate_property #wpestate_sidebar_property_contact_tabs .nav-item { flex: 1; }
html body.single-estate_property #wpestate_sidebar_property_contact_tabs .nav-link.active { background: #fff !important; color: var(--pm-tinta) !important; box-shadow: 0 1px 3px rgba(12, 19, 34, .12); }
html body.single-estate_property .agent_unit_widget_sidebar { width: 64px !important; height: 64px !important; min-height: 0 !important; border-radius: 50% !important; background-size: cover !important; background-position: 50% 50% !important; border: 2px solid var(--pm-oro); flex: none; }
html body.single-estate_property .agent_unit_widget_sidebar_wrapper_unit { display: flex !important; gap: 14px; align-items: center; margin-bottom: 14px; }
html body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4 a { font-family: var(--pm-serif); font-size: 20px; color: var(--pm-tinta) !important; }
html body.single-estate_property #primary .form-control, html body.single-estate_property #primary textarea, html body.single-estate_property #primary input[type=text], html body.single-estate_property #primary input[type=email] { border-radius: 10px !important; border: 1px solid var(--pm-linea) !important; }
html body.single-estate_property #primary .wpresidence_button, html body.single-estate_property #primary .agent_submit_class { width: 100%; height: 50px; }
@media (max-width: 991px) { html body.single-estate_property #primary { position: static; margin-top: 10px; } }
html body.single-estate_property .container, html body.single-estate_property .content_wrapper { max-width: 1360px !important; }
html body.single-estate_property h1.entry-title, html body.single-estate_property h1.entry-title.title_prop { text-transform: none !important; }
html body .property_listing h4, html body .property_listing h4 a { text-transform: none !important; }
/* Foto del agente: que se vea la cara entera en todos los tamaños */

html body .agentpict, html body .agent-listing-img-wrapper img, html body .agent_unit img, html body .agentpic-wrapper img, html body .agent_listing img { object-fit: cover !important; object-position: 50% 25% !important; }
html body .agentpic-wrapper .agentpict[style*=background], html body .agent-listing-img-wrapper[style*=background], html body .agent_unit_image[style*=background] { background-position: 50% 25% !important; }

/* Opiniones con el diseño nuevo (sustituye al carrusel del tema) */
.pm-op-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pm-op { position: relative; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; background: #fff; border: 1px solid var(--pm-linea); border-radius: 20px; padding: 40px 32px 28px; box-shadow: var(--pm-sombra); transition: transform .2s ease, box-shadow .2s ease; }
.pm-op:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(12, 19, 34, .06), 0 20px 44px rgba(12, 19, 34, .12); }
.pm-op-comillas { position: absolute; top: 6px; left: 26px; font-family: var(--pm-serif); font-size: 96px; line-height: 1; color: var(--pm-oro); opacity: .9; }
.pm-op blockquote { margin: 18px 0 0; padding: 0; border: 0; font-family: var(--pm-serif); font-style: italic; font-size: 19px; line-height: 1.6; color: var(--pm-tinta); }
.pm-op figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--pm-linea); }
.pm-op-ini { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--pm-noche); color: var(--pm-oro-claro); display: grid; place-items: center; font-family: var(--pm-ui); font-weight: 800; font-size: 16px; letter-spacing: .04em; }
.pm-op figcaption b { display: block; font-family: var(--pm-ui); font-size: 16px; color: var(--pm-tinta); }
.pm-op figcaption em { font-style: normal; font-size: 14px; color: var(--pm-oro-osc); font-weight: 600; }
@media (max-width: 1100px) { .pm-op-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .pm-op { transition: none; } .pm-op:hover { transform: none; } }
/* Sin aviso de «inicia sesión para guardar la búsqueda» (el registro de usuarios está cerrado) */
html body .wpestate_message:has(#login_trigger_modal) { display: none !important; }
/* Título de cabecera: que no lo tape el buscador */
html body .wpestate_header_image .heading_over_image_wrapper, html body .listing_main_image .heading_over_image_wrapper { translate: 0 -36px; }
html body.home .wpestate_header_image .heading_over_image_wrapper { translate: 0 -20px; }
