/* ----------------------------------------------------------------
	NYJ: base común de todas las páginas.
	Fuente, colores, botones, cabecera de página, fichas de producto,
	Nosotros, Contacto, cierre y pie. La portada suma home.css.
	Radios: fotos y tarjetas 12px, botones 8px, etiquetas 6px.
-----------------------------------------------------------------*/

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
}

:root {
	--nyj-ink: #031c3c;
	--nyj-navy: #002e6f;
	--nyj-orange: #f39200;
	--nyj-orange-hover: #ffa41f;
	--nyj-orange-text: #a85600;
	--nyj-orange-tint: #fff3e2;
	--nyj-paper: #f3f3f3;
	--nyj-mist: #f5f7fa;
	--nyj-muted: #5b6577;
	--nyj-line: #e3e7ee;
	--nyj-on-ink: #c8d3e3;
	--nyj-radius: 12px;
	--nyj-radius-btn: 8px;
	--nyj-radius-tag: 6px;

	/* Canvas pide Inter y Playfair, que nunca se cargaron: todo el sitio pasa a Archivo */
	--cnvs-body-font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--cnvs-primary-font: var(--cnvs-body-font);
	--cnvs-secondary-font: var(--cnvs-body-font);
}

.nyj {
	color: var(--nyj-ink);
}

.nyj h1,
.nyj h2,
.nyj h3,
.nyj h4 {
	font-family: inherit;
	color: inherit;
	letter-spacing: -0.01em;
}

.nyj p {
	margin-bottom: 0;
}

.nyj ul,
.nyj ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nyj a:focus-visible,
.nyj button:focus-visible,
.nyj-footer a:focus-visible {
	outline: 3px solid var(--nyj-orange);
	outline-offset: 3px;
}

/* Botones */

.nyj-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.nyj-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 52px;
	padding: 0 1.5rem;
	border: 2px solid transparent;
	border-radius: var(--nyj-radius-btn);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nyj-btn i {
	font-size: 1.15em;
}

.nyj-btn:active {
	transform: translateY(1px);
}

.nyj .nyj-btn--primary {
	background-color: var(--nyj-orange);
	color: var(--nyj-ink);
}

.nyj .nyj-btn--primary:hover {
	background-color: var(--nyj-orange-hover);
	color: var(--nyj-ink);
}

.nyj .nyj-btn--ghost {
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.nyj .nyj-btn--ghost:hover {
	border-color: #fff;
	background-color: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.nyj-btn--sm {
	min-height: 42px;
	padding: 0 1rem;
	font-size: 0.9375rem;
}

.nyj .nyj-btn--outline {
	border-color: var(--nyj-navy);
	background-color: transparent;
	color: var(--nyj-navy);
}

.nyj .nyj-btn--outline:hover {
	background-color: var(--nyj-navy);
	color: #fff;
}

.nyj .nyj-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--nyj-orange-text);
	font-weight: 700;
	text-decoration: none;
}

.nyj-link i {
	transition: transform 0.2s ease;
}

.nyj-link:hover i {
	transform: translateX(3px);
}

/* Textos comunes */

.nyj-eyebrow {
	margin-bottom: 1rem !important;
	color: var(--nyj-orange);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nyj-section-head {
	max-width: 46rem;
	margin-bottom: 2.5rem;
}

.nyj-section-head h2 {
	margin-bottom: 0.75rem;
	font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.75rem);
	font-weight: 800;
	font-stretch: 108%;
	line-height: 1.1;
}

.nyj-section-head p {
	color: var(--nyj-muted);
	font-size: 1.125rem;
	line-height: 1.55;
}

.nyj-marca {
	color: var(--nyj-navy);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.nyj-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
}

.nyj-chips li {
	padding: 0.2rem 0.5rem;
	border: 1px solid var(--nyj-line);
	border-radius: var(--nyj-radius-tag);
	background-color: var(--nyj-mist);
	font-size: 0.8125rem;
	font-weight: 600;
}

