/* === HENLEY HEADER === */

.henley-header {
	position: fixed;
	top: 0;
	left: 50%;
	width: 50vw;
	height: 12.2vh;
/* 	max-height: 116.567px; */
	background: #000;
	z-index: 9999;
	display: flex;
	align-items: center;
	margin-block-end: 0;
}

article#post-1124 > div.entry-content > div.stk-96cbb8e {
	background-color: transparent !important;
}

/* @media (max-width: 767px) {
	.henley-header {
		height: 62px;
	}
}
 */
@media (min-width: 768px) {
	.henley-header {
		max-width: 50%;
	}
}

.henley-header-inner {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 7.94%;
}

.henley-logo {
	width: clamp(108px, 13vw, 200px);
	height: auto;
}

.henley-burger {
	background: none;
	border: none;
	display: flex;
	flex-direction: column;
	gap: clamp(4px, 0.8vw, 8px);
	cursor: pointer;
	padding: 0;
}

.henley-line {
	width: clamp(32px, 3.2vw, 48px);
	height: auto;
}

/* === MENU PANEL === */
.henley-menu-panel {
	position: fixed;
	top: 0;
	left: 100%;
	width: 50vw;
	max-width: 960px;
	background: #fff;
	padding: 32px;
	transition: left 0.5s ease-in-out;
	display: flex;
	flex-direction: column;
	z-index: 10000;
	height: 100vh;
}

@media (min-width: 768px) {
	.henley-menu-panel {
		max-width: 50%;
	}
}

.henley-menu-panel.open {
	left: 50%;
}

.henley-menu-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: clamp(35px, 4.6vw, 70px);
}

/* Botón cerrar (X) a la derecha, centrado verticalmente */
.henley-close {
	background-color: transparent;
	display: flex;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	height: clamp(35px, 4.6vw, 70px);
	width: clamp(35px, 4.6vw, 70px);
	order: 2;
}

.henley-close img {
	width: 16px;
	height: auto;
	transition: transform 0.3s;
}

.henley-close:hover img {
	transform: rotate(90deg);
}

/* Logo negro dentro del menú solo visible en móvil */
.henley-menu-logo {
	width: 108px;
	height: auto;
	visibility: hidden;
	order: 1;
}

/* Mostrar logo negro solo en móvil */
@media (max-width: 767px) {
	.henley-menu-logo {
		visibility: visible;
	}
}

/* === LINKS === */
.henley-menu-links {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: "Korolev Compressed", sans-serif;
	font-size: clamp(32px, 4.3vw, 65px);
	font-style: normal;
	font-weight: 900;
	line-height: 100%;
	letter-spacing: -0.03em;
	display: flex;
	flex-direction: column;
}

.henley-menu-links li {
	border-bottom: 1px solid #000;
	color: #000;
	display: flex;
	align-items: center;
	padding: 4px 0;
}

.henley-menu-links li a {
	color: #000;
	display: flex;
	align-items: center;
}

/* Quitar líneas debajo de productos, jcb, hako y mitsubishi */
.henley-menu-links li:nth-child(3),
.henley-menu-links li:nth-child(4),
.henley-menu-links li:nth-child(5),
.henley-menu-links li:nth-child(8) {
	border-bottom: none;
}

/* Color especial para subítems */
.henley-subitem a {
	color: #53696F !important;
}

/* === FOOTER - redes sociales === */
.henley-menu-footer {
	margin-top: auto;
	display: flex;
	align-items: end;
	gap: clamp(16px, 2.1vw, 32px);
	font-family: Besley, serif;
	font-size: clamp(10px, 1vw, 15px);
	font-style: normal;
	font-weight: 500;
	line-height: 1.1;
	color: #000;
}

@media (min-width: 768px) {
	.henley-menu-footer {
		height: 4.63vw;
	}
}

.henley-menu-footer a {
	color: #000 !important;
	text-decoration: none;
}

.henley-menu-footer a:hover {
	color: #000 !important;
}

/* === MOBILE === */
@media (max-width: 767px) {
	.henley-header {
		width: clamp(200px, 69.7vw, 272px);
		height: clamp(45px, 15.9vw, 62px);
		left: unset;
		right: 0;
	}

	.henley-header-inner {
		padding: 0 clamp(16px, 7.7vw, 30px);
	}

	.henley-menu-panel {
		width: 100vw;
		height: 100vh;
		padding-top: 0;
		right: -100%;
		left: unset;
		transition: right 0.5s ease-in-out;
	}
	
	.henley-menu-panel.open {
		right: 0;
		left: unset;
	}

	.henley-menu-top {
		height: clamp(45px, 15.9vw, 62px);
	}

	.henley-menu-links {
		font-size: clamp(28px, 8vw, 32px);
		line-height: 105%;
		letter-spacing: -0.32px;
		color: #000;
	}
	
	.henley-menu-links li {
		padding: 8px 0;	
	}

	.henley-menu-footer {
		font-size: clamp(8px, 2.8vw, 10px);
		letter-spacing: -0.1px;
		margin-top: auto;
		padding-top: clamp(24px, 6vw, 40px);
	}
	
	.fila-textos {
		padding-right: 0 !important;
  		padding-left: 0 !important;
}
	}
}