/* Logoband: lo que theme.json no cubre. */

/* Cabecera, contenido y pie van pegados (como en Elementor). */
.wp-site-blocks > * {
	margin-block-start: 0;
}
.lb-main > .entry-content > *,
.lb-main > .wp-block-post-content > * {
	margin-block-start: 0;
}

/* ---------- Cabecera ---------- */
.lb-header {
	z-index: 100;
}
.lb-topbar p {
	margin: 0;
	line-height: 1.5;
	white-space: nowrap;
}
.lb-topbar .wp-block-icon svg,
.lb-iconlink .wp-block-icon svg {
	fill: currentColor;
	display: block;
}
.lb-google {
	display: inline-flex;
	align-items: center;
	gap: 1px;
}
.lb-google__g {
	width: 14px;
	height: 14px;
}
.lb-logo {
	margin: 0;
	flex-shrink: 1;
}
.lb-logo img {
	max-width: 100%;
}

/* Navegación principal */
.lb-nav .wp-block-navigation-item__content {
	padding: 5px 0;
}
.lb-nav .wp-block-navigation__submenu-icon {
	width: 10px;
	height: 10px;
	margin-left: 8px;
}
.lb-nav .wp-block-navigation__submenu-container {
	min-width: 220px !important;
	padding: 6px 0;
	border: 0 !important;
	background: #fff !important;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
	font-size: 15px;
}
.lb-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 8px 20px;
}
.lb-nav .current-menu-item > .wp-block-navigation-item__content,
.lb-nav .wp-block-navigation-item__content[aria-current="page"] {
	color: var(--wp--preset--color--accent);
}

@media (max-width: 767px) {
	.lb-topbar {
		justify-content: center !important;
		padding: 6px 4px !important;
	}
	.lb-topbar__contact {
		justify-content: center !important;
		row-gap: 2px !important;
		column-gap: 9px !important;
	}
	.lb-mainbar {
		padding: 10px 15px !important;
	}
	.lb-logo img {
		width: 162px !important;
		height: auto !important;
	}
	.lb-nav .wp-block-navigation__responsive-container-open svg {
		width: 30px;
		height: 30px;
	}
}

/* ---------- Pie ---------- */
.lb-footer__nav .wp-block-navigation-item__content {
	padding: 0 2px;
}
@media (max-width: 781px) {
	.lb-footer__main .wp-block-columns {
		flex-wrap: wrap !important;
	}
	.lb-footer__brand {
		flex-basis: 100% !important;
		text-align: center;
	}
	.lb-footer__brand .wp-block-image {
		display: flex;
		justify-content: center;
	}
	.lb-footer__menu {
		flex-basis: calc(50% - 15px) !important;
	}
}

/* ---------- Utilidades de bloques ---------- */
.wp-block-icon svg {
	fill: currentColor;
}
.lb-stars {
	color: inherit;
}

/* Botones: estilos de bloque */
.wp-block-button.is-style-solid .wp-block-button__link {
	background: var(--wp--preset--color--primary);
	color: #fff;
}
.wp-block-button.is-style-solid .wp-block-button__link:hover {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
}
.wp-block-button.is-style-orange .wp-block-button__link {
	background: var(--wp--preset--color--orange);
	border-color: var(--wp--preset--color--primary);
	border-width: 1px;
	color: #fff;
}
.wp-block-button.is-style-orange .wp-block-button__link:hover {
	background: var(--wp--preset--color--primary);
}

/* Grupos: tarjeta con borde (tarjetas de producto) y caja de dato */
.wp-block-group.is-style-card {
	border: 2px solid #c8c8c8;
	border-radius: 10px;
	padding: 10px;
	background: #fff;
}
.wp-block-group.is-style-info-box {
	border: 1px solid var(--wp--preset--color--primary);
	border-radius: 10px;
	padding: 10px;
	text-align: center;
	color: var(--wp--preset--color--primary);
	font-weight: 600;
}

/* Bucle de productos en tarjetas */
.wp-block-post-template.is-style-product-cards {
	row-gap: 20px;
}
.wp-block-post-template.is-style-product-cards > li {
	border: 2px solid #c8c8c8;
	border-radius: 10px;
	padding: 10px 10px 28px;
	background: #fff;
}
.wp-block-post-template.is-style-product-cards .wp-block-post-featured-image {
	margin: 0 0 22px;
}
.wp-block-post-template.is-style-product-cards .wp-block-post-title {
	margin: 0;
}

.wp-block-post-template.is-style-product-cards .wp-block-post-title {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}
.wp-block-post-template.is-style-product-cards .wp-block-post-title a {
	color: var(--wp--preset--color--primary);
}

/* Acordeón */
.wp-block-accordion-item + .wp-block-accordion-item {
	margin-top: 5px;
}
.wp-block-accordion-heading__toggle {
	font: inherit;
}
.wp-block-accordion.is-style-light .wp-block-accordion-heading {
	background: var(--wp--preset--color--surface-3);
	color: var(--wp--preset--color--ink);
	padding: 8px 12px;
	border-radius: 5px;
}
/* FAQ de la ficha de producto: elementos más altos */
.wp-block-accordion.is-style-light.lb-faq .wp-block-accordion-heading {
	background: var(--wp--preset--color--surface-2);
	padding: 20px;
	border-radius: 3px;
}
.wp-block-accordion-heading__toggle {
	gap: 10px;
	padding: 0 !important;
	line-height: 1.5;
}
.wp-block-accordion-heading__toggle-icon {
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}
.wp-block-accordion-heading.has-icon-left .wp-block-accordion-heading__toggle {
	justify-content: flex-start;
}
.wp-block-accordion.is-style-light .wp-block-accordion-panel {
	background: var(--wp--preset--color--surface-2);
	color: var(--wp--preset--color--ink);
	padding: 0 10px 25px;
}

/* Pestañas */
.wp-block-tabs .wp-block-tab-list button {
	font-family: var(--wp--preset--font-family--jakarta);
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
	background: transparent;
	border: 0;
	border-bottom: 1px solid transparent;
	padding: 5px;
	cursor: pointer;
}
.wp-block-tabs .wp-block-tab-list button[aria-selected="true"] {
	border-bottom-color: var(--wp--preset--color--primary);
}

/* Diapositivas (portadas dentro de un carrusel) */
@media (max-width: 1024px) {
	.lb-carousel .wp-block-cover {
		padding-left: 40px !important;
		padding-right: 40px !important;
	}
}
@media (max-width: 767px) {
	.lb-carousel .wp-block-cover {
		padding: 20px 20px 50px !important;
	}
}

/* Títulos con aspecto de encabezado pero sin semántica de título (Elementor "div") */
.lb-heading-like {
	line-height: 1.2;
}

/* Datos de producto */
.lb-field p {
	margin: 0;
}
.lb-field--stacked .lb-field__label {
	font-weight: 600;
}

/* Accesibilidad */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Acordeón "texto" (p. ej. "+ Leer más") */
.wp-block-accordion.is-style-plain .wp-block-accordion-heading {
	background: transparent;
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	padding: 6px 0;
}
.wp-block-accordion.is-style-plain .wp-block-accordion-heading__toggle {
	gap: 10px;
	justify-content: flex-start;
}
.wp-block-accordion.is-style-plain .wp-block-accordion-panel {
	padding: 10px 0 0;
}

/* Ficha de producto */
.lb-field--value > * + *,
.lb-product-description .wp-block-post-content > * + * {
	margin-top: 0.9em;
}
.lb-product-more h2 {
	font-size: var(--wp--preset--font-size--x-large);
	margin: 1.2em 0 0.4em;
}
.lb-product-description:has(.wp-block-post-content:empty):not(:has(.lb-product-more)) {
	display: none;
}
.lb-testimonial-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.lb-product-cta .wp-block-button__link {
	text-align: left;
	border: 0;
}
.lb-product-tabs .wp-block-tab-panel {
	padding-top: 15px;
}
.lb-product-accordion:not(:has(.wp-block-accordion-item)) {
	display: none;
}

/* Móvil: los hijos con ancho fijo de una fila flexible se apilan (como Elementor). */
@media (max-width: 767px) {
	.is-layout-flex:not(.is-vertical) > [class*="wp-container-content-"] {
		flex-basis: 100% !important;
	}
}

/* Un grupo que es el único hijo de una columna ocupa toda su altura (para centrar en vertical). */
.wp-block-column > .wp-block-group:only-child {
	height: 100%;
	box-sizing: border-box;
}

/* Grupos flex verticales: sin "wrap" (si no, la línea toma el ancho del hijo más ancho y desborda en móvil). */
.is-layout-flex.is-vertical {
	flex-wrap: nowrap;
}
.is-layout-flex.is-vertical > * {
	min-width: 0;
	max-width: 100%;
}