.nyj-seccion {
	padding: 88px 0;
}

.nyj-seccion--mist {
	background-color: var(--nyj-mist);
}

/* Cabecera de las páginas internas: la portada en corto, con la misma diagonal */

.nyj-pagehead {
	position: relative;
	overflow: hidden;
	padding: 56px 0 64px;
	background-color: var(--nyj-ink);
	color: #fff;
}

.nyj-pagehead__media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 46%;
}

.nyj-pagehead__media::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: var(--nyj-orange);
	clip-path: polygon(13.5% 0, 16% 0, -2% 100%, -4.5% 100%);
}

.nyj-pagehead__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.nyj-pagehead__copy {
	position: relative;
	max-width: 34rem;
}

.nyj-migas ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.5rem;
	margin-bottom: 1rem;
	color: var(--nyj-on-ink);
	font-size: 0.875rem;
}

.nyj-migas li + li::before {
	content: "/";
	margin-right: 0.5rem;
	color: rgba(255, 255, 255, 0.4);
}

.nyj .nyj-migas a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.4);
	text-underline-offset: 3px;
}

.nyj .nyj-migas a:hover {
	text-decoration-color: #fff;
}

.nyj-pagehead__title {
	margin-bottom: 0.75rem;
	color: #fff !important;
	font-size: clamp(2rem, 1.3rem + 2.2vw, 3.25rem);
	font-weight: 800;
	font-stretch: 108%;
	line-height: 1.04;
	text-transform: uppercase;
}

.nyj-pagehead__lead {
	max-width: 30rem;
	color: var(--nyj-on-ink);
	font-size: 1.125rem;
	line-height: 1.55;
}

.nyj-saltos {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.75rem !important;
}

.nyj .nyj-saltos a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 0.875rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: var(--nyj-radius-btn);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nyj .nyj-saltos a:hover {
	border-color: #fff;
	background-color: rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: no-preference) {
	.nyj-pagehead__copy > * {
		animation: nyj-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
	}

	.nyj-pagehead__copy > :nth-child(2) {
		animation-delay: 0.06s;
	}

	.nyj-pagehead__copy > :nth-child(3) {
		animation-delay: 0.12s;
	}

	.nyj-pagehead__copy > :nth-child(4) {
		animation-delay: 0.18s;
	}
}

@keyframes nyj-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
}

/* Franja de garantías bajo la cabecera de productos (como «Métodos de entrega» de Promart) */

.nyj-garantias {
	border-bottom: 1px solid var(--nyj-line);
	background-color: #fff;
}

.nyj-garantias ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nyj-garantias li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.125rem 1.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
}

.nyj-garantias li:first-child {
	padding-left: 0;
}

.nyj-garantias li + li {
	border-left: 1px solid var(--nyj-line);
}

.nyj-garantias i {
	color: var(--nyj-orange-text);
	font-size: 1.375rem;
	line-height: 1;
}

/* Ficha de producto: galería a la izquierda, datos y cotización a la derecha */

.nyj-ficha {
	padding: 72px 0;
	scroll-margin-top: 88px;
}

.nyj-ficha + .nyj-ficha {
	border-top: 1px solid var(--nyj-line);
}

.nyj-ficha__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 4rem;
	align-items: start;
}

.nyj-galeria__principal {
	position: relative;
	overflow: hidden;
	margin: 0;
	aspect-ratio: 1;
	border-radius: var(--nyj-radius);
	background-color: var(--nyj-paper);
}

.nyj-galeria__principal img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nyj-galeria__principal figcaption {
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	padding: 0.25rem 0.625rem;
	border-radius: var(--nyj-radius-tag);
	background-color: rgba(255, 255, 255, 0.92);
	font-size: 0.8125rem;
	font-weight: 600;
}

