/**
 * Griferia de bano (product_cat 72). Plantilla: inc/category-griferia-bano.php.
 * El tema carga este archivo por termino y, por ser la 72 hija de la 71, tambien
 * category-71.css (hero, sellos, tarjetas, tabla, pasos): aqui solo lo propio.
 * OJO: las hijas directas de la 72 cargan este archivo como «CSS del padre»
 * (inc/cache-and-css.php): TODO selector va con .term-72 para no tocarlas.
 * Paleta corporativa: turquesa #4dd2d0 · petroleo #1a6c7a · verde #102e35.
 */

/* --- Hero: foto de ambiente, velo algo mas ligero que en la madre ------------ */
.tax-product_cat.term-72 .grf-bano-hero.hero-section-container { background-position: center 45%; }
.tax-product_cat.term-72 .grf-bano-hero.hero-section-container::after { background-color: rgba(16, 46, 53, .55); }
/* Original cuadrado 2000x2000 con margen blanco (contenido en el 82 % del ancho y el 60 % del alto):
   se amplia hasta que el margen queda fuera. Desaparece cuando la fase 3 sube el recorte. */
.tax-product_cat.term-72 .grf-bano-hero.grf-bano-hero-sq.hero-section-container { background-size: 124% auto; background-position: center 50%; background-color: #3a3a36; }
@media (max-aspect-ratio: 3/2) {
	.tax-product_cat.term-72 .grf-bano-hero.grf-bano-hero-sq.hero-section-container { background-size: auto 170%; background-position: 30% 50%; }
}

/* --- Tarjetas por punto de agua (5 en fila) -------------------------------- */
.tax-product_cat.term-72 .grf-bano-tiles { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 300px; gap: 14px; }
.tax-product_cat.term-72 .grf-bano-mas { margin: 18px 0 0; font-size: 15px; color: #3f6f7b; line-height: 1.8; }
.tax-product_cat.term-72 .grf-bano-mas a { color: #1a6c7a; font-weight: 600; }
.tax-product_cat.term-72 .grf-bano-mas small { color: #5b6b70; }

/* --- Series a juego -------------------------------------------------------- */
.tax-product_cat.term-72 .grf-bano-series { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tax-product_cat.term-72 .grf-bano-serie {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #dfe8ea;
	border-radius: 16px;
	overflow: hidden;
	color: #102e35;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tax-product_cat.term-72 .grf-bano-serie:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(16, 46, 53, .12); border-color: #4dd2d0; }
.tax-product_cat.term-72 .grf-bano-serie-img { display: block; height: 170px; background: #f6f9fa; }
.tax-product_cat.term-72 .grf-bano-serie-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; }
.tax-product_cat.term-72 .grf-bano-serie-txt { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.tax-product_cat.term-72 .grf-bano-serie-txt strong { font-size: 21px; color: #1a6c7a; margin-bottom: 6px; }
.tax-product_cat.term-72 .grf-bano-puntos { list-style: none; margin: 0 0 10px; padding: 0; font-size: 14px; }
.tax-product_cat.term-72 .grf-bano-puntos li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px dashed #e3eced; }
.tax-product_cat.term-72 .grf-bano-puntos li::before { content: '\2713'; color: #1a6c7a; font-weight: 700; margin-right: 6px; }
.tax-product_cat.term-72 .grf-bano-puntos li.no { color: #8a979b; }
.tax-product_cat.term-72 .grf-bano-puntos li.no::before { content: '\2013'; color: #b5bfc2; }
.tax-product_cat.term-72 .grf-bano-puntos li small { margin-left: auto; color: #5b6b70; white-space: nowrap; }
.tax-product_cat.term-72 .grf-bano-juego { display: block; background: #e3f7f7; border-radius: 10px; padding: 9px 11px; font-size: 14px; margin-top: auto; }
.tax-product_cat.term-72 .grf-bano-juego b { font-size: 18px; color: #102e35; }
.tax-product_cat.term-72 .grf-bano-juego small { display: block; color: #3f6f7b; }
.tax-product_cat.term-72 .grf-bano-go { display: block; margin-top: 10px; font-weight: 600; color: #1a6c7a; font-size: 14px; }

/* --- Acabados: dos con pagina propia + filtros ----------------------------- */
.tax-product_cat.term-72 .grf-bano-acab { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.tax-product_cat.term-72 .grf-bano-acab-pag {
	grid-column: span 2;
	display: flex;
	align-items: center;
	gap: 18px;
	background: #fff;
	border: 1px solid #dfe8ea;
	border-radius: 14px;
	padding: 18px;
	color: #102e35;
	text-decoration: none;
	transition: border-color .2s ease;
}
.tax-product_cat.term-72 .grf-bano-acab-pag:hover { border-color: #4dd2d0; }
.tax-product_cat.term-72 .grf-bano-acab-pag .grf-dot { flex: 0 0 72px; margin: 0; }
.tax-product_cat.term-72 .grf-bano-acab-pag strong { display: block; font-size: 19px; color: #1a6c7a; }
.tax-product_cat.term-72 .grf-bano-acab-pag small { display: block; color: #3f6f7b; font-size: 14px; margin-top: 4px; }
.tax-product_cat.term-72 .grf-bano-acab-n { display: block; font-size: 13.5px; margin-top: 2px; }
.tax-product_cat.term-72 .grf-bano-faq-cta { text-align: center; margin: 20px 0 0; }
.tax-product_cat.term-72 .grf-bano-faq-cta a { color: #1a6c7a; font-weight: 600; }

/* --- «Serie» del filtro abierta, como en la negra -------------------------- */
.tax-product_cat.term-72 .wpc-filter-pa_serie .wpc-filter-content { display: block !important; }
.tax-product_cat.term-72 .wpc-filter-pa_serie .wpc-open-icon { display: none !important; }

/* --- Movil ----------------------------------------------------------------- */
@media (max-width: 1100px) {
	.tax-product_cat.term-72 .grf-bano-tiles { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
	.tax-product_cat.term-72 .grf-bano-series { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
	.tax-product_cat.term-72 .grf-bano-tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; gap: 10px; }
	.tax-product_cat.term-72 .grf-bano-tile .grf-tile-tip { display: none; }
	.tax-product_cat.term-72 .grf-bano-tile-higienica { grid-column: 1 / -1; }
	.tax-product_cat.term-72 .grf-bano-acab { grid-template-columns: 1fr 1fr; }
	/* URL de filtro: hero bajo (como mucho ~40 % del alto); debajo se ve el filtro y el listado */
	.tax-product_cat.term-72 .grf-bano-hero.grf-bano-hero-filtro.hero-section-container {
		min-height: 30vh;
		height: auto;
		max-height: 40vh;
		padding-top: 22px;
		padding-bottom: 26px;
	}
	.tax-product_cat.term-72 .grf-bano-hero-filtro .grf-hero-sub,
	.tax-product_cat.term-72 .grf-bano-hero-filtro .grf-hero-intro,
	.tax-product_cat.term-72 .grf-bano-hero-filtro .hero-buttons { display: none; }
	.tax-product_cat.term-72 .grf-bano-hero-filtro .breadcrumb-nav { margin-bottom: 8px; }
	.tax-product_cat.term-72 .grf-bano-hero-filtro .hero-content h1 { font-size: 28px; line-height: 1.15; margin: 0; }
	.tax-product_cat.term-72 .grf-bano-hero-filtro + .grf-trust { padding-top: 12px !important; padding-bottom: 12px !important; }
	.tax-product_cat.term-72 .grf-bano-hero-filtro + .grf-trust .trust-bar-wrapper { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 6px !important; }
	.tax-product_cat.term-72 .grf-bano-hero-filtro + .grf-trust .trust-item { padding: 8px 4px !important; min-height: 0 !important; margin: 0 !important; }
	.tax-product_cat.term-72 .grf-bano-hero-filtro + .grf-trust .trust-icon { font-size: 20px !important; margin-bottom: 4px !important; }
	.tax-product_cat.term-72 .grf-bano-hero-filtro + .grf-trust .trust-text strong { font-size: 11.5px !important; line-height: 1.25 !important; }
	.tax-product_cat.term-72 .grf-bano-hero-filtro + .grf-trust .trust-text span { display: none !important; }
}
@media (max-width: 560px) {
	.tax-product_cat.term-72 .grf-bano-series { grid-template-columns: 1fr; }
	.tax-product_cat.term-72 .grf-bano-acab-pag { grid-column: 1 / -1; }
}
/* --- Auditoria externa 7-nov-2026 ------------------------------------------ */
/* Precio de cada pieza de la serie: mas contraste (sumarlas a ojo tiene que ser facil) */
.tax-product_cat.term-72 .grf-bano-puntos li small { color: #3f6f7b; font-weight: 600; }
/* Tabla por obra: «el juego de 3» / «un grifo» bajo el precio */
.tax-product_cat.term-72 .grf-table.grf-bano-obra-t .grf-bano-obra-desde { white-space: nowrap; }
.tax-product_cat.term-72 .grf-table.grf-bano-obra-t .grf-bano-obra-desde small { display: block; font-size: 12px; color: #5b6b70; font-weight: 400; }
/* Bloque comun «El Blog de Adrihosan»: fuera, como en cocina (category-73.css); sus titulos ya no son H2 */
.tax-product_cat.term-72 .woocommerce-products-blog-header,
.tax-product_cat.term-72 .woocommerce-products-blog-header + .last-posts { display: none !important; }

@media (max-width: 700px) {
	/* Hero: el grifo de ducha oro rosa esta a la izquierda de la foto (~22 % del ancho) */
	.tax-product_cat.term-72 .grf-bano-hero.hero-section-container:not(.grf-bano-hero-sq) { background-position: 22% 50%; }
	/* Hero: botones mas arriba y en una fila, y aire debajo para el boton flotante del
	   asistente (fijo abajo a la derecha): ya no tapa «Solo un grifo» */
	.tax-product_cat.term-72 .grf-bano-hero:not(.grf-bano-hero-filtro).hero-section-container { padding-top: 32px; padding-bottom: 96px; }
	.tax-product_cat.term-72 .grf-bano-hero .breadcrumb-nav { margin-bottom: .8rem; }
	.tax-product_cat.term-72 .grf-bano-hero .grf-hero-sub { font-size: 18px; margin-bottom: 10px; }
	.tax-product_cat.term-72 .grf-bano-hero .grf-hero-intro { font-size: 15.5px; margin-bottom: 20px; }
	.tax-product_cat.term-72 .grf-bano-hero .hero-buttons { flex-wrap: nowrap; gap: 10px; }
	.tax-product_cat.term-72 .grf-bano-hero .hero-btn { flex: 1 1 0; padding: 12px 10px; font-size: 13.5px; letter-spacing: 0; line-height: 1.3; }
	/* Tabla por obra apilada: una tarjeta por obra, con «Desde» a la vista (sin scroll lateral) */
	.tax-product_cat.term-72 .grf-block .grf-table-wrap { overflow-x: visible; }
	.tax-product_cat.term-72 .grf-table.grf-bano-obra-t { min-width: 0; background: transparent; }
	.tax-product_cat.term-72 .grf-table.grf-bano-obra-t thead { display: none; }
	.tax-product_cat.term-72 .grf-table.grf-bano-obra-t,
	.tax-product_cat.term-72 .grf-table.grf-bano-obra-t tbody,
	.tax-product_cat.term-72 .grf-table.grf-bano-obra-t tr,
	.tax-product_cat.term-72 .grf-table.grf-bano-obra-t td { display: block; width: 100%; box-sizing: border-box; }
	.tax-product_cat.term-72 .grf-table.grf-bano-obra-t tr { background: #fff; border: 1px solid #dfe8ea; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
	.tax-product_cat.term-72 .grf-table.grf-bano-obra-t td { border-bottom: 1px dashed #e3eced; padding: 9px 14px; }
	.tax-product_cat.term-72 .grf-table.grf-bano-obra-t td:last-child { border-bottom: 0; }
	.tax-product_cat.term-72 .grf-table.grf-bano-obra-t td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: #1a6c7a; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 2px; }
	.tax-product_cat.term-72 .grf-table.grf-bano-obra-t td:first-child { background: #1a6c7a; color: #fff; font-weight: 600; }
	.tax-product_cat.term-72 .grf-table.grf-bano-obra-t td:first-child::before { display: none; }
	.tax-product_cat.term-72 .grf-table.grf-bano-obra-t .grf-bano-obra-desde { font-weight: 700; font-size: 17px; color: #102e35; white-space: normal; }
	.tax-product_cat.term-72 .grf-table.grf-bano-obra-t .grf-bano-obra-desde small { display: inline; margin-left: 4px; }
}
/* Cortesía Código AdrIA */