/* Rellenos laterales grandes de escritorio (marcados por el conversor). */
@media (max-width: 1024px) {
	.lb-pad-x {
		padding-left: 40px !important;
		padding-right: 40px !important;
	}
}
@media (max-width: 767px) {
	.lb-pad-x {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.alignfull.lb-pad-x,
	.wp-block-cover.lb-pad-x {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}

/* Caja imagen + texto: en móvil, imagen arriba y texto centrado (como Elementor). */
@media (max-width: 767px) {
	.lb-image-box.is-layout-flex:not(.is-vertical) {
		flex-direction: column;
		align-items: center !important;
		text-align: center;
	}
	.lb-image-box.is-layout-flex:not(.is-vertical) > .wp-block-image {
		flex-basis: auto !important;
		max-width: 90px;
	}
	.lb-image-box.is-layout-flex:not(.is-vertical) > .wp-block-group {
		align-items: center;
	}
	.lb-image-box.is-layout-flex:not(.is-vertical) > .wp-block-group > * {
		text-align: center !important;
	}
}

/* Móvil: margen lateral mínimo en columnas de contenido (Elementor aplica ~15px). */
@media (max-width: 767px) {
	.lb-main .wp-block-post-content .wp-block-columns > .wp-block-column {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
}

/* Pestañas con aspecto de botones (p. ej. "Plantillas lanyards / pulseras") */
.wp-block-tabs.is-style-pills .wp-block-tab-list {
	justify-content: center;
	gap: 58px;
	margin-bottom: 20px;
}
.wp-block-tabs.is-style-pills .wp-block-tab-list button {
	padding: 12px 30px;
	border: 2px solid var(--wp--preset--color--primary);
	border-radius: 10px;
	background: var(--wp--preset--color--primary);
	color: #fff;
	text-transform: none;
	font-family: inherit;
}
.wp-block-tabs.is-style-pills .wp-block-tab-list button[aria-selected="true"] {
	background: #fff;
	color: var(--wp--preset--color--primary);
}

/* =========================================================
   Ficha de producto nueva (plantilla single-product-v2)
   ========================================================= */
.lb-pdp__columns {
	align-items: flex-start !important;
}
@media (min-width: 782px) {
	.lb-pdp__media {
		position: sticky;
		top: 130px;
	}
}
.lb-pdp__info {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.lb-pdp__info > * {
	margin-block: 0 !important;
}
.lb-pdp__eyebrow {
	color: var(--wp--preset--color--secondary);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}
.lb-pdp__title {
	margin-top: 2px !important;
	color: var(--wp--preset--color--primary);
	font-size: clamp(30px, 3vw, 42px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
}
.lb-pdp__subtitle {
	margin-top: 10px !important;
	color: var(--wp--preset--color--copy);
	font-size: 17px;
	line-height: 1.45;
}
.lb-pdp__subtitle .wp-block-post-excerpt__excerpt {
	margin: 0;
}
.lb-pdp__options {
	margin-top: 26px !important;
}
.lb-pdp__actions {
	margin-top: 26px !important;
	gap: 12px !important;
}
.lb-pdp__actions .wp-block-button {
	width: 100%;
}
.wp-block-button.lb-pill .wp-block-button__link {
	padding: 16px 24px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
}
.lb-pdp__actions .wp-block-button:not(.is-style-solid) .wp-block-button__link {
	border: 1.5px solid var(--wp--preset--color--primary);
	background: #fff;
	color: var(--wp--preset--color--primary);
}
.lb-pdp__actions .wp-block-button:not(.is-style-solid) .wp-block-button__link:hover {
	background: var(--wp--preset--color--surface-2);
}
.lb-pdp__rating {
	margin-top: 22px !important;
}
.lb-pdp__rating p {
	margin: 0;
	line-height: 1.2;
}
.lb-pdp__score a {
	color: var(--wp--preset--color--ink);
	font-size: 18px;
}
.lb-pdp__reviews {
	color: var(--wp--preset--color--secondary);
	font-size: 14px;
}
.lb-pdp__description {
	margin-top: 22px !important;
	padding-top: 22px;
	border-top: 1px solid var(--wp--preset--color--surface-3);
	color: var(--wp--preset--color--copy);
	font-size: 15px;
	line-height: 1.65;
}
.lb-pdp__description > * + * {
	margin-top: 0.9em;
}
.lb-pdp__info .wp-block-accordion.is-style-lines {
	margin-top: 24px !important;
}

/* Acordeón con separadores (sin fondo) */
.wp-block-accordion.is-style-lines .wp-block-accordion-item {
	margin: 0;
	border-bottom: 1px solid var(--wp--preset--color--surface-3);
}
.wp-block-accordion.is-style-lines .wp-block-accordion-item:first-child {
	border-top: 1px solid var(--wp--preset--color--surface-3);
}
.wp-block-accordion.is-style-lines .wp-block-accordion-heading {
	padding: 18px 0;
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-size: 16px;
	font-weight: 600;
}
.wp-block-accordion.is-style-lines .wp-block-accordion-heading__toggle {
	justify-content: space-between;
}
.wp-block-accordion.is-style-lines .wp-block-accordion-panel {
	padding: 0 0 20px;
	font-size: 15px;
	line-height: 1.6;
}
.wp-block-accordion.is-style-lines .wp-block-accordion-panel .lb-field + .lb-field {
	margin-top: 6px;
}

/* Texto largo bajo la ficha */
.lb-pdp__more-text {
	font-size: 16px;
	line-height: 1.7;
}
.lb-pdp__more-text h2 {
	margin: 1.6em 0 0.5em;
	color: var(--wp--preset--color--primary);
	font-size: clamp(22px, 2.2vw, 28px);
	font-weight: 700;
	line-height: 1.2;
}
.lb-pdp__more-text h2:first-child {
	margin-top: 0;
}
.lb-pdp__h2 {
	color: var(--wp--preset--color--primary);
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 700;
	line-height: 1.15;
}

/* Tarjetas de relacionados más ligeras */
.lb-pdp .wp-block-post-template.is-style-product-cards > li {
	padding: 0;
	border: 0;
	background: transparent;
}
.lb-pdp .wp-block-post-template.is-style-product-cards .wp-block-post-featured-image {
	margin-bottom: 12px;
	overflow: hidden;
	border-radius: 14px;
	background: var(--wp--preset--color--surface-2);
}
.lb-pdp .wp-block-post-template.is-style-product-cards .wp-block-post-title {
	font-size: 16px;
	font-weight: 600;
}

@media (max-width: 781px) {
	.lb-pdp__top {
		padding-top: 12px !important;
	}
	.lb-pdp__columns .wp-block-column {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

/* Ficha nueva: columna de información fija (448px) y la galería ocupa el resto */
@media (min-width: 782px) {
	.lb-pdp__columns > .lb-pdp__info {
		flex: 0 0 448px !important;
		max-width: 448px;
	}
	.lb-pdp__columns > .lb-pdp__media {
		flex: 1 1 0 !important;
		min-width: 0;
	}
}
@media (min-width: 782px) and (max-width: 1100px) {
	.lb-pdp__columns > .lb-pdp__info {
		flex-basis: 380px !important;
		max-width: 380px;
	}
}

/* Ficha nueva: textos largos a ancho completo en dos columnas (una en móvil) */
@media (min-width: 900px) {
	.lb-pdp__more-text {
		column-count: 2;
		column-gap: 72px;
	}
	.lb-pdp__more-text h2 {
		break-after: avoid;
		margin-top: 0;
	}
	.lb-pdp__more-text p {
		break-inside: avoid;
		margin: 0 0 2.2em;
	}
}

/* Ficha nueva: títulos y listas dentro de la descripción y del texto inferior */
.lb-pdp__description h3 {
	margin-top: 1.4em;
	color: var(--wp--preset--color--primary);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}
.lb-pdp__description ul,
.lb-pdp__more-text ul {
	margin: 0.6em 0 0;
	padding-left: 1.2em;
}
.lb-pdp__description li + li,
.lb-pdp__more-text li + li {
	margin-top: 0.35em;
}
@media (min-width: 900px) {
	.lb-pdp__more-text ul {
		break-inside: avoid;
		margin: 0 0 2.2em;
	}
}

/* =========================================================
   Slider principal de la portada (lb-hero)
   ========================================================= */
.lb-hero {
	--hero-h: clamp(440px, 38vw, 600px);
	background: var(--wp--preset--color--primary);
}
.lb-hero__slide {
	display: grid !important;
	grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
	min-height: var(--hero-h);
	margin: 0 !important;
	overflow: hidden;
	position: relative;
	/* Toque de color de marca detrás del texto */
	background:
		radial-gradient(120% 90% at 0% 100%, rgba(0, 144, 210, 0.35) 0%, rgba(0, 144, 210, 0) 55%),
		var(--wp--preset--color--primary) !important;
}
.lb-hero__text {
	align-self: center;
	gap: 0 !important;
	padding: 48px clamp(28px, 5vw, 96px) 64px;
	max-width: 640px;
	box-sizing: border-box;
}
.lb-hero__text > * {
	margin: 0 !important;
}
.lb-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #8fd3f5;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.lb-hero__eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: currentColor;
}
.lb-hero__title {
	margin-top: 16px !important;
	color: #fff !important;
	font-size: clamp(32px, 3.6vw, 56px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
}
.lb-hero__lead {
	margin-top: 18px !important;
	max-width: 30em;
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(15px, 1.15vw, 18px);
	line-height: 1.55;
}
.lb-hero__actions {
	margin-top: 30px !important;
	gap: 12px !important;
}
.lb-hero__btn .wp-block-button__link {
	padding: 15px 26px;
	border: 1.5px solid #fff;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	transition: background 0.2s, color 0.2s, transform 0.2s;
}
.lb-hero__btn--primary .wp-block-button__link {
	background: #fff;
	color: var(--wp--preset--color--primary);
}
.lb-hero__btn--primary .wp-block-button__link:hover {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
	color: #fff;
}
.lb-hero__btn--ghost .wp-block-button__link {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
}
.lb-hero__btn--ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
}
.lb-hero__media {
	position: relative;
	height: 100%;
	margin: 0 !important;
	overflow: hidden;
}
.lb-carousel__track > .lb-hero__slide .lb-hero__media img,
.lb-hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transform: scale(1.04);
	transition: transform 6s ease-out;
}
/* Suave zoom de la foto en la diapositiva visible */
.lb-hero__slide.is-active .lb-hero__media img {
	transform: scale(1);
}
/* Unión del panel azul con la foto */
.lb-hero__media::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	z-index: 1;
	width: 200px;
	background: linear-gradient(90deg, #002a5a 0%, rgba(0, 42, 90, 0.75) 25%, rgba(0, 42, 90, 0.35) 55%, rgba(0, 42, 90, 0.1) 80%, rgba(0, 42, 90, 0) 100%);
	pointer-events: none;
}

/* Controles del carrusel en el slider */
.lb-hero__carousel .lb-carousel__arrow {
	top: auto;
	bottom: 26px;
	width: 44px;
	height: 44px;
	margin: 0;
	border: 1.5px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	background: rgba(0, 42, 90, 0.35);
	backdrop-filter: blur(4px);
}
.lb-hero__carousel .lb-carousel__arrow svg {
	width: 10px;
	height: 16px;
}
.lb-hero__carousel .lb-carousel__arrow:hover {
	background: #fff;
	color: var(--wp--preset--color--primary);
}
.lb-hero__carousel .lb-carousel__arrow--prev { left: auto; right: 84px; }
.lb-hero__carousel .lb-carousel__arrow--next { right: 30px; }
.lb-hero__carousel .lb-carousel__dots {
	left: clamp(28px, 5vw, 96px);
	right: auto;
	bottom: 28px;
	gap: 8px;
}
.lb-hero__carousel .lb-carousel__dot {
	width: 26px;
	height: 3px;
	border-radius: 2px;
	background: #fff;
	opacity: 0.35;
	transition: width 0.3s, opacity 0.3s;
}
.lb-hero__carousel .lb-carousel__dot[aria-current="true"] {
	width: 48px;
	opacity: 1;
}

@media (max-width: 781px) {
	.lb-hero__slide {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr;
		min-height: 0;
	}
	.lb-hero__media {
		order: -1;
		height: auto;
		aspect-ratio: 3 / 2;
	}
	.lb-hero__media::before {
		inset: auto 0 0 0;
		width: auto;
		height: 60px;
		background: linear-gradient(0deg, var(--wp--preset--color--primary), rgba(0, 42, 90, 0));
	}
	.lb-hero__text {
		align-self: start;
		padding: 18px 22px 76px;
	}
	.lb-hero__title {
		margin-top: 10px !important;
	}
	.lb-hero__lead {
		margin-top: 12px !important;
	}
	.lb-hero__actions {
		margin-top: 20px !important;
	}
	.lb-hero__carousel .lb-carousel__dots {
		left: 22px;
		bottom: 30px;
	}
	.lb-hero__carousel .lb-carousel__arrow {
		bottom: 18px;
		width: 40px;
		height: 40px;
	}
	.lb-hero__carousel .lb-carousel__arrow--prev { right: 66px; }
	.lb-hero__carousel .lb-carousel__arrow--next { right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.lb-hero__media img {
		transform: none !important;
		transition: none;
	}
}

/* =========================================================
   RESTYLING 2026 · línea limpia (blanco, gris claro, redondeados,
   tipografía contundente, botones en píldora)
   ========================================================= */
:root {
	--lb-r-sm: 10px;
	--lb-r-md: 16px;
	--lb-r-lg: 24px;
	--lb-line: #e7e9ee;
	--lb-soft: #f4f5f7;
	--lb-ink: #14181f;
}

/* ---------- Cabecera ---------- */
.lb-topbar {
	padding-top: 6px !important;
	padding-bottom: 6px !important;
	padding-left: 24px !important;
	padding-right: 24px !important;
}
.lb-topbar p {
	font-size: 13px !important;
}
.lb-header {
	box-shadow: none;
}
.lb-mainbar {
	border-bottom: 1px solid var(--lb-line);
	box-shadow: none !important;
}
.lb-nav,
.lb-nav .wp-block-navigation-item__content {
	color: var(--lb-ink) !important;
	font-size: 15px;
	font-weight: 500;
}
.lb-nav .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--accent) !important;
}
.lb-nav .wp-block-navigation__submenu-container {
	min-width: 240px !important;
	padding: 10px !important;
	border: 1px solid var(--lb-line) !important;
	border-radius: var(--lb-r-md);
	box-shadow: 0 12px 32px rgba(20, 24, 31, 0.1);
}
.lb-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 9px 14px;
	border-radius: var(--lb-r-sm);
}
.lb-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: var(--lb-soft);
	color: var(--wp--preset--color--primary) !important;
}
.lb-header-cta .wp-block-button__link {
	padding: 12px 22px !important;
	font-size: 14px !important;
}
@media (max-width: 1100px) {
	.lb-header-cta {
		display: none !important;
	}
}

/* ---------- Tipografía de contenidos ---------- */
.lb-main h1,
.lb-main h2,
.lb-main h3,
.lb-main .lb-heading-like {
	letter-spacing: -0.01em;
}
.lb-main h1,
.lb-main h2 {
	font-weight: 700 !important;
}
.lb-main h3 {
	font-weight: 600 !important;
}

/* ---------- Botones: píldora en toda la web ---------- */
.lb-main .wp-block-button__link,
.lb-footer .wp-block-button__link,
.wp-block-button.lb-pill .wp-block-button__link {
	border-radius: 999px !important;
	padding: 14px 26px !important;
	font-weight: 600 !important;
	line-height: 1.1 !important;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.wp-block-button.is-style-solid .wp-block-button__link {
	border: 0 !important;
}

/* ---------- Cajas de dato (Pedido mínimo, Tiempo de entrega…) ---------- */
.lb-main .wp-block-group.is-style-info-box {
	padding: 14px 18px !important;
	border: 0 !important;
	border-radius: var(--lb-r-md) !important;
	background: var(--lb-soft) !important;
	color: var(--lb-ink) !important;
	font-weight: 600;
}
.lb-main .wp-block-group.is-style-info-box p:first-child {
	color: var(--wp--preset--color--secondary);
	font-size: 13px;
	font-weight: 500;
}

/* ---------- Imágenes con esquinas redondeadas ---------- */
.lb-main .wp-block-post-content .wp-block-image img,
.lb-main .wp-block-gallery .wp-block-image img {
	border-radius: var(--lb-r-md);
}
.lb-main .lb-image-box .wp-block-image img {
	border-radius: 0;
}

/* ---------- Tarjetas de producto (categorías, relacionados) ---------- */
.wp-block-post-template.is-style-product-cards {
	gap: 28px 20px !important;
}
.wp-block-post-template.is-style-product-cards > li {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
}
.wp-block-post-template.is-style-product-cards .wp-block-post-featured-image {
	margin: 0 0 14px !important;
	overflow: hidden;
	border-radius: var(--lb-r-md);
	background: var(--lb-soft);
}
.wp-block-post-template.is-style-product-cards .wp-block-post-featured-image img {
	transition: transform 0.4s ease;
}
.wp-block-post-template.is-style-product-cards > li:hover .wp-block-post-featured-image img {
	transform: scale(1.04);
}
.wp-block-post-template.is-style-product-cards .wp-block-post-title {
	font-size: 17px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
}
.wp-block-post-template.is-style-product-cards .wp-block-post-title a {
	color: var(--lb-ink) !important;
}
.wp-block-post-template.is-style-product-cards > li:hover .wp-block-post-title a {
	color: var(--wp--preset--color--primary) !important;
}

/* ---------- Acordeones: líneas finas en lugar de cajas ---------- */
.lb-main .wp-block-accordion:not(.is-style-plain):not(.is-style-lines) .wp-block-accordion-item {
	margin: 0 !important;
	border-bottom: 1px solid var(--lb-line);
}
.lb-main .wp-block-accordion:not(.is-style-plain):not(.is-style-lines) .wp-block-accordion-item:first-child {
	border-top: 1px solid var(--lb-line);
}
.lb-main .wp-block-accordion:not(.is-style-plain):not(.is-style-lines) .wp-block-accordion-heading {
	padding: 18px 4px !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--lb-ink) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
}
.lb-main .wp-block-accordion:not(.is-style-plain):not(.is-style-lines) .wp-block-accordion-heading__toggle {
	justify-content: space-between;
}
.lb-main .wp-block-accordion:not(.is-style-plain):not(.is-style-lines) .wp-block-accordion-heading.has-icon-left .wp-block-accordion-heading__toggle {
	flex-direction: row-reverse;
}
.lb-main .wp-block-accordion:not(.is-style-plain):not(.is-style-lines) .wp-block-accordion-panel {
	padding: 0 4px 20px !important;
	background: transparent !important;
	color: var(--wp--preset--color--copy) !important;
}

/* ---------- Pestañas tipo botón ---------- */
.wp-block-tabs.is-style-pills .wp-block-tab-list button {
	border-radius: 999px;
	padding: 12px 26px;
	font-weight: 600;
}

/* ---------- Carruseles de contenido ---------- */
.lb-main .lb-carousel:not(.lb-hero__carousel) .lb-carousel__arrow {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff;
	color: var(--lb-ink);
	box-shadow: 0 4px 14px rgba(20, 24, 31, 0.14);
}
.lb-main .lb-carousel:not(.lb-hero__carousel) .lb-carousel__arrow svg {
	width: 9px;
	height: 15px;
}
.lb-main .lb-carousel:not(.lb-hero__carousel) .lb-carousel__dot {
	width: 8px;
	height: 8px;
	background: var(--wp--preset--color--primary);
}

/* ---------- Formularios ---------- */
.lb-form input[type="text"],
.lb-form input[type="email"],
.lb-form input[type="tel"],
.lb-form textarea {
	padding: 13px 16px;
	border: 1px solid #d5d9e0;
	border-radius: 12px;
	background: #fff;
}
.lb-form input:focus,
.lb-form textarea:focus {
	border-color: var(--wp--preset--color--primary);
	outline: 3px solid rgba(0, 144, 210, 0.18);
	outline-offset: 0;
}
.lb-form__submit button {
	padding: 15px 26px;
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	font-weight: 600;
}
.lb-form__submit button:hover {
	background: var(--wp--preset--color--accent);
}

/* ---------- Pie ---------- */
.lb-footer {
	margin-top: 0;
}
.lb-footer__cta-wrap {
	position: relative;
	z-index: 1;
	margin-bottom: -60px !important;
	background: transparent;
}
.lb-footer__cta {
	gap: 24px;
	padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 64px) !important;
	border-radius: var(--lb-r-lg);
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(0, 144, 210, 0.45) 0%, rgba(0, 144, 210, 0) 55%),
		var(--wp--preset--color--primary) !important;
}
.lb-footer__cta-title {
	color: #fff !important;
	font-size: clamp(24px, 2.4vw, 34px) !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em;
	line-height: 1.15;
}
.lb-footer__cta-text p {
	color: rgba(255, 255, 255, 0.82);
	font-size: 16px;
}
.lb-footer__cta-actions {
	gap: 12px;
}
.lb-footer__main {
	padding-top: 120px !important;
	background: var(--lb-soft) !important;
}
.lb-footer__bottom {
	background: var(--lb-soft) !important;
	border-top: 1px solid var(--lb-line);
}
.lb-footer__title {
	margin: 4px 0 14px !important;
	color: var(--lb-ink) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.lb-footer__title--spaced {
	margin-top: 28px !important;
}
.lb-footer__nav {
	gap: 10px !important;
	font-size: 15px;
}
.lb-footer__nav .wp-block-navigation-item__content,
.lb-footer__address,
.lb-footer__contact,
.lb-footer__claim {
	color: #4b5260 !important;
	font-size: 15px;
	line-height: 1.6;
}
.lb-footer__nav .wp-block-navigation-item__content:hover,
.lb-footer__contact a:hover {
	color: var(--wp--preset--color--primary) !important;
}
.lb-footer__contact a {
	color: var(--lb-ink);
	font-weight: 600;
}
.lb-footer__claim {
	max-width: 34em;
	margin: 14px 0 16px !important;
}
.lb-footer__rating {
	color: #f6bb06;
}
.lb-footer__rating p {
	color: var(--lb-ink);
	font-size: 14px;
}
.lb-footer__legal {
	color: #6b7280;
	font-size: 13px;
}
.lb-footer__legal a {
	color: #4b5260;
}
.lb-footer__legal a:hover {
	color: var(--wp--preset--color--primary);
}
.lb-footer__pay {
	margin: 0 !important;
}
@media (max-width: 781px) {
	.lb-footer__cta-wrap {
		margin-bottom: -40px !important;
	}
	.lb-footer__main {
		padding-top: 90px !important;
	}
	.lb-footer__brand,
	.lb-footer__menu {
		flex-basis: 100% !important;
		text-align: left !important;
	}
	.lb-footer__brand .wp-block-image {
		justify-content: flex-start !important;
	}
}

/* ---------- Restyling: secciones heredadas de Elementor ---------- */
/* Sombras pesadas -> suaves y con esquinas redondeadas */
.lb-main .wp-block-group[style*="box-shadow"],
.lb-main .wp-block-column[style*="box-shadow"],
.lb-main .wp-block-columns[style*="box-shadow"] {
	box-shadow: 0 14px 40px rgba(20, 24, 31, 0.1) !important;
	border-radius: var(--lb-r-lg);
	overflow: hidden;
}
/* Bloques de color dentro del contenido */
.lb-main .wp-block-post-content .wp-block-column.has-background,
.lb-main .wp-block-post-content .wp-block-columns > .wp-block-column[style*="background-image"] {
	border-radius: var(--lb-r-lg);
	overflow: hidden;
}
/* Mosaico de categorías (Empresa) como bloque redondeado */
.lb-main .wp-block-post-content .wp-block-columns:has(> .wp-block-column .wp-block-cover) {
	overflow: hidden;
}
/* Cuadrículas de producto: separadas del borde de la pantalla */
.lb-main .wp-block-post-content .alignfull:has(> .lb-product-query),
.lb-main .wp-block-post-content .alignfull:has(> * > .lb-product-query) {
	padding-left: max(24px, calc((100vw - 1440px) / 2)) !important;
	padding-right: max(24px, calc((100vw - 1440px) / 2)) !important;
}
/* Imagen principal de las categorías (presentación) */
.lb-main .lb-carousel--fill {
	overflow: hidden;
	border-radius: var(--lb-r-lg);
}
.lb-main .wp-block-columns:has(.lb-carousel--fill) {
	padding-top: 24px;
	padding-right: 24px;
}
@media (max-width: 781px) {
	.lb-main .wp-block-columns:has(.lb-carousel--fill) {
		padding: 0 16px;
	}
}
/* Franja de ventajas bajo el slider */
.lb-main .wp-block-post-content > .alignfull:has(.lb-image-box) {
	box-shadow: none !important;
	border-bottom: 1px solid var(--lb-line);
}

/* Textos de las secciones a ancho completo: contenedor de lectura centrado */
.lb-main .wp-block-post-content > .alignfull > :is(h1, h2, h3, h4, p, ul, ol, .lb-text) {
	box-sizing: border-box;
	width: 100%;
	max-width: 980px;
	margin-left: auto !important;
	margin-right: auto !important;
	align-self: center;
}
.lb-main .wp-block-post-content > .alignfull > :is(h1, h2) {
	max-width: 1100px;
}

/* =========================================================
   Componentes de sección (Empresa, categorías)
   ========================================================= */
.lb-sec {
	padding: clamp(56px, 7vw, 96px) 24px !important;
}
.lb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px !important;
	color: var(--wp--preset--color--accent) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.lb-eyebrow::before {
	content: "";
	width: 24px;
	height: 2px;
	background: currentColor;
}
.lb-eyebrow.lb-center {
	display: flex;
	justify-content: center;
}
.lb-center {
	text-align: center;
}
.lb-measure {
	max-width: 760px;
	margin-left: auto !important;
	margin-right: auto !important;
}
.lb-sec h1,
.lb-sec h2 {
	color: var(--wp--preset--color--primary);
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.015em;
}
.lb-sec .lb-display {
	font-size: clamp(32px, 3.8vw, 52px);
	line-height: 1.06;
}
.lb-sec p {
	color: var(--wp--preset--color--copy);
	font-size: 16px;
	line-height: 1.65;
}
.lb-sec .lb-lead {
	color: var(--lb-ink);
	font-size: clamp(17px, 1.3vw, 19px);
	line-height: 1.55;
}
.lb-actions {
	gap: 12px !important;
	margin-top: 10px !important;
}
.wp-block-button.lb-pill--outline .wp-block-button__link {
	border: 1.5px solid var(--wp--preset--color--primary) !important;
	background: transparent !important;
	color: var(--wp--preset--color--primary) !important;
}
.wp-block-button.lb-pill--outline .wp-block-button__link:hover {
	background: var(--lb-soft) !important;
}

/* Bloque dividido texto + imagen */
.lb-split {
	gap: clamp(32px, 5vw, 80px) !important;
	align-items: center !important;
}
.lb-split__text > * + * {
	margin-top: 14px !important;
}
.lb-split__text h2,
.lb-split__text h1 {
	margin-top: 0 !important;
}
.lb-photo img,
.lb-photo-rounded img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--lb-r-lg);
}
.lb-collage {
	position: relative;
	padding: 0 12% 18% 0;
}
.lb-collage .lb-photo {
	margin: 0 !important;
}
.lb-collage .lb-photo + .lb-photo {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 52%;
	border: 6px solid var(--wp--preset--color--surface);
	border-radius: calc(var(--lb-r-lg) + 6px);
	box-shadow: 0 18px 40px rgba(20, 24, 31, 0.18);
}