.nyj-galeria__miniaturas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin-top: 0.75rem !important;
}

.nyj-galeria__miniaturas button {
	display: block;
	overflow: hidden;
	width: 76px;
	height: 76px;
	padding: 0;
	border: 2px solid var(--nyj-line);
	border-radius: var(--nyj-radius-btn);
	background-color: var(--nyj-paper);
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.nyj-galeria__miniaturas button:hover {
	border-color: var(--nyj-muted);
}

.nyj-galeria__miniaturas button[aria-pressed="true"] {
	border-color: var(--nyj-navy);
}

.nyj-galeria__miniaturas img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nyj-ficha__info {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-top: 0.5rem;
}

.nyj-ficha__nombre {
	margin: 0;
	font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
	font-weight: 800;
	font-stretch: 108%;
	line-height: 1.1;
}

.nyj-ficha__bajada {
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.4;
}

.nyj-ficha__texto {
	max-width: 60ch;
	color: var(--nyj-muted);
	line-height: 1.65;
}

.nyj-ficha__sub {
	margin: 0.5rem 0 0;
	color: var(--nyj-muted);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nyj-variantes li {
	display: grid;
	grid-template-columns: 8.5rem minmax(0, 1fr) auto;
	gap: 0.25rem 1rem;
	align-items: baseline;
	padding: 0.75rem 0;
	border-top: 1px solid var(--nyj-line);
}

.nyj-variantes li:last-child {
	border-bottom: 1px solid var(--nyj-line);
}

.nyj-variantes__nombre {
	font-weight: 700;
}

.nyj-variantes__uso {
	color: var(--nyj-muted);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.nyj .nyj-ficha-pdf {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--nyj-navy);
	font-size: 0.875rem;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nyj .nyj-ficha-pdf:hover {
	color: var(--nyj-ink);
}

.nyj-ficha .nyj-ctas {
	margin-top: 0.75rem;
}

/* «También te puede interesar»: la otra categoría, como el «Ver todo» de Promart */

.nyj-otra {
	padding: 24px 0 88px;
}

.nyj .nyj-otra__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	align-items: center;
	overflow: hidden;
	border-radius: var(--nyj-radius);
	background-color: var(--nyj-paper);
	color: var(--nyj-ink);
	text-decoration: none;
	transition: box-shadow 0.25s ease;
}

.nyj .nyj-otra__card:hover {
	box-shadow: 0 18px 36px -20px rgba(3, 28, 60, 0.35);
}

.nyj-otra__texto {
	padding: 2.5rem;
}

.nyj-otra__texto p {
	margin-bottom: 1rem !important;
	color: var(--nyj-muted);
	line-height: 1.55;
}

.nyj-otra__texto .nyj-marca {
	display: block;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
}

.nyj-otra__texto h2 {
	margin-bottom: 0.5rem;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	font-weight: 800;
	font-stretch: 108%;
	line-height: 1.15;
}

.nyj-otra__card img {
	width: 100%;
	height: auto;
	aspect-ratio: 2.4;
	object-fit: cover;
	object-position: 85% 50%;
}

/* Nosotros */

.nyj-nosotros__intro {
	max-width: 52rem;
	margin-bottom: 3rem;
}

.nyj-nosotros__intro h2 {
	margin-bottom: 1rem;
	font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.75rem);
	font-weight: 800;
	font-stretch: 108%;
	line-height: 1.1;
}

.nyj-nosotros__intro p {
	color: var(--nyj-muted);
	font-size: 1.25rem;
	line-height: 1.6;
}

.nyj-mv {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.nyj-mv__item {
	padding: 2.25rem;
	border-radius: var(--nyj-radius);
	background-color: var(--nyj-mist);
}

.nyj-mv__item--destacado {
	background-color: var(--nyj-navy);
	color: #fff;
}

.nyj-mv__item i {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1.25rem;
	border-radius: var(--nyj-radius-btn);
	background-color: var(--nyj-orange-tint);
	color: var(--nyj-orange-text);
	font-size: 1.5rem;
	line-height: 1;
}

.nyj-mv__item h3 {
	margin-bottom: 0.75rem;
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 1.2;
}

.nyj-mv__item--destacado h3 {
	color: #fff !important;
}

.nyj-mv__item p {
	color: var(--nyj-muted);
	font-size: 1.0625rem;
	line-height: 1.65;
}

.nyj-mv__item--destacado p {
	color: var(--nyj-on-ink);
}

.nyj-valores {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1rem;
}

.nyj-valores li {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.75rem 1.5rem;
	border: 1px solid var(--nyj-line);
	border-radius: var(--nyj-radius);
	background-color: #fff;
}

.nyj-valores i {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: var(--nyj-radius-btn);
	background-color: var(--nyj-orange-tint);
	color: var(--nyj-orange-text);
	font-size: 1.5rem;
	line-height: 1;
}

.nyj-valores h3 {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
}

/* Contacto */

.nyj-contacto__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 4rem;
	align-items: start;
}

.nyj-contacto__intro h2 {
	margin-bottom: 0.75rem;
	font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.75rem);
	font-weight: 800;
	font-stretch: 108%;
	line-height: 1.1;
}

