/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* ============================================================
   Ajustes de maquetacion — septiembre 2026
   ============================================================ */

/* --- Barra superior: que cada bloque quepa en una sola linea --- */
.whb-top-bar-inner .wd-header-text h5,
.whb-top-bar-inner .wd-header-text h6 {
	font-size: 12px;
	line-height: 1.35;
	margin: 0;
	white-space: nowrap;
}

@media (max-width: 1300px) {
	.whb-top-bar-inner .wd-header-text h5 { font-size: 11px; }
}

/* En movil el espacio es mucho menor: se permite que fluya */
@media (max-width: 1024px) {
	.whb-top-bar-inner .wd-header-text h6 {
		font-size: 10px;
		line-height: 1.3;
		white-space: normal;
	}
}

@media (max-width: 400px) {
	.whb-top-bar-inner .wd-header-text h6 { font-size: 9px; }
}

/* --- Botones de la cabecera: el texto no debe partirse en dos lineas --- */
.whb-main-header a.btn,
.whb-row a.btn {
	white-space: nowrap;
}

@media (max-width: 480px) {
	.whb-main-header a.btn,
	.whb-row a.btn {
		font-size: 12px;
		padding-left: 16px;
		padding-right: 16px;
	}
}

/* En pantallas intermedias el boton empujaba el menu a dos lineas */
@media (min-width: 1025px) and (max-width: 1400px) {
	.whb-main-header a.btn {
		font-size: 12px;
		padding-left: 16px;
		padding-right: 16px;
	}
	.whb-main-header .wd-nav > li > a {
		font-size: 13px;
	}
	.whb-main-header .wd-nav > li {
		margin-left: 10px;
		margin-right: 10px;
	}
}