/* Cifras */
.lb-stats {
	margin-top: clamp(40px, 5vw, 64px) !important;
	gap: 16px !important;
}
.lb-stat {
	padding: 22px 24px;
	border-radius: var(--lb-r-md);
	background: var(--lb-soft);
}
.lb-stat__n {
	color: var(--wp--preset--color--primary) !important;
	font-size: clamp(26px, 2.4vw, 34px) !important;
	font-weight: 700;
	line-height: 1.1 !important;
}
.lb-stat__l {
	margin-top: 4px !important;
	color: var(--wp--preset--color--secondary) !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
}

/* Valores */
.lb-features {
	margin-top: 40px !important;
	gap: 20px !important;
}
.lb-feature {
	padding: 28px;
	border-radius: var(--lb-r-lg);
	background: #fff;
	box-shadow: 0 1px 2px rgba(20, 24, 31, 0.04);
}
.lb-feature .wp-block-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: rgba(0, 144, 210, 0.12);
	color: var(--wp--preset--color--accent);
}
.lb-feature .wp-block-icon svg {
	width: 18px;
}
.lb-feature h3 {
	margin: 0 0 8px !important;
	color: var(--lb-ink);
	font-size: 18px;
	font-weight: 700;
}
.lb-feature p {
	margin: 0 !important;
	font-size: 15px;
}

