*, *::before, *::after { border-radius: 0; box-shadow: none; text-shadow: none; }

:focus-visible { outline: 3px solid #231B2E; outline-offset: 2px; }

/* Botones de cotización */
.lx-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; min-width: 48px; padding: 0 22px;
  font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none;
  color: #FFFFFF; background: #652D90; border: 2px solid #652D90; border-radius: 4px;
}
.lx-btn:hover, .lx-btn:focus-visible { color: #FFFFFF; background: #4A1F6B; border-color: #4A1F6B; }
.lx-btn--tel { background: #231B2E; border-color: #231B2E; }
.lx-btn--tel:hover, .lx-btn--tel:focus-visible { background: #4A1F6B; border-color: #4A1F6B; }
.lx-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Enlace con icono: acción secundaria (Llamar) y botones de las listas de productos */
.lx-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; font-size: 1rem; line-height: 1; color: #4A1F6B; text-decoration: none;
}
.lx-link .lx-icon--tel { fill: currentColor; }
.lx-icon { flex-shrink: 0; }
.lx-link::after { content: "→"; transition: transform 200ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.lx-link:hover, .lx-link:focus-visible { color: #652D90; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lx-link:hover::after, .lx-link:focus-visible::after { transform: translateX(4px); }
.lx-hero .lx-link, .has-teal-deep-background-color .lx-link { color: #FFFFFF; }
.lx-hero .lx-link:hover, .lx-hero .lx-link:focus-visible,
.has-teal-deep-background-color .lx-link:hover, .has-teal-deep-background-color .lx-link:focus-visible { color: #E2DCE9; }

/* Rejilla asimétrica: 12 columnas, divisiones nombradas */
/* minmax(0, 1fr): las columnas no crecen con el ancho natural de fotos o textos largos */
.lx-split { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .lx-split { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lx-split--7-5 > :first-child { grid-column: 1 / span 7; }
  .lx-split--7-5 > :last-child  { grid-column: 8 / span 5; }
  .lx-split--4-8 > :first-child { grid-column: 1 / span 4; }
  .lx-split--4-8 > :last-child  { grid-column: 5 / span 8; }
  .lx-split--5-7 > :first-child { grid-column: 1 / span 5; }
  .lx-split--5-7 > :last-child  { grid-column: 6 / span 7; }
  .lx-split--3-9 > :first-child { grid-column: 1 / span 3; }
  .lx-split--3-9 > :last-child  { grid-column: 4 / span 9; }
  .lx-split--8-4 > :first-child { grid-column: 1 / span 8; }
  .lx-split--8-4 > :last-child  { grid-column: 9 / span 4; }
  .lx-split--9-3 > :first-child { grid-column: 1 / span 9; }
  .lx-split--9-3 > :last-child  { grid-column: 10 / span 3; }
}

/* Filas con línea: reemplazan a las tarjetas */
.lx-row { border-top: 1px solid #E2DCE9; padding-block: 20px; }
.lx-row:last-child { border-bottom: 1px solid #E2DCE9; }

/* Botones sobre fondo teal-deep (cierre): blancos para que se distingan */
.has-teal-deep-background-color .lx-btn { color: #4A1F6B; background: #FFFFFF; border-color: #FFFFFF; }
.has-teal-deep-background-color .lx-btn svg { fill: #4A1F6B; }
.has-teal-deep-background-color .lx-btn:hover,
.has-teal-deep-background-color .lx-btn:focus-visible { color: #4A1F6B; background: #E2DCE9; border-color: #E2DCE9; }

/* WhatsApp sobre fondos oscuros: botón blanco para que se lea el logo verde de WhatsApp */
.has-teal-deep-background-color .lx-btn--wa,
.lx-footer .lx-btn--wa,
.lx-mobile-bar .lx-btn--wa { color: #231B2E; background: #FFFFFF; border-color: #FFFFFF; }
.has-teal-deep-background-color .lx-btn--wa:hover,
.has-teal-deep-background-color .lx-btn--wa:focus-visible,
.lx-footer .lx-btn--wa:hover, .lx-footer .lx-btn--wa:focus-visible,
.lx-mobile-bar .lx-btn--wa:hover, .lx-mobile-bar .lx-btn--wa:focus-visible { color: #231B2E; background: #E2DCE9; border-color: #E2DCE9; }
.has-teal-deep-background-color :focus-visible,
.lx-footer :focus-visible,
.lx-mobile-bar :focus-visible { outline-color: #8DC53E; }

/* Verde decorativo: barra sobre los títulos de sección y línea de los pasos */
main h2.wp-block-heading::before { content: ""; display: block; width: 48px; height: 4px; margin-bottom: 16px; background: #8DC53E; }
.lx-step { position: relative; border-top: 0; }
.lx-step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: #8DC53E; transform-origin: left; }

/* Movimiento: solo transform y clip-path, nunca transparencias */
@media (prefers-reduced-motion: no-preference) {
  .lx-reveal { transform: translateY(32px); transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--lx-i, 0) * 80ms); }
  .lx-reveal.is-in { transform: none; }
  .wp-block-heading.lx-reveal {
    clip-path: inset(0 0 100% 0); transform: translateY(16px);
    transition: clip-path 700ms cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--lx-i, 0) * 80ms), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--lx-i, 0) * 80ms);
  }
  .wp-block-heading.lx-reveal.is-in { clip-path: inset(0); transform: none; }
  .lx-step.lx-reveal::before { transform: scaleX(0); transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--lx-i, 0) * 80ms + 250ms); }
  .lx-step.lx-reveal.is-in::before { transform: scaleX(1); }
}

/* Página de destino */
.lx-landing-title { font-size: var(--wp--preset--font-size--large); }
.lx-specs table { width: 100%; border-collapse: collapse; }
.lx-specs td { padding: 14px 12px 14px 0; border: 0; border-top: 1px solid #E2DCE9; vertical-align: top; }
.lx-specs tr:last-child td { border-bottom: 1px solid #E2DCE9; }
.lx-specs td:first-child { font-weight: 700; width: 40%; }

/* Producto */
.lx-product-title { font-size: var(--wp--preset--font-size--large); }
.lx-meta { gap: 4px 24px; }
.lx-docs h2, .lx-product-specs h2 { font-size: var(--wp--preset--font-size--medium); }
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td {
  padding: 14px 12px 14px 0; border: 0; border-top: 1px solid #E2DCE9; text-align: left; vertical-align: top;
}
.woocommerce-product-attributes tr:last-child th, .woocommerce-product-attributes tr:last-child td { border-bottom: 1px solid #E2DCE9; }
.woocommerce-product-attributes th { width: 40%; font-weight: 700; }
.woocommerce-product-attributes p { margin: 0; }
.woocommerce-product-attributes tr, .woocommerce-product-attributes th, .woocommerce-product-attributes td { background: none; font-style: normal; }

/* Galería del producto sin JavaScript: la primera foto grande y las demás en una fila de miniaturas */
.woocommerce-product-gallery__wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; }
.woocommerce-product-gallery__image:first-child { grid-column: 1 / -1; }
.woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; }
.woocommerce-product-gallery__trigger { display: none; }

/* Cabecera de catálogo: banda mist con migas, título y descripción */
.lx-page-head { padding-top: 24px; padding-bottom: 40px; }
.lx-page-head .wp-block-woocommerce-breadcrumbs { padding-top: 0; }
.lx-page-title { margin-top: 12px; font-size: var(--wp--preset--font-size--large); }
.lx-page-lead { max-width: 65ch; margin-top: 12px; color: #5E5670; font-size: var(--wp--preset--font-size--lead); }
.lx-page-lead p { margin: 0; }
.wp-block-woocommerce-breadcrumbs { padding-top: 24px; font-size: 0.8125rem; color: #5E5670; }
.wp-block-woocommerce-breadcrumbs a { color: #5E5670; }
.wp-block-woocommerce-breadcrumbs a:hover { color: #652D90; }

/* Barra lateral del catálogo: buscador y menús, fija al bajar en escritorio */
.lx-catalog__aside { display: grid; gap: 24px; align-content: start; }
@media (min-width: 900px) {
  .lx-catalog__aside { position: sticky; top: 96px; align-self: start; }
}
.lx-search .wp-block-search__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #5E5670; }
.lx-search .wp-block-search__inside-wrapper { gap: 8px; }
.lx-search .wp-block-search__input { min-height: 44px; padding: 0 12px; border: 1px solid #E2DCE9; border-radius: 4px; font: inherit; color: #231B2E; background: #FFFFFF; }
.lx-search .wp-block-search__input:focus { border-color: #652D90; }
.lx-search .wp-block-search__button { min-width: 44px; min-height: 44px; margin: 0; padding: 0 10px; border-radius: 4px; }

/* Menú de familias y marcas */
.lx-term-filter__title { margin: 0 0 8px; padding: 0 12px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #5E5670; }
.lx-terms { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.lx-terms__link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; box-sizing: border-box;
  min-height: 44px; padding: 6px 10px 6px 12px; border-left: 3px solid #FFFFFF; border-radius: 0 4px 4px 0;
  color: #231B2E; font-size: 0.9375rem; font-weight: 600; line-height: 1.3; text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}
.lx-terms__link:hover { color: #652D90; background: #F5F3F8; border-left-color: #F5F3F8; }
.lx-terms__count {
  min-width: 28px; padding: 3px 8px; border-radius: 4px; background: #F5F3F8; color: #5E5670;
  font-size: 0.75rem; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums;
}
.lx-terms__link:hover .lx-terms__count { background: #FFFFFF; }
.lx-terms__item--all { margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px solid #E2DCE9; }
.lx-terms__item.is-open > .lx-terms__link { color: #652D90; }
.lx-terms__item.is-current > .lx-terms__link { color: #652D90; background: #F5F3F8; border-left-color: #652D90; }
.lx-terms__item.is-current > .lx-terms__link .lx-terms__count { background: #652D90; color: #FFFFFF; }
.lx-terms__sub { display: grid; gap: 2px; list-style: none; margin: 2px 0 8px 14px; padding: 0 0 0 8px; border-left: 1px solid #E2DCE9; }
.lx-terms__sub .lx-terms__link { font-weight: 500; font-size: 0.875rem; }

/* Escritorio: lista visible. Móvil: desplegable "Familias: …" */
.lx-term-filter__desktop { display: none; }
.lx-term-filter__mobile > summary {
  display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 16px;
  border: 1px solid #E2DCE9; border-radius: 4px; background: #FFFFFF; cursor: pointer; list-style: none;
  font-size: 0.9375rem; color: #5E5670;
}
.lx-term-filter__mobile > summary::-webkit-details-marker { display: none; }
.lx-term-filter__mobile > summary strong { color: #231B2E; }
.lx-term-filter__mobile > summary::after { content: "▾"; margin-left: auto; color: #652D90; transition: transform 200ms ease; }
.lx-term-filter__mobile[open] > summary::after { transform: rotate(180deg); }
.lx-term-filter__mobile[open] > summary { border-color: #652D90; }
.lx-term-filter__mobile > .lx-terms { padding-top: 8px; }
@media (min-width: 900px) {
  .lx-term-filter__mobile { display: none; }
  .lx-term-filter__desktop { display: block; }
}

/* Fichas de producto: tarjeta con borde fino, foto 4:3 sobre blanco y botones al pie */
.lx-products ul.wc-block-product-template { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; }
@media (min-width: 600px) { .lx-products ul.wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .lx-products ul.wc-block-product-template { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lx-products ul.wc-block-product-template > li.product {
  display: flex; flex-direction: column; width: auto; max-width: none; margin: 0; padding: 0;
  background: #FFFFFF; border: 1px solid #E2DCE9; border-radius: 4px; overflow: hidden;
  transition: border-color 200ms ease;
}
.lx-products ul.wc-block-product-template > li.product:hover,
.lx-products ul.wc-block-product-template > li.product:focus-within { border-color: #652D90; }
.lx-products .wc-block-components-product-image { margin: 0 !important; padding: 20px; background: #FFFFFF; border-bottom: 1px solid #E2DCE9; overflow: hidden; }
.lx-products .wc-block-components-product-image img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain;
  transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.lx-products li.product:hover .wc-block-components-product-image img { transform: scale(1.04); }
.lx-card__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 16px 20px 12px; }
.lx-card__body > * { margin: 0; }
.lx-card__cat { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #5E5670; }
.lx-card__cat a { color: #5E5670; text-decoration: none; }
.lx-card__cat a:hover { color: #652D90; }
.lx-card__title { font-family: var(--wp--preset--font-family--display); font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.lx-card__title a { color: #231B2E; text-decoration: none; }
.lx-card__title a:hover, .lx-card__title a:focus-visible { color: #652D90; }
.lx-card__brand { font-size: 0.875rem; color: #5E5670; }
.lx-card__brand a { color: #5E5670; }
.lx-card__body .lx-cta { margin-top: auto; padding-top: 10px; border-top: 1px solid #E2DCE9; gap: 4px 20px; }
.lx-card__body .lx-link { font-size: 0.9375rem; }
/* Móvil: ficha en fila (foto pequeña a la izquierda) para recorrer el catálogo con menos scroll */
@media (max-width: 599px) {
  .lx-products ul.wc-block-product-template > li.product { display: grid; grid-template-columns: 96px minmax(0, 1fr); }
  .lx-products .wc-block-components-product-image { padding: 8px; border-bottom: 0; border-right: 1px solid #E2DCE9; display: flex; align-items: center; }
  .lx-card__body { padding: 12px 14px 8px; }
  .lx-card__title { font-size: 1rem; }
  .lx-card__body .lx-cta { column-gap: 12px; }
  .lx-card__body .lx-link { gap: 6px; font-size: 0.875rem; }
  .lx-card__body .lx-link::after { display: none; }
}
.lx-search .wp-block-search__input { min-width: 0; }

/* Paginación numérica */
.lx-products .wp-block-query-pagination { gap: 8px; margin-top: 40px; }
.lx-products .wp-block-query-pagination .page-numbers,
.lx-products .wp-block-query-pagination-previous,
.lx-products .wp-block-query-pagination-next {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 1px solid #E2DCE9; border-radius: 4px; color: #231B2E; font-weight: 600; text-decoration: none;
}
.lx-products .wp-block-query-pagination a:hover { border-color: #652D90; color: #652D90; }
.lx-products .wp-block-query-pagination .page-numbers.current { background: #652D90; border-color: #652D90; color: #FFFFFF; }
.lx-products .wp-block-query-pagination .page-numbers.dots { border: 0; }

/* Portada */
.lx-family-list { list-style: none; margin: 0; padding: 0; }
.lx-family-list .lx-row { padding-block: 0; }
.lx-family-list a {
  display: grid; grid-template-columns: 1fr auto 32px; gap: 16px; align-items: baseline;
  padding-block: 20px; color: #231B2E; text-decoration: none;
}
.lx-family-list__name { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: var(--wp--preset--font-size--medium); }
.lx-family-list__count { color: #5E5670; font-size: 0.9375rem; }
.lx-family-list a:hover .lx-family-list__name { color: #652D90; }
.lx-stat { display: grid; grid-template-columns: minmax(7ch, auto) 1fr; gap: 16px; align-items: baseline; }
.lx-stat p { margin: 0; }
.lx-stat__value { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: var(--wp--preset--font-size--large); line-height: 1; color: #4A1F6B; font-variant-numeric: tabular-nums; }
.lx-stat__label { color: #5E5670; }
.lx-quote .wp-block-quote { margin: 0; padding: 0; border: 0; }
.lx-quote .wp-block-quote p { font-size: var(--wp--preset--font-size--lead); }
.lx-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 0.9375rem; color: #5E5670; }
.lx-btn--ghost { color: #231B2E; background: #FFFFFF; border-color: #231B2E; }
.lx-btn--ghost:hover, .lx-btn--ghost:focus-visible { color: #FFFFFF; background: #4A1F6B; border-color: #4A1F6B; }
.lx-featured__head { margin-bottom: 32px; }
.lx-featured__head > * { margin: 0; }
.lx-featured__head a { font-weight: 700; }
.lx-steps { display: grid; gap: 24px; grid-template-columns: 1fr; }
.lx-step { border-top: 1px solid #231B2E; padding-top: 16px; }
.lx-step__number { margin: 0; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: var(--wp--preset--font-size--large); color: #652D90; }
@media (min-width: 900px) {
  .lx-steps { grid-template-columns: repeat(3, 1fr); }
  .lx-step:nth-child(2) { margin-top: 48px; }
  .lx-step:nth-child(3) { margin-top: 96px; }
}

/* Header: una fila de 72 px con línea inferior */
/* Hero a pantalla completa (los efectos de degradado y fundido están en hero.css) */
.lx-hero { position: relative; display: flex; align-items: flex-end; min-height: calc(100svh - 72px); padding: 0 clamp(24px, 4vw, 48px) 12vh; overflow: hidden; color: #FFFFFF; }
.lx-hero__media { position: absolute; inset: 0; margin: 0 !important; max-width: none !important; }
.lx-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lx-hero__content { position: relative; z-index: 1; width: 100%; max-width: 1280px; margin-inline: auto !important; }
.lx-hero h1 { max-width: 14ch; color: #FFFFFF; font-size: var(--wp--preset--font-size--huge); }
.lx-hero__lead { margin-top: 16px; font-size: var(--wp--preset--font-size--lead); color: #FFFFFF; }
.lx-hero .lx-cta { margin-top: 32px; }
.lx-hero .lx-btn--wa { color: #231B2E; background: #FFFFFF; border-color: #FFFFFF; }
.lx-hero .lx-btn--wa:hover, .lx-hero .lx-btn--wa:focus-visible { color: #231B2E; background: #E2DCE9; border-color: #E2DCE9; }
.lx-hero :focus-visible { outline-color: #8DC53E; }

/* Header fijo y blanco, con el logo a color; se oculta al bajar y reaparece al subir */
body { padding-top: 72px; }
.lx-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  min-height: 72px; gap: 32px; background-color: #FFFFFF; color: #231B2E; border-bottom: 1px solid #E2DCE9;
  transition: transform 350ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.admin-bar .lx-header { top: 32px; }
.lx-header .wp-block-site-logo img { display: block; width: 150px; height: auto; }
.lx-header.is-hidden { transform: translateY(-100%); }
.lx-header .wp-block-navigation { flex: 1; justify-content: center; }
.lx-header .wp-block-navigation__container { gap: 8px 36px; }
.lx-header .wp-block-navigation-item a { position: relative; padding: 8px 0; }
.lx-header .wp-block-navigation-item a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #652D90;
  transform: scaleX(0); transform-origin: left; transition: transform 250ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.lx-header .wp-block-navigation-item a:hover::after,
.lx-header .wp-block-navigation-item a:focus-visible::after,
.lx-header .wp-block-navigation-item.current-menu-item a::after { transform: scaleX(1); }
@media (max-width: 599px) {
  .lx-header .wp-block-navigation__responsive-container-open { display: inline-flex; align-items: center; }
}
.lx-header .wp-block-site-title a { color: #231B2E; text-decoration: none; }
.lx-header .wp-block-navigation a { color: #231B2E; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; }
.lx-header .wp-block-navigation a:hover { color: #652D90; }
.lx-header .wp-block-navigation__responsive-container-open { color: #231B2E; }
/* Panel del menú móvil: fondo papel, enlaces en tinta y alineados a la izquierda */
.lx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.lx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: flex-start; text-align: left; }
.lx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 20px; padding-top: 24px; }
.lx-header .wp-block-navigation__responsive-container.is-menu-open { background-color: #FFFFFF; color: #231B2E; }
.lx-header .wp-block-navigation__responsive-container.is-menu-open a,
.lx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { color: #231B2E; font-size: 1.5rem; }
.lx-header .lx-cta .lx-btn--tel { display: inline-flex; }

/* Menú móvil: botón con texto en vez de icono solo */
.lx-header .wp-block-navigation__responsive-container-open svg { display: none; }
.lx-header .wp-block-navigation__responsive-container-open::before { content: "Menú"; font-weight: 700; }
.lx-header .wp-block-navigation__responsive-container-open { min-height: 48px; padding: 0 12px; }

/* Footer */
.lx-footer a { color: #FFFFFF; }
.lx-footer a:hover { color: #E2DCE9; }

/* Barra fija de móvil (solo producto, menos de 900 px) */
.lx-mobile-bar { display: none; }
@media (max-width: 899px) {
  body.lx-has-bar { padding-bottom: 64px; }
  .lx-mobile-bar {
    display: block;
    position: fixed; inset: auto 0 0 0; z-index: 50;
    background: #231B2E;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .lx-mobile-bar .lx-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .lx-mobile-bar .lx-btn { justify-content: center; min-height: 64px; border: 0; border-radius: 0; }
  .lx-mobile-bar .lx-btn--tel { background: #4A1F6B; }
}