.nyj-contacto__intro > p {
	margin-bottom: 2rem !important;
	color: var(--nyj-muted);
	font-size: 1.125rem;
	line-height: 1.55;
}

.nyj-canales li + li {
	border-top: 1px solid var(--nyj-line);
}

.nyj-canal {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0;
}

.nyj .nyj-canal {
	color: var(--nyj-ink);
	text-decoration: none;
}

.nyj-canal i {
	display: grid;
	flex: none;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: var(--nyj-radius-btn);
	background-color: var(--nyj-orange-tint);
	color: var(--nyj-orange-text);
	font-size: 1.25rem;
	line-height: 1;
}

.nyj-canal__label {
	display: block;
	color: var(--nyj-muted);
	font-size: 0.875rem;
	line-height: 1.3;
}

.nyj-canal__valor {
	display: block;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
}

a.nyj-canal:hover .nyj-canal__valor {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nyj-form-card {
	padding: 2.5rem;
	border-radius: var(--nyj-radius);
	background-color: #fff;
	box-shadow: 0 24px 48px -24px rgba(3, 28, 60, 0.35), 0 2px 6px rgba(3, 28, 60, 0.06);
}

.nyj-form-card h2 {
	margin-bottom: 0.5rem;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.2;
}

.nyj-form-card > p {
	margin-bottom: 1.75rem !important;
	color: var(--nyj-muted);
	line-height: 1.55;
}

.nyj-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 0;
}

.nyj-campo {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.nyj-campo--ancho {
	grid-column: 1 / -1;
}

.nyj-campo label {
	margin: 0;
	color: var(--nyj-ink);
	font-size: 0.9375rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

.nyj-campo label span {
	color: var(--nyj-muted);
	font-weight: 400;
}

.nyj-campo input,
.nyj-campo select,
.nyj-campo textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 0.875rem;
	border: 1px solid #c5ccd8;
	border-radius: var(--nyj-radius-btn);
	background-color: #fff;
	color: var(--nyj-ink);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nyj-campo textarea {
	min-height: 132px;
	resize: vertical;
}

.nyj-campo input:focus,
.nyj-campo select:focus,
.nyj-campo textarea:focus {
	border-color: var(--nyj-navy);
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 46, 111, 0.18);
}

.nyj-campo input:user-invalid,
.nyj-campo textarea:user-invalid {
	border-color: #c42b1c;
}

.nyj-form__enviar {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
}

.nyj-form__enviar p {
	color: var(--nyj-muted);
	font-size: 0.875rem;
	line-height: 1.45;
}

.nyj-mapa {
	padding: 0 0 88px;
}

.nyj-mapa iframe {
	display: block;
	width: 100%;
	height: 400px;
	border: 0;
	border-radius: var(--nyj-radius);
	background-color: var(--nyj-paper);
}

/* Cierre */

.nyj-cierre {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 112px 0;
	background-color: var(--nyj-ink);
	color: #fff;
}

.nyj-cierre__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nyj-cierre::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(3, 28, 60, 0.95) 0%, rgba(3, 28, 60, 0.86) 45%, rgba(3, 28, 60, 0.35) 100%);
}