/* Rejilla de categorías */
.lb-catgrid {
	margin-top: 40px !important;
	gap: 28px 20px !important;
}
.lb-catcard .wp-block-image {
	margin: 0 0 14px !important;
	overflow: hidden;
	border-radius: var(--lb-r-md);
	background: var(--lb-soft);
}
.lb-catcard img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.lb-catcard:hover img {
	transform: scale(1.04);
}
.lb-catcard h3 {
	margin: 0 !important;
	font-size: 18px;
	font-weight: 600;
}
.lb-catcard h3 a {
	color: var(--lb-ink);
}
.lb-catcard h3 a::after {
	content: " →";
	color: var(--wp--preset--color--accent);
	transition: margin 0.2s;
}
.lb-catcard:hover h3 a {
	color: var(--wp--preset--color--primary);
}
.lb-closing-claim {
	margin-top: 22px !important;
	color: var(--wp--preset--color--primary) !important;
	font-size: 18px !important;
}

/* ---------- Categorías ---------- */
.lb-cat-hero {
	padding: 24px 24px 0 !important;
	background: #fff !important;
}
.lb-cat-hero > .wp-block-columns {
	max-width: 1760px;
	margin: 0 auto !important;
	padding: 0 !important;
	overflow: hidden;
	border-radius: var(--lb-r-lg);
	background: var(--lb-soft);
	gap: 0 !important;
	align-items: stretch !important;
}
.lb-cat-hero > .wp-block-columns > .wp-block-column:first-child {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(32px, 5vw, 72px) !important;
}
.lb-cat-hero > .wp-block-columns > .wp-block-column:first-child .wp-block-group {
	min-height: 0 !important;
	padding: 0 !important;
}
.lb-cat-hero h1,
.lb-cat-hero h2 {
	color: var(--wp--preset--color--primary);
	font-size: clamp(34px, 3.6vw, 52px) !important;
	font-weight: 700 !important;
	line-height: 1.05 !important;
	letter-spacing: -0.02em;
}
.lb-cat-hero p:not(.lb-eyebrow) {
	color: var(--wp--preset--color--copy);
	font-size: 16px !important;
	line-height: 1.65 !important;
}
.lb-cat-hero > .wp-block-columns > .wp-block-column:last-child {
	min-height: clamp(320px, 34vw, 520px);
	padding: 0 !important;
}
.lb-cat-hero > .wp-block-columns > .wp-block-column:last-child > * {
	height: 100%;
	min-height: inherit !important;
	margin: 0 !important;
	border-radius: 0 !important;
}
.lb-cat-hero > .wp-block-columns > .wp-block-column:last-child .lb-carousel--fill {
	border-radius: 0;
}
.lb-cat-hero .wp-block-columns:has(.lb-carousel--fill) {
	padding: 0 !important;
}
.lb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 0 !important;
	padding: 0;
	list-style: none;
}
.lb-chips li {
	padding: 7px 12px;
	border: 1px solid var(--lb-line);
	border-radius: 999px;
	background: #fff;
	color: var(--lb-ink);
	font-size: 13px;
	font-weight: 600;
}
.lb-chips li::before {
	content: "✓ ";
	color: var(--wp--preset--color--accent);
}
.lb-cat-grid {
	scroll-margin-top: 130px;
	padding-top: 24px !important;
	padding-bottom: 48px !important;
}
/* Tarjetas de subcategoría (sin consulta de productos) */
.lb-cat-grid .lb-image-box,
.lb-cat-grid .wp-block-group[style*="border"] {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
.lb-cat-grid .lb-image-box .wp-block-image,
.lb-cat-grid .wp-block-group[style*="border"] .wp-block-image {
	overflow: hidden;
	border-radius: var(--lb-r-md);
	background: var(--lb-soft);
}
.lb-cat-grid .lb-image-box img {
	transition: transform 0.4s ease;
}
.lb-cat-grid .lb-image-box:hover img {
	transform: scale(1.04);
}
.lb-cat-benefits {
	padding: clamp(48px, 6vw, 80px) 24px !important;
	background: var(--lb-soft) !important;
}
.lb-cat-benefits .lb-image-box,
.lb-cat-benefits > .wp-block-group > .wp-block-group,
.lb-cat-benefits .wp-block-column {
	padding: 28px !important;
	border-radius: var(--lb-r-lg);
	background: #fff !important;
}
.lb-cat-faq h2 {
	margin-bottom: 28px !important;
}
@media (max-width: 781px) {
	.lb-cat-hero {
		padding: 12px 12px 0 !important;
	}
	.lb-cat-hero > .wp-block-columns > .wp-block-column:first-child {
		padding: 28px 22px !important;
	}
	.lb-cat-hero > .wp-block-columns > .wp-block-column:last-child {
		order: -1;
		min-height: 240px;
	}
	.lb-collage {
		padding: 0 8% 14% 0;
	}
}

/* Banner configurador "Crear lanyard" */
.lb-kreator-wrap {
	padding-top: 24px !important;
	padding-bottom: 24px !important;
}
.lb-kreator {
	gap: 0 !important;
	overflow: hidden;
	border-radius: var(--lb-r-lg);
	background:
		radial-gradient(110% 120% at 0% 100%, rgba(0, 144, 210, 0.4) 0%, rgba(0, 144, 210, 0) 60%),
		var(--wp--preset--color--primary);
	align-items: stretch !important;
}
.lb-kreator__text {
	padding: clamp(32px, 5vw, 64px) !important;
}
.lb-kreator__text > * + * {
	margin-top: 14px !important;
}
.lb-kreator h2 {
	color: #fff !important;
}
.lb-kreator p:not(.lb-eyebrow) {
	color: rgba(255, 255, 255, 0.85) !important;
}
.lb-kreator .lb-eyebrow {
	color: #8fd3f5 !important;
}
.lb-kreator__media {
	position: relative;
	min-height: 340px;
	padding: 0 !important;
}
.lb-kreator__media .wp-block-image {
	position: absolute;
	inset: 0;
	margin: 0 !important;
}
.lb-kreator__media img {
	width: 100%;
	height: 100% !important;
	aspect-ratio: auto !important;
	object-fit: cover;
	border-radius: 0 !important;
}
@media (max-width: 781px) {
	.lb-kreator__media {
		order: -1;
	}
	.lb-kreator__media {
		min-height: 220px;
	}
}

/* Categorías: aire entre la cabecera y la primera sección, y entre el texto y la rejilla */
.lb-main .wp-block-post-content > .lb-cat-hero + * {
	margin-top: clamp(56px, 6vw, 96px) !important;
}
.lb-main .wp-block-post-content > .lb-cat-grid {
	margin-top: clamp(32px, 4vw, 56px) !important;
}

/* Separación uniforme entre secciones (Empresa y demás páginas con .lb-sec) */
.lb-sec {
	padding-top: clamp(56px, 6vw, 88px) !important;
	padding-bottom: clamp(56px, 6vw, 88px) !important;
}
/* Dos secciones seguidas con el mismo fondo: no se suman los dos rellenos */
.lb-sec.has-white-background-color + .lb-sec.has-white-background-color,
.lb-sec.has-surface-background-color + .lb-sec.has-surface-background-color {
	padding-top: 0 !important;
}
.lb-about-hero .lb-stats {
	margin-top: clamp(40px, 4.5vw, 64px) !important;
}

/* =========================================================
   Contacto
   ========================================================= */
.lb-contact {
	gap: clamp(32px, 5vw, 72px) !important;
}
.lb-contact__info > * + * {
	margin-top: 16px !important;
}
.lb-contact-list {
	gap: 12px !important;
	margin-top: 28px !important;
}
.lb-contact-item {
	gap: 14px !important;
	padding: 16px 18px;
	border-radius: var(--lb-r-md);
	background: var(--lb-soft);
}
.lb-contact-item > .wp-block-icon {
	display: grid;
	flex: 0 0 40px;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: var(--wp--preset--color--primary);
}
.lb-contact-item > .wp-block-icon svg {
	width: 16px;
}
.lb-contact-item__label {
	margin: 0 !important;
	color: var(--wp--preset--color--secondary) !important;
	font-size: 13px !important;
	line-height: 1.3 !important;
}
.lb-contact-item__value {
	margin: 2px 0 0 !important;
	color: var(--lb-ink) !important;
	font-size: 16px !important;
	font-weight: 600;
	line-height: 1.45 !important;
}
.lb-contact-item__value a {
	color: var(--lb-ink);
}
.lb-contact-item__value a:hover {
	color: var(--wp--preset--color--accent);
}
.lb-contact-extra {
	margin-top: 24px !important;
}
.lb-form-card {
	padding: clamp(24px, 3.5vw, 44px);
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-r-lg);
	background: #fff;
	box-shadow: 0 20px 50px rgba(20, 24, 31, 0.08);
}
.lb-form-card__title {
	margin: 0 !important;
	font-size: clamp(22px, 2vw, 28px) !important;
}
.lb-form-card__sub {
	margin: 6px 0 22px !important;
	font-size: 15px !important;
}
.lb-form-card .lb-form form {
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.lb-form-card .lb-form__field:has(textarea),
.lb-form-card .lb-form__consent,
.lb-form-card .lb-form__submit,
.lb-form-card .lb-form__product {
	grid-column: 1 / -1;
}
.lb-form-card .lb-form textarea {
	min-height: 140px;
}
.lb-contact-map {
	padding-top: 0 !important;
}
.lb-map {
	display: block;
	width: 100%;
	height: clamp(300px, 34vw, 440px);
	border: 0;
	border-radius: var(--lb-r-lg);
	filter: saturate(0.85);
}
@media (max-width: 781px) {
	.lb-form-card .lb-form form {
		grid-template-columns: 1fr;
	}
}
.lb-contact {
	align-items: flex-start !important;
}
.lb-contact-list {
	align-items: stretch !important;
}
.lb-form-card .lb-form__field:has(input[type="tel"]) {
	grid-column: 1 / -1;
}
.lb-form__consent a {
	color: var(--wp--preset--color--accent) !important;
	text-decoration: underline;
}
.lb-form__consent input {
	width: 18px;
	height: 18px;
	accent-color: var(--wp--preset--color--primary);
}

/* Botón flotante "volver arriba" */
.lb-totop {
	position: fixed;
	right: 20px;
	bottom: 24px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	color: #fff;
	box-shadow: 0 8px 24px rgba(0, 42, 90, 0.28);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s;
}
.lb-totop.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.lb-totop:hover {
	background: var(--wp--preset--color--accent);
}
.lb-totop:focus-visible {
	outline: 3px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}
.lb-totop svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}
@media (max-width: 767px) {
	.lb-totop {
		right: 14px;
		bottom: 16px;
		width: 44px;
		height: 44px;
	}
}

