/* =========================================================
   NOU HABITAT – CSS PRINCIPAL
========================================================= */

a {
	text-decoration: none !important;
}

.quantity {
	display: none !important;
}

.sub-menu {
	max-width: 60px !important;
	padding: 20px !important;
	border-radius: 7px;
}

.nv-icon.nv-cart {
	content: url(https://www.nouhabitat.com/wp-content/uploads/2025/12/icons8-heart-100.png) !important;
	zoom: 20%;
	margin-left: 10px !important;
	margin-right: -10px !important;
}

.cart-icon-wrapper::before {
	content: "Mi lista ";
	margin-right: 0;
	font-size: 7px !important;
	margin-left: 30px !important;
	font-weight: 500;
}

.shadowed {
	text-shadow: 1px 2px 5px #00000070;
}

.footer-bottom p {
	display: none !important;
}

.nv-title-tagline-wrap {
	line-height: 0.3em !important;
}

.nv-title-tagline-wrap .site-title {
	font-weight: 700 !important;
}

.nv-title-tagline-wrap small {
	font-size: 8px !important;
	color: black;
}

.nv-meta-list {
	display: none !important;
}

.Hero {
	margin-top: -100px !important;
}

.element-is-sticky .nv-nav-cart img {
	filter: none !important;
}

.element-is-sticky .nv-nav-cart {
	background-color: white !important;
}

.element-is-sticky .nv-nav-cart * {
	color: black !important;
}

#menu-legal-menu * {
	display: inline !important;
	float: left !important;
	clear: none !important;
	padding-right: 20px;
	margin: 0 !important;
	font-size: 11px;
	text-transform: uppercase;
}

.UP-post-grid .o-posts-grid-post {
	border: 0 !important;
	border-right: 1px solid !important;
}

.UP-post-grid {
	border: 1px solid !important;
}

.Interaction {
	transition: all .6s ease !important;
	background-size: 300% !important;
}

.Interaction:hover {
	background-size: 400% !important;
}

.page .nv-post-cover {
	margin-top: -100px !important;
}

.nv-post-cover {
	margin-top: -80px !important;
	min-height: 80vh !important;
}

.Top-SL {
	margin-top: -80px !important;
}

.spec-row {
	max-width: 320px;
	margin: auto;
	padding: 0 !important;
	margin: 0 !important;
	height: 20px !important;
}

.spec-row *,
.contact-box-row * {
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1.6em !important;
}

.add_to_cart_button {
	display: none !important;
}

.Hero-Box {
	margin-top: -80px !important;
	z-index: 0 !important;
}

.Cat-Menu img {
	height: 190px !important;
	object-fit: cover !important;
}

/* =========================================
   NH SEARCH – UNA SOLA FILA, SIN SCROLL,
   CAMPOS FLUIDOS QUE SE AJUSTAN AL ANCHO
========================================= */

.nh-search2 {
	width: 100%;
	margin: 20px 0 30px;
}

.nh-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.nh-col {
	flex: 1 1 0;
}

.nh-col-btn {
	flex: 0 0 auto;
}

.nh-select {
	width: 100%;
	padding: 10px 12px;
	border-radius: 6px;
	border: 1px solid #ccc;
	font-size: 15px;
	background: #fff;
	box-sizing: border-box;
}

.nh-btn {
	padding: 12px 26px;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
	white-space: nowrap;
}

/* PRECIOS NATIVOS DEL LOOP */
.woocommerce ul.products li.product .price,
ul.products li.product .woocommerce-Price-amount,
ul.products li.product .product-price,
.elementor-widget-woocommerce-products .price {
	font-size: 15px !important;
}

/* Nou Habitat - ocultar precio duplicado del loop nativo */
.products li.product > .nv-card-content-wrapper > a.woocommerce-LoopProduct-link .price {
	display: none !important;
}

.woocommerce-message {
	display: none;
}

.sp-product-image img {
	object-fit: cover !important;
	height: 50vh !important;
	min-height: 300px;
	margin-bottom: -20px !important;
}

.nhcp-card-body {
	max-height: 240px !important;
}

.nhcp-card-body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.nhcp-icons-row {
	margin-top: auto;
	padding-top: 20px;
}

/* =========================================
   NOU HABITAT – FIX ESPACIADO CARD LOOP
========================================= */

.nhcp-card-body > a.woocommerce-LoopProduct-link.woocommerce-loop-product__link:empty {
	display: none !important;
}

.products li.product .nv-card-content-wrapper > a.woocommerce-LoopProduct-link {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
}

.products li.product .nv-card-content-wrapper {
	display: flex !important;
	flex-direction: column !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
}

.sp-product-image,
.sp-product-image .img-wrap {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;
}

.sp-product-image img {
	display: block !important;
	width: 100% !important;
	height: 180px !important;
	object-fit: cover !important;
	margin: 0 !important;
}

.products li.product > .nv-card-content-wrapper > a.woocommerce-LoopProduct-link .price {
	display: none !important;
}

.products li.product > .nv-card-content-wrapper > a.woocommerce-LoopProduct-link .woocommerce-loop-product__title {
	display: none !important;
}