.nyj-cierre__copy {
	max-width: 42rem;
}

.nyj-cierre h2 {
	margin-bottom: 1rem;
	color: #fff !important;
	font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
	font-weight: 800;
	font-stretch: 108%;
	line-height: 1.08;
}

.nyj-cierre p {
	margin-bottom: 2rem !important;
	color: var(--nyj-on-ink);
	font-size: 1.125rem;
	line-height: 1.55;
}

/* Barra superior (Canvas #top-bar): datos de confianza y contacto, solo en escritorio */

#top-bar.nyj-topbar {
	border-bottom: 0;
	background-color: var(--nyj-ink);
	color: var(--nyj-on-ink);
	font-size: 0.8125rem;
	font-weight: 500;
}

.nyj-topbar__fila {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 40px;
}

.nyj-topbar ul {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nyj-topbar li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.nyj-topbar i {
	color: var(--nyj-orange);
}

#top-bar.nyj-topbar a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #fff;
	text-decoration: none;
}

#top-bar.nyj-topbar a:hover {
	color: var(--nyj-orange);
}

#top-bar.nyj-topbar a:focus-visible {
	outline: 2px solid var(--nyj-orange);
	outline-offset: 2px;
}

/* Menú principal (Canvas #header), con la paleta de NYJ */

#header.nyj-header {
	--cnvs-header-height: 84px;
	--cnvs-header-height-shrink: 68px;
	--cnvs-header-border-color: var(--nyj-line);
	--cnvs-primary-menu-font-size: 0.9375rem;
	--cnvs-primary-menu-font-weight: 600;
	--cnvs-primary-menu-ls: 0;
	--cnvs-primary-menu-color: var(--nyj-ink);
	--cnvs-primary-menu-hover-color: var(--nyj-navy);
	--cnvs-primary-menu-active-color: var(--nyj-navy);
	--cnvs-primary-menu-submenu-width: 360px;
}

#header.nyj-header #logo img {
	width: auto;
	height: 50px;
}

.is-expanded-menu #header.nyj-header.sticky-header-shrink #header-wrap #logo img {
	height: 42px;
}

#header.nyj-header.sticky-header #header-wrap {
	box-shadow: 0 10px 24px -18px rgba(3, 28, 60, 0.45);
}

.nyj-header .menu-link {
	text-transform: none;
	letter-spacing: 0;
}

.nyj-header .menu-container > .menu-item > .menu-link > div {
	display: inline-flex;
	align-items: center;
}

.nyj-menu-flecha {
	margin-left: 0.35rem;
	font-size: 0.75em;
	transition: transform 0.2s ease;
}

.nyj-header .menu-item:hover > .menu-link .nyj-menu-flecha {
	transform: rotate(180deg);
}

/* Página actual: barra naranja bajo el texto */
.is-expanded-menu .nyj-header .menu-container > .menu-item > .menu-link {
	position: relative;
}

.is-expanded-menu .nyj-header .menu-container > .menu-item > .menu-link::after {
	content: "";
	position: absolute;
	right: var(--cnvs-primary-menu-padding-x, 15px);
	bottom: calc(50% - 1.35rem);
	left: var(--cnvs-primary-menu-padding-x, 15px);
	height: 3px;
	border-radius: 2px;
	background-color: var(--nyj-orange);
	transform: scaleX(0);
	transition: transform 0.25s ease;
}