/* Ventana emergente (lb-modal) */
.lb-modal {
	display: none;
}
/* En el editor la ventana se muestra como un recuadro para poder editarla
   (la clase block-editor-block-list__block solo existe dentro del editor). */
.block-editor-block-list__block.lb-modal {
	display: block;
	position: relative;
	margin-top: 24px;
	padding: 40px 20px 20px;
	border: 2px dashed #e5266e;
	border-radius: 12px;
	background: #fff;
}
.block-editor-block-list__block.lb-modal::before {
	content: "Ventana «Leer más» · solo se ve en el editor";
	position: absolute;
	top: 10px;
	left: 20px;
	font: 600 12px/1 Arial, sans-serif;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #e5266e;
}
html.lb-dialog-open {
	overflow: hidden;
}
.lb-dialog {
	width: min(760px, calc(100vw - 32px));
	max-height: min(82vh, 760px);
	padding: 0;
	border: 0;
	border-radius: var(--lb-r-lg);
	background: #fff;
	box-shadow: 0 30px 80px rgba(0, 20, 50, 0.35);
	overflow: hidden;
}
.lb-dialog[open] {
	display: flex;
	flex-direction: column;
	animation: lb-pop 0.25s ease-out;
}
.lb-dialog::backdrop {
	background: rgba(0, 25, 55, 0.55);
	backdrop-filter: blur(3px);
}
.lb-dialog .lb-modal {
	display: block;
	padding: clamp(28px, 4vw, 48px);
	overflow-y: auto;
}
.lb-dialog .lb-modal > * + * {
	margin-top: 14px !important;
}
.lb-dialog .lb-modal h2 {
	margin-top: 4px !important;
	padding-right: 40px;
	color: var(--wp--preset--color--primary);
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 700;
	line-height: 1.15;
}
.lb-dialog .lb-modal p:not(.lb-eyebrow) {
	color: var(--wp--preset--color--copy);
	font-size: 16px;
	line-height: 1.7;
	text-align: left !important;
}
.lb-dialog .lb-modal .lb-actions {
	margin-top: 26px !important;
}
.lb-dialog__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--lb-soft);
	color: var(--lb-ink);
	cursor: pointer;
}
.lb-dialog__close:hover {
	background: var(--lb-line);
}
.lb-dialog__close svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}
@keyframes lb-pop {
	from { opacity: 0; transform: translateY(12px) scale(0.98); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.lb-dialog[open] { animation: none; }
}
.lb-cat-hero__img,
.lb-cat-hero__img img {
	width: 100%;
	height: 100%;
	margin: 0 !important;
	object-fit: cover;
}

/* Páginas de texto */
.lb-textpage .lb-textpage__title {
	margin: 0 0 28px !important;
	color: var(--wp--preset--color--primary);
	font-size: clamp(32px, 3.4vw, 46px) !important;
	font-weight: 700 !important;
	text-align: left !important;
}
.lb-textpage :is(h2, h3, h4):not(.lb-textpage__title) {
	margin: 36px 0 10px !important;
	color: var(--lb-ink) !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	text-align: left !important;
}
.lb-textpage p,
.lb-textpage li {
	color: #3f4652 !important;
	font-size: 16px !important;
	line-height: 1.75 !important;
	text-align: left !important;
}
.lb-textpage p + p {
	margin-top: 14px !important;
}
.lb-textpage ul {
	padding-left: 1.2em;
}
.lb-textpage .wp-block-group,
.lb-textpage .wp-block-columns {
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: none !important;
}
.lb-textpage a {
	color: var(--wp--preset--color--accent);
	text-decoration: underline;
}
.lb-cat-hero > .wp-block-columns > .wp-block-column:last-child:has(.lb-cat-hero__img--contain) {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}
.lb-cat-hero__img--contain img {
	object-fit: contain !important;
	padding: clamp(20px, 3vw, 48px);
	box-sizing: border-box;
	max-height: 520px;
}

/* Banner "Diseña tu lanyard": menos aire (la sección siguiente ya aporta su espacio) */
.lb-sec.lb-kreator-wrap {
	padding-top: 20px !important;
	padding-bottom: 0 !important;
}
.lb-main .wp-block-post-content > .lb-kreator-wrap + * {
	margin-top: 0 !important;
}

/* Ventana "Solicitar presupuesto" */
.lb-quote {
	width: min(620px, calc(100vw - 24px));
	max-height: calc(100dvh - 24px);
}
.lb-quote__body {
	padding: clamp(26px, 4vw, 40px);
	overflow-y: auto;
}
.lb-quote__title {
	margin: 2px 0 6px !important;
	padding-right: 40px;
	color: var(--wp--preset--color--primary);
	font-size: clamp(24px, 2.4vw, 30px) !important;
	font-weight: 700 !important;
	line-height: 1.15;
}
.lb-quote__sub {
	margin: 0 0 20px !important;
	color: var(--wp--preset--color--copy);
	font-size: 15px;
}
.lb-quote .lb-form form {
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.lb-quote .lb-form__product,
.lb-quote .lb-form__field:has(textarea),
.lb-quote .lb-form__consent,
.lb-quote .lb-form__submit,
.lb-quote .lb-form__notice {
	grid-column: 1 / -1;
}
.lb-quote .lb-form__product {
	margin: 0 0 6px !important;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--lb-soft);
	color: var(--lb-ink);
	font-size: 14px;
}
.lb-quote .lb-form__product[hidden] {
	display: none;
}
.lb-quote .lb-form textarea {
	min-height: 110px;
}
.lb-quote .lb-form__submit button:disabled {
	opacity: 0.6;
	cursor: wait;
}
.lb-quote__done {
	padding: 10px 0;
	text-align: center;
}
.lb-quote__done .lb-quote__title {
	padding-right: 0;
}
.lb-quote__check {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: rgba(0, 144, 210, 0.12);
	color: var(--wp--preset--color--accent);
}
.lb-quote__check svg {
	width: 30px;
	fill: currentColor;
}
.lb-quote__ok {
	margin-top: 10px;
	padding: 13px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
@media (max-width: 600px) {
	.lb-quote .lb-form form {
		grid-template-columns: 1fr;
	}
}
.lb-quote [hidden] {
	display: none !important;
}
.lb-quote .lb-form__submit button,
.lb-form-card .lb-form__submit button {
	width: 100%;
	padding: 15px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
}
.lb-quote .lb-form__submit button:hover,
.lb-form-card .lb-form__submit button:hover {
	background: var(--wp--preset--color--accent);
}

/* =========================================================
   Efectos premium (sutiles; desactivados con "reducir movimiento")
   ========================================================= */
html {
	scroll-behavior: smooth;
}
::selection {
	background: rgba(0, 144, 210, 0.22);
	color: var(--lb-ink);
}

/* Aparición al hacer scroll */
.lb-fx .lb-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--lb-d, 0ms), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--lb-d, 0ms);
	will-change: opacity, transform;
}
.lb-fx .lb-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* Entrada del texto del slider principal */
.lb-hero__slide.is-active .lb-hero__text > * {
	animation: lb-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.lb-hero__slide.is-active .lb-hero__text > :nth-child(2) { animation-delay: 0.08s; }
.lb-hero__slide.is-active .lb-hero__text > :nth-child(3) { animation-delay: 0.16s; }
.lb-hero__slide.is-active .lb-hero__text > :nth-child(4) { animation-delay: 0.24s; }
@keyframes lb-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

/* Cabecera translúcida y compacta al bajar */
.lb-mainbar {
	transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.lb-header.is-scrolled .lb-mainbar {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
	background-color: rgba(255, 255, 255, 0.86) !important;
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	box-shadow: 0 6px 24px rgba(20, 24, 31, 0.08) !important;
}
.lb-logo img {
	transition: height 0.3s ease, width 0.3s ease;
}
.lb-header.is-scrolled .lb-logo img {
	height: 40px !important;
}

/* Botones: ligera elevación y brillo */
.wp-block-button__link,
.lb-reviews__more,
.lb-quote__ok {
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}
.wp-block-button__link:hover,
.lb-reviews__more:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(0, 42, 90, 0.18);
}
.wp-block-button__link:active {
	transform: translateY(0);
	box-shadow: none;
}

/* Tarjetas: elevación al pasar el ratón */
.lb-feature,
.lb-review,
.lb-stat,
.lb-contact-item,
.lb-cat-benefits .wp-block-column {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lb-feature:hover,
.lb-review:hover,
.lb-stat:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(20, 24, 31, 0.08);
}
.wp-block-post-template.is-style-product-cards .wp-block-post-featured-image,
.lb-catcard .wp-block-image {
	transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.wp-block-post-template.is-style-product-cards > li:hover .wp-block-post-featured-image,
.lb-catcard:hover .wp-block-image {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(20, 24, 31, 0.14);
}
.wp-block-post-template.is-style-product-cards img,
.lb-catcard img {
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.lb-catcard h3 a::after {
	display: inline-block;
	transition: transform 0.25s ease;
}
.lb-catcard:hover h3 a::after {
	transform: translateX(4px);
}

/* Enlaces del menú con subrayado animado */
.lb-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	position: relative;
}
.lb-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--wp--preset--color--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}
.lb-nav > .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}
/* Submenús con aparición suave */
.lb-nav .wp-block-navigation__submenu-container {
	transition: opacity 0.2s ease, transform 0.2s ease !important;
}
.lb-nav .has-child:not(:hover):not(:focus-within) > .wp-block-navigation__submenu-container {
	transform: translateY(6px);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.lb-hero__slide.is-active .lb-hero__text > * { animation: none; }
	.wp-block-button__link:hover,
	.lb-feature:hover, .lb-review:hover, .lb-stat:hover,
	.wp-block-post-template.is-style-product-cards > li:hover .wp-block-post-featured-image,
	.lb-catcard:hover .wp-block-image { transform: none; }
}