.nhcp-card-body {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 8px !important;
	padding: 18px 18px 16px 18px !important;
	margin: 0 !important;
	height: auto !important;
	min-height: 230px !important;
}

.nhcp-card-body > a {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.2 !important;
}

.nhcp-title {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.12 !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.3em;
}

.nhcp-location {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.2 !important;
	opacity: 0.85;
}

.nhcp-price {
	display: block !important;
	margin: 4px 0 2px 0 !important;
	padding: 0 !important;
	line-height: 1.15 !important;
}

.nhcp-price * {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.15 !important;
}

.nhcp-icons-row {
	display: flex !important;
	align-items: flex-end !important;
	gap: 18px !important;
	flex-wrap: wrap !important;
	margin: 8px 0 0 0 !important;
	padding: 0 !important;
}

.nhcp-ico-box {
	margin: 0 !important;
	padding: 0 !important;
}

.nhcp-ico-box img {
	display: block;
	margin: 0 auto 4px auto !important;
}

.nhcp-heart {
	margin: 10px 0 0 0 !important;
	padding: 0 !important;
	align-self: flex-end !important;
}

.products li.product .nv-card-content-wrapper > *:last-child {
	margin-bottom: 0 !important;
}

.onsale,
.woocommerce-mini-cart__total {
	display: none !important;
}

.woocommerce-mini-cart-item,
.wc-forward {
	line-height: 1em !important;
	font-size: 11px !important;
}

.product-subtotal,
.product-quantity {
	display: none !important;
}

.elementor-field-type-acceptance label {
	display: none;
}

.spec-img {
	border-bottom: 10px solid var(--nv-primary-accent) !important;
	box-shadow: 1px 1px 10px silver;
}

.tinted {
	filter: brightness(0) invert(1) contrast(1.1);
}

form *{line-height:0.8em;}

.Disclaimer,.elementor-field-option *{font-size:11px!important;}

.nh-new-construction{
    display:none!important;
}

.nh-search-summary{
	margin:0 0 24px;
	padding:16px 22px;
	background:#f5f5f5;
	border-radius:12px;
	font-size:15px;
	line-height:1.5;
}

.woocommerce-result-count{display:none!important;}

/* =========================================================
   NOU HABITAT – BG ZOOM SIMPLE
========================================================= */

.Obra-Cards-Container .obra-card__preview{
	background-size:400%!important;
	background-position:center center!important;
	background-repeat:no-repeat!important;

	transition:background-size .8s cubic-bezier(.22,.61,.36,1)!important;
}

.Obra-Cards-Container .obra-card:hover .obra-card__preview{
	background-size:500%!important;
}

.nh-table2 tbody tr{
	transition:background .2s ease,border-color .2s ease;
}

.nh-table2 tbody tr:hover{
	background:rgba(31,172,187,.06);
	box-shadow:inset 3px 0 0 #1FACBB;
}

/* =========================================================
   NOU HABITAT - ENERGY LABEL COMPACT
========================================================= */

.nh-energy-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:10px;
    padding:12px;
}

.nh-energy-title{
    margin:0 0 12px;
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px;
    line-height:1.2;
}

.nh-energy-block{
    margin-bottom:14px;
}

.nh-energy-block:last-child{
    margin-bottom:0;
}

.nh-energy-subtitle{
    font-size:11px;
    font-weight:600;
    margin-bottom:6px;
    opacity:.75;
}

/* =========================================================
   ROWS
========================================================= */

.nh-energy-row{
    display:flex;
    align-items:center;

    height:22px;
    margin-bottom:2px;

    padding:0 8px;

    color:#fff;
    font-weight:700;

    clip-path:polygon(
        0 0,
        88% 0,
        100% 50%,
        88% 100%,
        0 100%
    );

    opacity:.22;

    transition:all .25s ease;
}

.nh-energy-row.active{
    opacity:1;
    box-shadow:0 3px 8px rgba(0,0,0,.10);
}

.nh-energy-letter{
    width:16px;
    font-size:11px;
    line-height:1;
}

.nh-energy-value{
    margin-left:auto;

    background:transparent;
    color:#222;

    border:none;

    padding:0;
    padding-right:10px;

    font-size:8px;
    font-weight:700;

    white-space:nowrap;
}

/* =========================================================
   VALUE OUTSIDE BAR
========================================================= */

.nh-energy-row-wrap{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:2px;
}

.nh-energy-value{
    min-width:34px;
    font-size:10px;
    font-weight:700;
    color:#222;
    line-height:1;
}

.nh-energy-big-value{
    font-size:13px;
    font-weight:700;
    margin-bottom:8px;
    color:#222;
}

/* =========================================================
   ENERGY COLORS
========================================================= */

.nh-energy-a{
    width:36%;
    background:#008a3d;
}

.nh-energy-b{
    width:42%;
    background:#39a949;
}

.nh-energy-c{
    width:48%;
    background:#82c341;
}

.nh-energy-d{
    width:54%;
    background:#d4d52e;
    color:#222;
}

.nh-energy-e{
    width:60%;
    background:#f3b233;
}

.nh-energy-f{
    width:66%;
    background:#ef7f1a;
}

.nh-energy-g{
    width:72%;
    background:#d33a2c;
}