.is-expanded-menu .nyj-header .menu-container > .menu-item.current > .menu-link::after,
.is-expanded-menu .nyj-header .menu-container > .menu-item > .menu-link:hover::after {
	transform: scaleX(1);
}

/* Submenú de productos con la foto de cada categoría (como las categorías de Promart) */
.is-expanded-menu .nyj-header .sub-menu-container {
	padding: 0.5rem;
	border: 1px solid var(--nyj-line);
	border-radius: var(--nyj-radius);
	box-shadow: 0 24px 48px -24px rgba(3, 28, 60, 0.35), 0 2px 6px rgba(3, 28, 60, 0.06);
}

.nyj-header .nyj-menu-prod {
	padding: 0.5rem;
	border-radius: var(--nyj-radius-btn);
}

.nyj-header .nyj-menu-prod > div {
	display: flex;
	align-items: center;
	gap: 0.875rem;
}

.is-expanded-menu .nyj-header .sub-menu-container .menu-item:hover > .nyj-menu-prod,
.is-expanded-menu .nyj-header .sub-menu-container .menu-item.current > .nyj-menu-prod {
	background-color: var(--nyj-mist);
}

/* Canvas oculta los <span> de los enlaces del menú (los usa para subtítulos) */
.nyj-header .nyj-menu-prod span {
	display: block;
}

.nyj-menu-prod img {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: var(--nyj-radius-btn);
	background-color: var(--nyj-paper);
}

.nyj-menu-prod strong {
	display: block;
	color: var(--nyj-ink);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.3;
}

.nyj-menu-prod small {
	display: block;
	color: var(--nyj-muted);
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.35;
	white-space: normal;
}

/* Botón de cotizar a la derecha del menú (como «Contáctanos» de UNICON) */
.is-expanded-menu .nyj-header .header-misc {
	margin-left: 1.25rem;
}

#header .nyj-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0 1.125rem;
	border-radius: var(--nyj-radius-btn);
	background-color: var(--nyj-orange);
	color: var(--nyj-ink);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

#header .nyj-header__cta:hover {
	background-color: var(--nyj-orange-hover);
	color: var(--nyj-ink);
}

#header .nyj-header__cta:active {
	transform: translateY(1px);
}

#header .nyj-header__cta:focus-visible,
.nyj-header .menu-link:focus-visible {
	outline: 3px solid var(--nyj-orange);
	outline-offset: 3px;
}

@media (max-width: 991.98px) {
	#top-bar.nyj-topbar,
	.nyj-header .header-misc,
	.nyj-menu-flecha {
		display: none;
	}

	#header.nyj-header {
		--cnvs-header-height: 72px;
	}

	#header.nyj-header #logo {
		padding: 13px 0;
	}

	#header.nyj-header #logo img {
		height: 42px;
	}

	.nyj-header .menu-container > .menu-item > .menu-link {
		font-size: 1rem;
	}
}

/* Pie */

#footer.nyj-footer {
	border-top: 0;
	background-color: var(--nyj-mist);
	color: var(--nyj-ink);
}

.nyj-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 3rem;
	padding: 64px 0 48px;
}

.nyj-footer__logo img {
	width: 132px;
	height: auto;
}

.nyj-footer__marca p {
	max-width: 22rem;
	margin: 1rem 0 1.25rem;
	color: var(--nyj-muted);
	line-height: 1.55;
}

.nyj-footer__titulo {
	margin-bottom: 1rem;
	color: var(--nyj-ink);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nyj-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nyj-footer li + li {
	margin-top: 0.625rem;
}

.nyj-footer__contacto li {
	display: flex;
	gap: 0.625rem;
	align-items: baseline;
}

.nyj-footer__contacto i {
	color: var(--nyj-orange-text);
}

#footer.nyj-footer a {
	color: var(--nyj-muted);
	text-decoration: none;
}