/* =========================================================
   Menú móvil (parte de plantilla "Menú móvil", zona navigation-overlay)
   ========================================================= */
.lb-nav .wp-block-navigation__responsive-container-open {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--lb-soft);
	color: var(--wp--preset--color--primary);
}
.lb-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 0 !important;
	background: rgba(0, 25, 55, 0.45) !important;
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	animation: lb-fade 0.2s ease-out;
}
.lb-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
.lb-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog,
.lb-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	max-width: none;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0 !important;
}
.lb-mm {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	height: 100dvh;
	flex-wrap: nowrap !important;
	width: min(420px, 100%);
	overflow-y: auto;
	background: #fff;
	box-shadow: -20px 0 50px rgba(0, 20, 50, 0.25);
	animation: lb-slide 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes lb-slide {
	from { transform: translateX(40px); opacity: 0; }
	to { transform: none; opacity: 1; }
}
@keyframes lb-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}
.lb-mm__top {
	position: sticky;
	top: 0;
	z-index: 2;
	padding: 16px 20px !important;
	border-bottom: 1px solid var(--lb-line);
	background: #fff;
}
.lb-mm__logo {
	margin: 0 !important;
}
.lb-mm__close {
	display: grid !important;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0 !important;
	border: 0;
	border-radius: 50%;
	background: var(--lb-soft) !important;
	color: var(--lb-ink) !important;
	cursor: pointer;
}
.lb-mm__close svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

/* Lista de enlaces */
.lb-mm__nav {
	box-sizing: border-box;
	width: 100%;
	padding: 8px 20px !important;
}
.lb-mm__nav .wp-block-navigation__container,
.lb-mm__nav .wp-block-navigation-item {
	box-sizing: border-box;
	max-width: 100%;
}
.lb-mm__nav .wp-block-navigation__container {
	gap: 0 !important;
	width: 100%;
	align-items: stretch !important;
}
.lb-mm__nav .wp-block-navigation-item {
	width: 100%;
	flex-wrap: wrap;
	border-bottom: 1px solid var(--lb-line);
}
.lb-mm__nav .wp-block-navigation__submenu-container .wp-block-navigation-item {
	border-bottom: 0;
}
.lb-mm__nav .wp-block-navigation-item__content,
.lb-mm__nav .wp-block-navigation-submenu__toggle {
	flex: 1;
	padding: 16px 0 !important;
	color: var(--lb-ink) !important;
	font-size: 17px !important;
	font-weight: 600;
	text-align: left;
}
.lb-mm__nav .wp-block-navigation-submenu__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	border: 0;
	background: none;
	font-family: inherit;
	cursor: pointer;
}
.lb-mm__nav .wp-block-navigation__submenu-icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin: 0 !important;
	border-radius: 50%;
	background: var(--lb-soft);
	transition: transform 0.25s ease;
}
.lb-mm__nav .wp-block-navigation__submenu-icon svg {
	width: 12px;
	height: 12px;
}
.lb-mm__nav .has-child.lb-open > button .wp-block-navigation__submenu-icon,
.lb-mm__nav .has-child.lb-open > .wp-block-navigation__submenu-icon {
	transform: rotate(180deg);
}
.lb-mm__nav .has-child.lb-open > button {
	color: var(--wp--preset--color--accent) !important;
}
.lb-mm__nav .has-child:not(.lb-open) > button {
	color: var(--lb-ink) !important;
}
.lb-mm__nav .wp-block-navigation__submenu-container {
	position: static !important;
	width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	padding: 0 0 12px 12px !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}
