.elementor-702 .elementor-element.elementor-element-7cc9d39{--display:flex;--margin-top:060px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-702 .elementor-element.elementor-element-211569b{--display:flex;--margin-top:90px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-702 .elementor-element.elementor-element-9b6ca8a{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}@media(min-width:768px){.elementor-702 .elementor-element.elementor-element-211569b{--content-width:1343px;}}@media(max-width:767px){.elementor-702 .elementor-element.elementor-element-dfa2d6f{text-align:start;}}/* Start custom CSS for container, class: .elementor-element-7cc9d39 *//* ==================================================
   BANNER DINÁMICO PARA CATEGORÍAS DE PRODUCTOS
================================================== */

.nl-category-banner {
  --nl-blue: #005A9C;
  --nl-blue-dark: #172B43;
  --nl-blue-text: #425A70;
  --nl-blue-border: rgba(0, 90, 156, 0.16);

  position: relative;
  isolation: isolate;

  width: 100%;
  min-height: 340px;
  padding: 76px 24px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  background:
    radial-gradient(
      circle at 89% 16%,
      rgba(0, 90, 156, 0.10) 0,
      rgba(0, 90, 156, 0.10) 120px,
      transparent 121px
    ),
    radial-gradient(
      circle at 9% 96%,
      rgba(0, 90, 156, 0.055) 0,
      rgba(0, 90, 156, 0.055) 155px,
      transparent 156px
    ),
    linear-gradient(
      145deg,
      #F3F8FC 0%,
      #EAF3F9 100%
    );

  border-bottom: 1px solid var(--nl-blue-border);

  overflow: hidden;
  box-sizing: border-box;
}

/* Mantener título y descripción sobre los adornos */
.nl-category-banner > * {
  position: relative;
  z-index: 2;
}

/* Texto superior */
.nl-category-banner::before {
  content: "CATÁLOGO NEUROLINE®";

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 18px;

  color: var(--nl-blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 2.1px;
  text-transform: uppercase;

  position: relative;
  z-index: 2;
}

/* Línea inferior decorativa */
.nl-category-banner::after {
  content: "";

  position: absolute;
  left: 50%;
  bottom: 0;

  width: 76px;
  height: 3px;

  background: var(--nl-blue);
  border-radius: 4px 4px 0 0;

  transform: translateX(-50%);
  z-index: 2;
}

/* ==================================================
   TÍTULO DINÁMICO
================================================== */

.nl-category-banner .elementor-heading-title {
  width: 100%;
  max-width: 900px;

  margin: 0 auto !important;

  color: var(--nl-blue-dark) !important;

  font-size: clamp(38px, 4.2vw, 56px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;

  text-align: center !important;
}

/* ==================================================
   DESCRIPCIÓN DINÁMICA
================================================== */

.nl-category-banner .term-description {
  width: 100%;
  max-width: 760px;

  margin: 20px auto 0 !important;

  color: var(--nl-blue-text) !important;

  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;

  text-align: center !important;
}

.nl-category-banner .term-description p {
  margin: 0 !important;

  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

/* Evita espacio vacío si una categoría no tiene descripción */
.nl-category-banner .term-description:empty {
  display: none !important;
}

/* Asegura el ancho completo de los widgets */
.nl-category-banner .elementor-widget-heading,
.nl-category-banner .elementor-widget-woocommerce-archive-description {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 1024px) {
  .nl-category-banner {
    min-height: 300px;
    padding: 66px 28px;
  }

  .nl-category-banner .elementor-heading-title {
    max-width: 760px;

    font-size: 42px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.7px !important;
  }

  .nl-category-banner .term-description {
    max-width: 680px;
    margin-top: 18px !important;

    font-size: 16px !important;
  }
}

/* ==================================================
   MÓVIL
================================================== */

@media (max-width: 767px) {
  .nl-category-banner {
    min-height: auto;
    padding: 52px 20px;

    align-items: flex-start;
    text-align: left;

    background:
      radial-gradient(
        circle at 108% 7%,
        rgba(0, 90, 156, 0.09) 0,
        rgba(0, 90, 156, 0.09) 105px,
        transparent 106px
      ),
      linear-gradient(
        145deg,
        #F3F8FC 0%,
        #EAF3F9 100%
      );
  }

  .nl-category-banner::before {
    margin-bottom: 15px;

    font-size: 11px;
    letter-spacing: 1.7px;
    text-align: left;
  }

  .nl-category-banner::after {
    left: 20px;
    width: 54px;
    transform: none;
  }

  .nl-category-banner .elementor-heading-title {
    max-width: none;
    margin: 0 !important;

    font-size: 33px !important;
    line-height: 1.14 !important;
    letter-spacing: -0.5px !important;

    text-align: left !important;
  }

  .nl-category-banner .term-description {
    max-width: none;
    margin: 17px 0 0 !important;

    font-size: 15px !important;
    line-height: 1.65 !important;

    text-align: left !important;
  }
}

/* MÓVILES PEQUEÑOS */
@media (max-width: 390px) {
  .nl-category-banner {
    padding: 46px 16px;
  }

  .nl-category-banner::after {
    left: 16px;
  }

  .nl-category-banner .elementor-heading-title {
    font-size: 29px !important;
  }
}

/* =========================================
   BANNER CENTRADO EN MÓVIL
========================================= */

@media (max-width: 767px) {
  .nl-category-banner {
    align-items: center !important;
    text-align: center !important;
  }

  /* Etiqueta CATÁLOGO NEUROLINE */
  .nl-category-banner::before {
    width: 100%;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Título */
  .nl-category-banner .elementor-heading-title {
    width: 100%;
    max-width: 460px;
    margin: 0 auto !important;

    text-align: center !important;
  }

  /* Descripción */
  .nl-category-banner .term-description {
    width: 100%;
    max-width: 440px;
    margin: 17px auto 0 !important;

    text-align: center !important;
  }

  /* Línea azul inferior centrada */
  .nl-category-banner::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}/* End custom CSS */
/* Start custom CSS *//* ==================================================
   PRODUCTOS DINÁMICOS POR CATEGORÍA — NEUROLINE
================================================== */

.nl-dynamic-category-products {
  --nl-blue: #005A9C;
  --nl-blue-hover: #004A82;
  --nl-blue-dark: #172B43;
  --nl-blue-text: #425A70;
  --nl-blue-light: #EAF3F9;
  --nl-border: rgba(0, 90, 156, 0.16);

  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 55px 24px 85px;
  box-sizing: border-box;
}

.nl-dynamic-category-products *,
.nl-dynamic-category-products *::before,
.nl-dynamic-category-products *::after {
  box-sizing: border-box;
}

/* ==================================================
   CONTADOR DE PRODUCTOS
================================================== */

.nl-dynamic-products-top {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto 28px;
}

.nl-dynamic-products-count {
  margin: 0;

  color: var(--nl-blue-text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.75px;
  text-transform: uppercase;
}

/* ==================================================
   CUADRÍCULA
   Si hay pocos productos, quedan centrados
================================================== */

.nl-dynamic-products-grid {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;

  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(250px, 290px));
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}

/* ==================================================
   TARJETA
================================================== */

.nl-dynamic-product-card {
  position: relative;

  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 16px;

  display: flex;
  flex-direction: column;

  background:
    linear-gradient(
      145deg,
      #F3F8FC 0%,
      #EAF3F9 100%
    );

  border: 1px solid var(--nl-border);
  border-radius: 14px;

  overflow: hidden;

  box-shadow:
    0 10px 25px rgba(23, 43, 67, 0.05);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Círculo decorativo */
.nl-dynamic-product-card::after {
  content: "";

  position: absolute;
  right: -95px;
  bottom: -105px;

  width: 180px;
  height: 180px;

  background: rgba(0, 90, 156, 0.055);
  border-radius: 50%;

  pointer-events: none;
  z-index: 0;

  transition:
    transform 0.35s ease,
    background-color 0.35s ease;
}

.nl-dynamic-product-card > * {
  position: relative;
  z-index: 1;
}

.nl-dynamic-product-card:hover {
  transform: translateY(-6px);

  border-color: rgba(0, 90, 156, 0.36);

  box-shadow:
    0 20px 42px rgba(23, 43, 67, 0.10),
    0 5px 12px rgba(23, 43, 67, 0.04);
}

.nl-dynamic-product-card:hover::after {
  transform: scale(1.15);
  background: rgba(0, 90, 156, 0.09);
}

/* ==================================================
   IMAGEN
================================================== */

.nl-dynamic-product-image-link {
  width: 100%;
  aspect-ratio: 1 / 1;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.62);
  border-radius: 10px;

  overflow: hidden;
  text-decoration: none;
}

.nl-dynamic-product-image {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: contain;

  transition: transform 0.35s ease;
}

.nl-dynamic-product-card:hover
.nl-dynamic-product-image {
  transform: scale(1.025);
}

/* ==================================================
   CONTENIDO
================================================== */

.nl-dynamic-product-content {
  min-width: 0;
  flex: 1;

  display: flex;
  flex-direction: column;

  padding: 20px 6px 3px;
}

/* Corrige el título enorme heredado del tema */
.nl-dynamic-product-title {
  min-height: 54px;
  margin: 0 0 22px !important;

  color: var(--nl-blue-dark) !important;

  font-size: 16px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;

  text-transform: none !important;
}

.nl-dynamic-product-title a {
  color: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
  text-decoration: none !important;
}

.nl-dynamic-product-title a:hover {
  color: var(--nl-blue) !important;
}

/* ==================================================
   BOTÓN
================================================== */

.nl-dynamic-product-button {
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 11px 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff !important;
  background: var(--nl-blue);

  border: 2px solid var(--nl-blue);
  border-radius: 6px;

  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;

  box-shadow:
    0 8px 16px rgba(0, 90, 156, 0.14);

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.nl-dynamic-product-button:hover {
  color: #ffffff !important;
  background: var(--nl-blue-hover);
  border-color: var(--nl-blue-hover);

  transform: translateY(-2px);

  box-shadow:
    0 11px 20px rgba(0, 90, 156, 0.20);
}

/* ==================================================
   PAGINACIÓN
================================================== */

.nl-dynamic-pagination {
  width: 100%;
  margin-top: 48px;
}

.nl-dynamic-pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.nl-dynamic-pagination li {
  margin: 0;
}

.nl-dynamic-pagination a,
.nl-dynamic-pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--nl-blue) !important;
  background: var(--nl-blue-light);

  border: 1px solid var(--nl-border);
  border-radius: 7px;

  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

.nl-dynamic-pagination .current,
.nl-dynamic-pagination a:hover {
  color: #ffffff !important;
  background: var(--nl-blue);
  border-color: var(--nl-blue);
}

/* ==================================================
   CATEGORÍA VACÍA
================================================== */

.nl-dynamic-products-empty {
  max-width: 650px;
  margin: 0 auto;
  padding: 45px 30px;

  text-align: center;

  background:
    linear-gradient(
      145deg,
      #F3F8FC 0%,
      #EAF3F9 100%
    );

  border: 1px solid var(--nl-border);
  border-radius: 14px;
}

.nl-dynamic-products-empty h2 {
  margin: 0 0 12px;

  color: var(--nl-blue-dark);
  font-size: 26px;
  line-height: 1.25;
}

.nl-dynamic-products-empty p {
  margin: 0 0 22px;

  color: var(--nl-blue-text);
  font-size: 15px;
  line-height: 1.65;
}

.nl-dynamic-products-empty a {
  display: inline-flex;
  padding: 13px 22px;

  color: #ffffff !important;
  background: var(--nl-blue);

  border-radius: 6px;

  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 1024px) {
  .nl-dynamic-category-products {
    padding: 50px 28px 72px;
  }

  .nl-dynamic-products-grid {
    grid-template-columns:
      repeat(2, minmax(250px, 320px));
    gap: 20px;
  }
}

/* ==================================================
   MÓVIL
================================================== */

/* ==================================================
   MÓVIL — DOS PRODUCTOS POR FILA
================================================== */

@media (max-width: 700px) {
  .nl-dynamic-category-products {
    padding: 40px 12px 55px;
  }

  .nl-dynamic-products-top {
    margin-bottom: 20px;
  }

  .nl-dynamic-products-grid {
    width: 100%;

    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    align-items: stretch;

    gap: 12px;
  }

  .nl-dynamic-product-card {
    width: 100%;
    min-width: 0;
    height: 100%;

    padding: 10px;
    border-radius: 10px;
  }

  .nl-dynamic-product-image-link {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
  }

  .nl-dynamic-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .nl-dynamic-product-content {
    padding: 13px 2px 2px;
  }

  .nl-dynamic-product-title {
    min-height: 52px;
    margin-bottom: 14px !important;

    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.3 !important;
  }

  .nl-dynamic-product-button {
    min-height: 43px;
    padding: 8px 5px;

    font-size: 10.5px;
    line-height: 1.15;
  }

  .nl-dynamic-product-card::after {
    width: 125px;
    height: 125px;

    right: -70px;
    bottom: -75px;
  }
}/* End custom CSS */