#footer.nyj-footer a:hover {
	color: var(--nyj-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

#footer.nyj-footer .nyj-footer__social {
	display: inline-grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--nyj-line);
	border-radius: var(--nyj-radius-btn);
	background-color: #fff;
	color: var(--nyj-navy);
	font-size: 1.125rem;
}

#footer.nyj-footer .nyj-footer__social:hover {
	border-color: var(--nyj-navy);
	text-decoration: none;
}

.nyj-footer__base {
	padding: 1.25rem 0;
	border-top: 1px solid var(--nyj-line);
	color: var(--nyj-muted);
	font-size: 0.875rem;
}

.nyj-footer__base p {
	margin: 0;
}

/* Tablet */

@media (max-width: 1199.98px) {
	.nyj-pagehead__media {
		width: 42%;
	}

	.nyj-pagehead__copy {
		max-width: 31rem;
	}

	.nyj-valores {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991.98px) {
	.nyj-seccion {
		padding: 64px 0;
	}

	.nyj-pagehead__media {
		width: 40%;
	}

	.nyj-pagehead__copy {
		max-width: 52%;
	}

	.nyj-garantias ul {
		grid-template-columns: minmax(0, 1fr);
	}

	.nyj-garantias li {
		padding: 0.75rem 0;
	}

	.nyj-garantias li + li {
		border-top: 1px solid var(--nyj-line);
		border-left: 0;
	}

	.nyj-ficha {
		padding: 56px 0;
	}

	.nyj-ficha__grid,
	.nyj-contacto__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.5rem;
	}

	.nyj-galeria {
		max-width: 560px;
	}

	.nyj-otra {
		padding-bottom: 64px;
	}

	.nyj-mv {
		grid-template-columns: minmax(0, 1fr);
	}

	.nyj-cierre {
		padding: 80px 0;
	}

	.nyj-cierre::before {
		background: rgba(3, 28, 60, 0.86);
	}

	.nyj-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nyj-footer__marca {
		grid-column: 1 / -1;
	}
}

/* Celular */

@media (max-width: 767.98px) {
	.nyj-pagehead {
		padding: 40px 0 44px;
	}

	.nyj-pagehead__media {
		display: none;
	}

	.nyj-pagehead__copy {
		max-width: none;
	}

	.nyj-pagehead__lead {
		font-size: 1.0625rem;
	}

	.nyj-ficha {
		padding: 44px 0;
	}

	.nyj-ficha__grid {
		gap: 1.75rem;
	}

	.nyj-galeria__miniaturas button {
		width: 64px;
		height: 64px;
	}

	.nyj-variantes li {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.nyj-variantes__uso {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.nyj .nyj-otra__card {
		grid-template-columns: minmax(0, 1fr);
	}

	.nyj-otra__texto {
		padding: 1.75rem;
	}

	.nyj-otra__card img {
		aspect-ratio: 16 / 9;
	}

	.nyj-mv__item {
		padding: 1.75rem;
	}

	.nyj-valores {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nyj-valores li {
		padding: 1.25rem;
	}

	.nyj-form-card {
		padding: 1.5rem;
	}

	.nyj-form {
		grid-template-columns: minmax(0, 1fr);
	}

	.nyj-mapa {
		padding-bottom: 64px;
	}

	.nyj-mapa iframe {
		height: 300px;
	}

	.nyj-ctas .nyj-btn,
	.nyj-form__enviar .nyj-btn {
		flex: 1 1 100%;
	}

	.nyj-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
		padding-top: 48px;
	}
}

/* Teléfonos: margen lateral de 16px en todo el sitio (Bootstrap deja 12px) */

@media (max-width: 575.98px) {
	.container {
		--bs-gutter-x: 2rem;
	}

	.nyj-valores li:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nyj *,
	.nyj *::before,
	.nyj *::after {
		animation: none !important;
		transition: none !important;
	}
}