.lb-mm__nav .has-child:not(.lb-open) > .wp-block-navigation__submenu-container {
	display: none !important;
}
.lb-mm__nav .has-child.lb-open > .wp-block-navigation__submenu-container {
	display: flex !important;
	flex-direction: column;
}
.lb-mm__nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
.lb-mm__nav .wp-block-navigation__submenu-container .wp-block-navigation-submenu__toggle {
	padding: 10px 0 !important;
	color: #4b5260 !important;
	font-size: 15px !important;
	font-weight: 500;
}
.lb-mm__nav .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--accent) !important;
}

/* Pie del panel */
.lb-mm__bottom {
	gap: 14px !important;
	margin-top: auto;
	padding: 20px !important;
	border-top: 1px solid var(--lb-line);
	background: var(--lb-soft);
}
.lb-mm__actions {
	gap: 10px !important;
}
.lb-mm__actions .wp-block-button,
.lb-mm__actions .wp-block-button__link {
	width: 100%;
	text-align: center;
}
.lb-mm__contact {
	gap: 6px 18px !important;
	font-size: 14px;
}
.lb-mm__contact a {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
}
/* Menú móvil: flecha según nuestro estado (WordPress marca todos como abiertos) y panel a toda la altura */
.lb-mm__nav .has-child:not(.lb-open) .wp-block-navigation__submenu-icon,
.lb-mm__nav .has-child:not(.lb-open) .wp-block-navigation__submenu-icon svg {
	transform: none !important;
}
.lb-mm__nav .has-child.lb-open > button .wp-block-navigation__submenu-icon svg,
.lb-mm__nav .has-child.lb-open > .wp-block-navigation__submenu-icon svg {
	transform: none !important;
}
.lb-mm {
	display: flex !important;
	flex-direction: column !important;
	min-height: 100dvh;
}
.lb-mm__bottom {
	flex: 1 0 auto;
	justify-content: flex-start !important;
}

/* Franja de ventajas de la portada: en móvil, cuadrícula 2 × 2 de tarjetas compactas */
@media (max-width: 781px) {
	.lb-benefits {
		padding: 16px !important;
	}
	.lb-benefits .wp-block-columns {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 10px !important;
	}
	.lb-benefits .wp-block-column {
		flex-basis: auto !important;
		margin: 0 !important;
		padding: 14px 12px !important;
		border-radius: 14px;
		background: var(--lb-soft);
	}
	.lb-benefits .lb-image-box.is-layout-flex:not(.is-vertical) {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 8px !important;
		text-align: left;
	}
	.lb-benefits .lb-image-box > .wp-block-image {
		flex-basis: auto !important;
		width: 40px !important;
		max-width: 40px !important;
		margin: 0 !important;
	}
	.lb-benefits .lb-image-box > .wp-block-image img {
		width: 40px !important;
		height: 40px !important;
		object-fit: contain;
	}
	.lb-benefits .lb-image-box > .wp-block-group {
		align-items: flex-start !important;
	}
	.lb-benefits .lb-image-box > .wp-block-group > * {
		text-align: left !important;
		font-size: 14px !important;
		font-weight: 600 !important;
		line-height: 1.3 !important;
	}
}
@media (max-width: 781px) {
	.lb-benefits .wp-block-column {
		display: flex !important;
		align-items: center;
		justify-content: center;
		padding: 16px 10px !important;
	}
	.lb-benefits .lb-image-box.is-layout-flex:not(.is-vertical) {
		align-items: center !important;
		text-align: center;
	}
	.lb-benefits .lb-image-box > .wp-block-group,
	.lb-benefits .lb-image-box > .wp-block-group * {
		align-items: center !important;
		text-align: center !important;
		margin: 0 !important;
		padding: 0 !important;
	}
}

/* =========================================================
   Barra de contacto fija en móvil (parte de plantilla "Barra móvil")
   ========================================================= */
.lb-mobilebar {
	display: none;
}
@media (max-width: 781px) {
	.lb-mobilebar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 95;
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 1px;
		padding: 0 0 env(safe-area-inset-bottom) !important;
		background: rgba(255, 255, 255, 0.18);
		box-shadow: 0 -6px 20px rgba(0, 20, 50, 0.18);
	}
	.lb-mobilebar > * {
		margin: 0 !important;
	}
	.lb-mobilebar__item a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		height: 58px;
		background: var(--wp--preset--color--primary);
		color: #fff !important;
		font-size: 15px;
		font-weight: 600;
		text-decoration: none;
	}
	.lb-mobilebar__item:last-child a {
		background: var(--wp--preset--color--accent);
	}
	.lb-mobilebar__item a::before {
		content: "";
		width: 18px;
		height: 18px;
		background: currentColor;
		-webkit-mask: var(--lb-ico) center / contain no-repeat;
		mask: var(--lb-ico) center / contain no-repeat;
	}
	.lb-mobilebar__item--phone a {
		--lb-ico: url("../icons/phone.svg");
	}
	.lb-mobilebar__item--mail a {
		--lb-ico: url("../icons/envelope.svg");
	}
	.lb-mobilebar__item--whatsapp a {
		--lb-ico: url("../icons/whatsapp.svg");
		background: #25d366 !important;
	}
	body {
		padding-bottom: calc(58px + env(safe-area-inset-bottom));
	}
	.lb-totop {
		bottom: calc(72px + env(safe-area-inset-bottom));
	}
	html.lb-dialog-open .lb-mobilebar,
	html.lb-lightbox-open .lb-mobilebar {
		display: none !important;
	}
}

/* Cabecera fija: se aplica al contenedor de la parte de plantilla */
.wp-site-blocks > header.wp-block-template-part,
header.wp-block-template-part:has(> .lb-header) {
	position: sticky;
	top: 0;
	z-index: 100;
}
.admin-bar .wp-site-blocks > header.wp-block-template-part {
	top: var(--wp-admin--admin-bar--height, 32px);
}
.lb-header {
	position: relative !important;
}
/* En móvil, al bajar se oculta la barra superior azul para ganar espacio */
@media (max-width: 781px) {
	.lb-topbar {
		transition: margin-top 0.25s ease;
	}
	.lb-header.is-scrolled .lb-topbar {
		display: none !important;
	}
}
@media (min-width: 600px) {
	.lb-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none !important;
	}
}

/* Tarjetas "Lanyards / Pulseras · Ver ofertas" en móvil */
@media (max-width: 781px) {
	.lb-offers .wp-block-columns {
		gap: 16px !important;
	}
	.lb-offers .wp-block-column {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.lb-offers .wp-block-column > .wp-block-group,
	.lb-offers .wp-block-column[style*="background-image"] {
		display: flex !important;
		flex-direction: column;
		justify-content: flex-start !important;
		gap: 16px !important;
		min-height: 300px;
		padding: 32px 28px !important;
		background-size: cover !important;
		background-position: 85% 50% !important;
		border-radius: var(--lb-r-lg);
	}
	.lb-offers h2,
	.lb-offers h3 {
		margin: 0 !important;
		font-size: 34px !important;
		line-height: 1.05 !important;
	}
	.lb-offers .wp-block-buttons {
		margin: 0 !important;
	}
	.lb-offers .wp-block-button__link {
		padding: 12px 24px !important;
		font-size: 15px !important;
	}
}

/* Ventajas de las categorías: una columna en móvil */
@media (max-width: 781px) {
	.lb-cat-benefits .is-layout-grid {
		grid-template-columns: 1fr !important;
		gap: 14px !important;
	}
	.lb-cat-benefits .is-layout-grid > * {
		padding: 24px 22px !important;
	}
}

/* Menú móvil: la flecha también es pulsable */
.lb-mm__nav .has-child > .wp-block-navigation__submenu-icon {
	pointer-events: auto !important;
	cursor: pointer;
	flex: 0 0 32px;
	align-self: center;
}

/* Tarjetas de subcategoría enlazadas (p. ej. Precintos → precintalia.com): toda la tarjeta es clicable */
.lb-cat-grid .wp-block-group[style*="border"]:has(h3 a) {
	position: relative;
}
.lb-cat-grid .wp-block-group[style*="border"] h3 a {
	color: inherit;
	text-decoration: none;
}
.lb-cat-grid .wp-block-group[style*="border"] h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.lb-cat-grid .wp-block-group[style*="border"]:has(h3 a) img {
	transition: transform 0.4s ease;
}
.lb-cat-grid .wp-block-group[style*="border"]:has(h3 a):hover img {
	transform: scale(1.04);
}
.lb-cat-grid .wp-block-group[style*="border"]:has(h3 a):hover h3 {
	color: var(--wp--preset--color--accent);
}

/* =========================================================
   Menú hamburguesa hasta 1100 px (tablets y móviles en horizontal):
   el menú de escritorio no cabe y sus desplegables dependen del ratón.
   Mismo corte que oculta el botón "Solicitar presupuesto" de la cabecera.
   ========================================================= */
@media (min-width: 600px) and (max-width: 1100px) {
	.lb-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: grid !important;
	}
	.lb-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none !important;
	}
	.lb-nav .wp-block-navigation__responsive-container-open svg {
		width: 30px;
		height: 30px;
	}
}

/* Barra superior en móvil: valoración y contacto en dos líneas cortas;
   la dirección ya está en el pie y en Contacto. */
@media (max-width: 767px) {
	.lb-topbar {
		row-gap: 2px !important;
		padding: 5px 4px !important;
	}
	.lb-topbar__contact .lb-iconlink:nth-child(3) {
		display: none !important;
	}
}

/* Titulares del carrusel y del banner del configurador: son párrafos (el único
   encabezado antes del contenido es el H1), con aspecto de titular. */
p.lb-hero__title,
p.lb-kreator__title {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 700 !important;
	letter-spacing: -0.02em;
}
p.lb-kreator__title {
	margin-bottom: 0;
	color: #fff !important;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.12;
}

/* Selector de idioma */
.lb-lang ul {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lb-lang a {
	display: block;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 0.04em;
}
.lb-lang--codes {
	font-size: 12px;
}
.lb-lang--codes li + li::before {
	content: "·";
	opacity: 0.5;
	margin: 0 4px 0 2px;
}
.lb-lang--codes li {
	display: flex;
	align-items: center;
}
.lb-lang--codes a {
	padding: 2px 2px;
	opacity: 0.75;
}
.lb-lang--codes a:hover,
.lb-lang--codes a[aria-current] {
	opacity: 1;
}
.lb-lang--codes a[aria-current] {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.lb-lang--pills ul {
	justify-content: center;
	gap: 8px;
	padding: 6px 0 2px;
}
.lb-lang--pills a {
	min-width: 48px;
	padding: 8px 12px;
	border: 1px solid var(--wp--preset--color--primary);
	border-radius: 999px;
	text-align: center;
	color: var(--wp--preset--color--primary);
	font-size: 14px;
}
.lb-lang--pills a[aria-current] {
	background: var(--wp--preset--color--primary);
	color: #fff;
}
/* En móvil el selector va en el menú desplegable, no en la barra azul. */
@media (max-width: 767px) {
	.lb-topbar .lb-lang {
		display: none;
	}
}

/* Botones flotantes de contacto (llamar / WhatsApp y email) */
.lb-float {
	position: fixed;
	right: 20px;
	bottom: 24px;
	z-index: 91;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.lb-float__btn {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	color: #fff;
	box-shadow: 0 8px 22px rgba(0, 20, 50, 0.25);
	transition: transform 0.2s, box-shadow 0.2s;
}
.lb-float__btn::before {
	content: "";
	width: 24px;
	height: 24px;
	background: currentColor;
	-webkit-mask: var(--lb-ico) center / contain no-repeat;
	mask: var(--lb-ico) center / contain no-repeat;
}
.lb-float__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(0, 20, 50, 0.32);
}
.lb-float__btn:focus-visible {
	outline: 3px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}
.lb-float__btn--phone {
	--lb-ico: url("../icons/phone.svg");
	background: #25d366;
}
.lb-float__btn--whatsapp {
	--lb-ico: url("../icons/whatsapp.svg");
	background: #25d366;
}
.lb-float__btn--mail {
	--lb-ico: url("../icons/envelope.svg");
	background: #e8344e;
}
/* "Volver arriba" encima de los botones de contacto. */
.lb-totop {
	bottom: 156px;
	right: 23px;
}
@media (max-width: 781px) {
	.lb-float {
		display: none;
	}
	.lb-totop {
		right: 14px;
		bottom: calc(72px + env(safe-area-inset-bottom));
	}
}
html.lb-dialog-open .lb-float,
html.lb-lightbox-open .lb-float {
	display: none;
}

/* Cabecera compacta sin saltos: el hueco reservado mantiene el alto de la página */
header.wp-block-template-part.lb-hh { height: var(--lb-hh); pointer-events: none; }
header.wp-block-template-part.lb-hh > .lb-header { pointer-events: auto; }

/* Banner del configurador animado (assets/js/kreator-promo.js): configurador en movimiento,
   insignia «Nuevo», etiqueta de la foto con IA, entrada al llegar y brillo en el botón. */
.lb-kreator.has-kp .lb-kreator__media .wp-block-image { display: none; }
.lb-kp {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background:
		radial-gradient(70% 70% at 55% 45%, rgba(0, 144, 210, 0.55) 0%, rgba(0, 144, 210, 0) 70%),
		linear-gradient(160deg, #0b3b78 0%, #021f45 100%);
}
.lb-kp__glow {
	position: absolute;
	inset: -40%;
	background: conic-gradient(from 0deg, transparent 0 40%, rgba(143, 211, 245, 0.18) 50%, transparent 60% 100%);
	animation: lb-kp-spin 14s linear infinite;
}
.lb-kp__svg {
	position: absolute;
	left: 50%;
	top: 50%;
	height: 90%;
	max-width: 74%;
	transform: translate(-50%, -42%);
	overflow: visible;
	animation: lb-kp-sway 6s ease-in-out infinite;
	transform-origin: 50% 0;
}
.lb-kp__strap,
.lb-kp__shadow,
.lb-kp__sheen { fill: none; stroke-linecap: round; }
.lb-kp__strap { stroke-width: 32; transition: stroke 0.9s ease; }
.lb-kp__shadow { stroke: rgba(0, 0, 0, 0.35); stroke-width: 30; transform: translate(5px, 9px); filter: blur(5px); }
.lb-kp__sheen { stroke: rgba(255, 255, 255, 0.16); stroke-width: 8; transform: translate(-4px, -3px); }
.lb-kp__text {
	font: 800 16px/1 var(--wp--preset--font-family--montserrat), sans-serif;
	letter-spacing: 1.5px;
	transition: fill 0.9s ease;
}
.lb-kp__swatches,
.lb-kp__steps { position: absolute; margin: 0; padding: 0; list-style: none; }
.lb-kp__swatches { left: 22px; top: 50%; transform: translateY(-50%); display: grid; gap: 12px; }
.lb-kp__swatches li {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
	transition: transform 0.35s cubic-bezier(.3, 1.6, .5, 1), box-shadow 0.35s;
}
.lb-kp__swatches li.is-on { transform: scale(1.35); box-shadow: 0 0 0 3px #fff, 0 4px 14px rgba(0, 0, 0, 0.35); }
.lb-kp__steps { top: 18px; right: 18px; display: flex; gap: 6px; }
.lb-kp__steps li {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px 5px 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.75);
	font: 600 12px/1 var(--wp--preset--font-family--montserrat), sans-serif;
	transition: background 0.4s, color 0.4s;
}
.lb-kp__steps b {
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	font-size: 11px;
}
.lb-kp__steps li.is-on { background: #fff; color: var(--wp--preset--color--primary, #002a5a); }
.lb-kp__steps li.is-on b { background: #f79239; color: #fff; }
.lb-kp__ai {
	position: absolute;
	right: 18px;
	bottom: 18px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
	font: 13px/1.25 var(--wp--preset--font-family--montserrat), sans-serif;
	color: #002a5a;
	opacity: 0;
	transform: translateY(20px) scale(0.9);
}
.lb-kp__ai strong { display: block; font-weight: 700; }
.lb-kp__ai em { font-style: normal; color: #1e8a3c; font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em; }
.lb-kp__cam { font-size: 22px; }
.lb-kp-new {
	display: inline-block;
	margin-left: 8px;
	padding: 3px 9px;
	border-radius: 999px;
	background: #f79239;
	color: #fff !important;
	font-size: 10px;
	letter-spacing: 0.08em;
	vertical-align: 1px;
	white-space: nowrap;
	animation: lb-kp-pulse 2.2s ease-out infinite;
}
/* Entrada al llegar al bloque */
.lb-kreator.has-kp .lb-kreator__text > * { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .8, .2, 1); }
.lb-kreator.has-kp:not(.is-in) .lb-kreator__text > * { opacity: 0; transform: translateY(18px); }
.lb-kreator.has-kp .lb-kreator__text > :nth-child(2) { transition-delay: 0.1s; }
.lb-kreator.has-kp .lb-kreator__text > :nth-child(3) { transition-delay: 0.2s; }
.lb-kreator.has-kp .lb-kreator__text > :nth-child(4) { transition-delay: 0.3s; }
.lb-kreator.has-kp .lb-kp { transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2, .8, .2, 1); }
.lb-kreator.has-kp:not(.is-in) .lb-kp { opacity: 0; transform: scale(1.06); }
.lb-kreator.is-in .lb-kp__ai { animation: lb-kp-pop 0.6s 0.9s cubic-bezier(.3, 1.5, .5, 1) forwards, lb-kp-float 4s 1.6s ease-in-out infinite; }
/* Botón «Crear mi lanyard»: brillo que lo recorre y halo */
.lb-kreator .lb-hero__btn--primary .wp-block-button__link {
	position: relative;
	overflow: hidden;
	animation: lb-kp-ring 2.6s ease-out infinite;
}
.lb-kreator .lb-hero__btn--primary .wp-block-button__link::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(0, 144, 210, 0.35), transparent);
	transform: skewX(-20deg);
	animation: lb-kp-shine 3.2s ease-in-out infinite;
}
@keyframes lb-kp-spin { to { transform: rotate(360deg); } }
@keyframes lb-kp-sway { 0%, 100% { transform: translate(-50%, -42%) rotate(-2deg); } 50% { transform: translate(-50%, -42%) rotate(2deg); } }
@keyframes lb-kp-pop { to { opacity: 1; transform: none; } }
@keyframes lb-kp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes lb-kp-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes lb-kp-ring { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } }
@keyframes lb-kp-pulse { 0% { box-shadow: 0 0 0 0 rgba(247, 146, 57, 0.7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(247, 146, 57, 0); } }
@media (max-width: 781px) {
	.lb-kreator.has-kp .lb-kreator__media { min-height: 320px; }
	.lb-kp__steps { left: 12px; right: 12px; top: 12px; justify-content: center; }
	.lb-kp__swatches { left: 12px; gap: 9px; }
	.lb-kp__swatches li { width: 18px; height: 18px; }
	.lb-kp__ai { right: 10px; bottom: 10px; padding: 7px 10px; gap: 7px; font-size: 11px; border-radius: 11px; }
	.lb-kp__cam { font-size: 17px; }
	.lb-kp__svg { height: 72%; animation-name: lb-kp-sway-m; }
	@keyframes lb-kp-sway-m { 0%, 100% { transform: translate(-45%, -53%) rotate(-2deg); } 50% { transform: translate(-45%, -53%) rotate(2deg); } }
}
@media (prefers-reduced-motion: reduce) {
	.lb-kp *, .lb-kp, .lb-kp-new, .lb-kreator .lb-hero__btn--primary .wp-block-button__link,
	.lb-kreator .lb-hero__btn--primary .wp-block-button__link::after { animation: none !important; transition: none !important; }
	.lb-kreator.has-kp .lb-kreator__text > *, .lb-kreator.has-kp .lb-kp { opacity: 1 !important; transform: none !important; }
	.lb-kp__ai { opacity: 1; transform: none; }
}
