/* =========================================
   CUSTOM CSS FACTORY INFORMATICA (B2B PREMIUM)
   ========================================= */

/* --- ESPACIADO Y LIMPIEZA VISUAL DE SECCIONES --- */
#index #content section.featured-products,
#index #content section.new-products,
#index #content section.bestseller-products {
  margin-top: 5rem !important;
  margin-bottom: 5rem !important;
}

#index .products-section-title {
  text-align: center !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  color: #1a237e !important;
  margin-bottom: 2.5rem !important;
  font-size: 1.8rem !important;
}

#index .products-section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background-color: #d32f2f !important;
  margin: 15px auto 0 !important;
  border-radius: 2px !important;
}

/* --- TARJETAS DE PRODUCTO (Efecto Levitación Premium) --- */
.product-miniature {
  background: #ffffff !important;
  border-radius: 8px !important;
  border: 1px solid #eef0f2 !important;
  transition:
    box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.3s ease !important;
  padding-bottom: 1.5rem !important;
  overflow: hidden !important;
}

.product-miniature:hover {
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.08),
    0 12px 10px rgba(0, 0, 0, 0.05) !important;
  transform: translateY(-5px) !important;
  border-color: #e0e6ed !important;
  z-index: 2;
}

/* Precio más fuerte y corporativo en Azul */
.product-price-and-shipping .price,
.product-miniature .product-price-and-shipping .price {
  font-weight: 800 !important;
  color: #1a237e !important;
  font-size: 1.25rem !important;
}

/* --- BOTONES DE "AÑADIR AL CARRITO" LLAMATIVOS --- */
.product-miniature .btn-primary,
.product-miniature .add-to-cart,
.thumbnail-container .btn-primary {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  border-radius: 25px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-size: 0.85rem !important;
  padding: 0.6rem 1.5rem !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.2) !important;
}

.product-miniature .btn-primary:hover,
.product-miniature .add-to-cart:hover,
.thumbnail-container .btn-primary:hover {
  background-color: #b71c1c !important;
  border-color: #b71c1c !important;
  box-shadow: 0 6px 15px rgba(211, 47, 47, 0.35) !important;
  transform: translateY(-1px) !important;
}

/* =========================================
   MOBILE UX FIXES (Correcciones de Plantilla)
   ========================================= */

@media (max-width: 991.98px) {

  /* 1. Solución al recorte del carrito (Badge) en la cabecera */
  #_mobile_cart .cart-preview .cart-products-count,
  .header-nav .cart-preview .cart-products-count {
    top: 5px !important;
    right: 5px !important;
  }

  /* 2. Solución al Logo minúsculo en móvil */
  #_mobile_logo img.logo,
  .header-top .logo {
    min-width: 150px !important;
    height: auto !important;
    max-height: 50px !important;
  }

  /* 3. Evitar que el Chat tape elementos clave en listados y fichas */
  .product-miniature {
    padding-bottom: 3.5rem !important;
  }

  body#product .product__actions {
    padding-bottom: 4rem !important;
  }
}

/* Corrección Menú Hamburguesa Tablets */
@media (max-width: 1199.98px) {
  #_mobile_mainmenu,
  .mobile-menu-icon,
  #header .header-nav .material-icons,
  #header .header-top .material-icons {
    touch-action: manipulation !important;
  }
}

/* Envío gratis página de producto */
.product__shipping-badge .shipping-badge-24 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  background: rgba(31, 143, 58, 0.10) !important;
  border: 1px solid rgba(31, 143, 58, 0.25) !important;
  color: #1f8f3a !important;
}

.product__shipping-badge .shipping-badge-24 .material-icons {
  font-size: 20px;
  line-height: 1;
  color: #1f8f3a !important;
}

/* Ancho columna izquierda */
@media (min-width: 992px) {
  .product__col {
    padding-left: 0.75rem;
  }
}

/* =========================================
   FICHA PRODUCTO: unificar badges
   ========================================= */

body#product .product__prices .prices__wrapper {
  gap: 0.5rem !important;
  margin-bottom: 1rem !important;
}

/* Estado */
body#product .product-condition .badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 13px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: none !important;
}

/* Stock */
body#product #product-availability .alert {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 13px !important;
  border-radius: 999px !important;
  margin: 0 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  background: rgba(26, 35, 126, 0.06) !important;
  color: #1a237e !important;
}

body#product #product-availability .alert .d-flex {
  align-items: center !important;
}

body#product #product-availability .alert .material-icons {
  font-size: 20px !important;
  color: #1a237e !important;
}

/* Plazo entrega */
body#product .product__delivery__information {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 13px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  background: rgba(31, 143, 58, 0.08) !important;
  color: #1f8f3a !important;
}

/* Separaciones */
body#product .product__shipping-badge,
body#product .product-condition {
  margin-top: 0.5rem !important;
}

body#product .product__add-to-cart .mb-3 {
  margin-bottom: 0.75rem !important;
}

body#product #product-availability .alert {
  margin-bottom: 0.65rem !important;
}

body#product .product__delivery__information {
  margin-top: 0.35rem !important;
  display: inline-flex !important;
}

/* Precio principal */
body#product .product__current-price {
  font-size: 2rem !important;
  font-weight: 900 !important;
  color: #1a237e !important;
  line-height: 1.05 !important;
}

/* Precio con IVA */
body#product .product__tax-label {
  font-size: 1.05rem !important;
  font-weight: 600 !important;
}

/* =========================================================
   FACTORYINFORMATICA - HOME HERO
   ========================================================= */

.page-home-factoryinformatica .fi-home-hero {
  padding: 18px 0 8px;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8fbff 100%
  );
}

.page-home-factoryinformatica .fi-home-hero .container {
  max-width: 1380px;
}

.page-home-factoryinformatica .fi-home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 30px 42px;
  border: 1px solid #e7edf5;
  border-radius: 24px;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}

.page-home-factoryinformatica .fi-home-hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.page-home-factoryinformatica .fi-home-hero__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1463ff;
}

.page-home-factoryinformatica .fi-home-hero__title {
  margin: 0 0 18px;
  font-size: 54px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.page-home-factoryinformatica .fi-home-hero__subtitle {
  margin: 0 0 26px;
  max-width: 580px;
  font-size: 18px;
  line-height: 1.65;
  color: #475569;
}

.page-home-factoryinformatica .fi-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.page-home-factoryinformatica .fi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.page-home-factoryinformatica .fi-btn--primary {
  background: #1463ff;
  border-color: #1463ff;
  color: #ffffff !important;
}

.page-home-factoryinformatica .fi-btn--primary:hover {
  background: #0f52d9;
  border-color: #0f52d9;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.page-home-factoryinformatica .fi-btn--secondary {
  background: #16805d;
  border-color: #16805d;
  color: #ffffff !important;
}

.page-home-factoryinformatica .fi-btn--secondary:hover {
  background: #116a4d;
  border-color: #116a4d;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.page-home-factoryinformatica .fi-home-hero__extra {
  margin-top: 4px;
}

.page-home-factoryinformatica .fi-home-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1463ff;
  text-decoration: none;
}

.page-home-factoryinformatica .fi-home-hero__link:hover {
  color: #0f52d9;
  text-decoration: none;
}

/* Zona visual */
.page-home-factoryinformatica .fi-home-hero__visual {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imagen principal */
.page-home-factoryinformatica .fi-home-hero__image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
}

/* Fondos decorativos */
.page-home-factoryinformatica .fi-home-hero__bg {
  position: absolute;
  border-radius: 24px;
  pointer-events: none;
}

.page-home-factoryinformatica .fi-home-hero__bg--1 {
  top: 10%;
  right: 8%;
  width: 72%;
  height: 68%;
  background: linear-gradient(
    135deg,
    rgba(20, 99, 255, 0.10) 0%,
    rgba(20, 99, 255, 0.03) 100%
  );
  transform: skewX(-14deg);
}

.page-home-factoryinformatica .fi-home-hero__bg--2 {
  bottom: 8%;
  left: 10%;
  width: 30%;
  height: 28%;
  background: radial-gradient(
    circle at center,
    rgba(20, 99, 255, 0.12) 0%,
    rgba(20, 99, 255, 0.02) 70%,
    rgba(20, 99, 255, 0) 100%
  );
}

/* =========================================================
   HOME HERO - TABLET
   ========================================================= */

@media (max-width: 1199.98px) {

  .page-home-factoryinformatica .fi-home-hero__title {
    font-size: 46px;
  }

  .page-home-factoryinformatica .fi-home-hero__inner {
    gap: 28px;
    padding: 32px 30px;
  }

  .page-home-factoryinformatica .fi-home-hero__visual {
    min-height: 360px;
  }
}

@media (max-width: 991.98px) {

  .page-home-factoryinformatica .fi-home-hero {
    padding: 20px 0 18px;
  }

  .page-home-factoryinformatica .fi-home-hero__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 22px 24px;
    border-radius: 20px;
  }

  .page-home-factoryinformatica .fi-home-hero__content {
    max-width: none;
  }

  .page-home-factoryinformatica .fi-home-hero__title {
    font-size: 40px;
  }

  .page-home-factoryinformatica .fi-home-hero__subtitle {
    font-size: 17px;
    line-height: 1.6;
  }

  .page-home-factoryinformatica .fi-home-hero__visual {
    min-height: auto;
  }

  .page-home-factoryinformatica .fi-home-hero__image {
    max-width: 100%;
  }
}

/* =========================================================
   HOME HERO - MÓVIL
   ========================================================= */

@media (max-width: 575.98px) {

  .page-home-factoryinformatica .fi-home-hero {
    padding: 12px 0 10px;
  }

  .page-home-factoryinformatica .fi-home-hero__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 16px 18px;
    border-radius: 18px;
  }

  .page-home-factoryinformatica .fi-home-hero__content {
    max-width: none;
  }

  .page-home-factoryinformatica .fi-home-hero__eyebrow {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .page-home-factoryinformatica .fi-home-hero__title {
    font-size: 34px;
    line-height: 1.08;
    margin-bottom: 14px;
  }

  .page-home-factoryinformatica .fi-home-hero__subtitle {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .page-home-factoryinformatica .fi-home-hero__actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }

  .page-home-factoryinformatica .fi-btn {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
  }

  .page-home-factoryinformatica .fi-home-hero__link {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Imagen y composición de equipos en móvil */
  .page-home-factoryinformatica .fi-home-hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 12px 0 0;
    overflow: hidden;
  }

  .page-home-factoryinformatica .fi-home-hero__image {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: 330px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
  }

  .page-home-factoryinformatica .fi-home-hero__bg--1 {
    top: 15%;
    right: 5%;
    width: 78%;
    height: 65%;
  }

  .page-home-factoryinformatica .fi-home-hero__bg--2 {
    bottom: 5%;
    left: 5%;
    width: 35%;
    height: 30%;
  }
}

/* =========================================================
   FACTORYINFORMATICA - HOME TRUST BAR
   ========================================================= */

.page-home-factoryinformatica .fi-home-trust {
  padding: 8px 0 0;
}

.page-home-factoryinformatica .fi-home-trust .container {
  max-width: 1380px;
}

.page-home-factoryinformatica .fi-home-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}

.page-home-factoryinformatica .fi-home-trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 20px 22px;
  position: relative;
}

.page-home-factoryinformatica .fi-home-trust__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22%;
  right: 0;
  width: 1px;
  height: 56%;
  background: #e2e8f0;
}

.page-home-factoryinformatica .fi-home-trust__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(20, 99, 255, 0.08);
  color: #1463ff;
}

.page-home-factoryinformatica .fi-home-trust__icon--green {
  background: rgba(22, 128, 93, 0.09);
  color: #16805d;
}

.page-home-factoryinformatica .fi-home-trust__icon .material-icons {
  font-size: 24px;
  line-height: 1;
}

.page-home-factoryinformatica .fi-home-trust__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
}

.page-home-factoryinformatica .fi-home-trust__content strong {
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.page-home-factoryinformatica .fi-home-trust__content span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
}

/* Tablet */
@media (max-width: 991.98px) {

  .page-home-factoryinformatica .fi-home-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home-factoryinformatica .fi-home-trust__item:nth-child(2)::after {
    display: none;
  }

  .page-home-factoryinformatica .fi-home-trust__item:nth-child(-n+2) {
    border-bottom: 1px solid #e2e8f0;
  }
}

/* Móvil */
@media (max-width: 575.98px) {

  .page-home-factoryinformatica .fi-home-trust {
    padding-top: 6px;
  }

  .page-home-factoryinformatica .fi-home-trust__grid {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .page-home-factoryinformatica .fi-home-trust__item {
    padding: 15px 16px;
    gap: 12px;
  }

  .page-home-factoryinformatica .fi-home-trust__item:not(:last-child) {
    border-bottom: 1px solid #e2e8f0;
  }

  .page-home-factoryinformatica .fi-home-trust__item::after {
    display: none !important;
  }

  .page-home-factoryinformatica .fi-home-trust__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .page-home-factoryinformatica .fi-home-trust__icon .material-icons {
    font-size: 22px;
  }

  .page-home-factoryinformatica .fi-home-trust__content strong {
    font-size: 14px;
  }

  .page-home-factoryinformatica .fi-home-trust__content span {
    font-size: 12.5px;
  }
}

/* =========================================================
   FACTORYINFORMATICA - HOME UNIVERSOS
   Nueva / Reacondicionada
   ========================================================= */

.page-home-factoryinformatica .fi-home-universes {
  padding: 54px 0 18px;
}

.page-home-factoryinformatica .fi-home-universes .container {
  max-width: 1380px;
}

/* ---------- Cabecera de sección ---------- */

.page-home-factoryinformatica .fi-home-universes__heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.page-home-factoryinformatica .fi-home-universes__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #1463ff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-home-factoryinformatica .fi-home-universes__title {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home-factoryinformatica .fi-home-universes__intro {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- Dos universos ---------- */

.page-home-factoryinformatica .fi-home-universes__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* ---------- Tarjeta ---------- */

.page-home-factoryinformatica .fi-universe {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(250px, 1.05fr);
  align-items: center;
  min-height: 330px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

/* Nueva */
.page-home-factoryinformatica .fi-universe--new {
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(20, 99, 255, 0.12) 0%,
      rgba(20, 99, 255, 0.04) 31%,
      rgba(20, 99, 255, 0) 58%
    ),
    linear-gradient(
      120deg,
      #f7faff 0%,
      #ffffff 58%,
      #f4f8ff 100%
    );
}

/* Reacondicionada */
.page-home-factoryinformatica .fi-universe--refurb {
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(22, 128, 93, 0.12) 0%,
      rgba(22, 128, 93, 0.04) 31%,
      rgba(22, 128, 93, 0) 58%
    ),
    linear-gradient(
      120deg,
      #f7fcfa 0%,
      #ffffff 58%,
      #f3faf7 100%
    );
}

@media (hover: hover) {
  .page-home-factoryinformatica .fi-universe:hover {
    transform: translateY(-2px);
    border-color: #d4dde9;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  }
}

/* ---------- Contenido ---------- */

.page-home-factoryinformatica .fi-universe__content {
  position: relative;
  z-index: 3;
  padding: 36px 0 36px 36px;
  min-width: 0;
}

.page-home-factoryinformatica .fi-universe__label {
  display: block;
  margin-bottom: 10px;
  color: #1463ff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.055em;
}

.page-home-factoryinformatica .fi-universe--refurb .fi-universe__label {
  color: #16805d;
}

.page-home-factoryinformatica .fi-universe h3 {
  margin: 0 0 14px;
  max-width: 330px;
  color: #0f172a;
  font-size: 26px;
  line-height: 1.17;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home-factoryinformatica .fi-universe p {
  margin: 0 0 22px;
  max-width: 330px;
  color: #475569;
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- CTA ---------- */

.page-home-factoryinformatica .fi-universe__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1463ff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none !important;
}

.page-home-factoryinformatica .fi-universe--refurb .fi-universe__link {
  color: #16805d;
}

.page-home-factoryinformatica .fi-universe__link span {
  transition: transform 0.2s ease;
}

.page-home-factoryinformatica .fi-universe__link:hover span {
  transform: translateX(4px);
}

/* ---------- Imagen ---------- */

.page-home-factoryinformatica .fi-universe__visual {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 18px 12px 12px 0;
}

/*
 * La imagen ocupa visualmente la mitad derecha.
 * No se recorta ni se deforma.
 */
.page-home-factoryinformatica .fi-universe__image {
  display: block;
  position: relative;
  z-index: 2;
  width: 118%;
  max-width: 410px;
  height: auto;
  object-fit: contain;
}

/* Nueva: ligera orientación hacia el borde derecho */
.page-home-factoryinformatica .fi-universe--new .fi-universe__image {
  transform: translateX(6px);
}

/* Reacondicionado: misma escala para mantener simetría */
.page-home-factoryinformatica .fi-universe--refurb .fi-universe__image {
  transform: translateX(6px);
}

/* Decoración sutil detrás del producto */
.page-home-factoryinformatica .fi-universe__visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 84%;
  height: 76%;
  right: -5%;
  top: 12%;
  border-radius: 34px;
  transform: skewX(-10deg);
  pointer-events: none;
}

.page-home-factoryinformatica .fi-universe--new .fi-universe__visual::before {
  background: linear-gradient(
    135deg,
    rgba(20, 99, 255, 0.09),
    rgba(20, 99, 255, 0.015)
  );
}

.page-home-factoryinformatica .fi-universe--refurb .fi-universe__visual::before {
  background: linear-gradient(
    135deg,
    rgba(22, 128, 93, 0.09),
    rgba(22, 128, 93, 0.015)
  );
}

/* =========================================================
   HOME UNIVERSOS - TABLET
   ========================================================= */

@media (max-width: 1199.98px) {

  .page-home-factoryinformatica .fi-universe {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr);
    min-height: 315px;
  }

  .page-home-factoryinformatica .fi-universe__content {
    padding: 30px 0 30px 28px;
  }

  .page-home-factoryinformatica .fi-universe h3 {
    font-size: 23px;
  }

  .page-home-factoryinformatica .fi-universe__image {
    width: 116%;
    max-width: 350px;
  }
}

/* Tablet estrecha: las tarjetas pasan a una debajo de otra */
@media (max-width: 991.98px) {

  .page-home-factoryinformatica .fi-home-universes {
    padding-top: 44px;
  }

  .page-home-factoryinformatica .fi-home-universes__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .page-home-factoryinformatica .fi-universe {
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
    min-height: 300px;
  }

  .page-home-factoryinformatica .fi-universe__content {
    padding: 30px 0 30px 32px;
  }

  .page-home-factoryinformatica .fi-universe__image {
    width: 100%;
    max-width: 390px;
  }
}

/* =========================================================
   HOME UNIVERSOS - MÓVIL
   ========================================================= */

@media (max-width: 575.98px) {

  .page-home-factoryinformatica .fi-home-universes {
    padding: 34px 0 8px;
  }

  .page-home-factoryinformatica .fi-home-universes__heading {
    margin-bottom: 22px;
    padding: 0 8px;
  }

  .page-home-factoryinformatica .fi-home-universes__eyebrow {
    font-size: 11px;
  }

  .page-home-factoryinformatica .fi-home-universes__title {
    font-size: 28px;
    line-height: 1.16;
  }

  .page-home-factoryinformatica .fi-home-universes__intro {
    font-size: 14px;
    line-height: 1.55;
  }

  .page-home-factoryinformatica .fi-home-universes__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-home-factoryinformatica .fi-universe {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 18px;
  }

  .page-home-factoryinformatica .fi-universe__content {
    width: 100%;
    padding: 24px 20px 4px;
  }

  .page-home-factoryinformatica .fi-universe__label {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .page-home-factoryinformatica .fi-universe h3 {
    max-width: none;
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 1.2;
  }

  .page-home-factoryinformatica .fi-universe p {
    max-width: none;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
  }

  .page-home-factoryinformatica .fi-universe__link {
    font-size: 14px;
  }

  .page-home-factoryinformatica .fi-universe__visual {
    width: 100%;
    min-height: 190px;
    padding: 4px 12px 10px;
    overflow: hidden;
  }

  .page-home-factoryinformatica .fi-universe__image,
  .page-home-factoryinformatica .fi-universe--new .fi-universe__image,
  .page-home-factoryinformatica .fi-universe--refurb .fi-universe__image {
    width: 100%;
    max-width: 340px;
    height: auto;
    margin: 0 auto;
    transform: none;
  }

  .page-home-factoryinformatica .fi-universe__visual::before {
    width: 84%;
    height: 76%;
    top: 12%;
    right: 3%;
    border-radius: 24px;
  }
}


/* =========================================================
   FACTORYINFORMATICA - HOME CATEGORIAS PRINCIPALES
   ========================================================= */

.page-home-factoryinformatica .fi-home-categories {
  padding: 54px 0 18px;
}

.page-home-factoryinformatica .fi-home-categories .container {
  max-width: 1380px;
}

/* ---------- Cabecera ---------- */

.page-home-factoryinformatica .fi-home-categories__heading {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.page-home-factoryinformatica .fi-home-categories__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #1463ff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-home-factoryinformatica .fi-home-categories__title {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home-factoryinformatica .fi-home-categories__intro {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- Grid ---------- */

.page-home-factoryinformatica .fi-home-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* ---------- Tarjeta ---------- */

.page-home-factoryinformatica .fi-home-category {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background:
    linear-gradient(
      180deg,
      #f7faff 0%,
      #ffffff 72%
    );
  text-decoration: none !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

@media (hover: hover) {
  .page-home-factoryinformatica .fi-home-category:hover {
    transform: translateY(-3px);
    border-color: #d4dde9;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
  }
}

/* ---------- Imagen ---------- */

.page-home-factoryinformatica .fi-home-category__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
  padding: 16px 20px 0;
  overflow: hidden;
}

.page-home-factoryinformatica .fi-home-category__visual::before {
  content: "";
  position: absolute;
  width: 72%;
  height: 72%;
  top: 14%;
  right: 8%;
  border-radius: 28px;
  background:
    linear-gradient(
      135deg,
      rgba(20, 99, 255, 0.08),
      rgba(20, 99, 255, 0.01)
    );
  transform: skewX(-9deg);
}

.page-home-factoryinformatica .fi-home-category__visual img {
  position: relative;
  z-index: 2;
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 205px;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

@media (hover: hover) {
  .page-home-factoryinformatica .fi-home-category:hover
  .fi-home-category__visual img {
    transform: scale(1.035);
  }
}

/* ---------- Texto ---------- */

.page-home-factoryinformatica .fi-home-category__content {
  position: relative;
  z-index: 3;
  padding: 20px 22px 22px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.9);
}

.page-home-factoryinformatica .fi-home-category__content h3 {
  margin: 0 0 7px;
  color: #0f172a;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.page-home-factoryinformatica .fi-home-category__content > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #1463ff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.page-home-factoryinformatica
.fi-home-category__content > span span {
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .page-home-factoryinformatica
  .fi-home-category:hover
  .fi-home-category__content > span span {
    transform: translateX(4px);
  }
}

/* =========================================================
   HOME CATEGORIAS - TABLET
   ========================================================= */

@media (max-width: 991.98px) {

  .page-home-factoryinformatica .fi-home-categories {
    padding-top: 44px;
  }

  .page-home-factoryinformatica .fi-home-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home-factoryinformatica .fi-home-category__visual {
    height: 220px;
  }

  .page-home-factoryinformatica .fi-home-category__visual img {
    max-height: 195px;
  }
}

/* =========================================================
   HOME CATEGORIAS - MOVIL
   ========================================================= */

@media (max-width: 575.98px) {

  .page-home-factoryinformatica .fi-home-categories {
    padding: 34px 0 8px;
  }

  .page-home-factoryinformatica .fi-home-categories__heading {
    margin-bottom: 22px;
    padding: 0 8px;
  }

  .page-home-factoryinformatica .fi-home-categories__eyebrow {
    font-size: 11px;
  }

  .page-home-factoryinformatica .fi-home-categories__title {
    font-size: 28px;
  }

  .page-home-factoryinformatica .fi-home-categories__intro {
    font-size: 14px;
    line-height: 1.55;
  }

  .page-home-factoryinformatica .fi-home-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .page-home-factoryinformatica .fi-home-category {
    border-radius: 14px;
  }

  .page-home-factoryinformatica .fi-home-category__visual {
    height: 150px;
    padding: 10px 8px 0;
  }

  .page-home-factoryinformatica .fi-home-category__visual img {
    max-height: 138px;
  }

  .page-home-factoryinformatica .fi-home-category__content {
    padding: 14px 12px 15px;
  }

  .page-home-factoryinformatica .fi-home-category__content h3 {
    margin-bottom: 5px;
    font-size: 16px;
  }

  .page-home-factoryinformatica .fi-home-category__content > span {
    gap: 4px;
    font-size: 12px;
  }
}


/* =========================================================
   FACTORYINFORMATICA - HOME PRODUCTOS DESTACADOS
   SISTEMA TARJETAS DE PRODUCTO FI
   ========================================================= */

#index #content section.featured-products {
  position: relative;
  margin-top: 54px !important;
  margin-bottom: 14px !important;
  padding: 0;
}

/* =========================================================
   CONTENEDOR
   ========================================================= */

#index .featured-products-5cols .container-fluid {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

/* =========================================================
   CABECERA
   ========================================================= */

#index .fi-featured-heading {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

#index .fi-featured-heading__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #1463ff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#index .fi-featured-heading__title {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

#index .fi-featured-heading__intro {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
}

/* =========================================================
   CARRUSEL
   ========================================================= */

#index .featured-products-5cols .fp-carousel {
  position: relative;
}

#index .featured-products-5cols .fp-carousel__viewport {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 4px 16px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#index .featured-products-5cols
.fp-carousel__viewport::-webkit-scrollbar {
  display: none;
}

#index .featured-products-5cols
.fp-carousel__viewport
.products {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  margin-left: -8px;
  margin-right: -8px;
}

/* =========================================================
   ANCHOS DEL CARRUSEL
   ========================================================= */

@media (min-width: 1200px) {
  #index .featured-products-5cols
  .fp-carousel__viewport
  .products > .product-miniature {
    flex: 0 0 20% !important;
    max-width: 20% !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  #index .featured-products-5cols
  .fp-carousel__viewport
  .products > .product-miniature {
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  #index .featured-products-5cols
  .fp-carousel__viewport
  .products > .product-miniature {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

/* =========================================================
   ARTICLE EXTERIOR
   Neutralizar CSS global existente
   ========================================================= */

#index .fi-product-cards
.fp-carousel__viewport
.products > .product-miniature {
  display: block !important;
  min-width: 0;
  padding-left: 8px !important;
  padding-right: 8px !important;
  padding-bottom: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}

#index .fi-product-cards .product-miniature:hover {
  transform: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* =========================================================
   TARJETA
   ========================================================= */

#index .fi-product-cards
.product-miniature > .card {
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

@media (hover: hover) {
  #index .fi-product-cards
  .product-miniature:hover > .card {
    transform: translateY(-3px);
    border-color: #cbd7e5;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.09);
  }
}

/* =========================================================
   ENLACE / IMAGEN
   ========================================================= */

#index .fi-product-cards .product-miniature__link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none !important;
}

#index .fi-product-cards
.product-miniature__image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 220px;
  margin: 0;
  padding: 18px 16px 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

#index .fi-product-cards
.product-miniature__image-container picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#index .fi-product-cards
.product-miniature__image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 auto;
  object-fit: contain !important;
  transition: transform 0.25s ease;
}

@media (hover: hover) {
  #index .fi-product-cards
  .product-miniature:hover
  .product-miniature__image {
    transform: scale(1.03);
  }
}

/* =========================================================
   VISTA RÁPIDA
   ========================================================= */

#index .fi-product-cards
.product-miniature__quickview,
#index .fi-product-cards
.product-miniature__quickview_touch {
  display: none !important;
}

/* =========================================================
   FAVORITOS
   ========================================================= */

#index .fi-product-cards .wishlist-button-add {
  position: absolute !important;
  top: 12px;
  right: 12px;
  z-index: 6;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 50% !important;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06) !important;
}

#index .fi-product-cards
.wishlist-button-add .material-icons {
  color: #64748b !important;
  font-size: 21px !important;
}

@media (hover: hover) {
  #index .fi-product-cards .wishlist-button-add:hover {
    opacity: 1 !important;
    border-color: #bac8d8 !important;
  }

  #index .fi-product-cards
  .wishlist-button-add:hover .material-icons {
    color: #1463ff !important;
  }
}

/* =========================================================
   BADGES
   ========================================================= */

#index .fi-product-cards .product-flags {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  margin: 0;
  padding: 0;
}

#index .fi-product-cards
.product-flags .badge {
  padding: 6px 9px;
  border: 0;
  border-radius: 999px;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 800;
}

/* =========================================================
   CUERPO
   ========================================================= */

#index .fi-product-cards
.product-miniature__infos.card-body {
  display: block !important;
  flex: none !important;
  width: 100%;
  min-height: 0 !important;
  padding: 16px 17px 17px !important;
  background: #ffffff;
}

#index .fi-product-cards
.product-miniature__infos__top {
  display: block !important;
  margin: 0 !important;
}

#index .fi-product-cards
.product-miniature__infos__bottom {
  display: block !important;
  flex: none !important;
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
}

/* =========================================================
   TITULO
   ========================================================= */

#index .fi-product-cards
.product-miniature__infos__top > a {
  color: inherit;
  text-decoration: none !important;
}

#index .fi-product-cards
.product-miniature__title {
  display: -webkit-box;
  min-height: 42px;
  margin: 0 !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #0f172a !important;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  text-align: left;
}

@media (hover: hover) {
  #index .fi-product-cards
  .product-miniature__infos__top > a:hover
  .product-miniature__title {
    color: #1463ff !important;
  }
}

/* =========================================================
   VARIANTES VACÍAS
   ========================================================= */

#index .fi-product-cards
.product-miniature__variants:empty {
  display: none !important;
}

/* =========================================================
   REVIEWS
   ========================================================= */

#index .fi-product-cards
.grc-category-stars {
  min-height: 0 !important;
  margin: 7px 0 0 !important;
}

/* =========================================================
   PRECIOS
   ========================================================= */

#index .fi-product-cards
.product-miniature__prices {
  display: block !important;
  width: 100% !important;
  margin: 12px 0 0 !important;
  text-align: left !important;
}

#index .fi-product-cards
.product-miniature-price-wrapper {
  display: block !important;
  width: 100%;
  text-align: left !important;
}

#index .fi-product-cards
.product-miniature__price {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 20px !important;
  line-height: 1.15;
  font-weight: 800 !important;
  text-align: left !important;
}

#index .fi-product-cards
.product-miniature__price-with-tax {
  margin: 4px 0 0 !important;
  color: #64748b !important;
  font-size: 12px !important;
  line-height: 1.3;
  font-weight: 500;
  text-align: left !important;
}

#index .fi-product-cards
.product-miniature__discount-price:empty {
  display: none !important;
}

/* =========================================================
   STOCK
   ========================================================= */

#index .fi-product-cards
.product-miniature__stock {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  margin: 9px 0 0 !important;
  padding: 5px 9px;
  background: rgba(22, 128, 93, 0.08);
  border-radius: 999px;
  color: #16805d !important;
  font-size: 11.5px !important;
  line-height: 1.2;
  font-weight: 700;
  text-align: left !important;
}

/* =========================================================
   FORMULARIO COMPRA
   ========================================================= */

#index .fi-product-cards
.product-miniature__infos__bottom > form {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: 100%;
  margin: 14px 0 0 !important;
  padding: 14px 0 0;
  border-top: 1px solid #eef2f7;
}

/* =========================================================
   CANTIDAD
   ========================================================= */

#index .fi-product-cards
.quantity-button {
  flex: 0 0 112px !important;
  width: 112px !important;
  max-width: 112px !important;
}

#index .fi-product-cards
.quantity-button .input-group {
  display: flex;
  width: 100%;
  height: 42px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d8e1eb;
  border-radius: 10px;
}

#index .fi-product-cards
.quantity-button
.input-group .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 40px;
  padding: 0 !important;
  background: #f8fafc !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #475569 !important;
}

#index .fi-product-cards
.quantity-button
.input-group .btn:hover {
  background: #edf3f9 !important;
  color: #1463ff !important;
}

#index .fi-product-cards
.quantity-button
.input-group .material-icons {
  font-size: 17px;
}

#index .fi-product-cards
.quantity-button .form-control {
  flex: 1 1 auto;
  width: 44px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  background: #ffffff;
  border-top: 0;
  border-bottom: 0;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  border-radius: 0;
  box-shadow: none;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* =========================================================
   CARRITO
   ========================================================= */

#index .fi-product-cards
.product-miniature
button[data-button-action="add-to-cart"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 46px !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #1463ff !important;
  border: 1px solid #1463ff !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 0 !important;
  text-transform: none !important;
}

#index .fi-product-cards
.product-miniature
button[data-button-action="add-to-cart"]
.material-icons {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 21px !important;
}

@media (hover: hover) {
  #index .fi-product-cards
  .product-miniature
  button[data-button-action="add-to-cart"]:hover {
    background: #0f52d9 !important;
    border-color: #0f52d9 !important;
    transform: translateY(-1px) !important;
  }
}

/* =========================================================
   FLECHAS
   ========================================================= */

#index .featured-products-5cols
.fp-carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #dce4ee;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.10);
  cursor: pointer;
}

#index .featured-products-5cols
.fp-carousel__btn--prev {
  left: -13px;
}

#index .featured-products-5cols
.fp-carousel__btn--next {
  right: -13px;
}

#index .featured-products-5cols
.fp-carousel__btn .material-icons {
  color: #0f172a;
  font-size: 22px;
}

/* =========================================================
   TODOS LOS PRODUCTOS
   ========================================================= */

#index .featured-products-footer {
  margin-top: 22px;
}

#index .featured-products-footer
.all-product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 20px;
  background: #ffffff;
  border: 1px solid #1463ff;
  border-radius: 10px;
  color: #1463ff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

@media (hover: hover) {
  #index .featured-products-footer
  .all-product-link:hover {
    background: #1463ff;
    color: #ffffff;
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {
  #index #content section.featured-products {
    margin-top: 44px !important;
  }

  #index .fi-featured-heading {
    margin-bottom: 24px;
  }

  #index .fi-product-cards
  .product-miniature__image-container {
    height: 240px;
  }
}

/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 575.98px) {
  #index #content section.featured-products {
    margin-top: 34px !important;
    margin-bottom: 14px !important;
  }

  #index .featured-products-5cols
  .container-fluid {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #index .fi-featured-heading {
    margin-bottom: 22px;
    padding: 0 8px;
  }

  #index .fi-featured-heading__eyebrow {
    font-size: 11px;
  }

  #index .fi-featured-heading__title {
    font-size: 28px;
  }

  #index .fi-featured-heading__intro {
    font-size: 14px;
    line-height: 1.55;
  }

  #index .featured-products-5cols
  .fp-carousel__viewport
  .products > .product-miniature {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
  }

  #index .featured-products-5cols
  .fp-carousel__btn {
    display: none !important;
  }

  #index .fi-product-cards
  .product-miniature > .card {
    border-radius: 14px;
  }

  #index .fi-product-cards
  .product-miniature__image-container {
    height: 260px;
    padding: 16px 18px 8px;
  }

  #index .fi-product-cards
  .product-miniature__infos.card-body {
    padding: 17px 18px 18px !important;
  }

  #index .fi-product-cards
  .product-miniature__title {
    min-height: auto;
    font-size: 15px;
    -webkit-line-clamp: 3;
  }

  #index .fi-product-cards
  .product-miniature__price {
    font-size: 21px !important;
  }

  #index .fi-product-cards
  .quantity-button {
    flex-basis: 122px !important;
    width: 122px !important;
    max-width: 122px !important;
  }

  #index .fi-product-cards
  .product-miniature
  button[data-button-action="add-to-cart"] {
    flex-basis: 50px !important;
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
  }
}


/* =========================================================
   FACTORYINFORMATICA - HOME COMPRAR POR NECESIDAD
   ========================================================= */

.page-home-factoryinformatica .fi-home-needs {
  padding: 32px 0 18px;
}

.page-home-factoryinformatica .fi-home-needs .container {
  max-width: 1380px;
}


/* =========================================================
   CABECERA
   ========================================================= */

.page-home-factoryinformatica .fi-home-needs__heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.page-home-factoryinformatica .fi-home-needs__eyebrow {
  display: block;
  margin-bottom: 8px;

  color: #1463ff;

  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-home-factoryinformatica .fi-home-needs__title {
  margin: 0 0 12px;

  color: #0f172a;

  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home-factoryinformatica .fi-home-needs__intro {
  margin: 0;

  color: #64748b;

  font-size: 16px;
  line-height: 1.6;
}


/* =========================================================
   GRID
   ========================================================= */

.page-home-factoryinformatica .fi-home-needs__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}


/* =========================================================
   TARJETA
   ========================================================= */

.page-home-factoryinformatica .fi-home-need {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;
  min-height: 285px;

  padding: 24px 22px 22px;

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      #f8fbff 0%,
      #ffffff 72%
    );

  border: 1px solid #e2e8f0;
  border-radius: 18px;

  color: inherit;

  text-decoration: none !important;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

@media (hover: hover) {

  .page-home-factoryinformatica .fi-home-need:hover {
    transform: translateY(-3px);

    border-color: #cfd9e6;

    box-shadow:
      0 16px 34px rgba(15, 23, 42, 0.07);
  }
}


/* =========================================================
   DECORACIÓN DE FONDO
   ========================================================= */

.page-home-factoryinformatica .fi-home-need::before {
  content: "";

  position: absolute;

  top: -36px;
  right: -42px;

  width: 150px;
  height: 150px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(20, 99, 255, 0.09) 0%,
      rgba(20, 99, 255, 0.025) 56%,
      rgba(20, 99, 255, 0) 72%
    );

  pointer-events: none;
}


/* =========================================================
   ICONO
   ========================================================= */

.page-home-factoryinformatica .fi-home-need__icon {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 48px;

  width: 48px;
  height: 48px;

  margin-bottom: 20px;

  background: rgba(20, 99, 255, 0.08);

  border: 1px solid rgba(20, 99, 255, 0.10);
  border-radius: 13px;

  color: #1463ff;
}

.page-home-factoryinformatica
.fi-home-need__icon .material-icons {
  font-size: 25px;
  line-height: 1;
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.page-home-factoryinformatica .fi-home-need__content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  flex: 1;

  min-width: 0;
}


/* Tipo de necesidad */
.page-home-factoryinformatica .fi-home-need__label {
  display: block;

  margin-bottom: 8px;

  color: #1463ff;

  font-size: 10.5px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.055em;
}


/* Título */
.page-home-factoryinformatica .fi-home-need h3 {
  margin: 0 0 11px;

  color: #0f172a;

  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.015em;

  transition: color 0.2s ease;
}

@media (hover: hover) {

  .page-home-factoryinformatica
  .fi-home-need:hover h3 {
    color: #1463ff;
  }
}


/* Texto */
.page-home-factoryinformatica .fi-home-need p {
  margin: 0 0 20px;

  color: #64748b;

  font-size: 14px;
  line-height: 1.55;
}


/* =========================================================
   CTA
   ========================================================= */

.page-home-factoryinformatica .fi-home-need__link {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  margin-top: auto;

  color: #1463ff;

  font-size: 13.5px;
  line-height: 1.2;
  font-weight: 800;
}

.page-home-factoryinformatica
.fi-home-need__link > span {
  transition: transform 0.2s ease;
}

@media (hover: hover) {

  .page-home-factoryinformatica
  .fi-home-need:hover
  .fi-home-need__link > span {
    transform: translateX(4px);
  }
}


/* =========================================================
   TABLET GRANDE
   ========================================================= */

@media (max-width: 1199.98px) {

  .page-home-factoryinformatica
  .fi-home-needs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home-factoryinformatica
  .fi-home-need {
    min-height: 250px;
  }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

  .page-home-factoryinformatica
  .fi-home-needs {
    padding-top: 30px;
  }

  .page-home-factoryinformatica
  .fi-home-needs__heading {
    margin-bottom: 24px;
  }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 575.98px) {

  .page-home-factoryinformatica
  .fi-home-needs {
    padding: 24px 0 8px;
  }

  .page-home-factoryinformatica
  .fi-home-needs__heading {
    margin-bottom: 22px;
    padding: 0 8px;
  }

  .page-home-factoryinformatica
  .fi-home-needs__eyebrow {
    font-size: 11px;
  }

  .page-home-factoryinformatica
  .fi-home-needs__title {
    font-size: 28px;
    line-height: 1.16;
  }

  .page-home-factoryinformatica
  .fi-home-needs__intro {
    font-size: 14px;
    line-height: 1.55;
  }

  .page-home-factoryinformatica
  .fi-home-needs__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-home-factoryinformatica
  .fi-home-need {
    min-height: 0;

    padding: 20px 18px 19px;

    border-radius: 15px;
  }

  .page-home-factoryinformatica
  .fi-home-need__icon {
    width: 44px;
    height: 44px;

    flex-basis: 44px;

    margin-bottom: 16px;

    border-radius: 11px;
  }

  .page-home-factoryinformatica
  .fi-home-need__icon .material-icons {
    font-size: 23px;
  }

  .page-home-factoryinformatica
  .fi-home-need__label {
    font-size: 10px;
  }

  .page-home-factoryinformatica
  .fi-home-need h3 {
    margin-bottom: 9px;

    font-size: 18px;
  }

  .page-home-factoryinformatica
  .fi-home-need p {
    margin-bottom: 16px;

    font-size: 13.5px;
    line-height: 1.5;
  }

  .page-home-factoryinformatica
  .fi-home-need__link {
    font-size: 13px;
  }
}


/* =========================================================
   FACTORYINFORMATICA - HOME PROCESO REACONDICIONADO
   ========================================================= */

.page-home-factoryinformatica .fi-home-refurb-process {
  padding: 54px 0 24px;
}

.page-home-factoryinformatica
.fi-home-refurb-process .container {
  max-width: 1380px;
}


/* =========================================================
   PANEL
   ========================================================= */

.page-home-factoryinformatica
.fi-home-refurb-process__panel {
  display: grid;

  grid-template-columns:
    minmax(280px, 0.85fr)
    minmax(0, 1.65fr);

  gap: 54px;

  padding: 44px 46px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(22, 128, 93, 0.10) 0%,
      rgba(22, 128, 93, 0.025) 34%,
      rgba(22, 128, 93, 0) 58%
    ),
    linear-gradient(
      135deg,
      #f4fbf8 0%,
      #f8fcfa 48%,
      #ffffff 100%
    );

  border: 1px solid #dcece5;
  border-radius: 22px;
}


/* =========================================================
   INTRO
   ========================================================= */

.page-home-factoryinformatica
.fi-home-refurb-process__intro {
  display: flex;
  flex-direction: column;

  align-items: flex-start;
  justify-content: center;
}

.page-home-factoryinformatica
.fi-home-refurb-process__eyebrow {
  display: block;

  margin-bottom: 10px;

  color: #16805d;

  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}

.page-home-factoryinformatica
.fi-home-refurb-process__title {
  max-width: 430px;

  margin: 0 0 15px;

  color: #0f172a;

  font-size: 34px;
  line-height: 1.13;
  font-weight: 800;

  letter-spacing: -0.025em;
}

.page-home-factoryinformatica
.fi-home-refurb-process__text {
  max-width: 440px;

  margin: 0 0 23px;

  color: #64748b;

  font-size: 15px;
  line-height: 1.65;
}


/* =========================================================
   CTA
   ========================================================= */

.page-home-factoryinformatica
.fi-home-refurb-process__cta {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  min-height: 44px;

  padding: 0 17px;

  background: #16805d;

  border: 1px solid #16805d;
  border-radius: 10px;

  color: #ffffff !important;

  font-size: 13.5px;
  font-weight: 800;

  text-decoration: none !important;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.page-home-factoryinformatica
.fi-home-refurb-process__cta > span {
  transition: transform 0.2s ease;
}

@media (hover: hover) {

  .page-home-factoryinformatica
  .fi-home-refurb-process__cta:hover {
    background: #116b4d;

    border-color: #116b4d;

    transform: translateY(-1px);
  }

  .page-home-factoryinformatica
  .fi-home-refurb-process__cta:hover > span {
    transform: translateX(3px);
  }
}


/* =========================================================
   PASOS
   ========================================================= */

.page-home-factoryinformatica
.fi-home-refurb-process__steps {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 14px;
}


/* =========================================================
   TARJETA PASO
   ========================================================= */

.page-home-factoryinformatica
.fi-refurb-step {
  position: relative;

  display: flex;

  gap: 15px;

  min-width: 0;

  padding: 20px;

  background: rgba(255, 255, 255, 0.88);

  border: 1px solid #e0ebe6;
  border-radius: 16px;

  box-shadow:
    0 3px 12px rgba(15, 23, 42, 0.025);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

@media (hover: hover) {

  .page-home-factoryinformatica
  .fi-refurb-step:hover {
    transform: translateY(-2px);

    border-color: #cbded5;

    box-shadow:
      0 12px 28px rgba(15, 23, 42, 0.055);
  }
}


/* =========================================================
   ICONO
   ========================================================= */

.page-home-factoryinformatica
.fi-refurb-step__icon {
  display: flex;

  align-items: center;
  justify-content: center;

  flex: 0 0 44px;

  width: 44px;
  height: 44px;

  background: rgba(22, 128, 93, 0.09);

  border: 1px solid rgba(22, 128, 93, 0.11);
  border-radius: 12px;

  color: #16805d;
}

.page-home-factoryinformatica
.fi-refurb-step__icon .material-icons {
  font-size: 23px;
}


/* =========================================================
   CONTENIDO DEL PASO
   ========================================================= */

.page-home-factoryinformatica
.fi-refurb-step__content {
  min-width: 0;
}

.page-home-factoryinformatica
.fi-refurb-step__number {
  display: block;

  margin-bottom: 5px;

  color: #16805d;

  font-size: 10px;
  line-height: 1;

  font-weight: 900;

  letter-spacing: 0.08em;
}

.page-home-factoryinformatica
.fi-refurb-step h3 {
  margin: 0 0 7px;

  color: #0f172a;

  font-size: 16px;
  line-height: 1.25;

  font-weight: 800;
}

.page-home-factoryinformatica
.fi-refurb-step p {
  margin: 0;

  color: #64748b;

  font-size: 13px;
  line-height: 1.5;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

  .page-home-factoryinformatica
  .fi-home-refurb-process {
    padding-top: 44px;
  }

  .page-home-factoryinformatica
  .fi-home-refurb-process__panel {
    grid-template-columns: 1fr;

    gap: 32px;

    padding: 36px 32px;
  }

  .page-home-factoryinformatica
  .fi-home-refurb-process__intro {
    align-items: center;

    text-align: center;
  }

  .page-home-factoryinformatica
  .fi-home-refurb-process__title,
  .page-home-factoryinformatica
  .fi-home-refurb-process__text {
    max-width: 650px;
  }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 575.98px) {

  .page-home-factoryinformatica
  .fi-home-refurb-process {
    padding: 34px 0 10px;
  }

  .page-home-factoryinformatica
  .fi-home-refurb-process__panel {
    gap: 26px;

    padding: 27px 18px 20px;

    border-radius: 17px;
  }

  .page-home-factoryinformatica
  .fi-home-refurb-process__eyebrow {
    font-size: 11px;
  }

  .page-home-factoryinformatica
  .fi-home-refurb-process__title {
    margin-bottom: 12px;

    font-size: 28px;
    line-height: 1.16;
  }

  .page-home-factoryinformatica
  .fi-home-refurb-process__text {
    margin-bottom: 20px;

    font-size: 14px;
    line-height: 1.55;
  }

  .page-home-factoryinformatica
  .fi-home-refurb-process__steps {
    grid-template-columns: 1fr;

    gap: 10px;
  }

  .page-home-factoryinformatica
  .fi-refurb-step {
    gap: 13px;

    padding: 17px 15px;

    border-radius: 14px;
  }

  .page-home-factoryinformatica
  .fi-refurb-step__icon {
    flex-basis: 40px;

    width: 40px;
    height: 40px;

    border-radius: 10px;
  }

  .page-home-factoryinformatica
  .fi-refurb-step__icon .material-icons {
    font-size: 21px;
  }

  .page-home-factoryinformatica
  .fi-refurb-step h3 {
    font-size: 15px;
  }

  .page-home-factoryinformatica
  .fi-refurb-step p {
    font-size: 12.5px;
  }
}


/* =========================================================
   FACTORYINFORMATICA - HOME POR QUE FACTORY
   ========================================================= */

.page-home-factoryinformatica .fi-home-why {
  padding: 64px 0 32px;
  background: #ffffff;
}

.page-home-factoryinformatica
.fi-home-why .container {
  max-width: 1380px;
}


/* CABECERA */

.page-home-factoryinformatica
.fi-home-why__heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.page-home-factoryinformatica
.fi-home-why__eyebrow {
  display: block;
  margin-bottom: 8px;

  color: #1463ff;

  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-home-factoryinformatica
.fi-home-why__title {
  margin: 0 0 12px;

  color: #0f172a;

  font-size: 36px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.page-home-factoryinformatica
.fi-home-why__intro {
  margin: 0;

  color: #64748b;

  font-size: 16px;
  line-height: 1.6;
}


/* =========================================================
   RAZONES
   ========================================================= */

.page-home-factoryinformatica
.fi-home-why__reasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}


/* ITEM */

.page-home-factoryinformatica
.fi-why-item {
  position: relative;

  padding: 34px 30px 32px;

  text-align: center;
}

.page-home-factoryinformatica
.fi-why-item:not(:last-child)::after {
  content: "";

  position: absolute;
  top: 22%;
  right: 0;

  width: 1px;
  height: 56%;

  background: #e2e8f0;
}


/* ICONO */

.page-home-factoryinformatica
.fi-why-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  margin: 0 auto 18px;

  background: rgba(20, 99, 255, 0.08);

  border-radius: 15px;

  color: #1463ff;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.page-home-factoryinformatica
.fi-why-item__icon .material-icons {
  font-size: 27px;
}

@media (hover: hover) {

  .page-home-factoryinformatica
  .fi-why-item:hover
  .fi-why-item__icon {
    transform: translateY(-3px);

    background: rgba(20, 99, 255, 0.12);
  }
}


/* TEXTO */

.page-home-factoryinformatica
.fi-why-item h3 {
  margin: 0 0 10px;

  color: #0f172a;

  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
}

.page-home-factoryinformatica
.fi-why-item p {
  max-width: 245px;

  margin: 0 auto;

  color: #64748b;

  font-size: 13.5px;
  line-height: 1.55;
}


/* =========================================================
   CTA INFERIOR
   ========================================================= */

.page-home-factoryinformatica
.fi-home-why__footer {
  display: flex;
  justify-content: center;

  padding-top: 27px;
}

.page-home-factoryinformatica
.fi-home-why__cta {
  display: inline-flex;
  align-items: center;

  gap: 6px;

  color: #475569;

  font-size: 14px;
  line-height: 1.4;

  text-decoration: none !important;
}

.page-home-factoryinformatica
.fi-home-why__cta strong {
  color: #1463ff;
  font-weight: 800;
}

.page-home-factoryinformatica
.fi-home-why__cta > span {
  color: #1463ff;

  transition: transform 0.2s ease;
}

@media (hover: hover) {

  .page-home-factoryinformatica
  .fi-home-why__cta:hover > span {
    transform: translateX(4px);
  }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

  .page-home-factoryinformatica
  .fi-home-why {
    padding-top: 50px;
  }

  .page-home-factoryinformatica
  .fi-home-why__heading {
    margin-bottom: 32px;
  }

  .page-home-factoryinformatica
  .fi-home-why__reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home-factoryinformatica
  .fi-why-item:nth-child(2)::after {
    display: none;
  }

  .page-home-factoryinformatica
  .fi-why-item:nth-child(-n+2) {
    border-bottom: 1px solid #e2e8f0;
  }
}


/* =========================================================
   MOVIL
   ========================================================= */

@media (max-width: 575.98px) {

  .page-home-factoryinformatica
  .fi-home-why {
    padding: 40px 0 18px;
  }

  .page-home-factoryinformatica
  .fi-home-why__heading {
    margin-bottom: 26px;
    padding: 0 8px;
  }

  .page-home-factoryinformatica
  .fi-home-why__eyebrow {
    font-size: 11px;
  }

  .page-home-factoryinformatica
  .fi-home-why__title {
    font-size: 28px;
    line-height: 1.16;
  }

  .page-home-factoryinformatica
  .fi-home-why__intro {
    font-size: 14px;
    line-height: 1.55;
  }

  .page-home-factoryinformatica
  .fi-home-why__reasons {
    grid-template-columns: 1fr;
  }

  .page-home-factoryinformatica
  .fi-why-item {
    display: grid;

    grid-template-columns: 44px 1fr;

    column-gap: 14px;

    padding: 20px 4px;

    text-align: left;

    border-bottom: 1px solid #e2e8f0;
  }

  .page-home-factoryinformatica
  .fi-why-item:last-child {
    border-bottom: 0;
  }

  .page-home-factoryinformatica
  .fi-why-item::after {
    display: none !important;
  }

  .page-home-factoryinformatica
  .fi-why-item__icon {
    grid-row: 1 / span 2;

    width: 44px;
    height: 44px;

    margin: 0;

    border-radius: 12px;
  }

  .page-home-factoryinformatica
  .fi-why-item__icon .material-icons {
    font-size: 23px;
  }

  .page-home-factoryinformatica
  .fi-why-item h3 {
    margin: 1px 0 5px;

    font-size: 15px;
  }

  .page-home-factoryinformatica
  .fi-why-item p {
    max-width: none;

    margin: 0;

    font-size: 12.5px;
  }

  .page-home-factoryinformatica
  .fi-home-why__footer {
    padding-top: 22px;

    text-align: center;
  }

  .page-home-factoryinformatica
  .fi-home-why__cta {
    flex-wrap: wrap;
    justify-content: center;

    font-size: 13px;
  }
}


/* =========================================================
   FACTORYINFORMATICA - HOME CONFIANZA
   ========================================================= */

.page-home-factoryinformatica .fi-home-reviews {
  padding: 60px 0 38px;
}

.page-home-factoryinformatica
.fi-home-reviews .container {
  max-width: 1380px;
}


/* CABECERA */

.page-home-factoryinformatica
.fi-home-reviews__heading {
  max-width: 760px;

  margin: 0 auto 34px;

  text-align: center;
}

.page-home-factoryinformatica
.fi-home-reviews__eyebrow {
  display: block;

  margin-bottom: 8px;

  color: #1463ff;

  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}

.page-home-factoryinformatica
.fi-home-reviews__title {
  margin: 0 0 12px;

  color: #0f172a;

  font-size: 34px;
  line-height: 1.15;

  font-weight: 800;

  letter-spacing: -0.025em;
}

.page-home-factoryinformatica
.fi-home-reviews__intro {
  margin: 0;

  color: #64748b;

  font-size: 16px;
  line-height: 1.6;
}


/* GRID */

.page-home-factoryinformatica
.fi-home-reviews__grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 16px;
}


/* TARJETA */

.page-home-factoryinformatica
.fi-trust-card {
  position: relative;

  min-width: 0;

  padding: 28px 26px;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #e2e8f0;
  border-radius: 18px;

  box-shadow:
    0 4px 16px rgba(15, 23, 42, 0.035);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.page-home-factoryinformatica
.fi-trust-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  background:
    linear-gradient(
      90deg,
      #1463ff,
      #5d8fff
    );
}

@media (hover: hover) {

  .page-home-factoryinformatica
  .fi-trust-card:hover {
    transform: translateY(-3px);

    border-color: #cad6e5;

    box-shadow:
      0 16px 34px rgba(15, 23, 42, 0.07);
  }
}


/* ICONO */

.page-home-factoryinformatica
.fi-trust-card__icon {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  margin-bottom: 18px;

  background: rgba(20, 99, 255, 0.08);

  border-radius: 14px;

  color: #1463ff;
}

.page-home-factoryinformatica
.fi-trust-card__icon .material-icons {
  font-size: 25px;
}


/* LABEL */

.page-home-factoryinformatica
.fi-trust-card__label {
  display: block;

  margin-bottom: 8px;

  color: #1463ff;

  font-size: 10.5px;
  line-height: 1.2;

  font-weight: 800;

  letter-spacing: 0.06em;
}


/* TEXTO */

.page-home-factoryinformatica
.fi-trust-card h3 {
  margin: 0 0 11px;

  color: #0f172a;

  font-size: 18px;
  line-height: 1.3;

  font-weight: 800;
}

.page-home-factoryinformatica
.fi-trust-card p {
  margin: 0;

  color: #64748b;

  font-size: 13.5px;
  line-height: 1.6;
}


/* TABLET */

@media (max-width: 991.98px) {

  .page-home-factoryinformatica
  .fi-home-reviews {
    padding-top: 48px;
  }

  .page-home-factoryinformatica
  .fi-home-reviews__grid {
    grid-template-columns: 1fr;
  }

  .page-home-factoryinformatica
  .fi-trust-card {
    max-width: 720px;

    width: 100%;

    margin: 0 auto;
  }
}


/* MOVIL */

@media (max-width: 575.98px) {

  .page-home-factoryinformatica
  .fi-home-reviews {
    padding: 38px 0 22px;
  }

  .page-home-factoryinformatica
  .fi-home-reviews__heading {
    margin-bottom: 24px;

    padding: 0 8px;
  }

  .page-home-factoryinformatica
  .fi-home-reviews__eyebrow {
    font-size: 11px;
  }

  .page-home-factoryinformatica
  .fi-home-reviews__title {
    font-size: 28px;
  }

  .page-home-factoryinformatica
  .fi-home-reviews__intro {
    font-size: 14px;
  }

  .page-home-factoryinformatica
  .fi-trust-card {
    padding: 22px 20px;

    border-radius: 15px;
  }

  .page-home-factoryinformatica
  .fi-trust-card__icon {
    width: 44px;
    height: 44px;

    margin-bottom: 15px;

    border-radius: 12px;
  }

  .page-home-factoryinformatica
  .fi-trust-card h3 {
    font-size: 16px;
  }

  .page-home-factoryinformatica
  .fi-trust-card p {
    font-size: 13px;
  }
}


/* =========================================================
   FACTORYINFORMATICA - HOME FACTORY GROUP
   FactoryInformática x FactoryOficina
   ========================================================= */

.page-home-factoryinformatica .fi-home-group {
  padding: 54px 0 46px;
}

.page-home-factoryinformatica
.fi-home-group .container {
  max-width: 1380px;
}


/* =========================================================
   PANEL
   ========================================================= */

.page-home-factoryinformatica
.fi-home-group__panel {
  position: relative;

  display: grid;

  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(360px, 0.75fr);

  gap: 54px;

  align-items: center;

  padding: 48px 52px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 95% 10%,
      rgba(20, 99, 255, 0.28) 0%,
      rgba(20, 99, 255, 0.08) 32%,
      rgba(20, 99, 255, 0) 58%
    ),
    linear-gradient(
      135deg,
      #0f172a 0%,
      #14213b 55%,
      #10244f 100%
    );

  border-radius: 24px;

  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.13);
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.page-home-factoryinformatica
.fi-home-group__content {
  position: relative;
  z-index: 2;

  max-width: 690px;
}

.page-home-factoryinformatica
.fi-home-group__eyebrow {
  display: block;

  margin-bottom: 11px;

  color: #78a7ff;

  font-size: 12px;
  line-height: 1.2;

  font-weight: 800;

  letter-spacing: 0.065em;

  text-transform: uppercase;
}

.page-home-factoryinformatica
.fi-home-group__title {
  max-width: 670px;

  margin: 0 0 16px;

  color: #ffffff;

  font-size: 36px;
  line-height: 1.14;

  font-weight: 800;

  letter-spacing: -0.025em;
}

.page-home-factoryinformatica
.fi-home-group__text {
  max-width: 650px;

  margin: 0 0 26px;

  color: #cbd5e1;

  font-size: 15px;
  line-height: 1.65;
}


/* =========================================================
   BOTONES
   ========================================================= */

.page-home-factoryinformatica
.fi-home-group__actions {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;
}

.page-home-factoryinformatica
.fi-home-group__cta {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  min-height: 46px;

  padding: 0 18px;

  border-radius: 10px;

  font-size: 13.5px;
  line-height: 1;

  font-weight: 800;

  text-decoration: none !important;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.page-home-factoryinformatica
.fi-home-group__cta--primary {
  background: #1463ff;

  border: 1px solid #1463ff;

  color: #ffffff !important;
}

.page-home-factoryinformatica
.fi-home-group__cta--secondary {
  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.22);

  color: #ffffff !important;
}

@media (hover: hover) {

  .page-home-factoryinformatica
  .fi-home-group__cta:hover {
    transform: translateY(-2px);
  }

  .page-home-factoryinformatica
  .fi-home-group__cta--primary:hover {
    background: #3378ff;

    border-color: #3378ff;
  }

  .page-home-factoryinformatica
  .fi-home-group__cta--secondary:hover {
    background: rgba(255, 255, 255, 0.12);

    border-color: rgba(255, 255, 255, 0.34);
  }
}


/* =========================================================
   VISUAL DE LAS DOS MARCAS
   ========================================================= */

.page-home-factoryinformatica
.fi-home-group__visual {
  position: relative;
  z-index: 2;

  display: flex;

  flex-direction: column;

  gap: 12px;
}


/* Marca */

.page-home-factoryinformatica
.fi-home-group__brand {
  display: flex;

  align-items: center;

  gap: 15px;

  padding: 18px 20px;

  background: rgba(255, 255, 255, 0.075);

  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;

  backdrop-filter: blur(6px);
}

.page-home-factoryinformatica
.fi-home-group__brand > .material-icons {
  display: flex;

  align-items: center;
  justify-content: center;

  flex: 0 0 48px;

  width: 48px;
  height: 48px;

  background: rgba(20, 99, 255, 0.20);

  border-radius: 13px;

  color: #78a7ff;

  font-size: 25px;
}

.page-home-factoryinformatica
.fi-home-group__brand--office > .material-icons {
  background: rgba(255, 255, 255, 0.10);

  color: #ffffff;
}

.page-home-factoryinformatica
.fi-home-group__brand div {
  display: flex;

  flex-direction: column;

  min-width: 0;

  gap: 3px;
}

.page-home-factoryinformatica
.fi-home-group__brand strong {
  color: #ffffff;

  font-size: 17px;
  line-height: 1.25;

  font-weight: 800;
}

.page-home-factoryinformatica
.fi-home-group__brand div > span {
  color: #aebbcf;

  font-size: 12.5px;
  line-height: 1.3;
}


/* + */

.page-home-factoryinformatica
.fi-home-group__plus {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  margin: -3px auto;

  background: #ffffff;

  border-radius: 50%;

  box-shadow:
    0 5px 14px rgba(0, 0, 0, 0.16);

  color: #1463ff;

  font-size: 20px;

  font-weight: 900;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

  .page-home-factoryinformatica
  .fi-home-group {
    padding-top: 44px;
  }

  .page-home-factoryinformatica
  .fi-home-group__panel {
    grid-template-columns: 1fr;

    gap: 34px;

    padding: 40px 36px;
  }

  .page-home-factoryinformatica
  .fi-home-group__content {
    max-width: 720px;

    margin: 0 auto;

    text-align: center;
  }

  .page-home-factoryinformatica
  .fi-home-group__actions {
    justify-content: center;
  }

  .page-home-factoryinformatica
  .fi-home-group__visual {
    width: 100%;
    max-width: 560px;

    margin: 0 auto;
  }
}


/* =========================================================
   MOVIL
   ========================================================= */

@media (max-width: 575.98px) {

  .page-home-factoryinformatica
  .fi-home-group {
    padding: 36px 0 28px;
  }

  .page-home-factoryinformatica
  .fi-home-group__panel {
    gap: 28px;

    padding: 30px 20px 24px;

    border-radius: 18px;
  }

  .page-home-factoryinformatica
  .fi-home-group__eyebrow {
    font-size: 10.5px;
  }

  .page-home-factoryinformatica
  .fi-home-group__title {
    font-size: 28px;
    line-height: 1.16;
  }

  .page-home-factoryinformatica
  .fi-home-group__text {
    font-size: 14px;
    line-height: 1.55;
  }

  .page-home-factoryinformatica
  .fi-home-group__actions {
    flex-direction: column;
  }

  .page-home-factoryinformatica
  .fi-home-group__cta {
    width: 100%;
  }

  .page-home-factoryinformatica
  .fi-home-group__brand {
    gap: 12px;

    padding: 15px 16px;

    border-radius: 14px;
  }

  .page-home-factoryinformatica
  .fi-home-group__brand > .material-icons {
    flex-basis: 42px;

    width: 42px;
    height: 42px;

    font-size: 22px;

    border-radius: 11px;
  }

  .page-home-factoryinformatica
  .fi-home-group__brand strong {
    font-size: 15px;
  }

  .page-home-factoryinformatica
  .fi-home-group__brand div > span {
    font-size: 12px;
  }
}


/* =========================================================
   FACTORYINFORMATICA - HOME FACTORYINFORMATICA x FACTORYOFICINA
   ========================================================= */

.page-home-factoryinformatica .fi-home-group {
  padding: 38px 0 46px;
}

.page-home-factoryinformatica
.fi-home-group .container {
  max-width: 1380px;
}


/* =========================================================
   PANEL
   ========================================================= */

.page-home-factoryinformatica
.fi-home-group__panel {
  position: relative;

  display: grid;
  grid-template-columns:
    minmax(420px, 0.9fr)
    minmax(0, 1.1fr);

  min-height: 320px;

  overflow: hidden;

  background:
    linear-gradient(
      110deg,
      #f4f8ff 0%,
      #f8fbff 47%,
      #ffffff 70%
    );

  border: 1px solid #dce6f3;
  border-radius: 22px;

  box-shadow:
    0 8px 28px rgba(15, 23, 42, 0.05);
}


/* =========================================================
   TEXTO
   ========================================================= */

.page-home-factoryinformatica
.fi-home-group__content {
  position: relative;
  z-index: 3;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 42px 18px 42px 44px;
}


/* MARCAS */

.page-home-factoryinformatica
.fi-home-group__brands {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 9px;

  margin-bottom: 13px;

  font-size: 19px;
  line-height: 1.2;

  letter-spacing: -0.02em;
}

.page-home-factoryinformatica
.fi-home-group__brand-it {
  color: #0f172a;
  font-weight: 900;
}

.page-home-factoryinformatica
.fi-home-group__brand-it span {
  color: #1463ff;
}

.page-home-factoryinformatica
.fi-home-group__cross {
  color: #94a3b8;

  font-size: 18px;
  font-weight: 700;
}

.page-home-factoryinformatica
.fi-home-group__brand-office {
  color: #16805d;

  font-weight: 900;
}


/* TITULO */

.page-home-factoryinformatica
.fi-home-group__title {
  max-width: 520px;

  margin: 0 0 13px;

  color: #0f172a;

  font-size: 31px;
  line-height: 1.15;

  font-weight: 800;

  letter-spacing: -0.025em;
}


/* TEXTO */

.page-home-factoryinformatica
.fi-home-group__text {
  max-width: 540px;

  margin: 0 0 22px;

  color: #475569;

  font-size: 14.5px;
  line-height: 1.62;
}


/* =========================================================
   BOTONES
   ========================================================= */

.page-home-factoryinformatica
.fi-home-group__actions {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;
}

.page-home-factoryinformatica
.fi-home-group__cta {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 7px;

  min-height: 44px;

  padding: 0 17px;

  border-radius: 9px;

  font-size: 13px;
  line-height: 1;

  font-weight: 800;

  text-decoration: none !important;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.page-home-factoryinformatica
.fi-home-group__cta--primary {
  background: #1463ff;

  border: 1px solid #1463ff;

  color: #ffffff !important;
}

.page-home-factoryinformatica
.fi-home-group__cta--secondary {
  background: #ffffff;

  border: 1px solid #cdd9e8;

  color: #1463ff !important;
}

@media (hover: hover) {

  .page-home-factoryinformatica
  .fi-home-group__cta:hover {
    transform: translateY(-1px);
  }

  .page-home-factoryinformatica
  .fi-home-group__cta--primary:hover {
    background: #0f52d9;

    border-color: #0f52d9;
  }

  .page-home-factoryinformatica
  .fi-home-group__cta--secondary:hover {
    background: #f6f9ff;

    border-color: #aebed3;
  }
}


/* =========================================================
   IMAGEN
   ========================================================= */

.page-home-factoryinformatica
.fi-home-group__visual {
  position: relative;

  min-width: 0;
  min-height: 320px;

  overflow: hidden;
}

.page-home-factoryinformatica
.fi-home-group__visual::before {
  content: "";

  position: absolute;
  z-index: 2;

  top: 0;
  bottom: 0;
  left: 0;

  width: 28%;

  background:
    linear-gradient(
      90deg,
      #f8fbff 0%,
      rgba(248, 251, 255, 0.82) 30%,
      rgba(248, 251, 255, 0) 100%
    );

  pointer-events: none;
}

.page-home-factoryinformatica
.fi-home-group__visual img {
  position: absolute;

  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

  .page-home-factoryinformatica
  .fi-home-group {
    padding-top: 34px;
  }

  .page-home-factoryinformatica
  .fi-home-group__panel {
    grid-template-columns: 1fr;

    min-height: 0;
  }

  .page-home-factoryinformatica
  .fi-home-group__content {
    align-items: center;

    padding: 36px 30px 30px;

    text-align: center;
  }

  .page-home-factoryinformatica
  .fi-home-group__title,
  .page-home-factoryinformatica
  .fi-home-group__text {
    max-width: 680px;
  }

  .page-home-factoryinformatica
  .fi-home-group__actions {
    justify-content: center;
  }

  .page-home-factoryinformatica
  .fi-home-group__visual {
    min-height: 300px;
  }

  .page-home-factoryinformatica
  .fi-home-group__visual::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;

    width: 100%;
    height: 22%;

    background:
      linear-gradient(
        180deg,
        #f8fbff 0%,
        rgba(248, 251, 255, 0) 100%
      );
  }
}


/* =========================================================
   MOVIL
   ========================================================= */

@media (max-width: 575.98px) {

  .page-home-factoryinformatica
  .fi-home-group {
    padding: 30px 0 28px;
  }

  .page-home-factoryinformatica
  .fi-home-group__panel {
    border-radius: 17px;
  }

  .page-home-factoryinformatica
  .fi-home-group__content {
    padding: 28px 18px 24px;
  }

  .page-home-factoryinformatica
  .fi-home-group__brands {
    justify-content: center;

    margin-bottom: 11px;

    font-size: 16px;
  }

  .page-home-factoryinformatica
  .fi-home-group__title {
    font-size: 25px;
    line-height: 1.17;
  }

  .page-home-factoryinformatica
  .fi-home-group__text {
    margin-bottom: 20px;

    font-size: 13.5px;
    line-height: 1.55;
  }

  .page-home-factoryinformatica
  .fi-home-group__actions {
    width: 100%;

    flex-direction: column;
  }

  .page-home-factoryinformatica
  .fi-home-group__cta {
    width: 100%;
  }

  .page-home-factoryinformatica
  .fi-home-group__visual {
    min-height: 220px;
  }

  .page-home-factoryinformatica
  .fi-home-group__visual img {
    object-position: center center;
  }
}


/* =========================================================
   FACTORYINFORMATICA - NEWSLETTER FOOTER
   BLOQUE 12A
   ========================================================= */

#footer .footer__before {
  background:
    linear-gradient(
      135deg,
      #0b1b31 0%,
      #102541 100%
    );

  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


/* CONTENEDOR */

#footer .footer__before
.email-subscription {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

#footer .footer__before
.email-subscription > .container {
  max-width: 1380px;
  margin: 0 auto;
  padding-left: 12px !important;
  padding-right: 12px !important;
}


/* DISTRIBUCIÓN */

#footer .footer__before
.email-subscription__content {
  align-items: center;
  row-gap: 18px;
}


/* TEXTO IZQUIERDA */

#footer .footer__before
.email-subscription__content__left {
  display: flex;
  align-items: center;
}

#footer .footer__before
.email-subscription__label {
  max-width: 430px;

  margin: 0;

  color: #ffffff;

  font-size: 20px;
  line-height: 1.32;

  font-weight: 800;

  letter-spacing: -0.015em;
}


/* FORMULARIO */

#footer .footer__before
.email-subscription__content__right form {
  margin: 0;
}

#footer .footer__before
.email-subscription__content__inputs {
  display: flex;

  align-items: stretch;

  width: 100%;

  gap: 9px;
}


/* EMAIL */

#footer .footer__before
.email-subscription__content__inputs
.form-control {
  flex: 1 1 auto;

  min-width: 0;
  height: 48px;

  padding: 0 16px;

  background: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 9px;

  box-shadow: none;

  color: #0f172a;

  font-size: 14px;
}

#footer .footer__before
.email-subscription__content__inputs
.form-control::placeholder {
  color: #64748b;
  opacity: 1;
}

#footer .footer__before
.email-subscription__content__inputs
.form-control:focus {
  border-color: #72a0ff;

  box-shadow:
    0 0 0 3px rgba(20, 99, 255, 0.20);

  outline: none;
}


/* BOTÓN */

#footer .footer__before
.email-subscription__content__inputs
.btn-primary {
  flex: 0 0 auto;

  min-width: 132px;
  height: 48px;

  padding: 0 20px !important;

  background: #1463ff !important;

  border: 1px solid #1463ff !important;
  border-radius: 9px !important;

  box-shadow: none !important;

  color: #ffffff !important;

  font-size: 13.5px !important;

  font-weight: 800 !important;

  text-transform: none !important;

  letter-spacing: 0 !important;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease !important;
}

@media (hover: hover) {

  #footer .footer__before
  .email-subscription__content__inputs
  .btn-primary:hover {
    background: #3378ff !important;

    border-color: #3378ff !important;

    transform: translateY(-1px);
  }
}


/* TEXTO LEGAL */

#footer .footer__before
.email-subscription__content__infos {
  margin-top: 9px;
}

#footer .footer__before
.email-subscription__content__infos p {
  margin: 0;

  color: #91a0b5;

  font-size: 11.5px;
  line-height: 1.45;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 767.98px) {

  #footer .footer__before
  .email-subscription {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
  }

  #footer .footer__before
  .email-subscription__content__left {
    justify-content: center;

    text-align: center;
  }

  #footer .footer__before
  .email-subscription__label {
    max-width: 540px;

    font-size: 18px;
  }

  #footer .footer__before
  .email-subscription__content__infos {
    text-align: center;
  }
}


/* =========================================================
   MOVIL
   ========================================================= */

@media (max-width: 575.98px) {

  #footer .footer__before
  .email-subscription > .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #footer .footer__before
  .email-subscription__label {
    font-size: 17px;
    line-height: 1.35;
  }

  #footer .footer__before
  .email-subscription__content__inputs {
    flex-direction: column;

    gap: 8px;
  }

  #footer .footer__before
  .email-subscription__content__inputs
  .btn-primary {
    width: 100%;
  }

  #footer .footer__before
  .email-subscription__content__infos p {
    font-size: 11px;
  }
}


/* =========================================================
   FACTORYINFORMATICA - FOOTER PRINCIPAL
   BLOQUE 12B
   ========================================================= */

#footer .footer__main {
  padding: 42px 0 20px;

  background:
    linear-gradient(
      180deg,
      #071528 0%,
      #061323 100%
    );

  color: #94a3b8;
}

#footer .footer__main > .container {
  max-width: 1380px;
}


/* =========================================================
   GRID / COLUMNAS
   ========================================================= */

#footer .footer__main__top {
  row-gap: 28px;
}

#footer .footer__block {
  color: #94a3b8;
}


/* =========================================================
   TITULOS
   ========================================================= */

#footer .footer__block__title {
  margin: 0 0 17px;

  color: #ffffff;

  font-size: 14px;
  line-height: 1.25;

  font-weight: 800;

  letter-spacing: -0.01em;
}

#footer .footer__block__title a {
  color: #ffffff !important;

  text-decoration: none !important;
}


/* =========================================================
   LISTAS
   ========================================================= */

#footer .footer__block__content-list {
  margin: 0;

  padding: 0;

  list-style: none;
}

#footer .footer__block__content-list li {
  margin: 0 0 9px;
}

#footer .footer__block__content-list a {
  color: #9aa9bd !important;

  font-size: 12.5px;
  line-height: 1.45;

  font-weight: 500;

  text-decoration: none !important;

  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

@media (hover: hover) {

  #footer .footer__block__content-list a:hover {
    color: #ffffff !important;
  }
}


/* =========================================================
   INFORMACION DE LA TIENDA
   ========================================================= */

#footer .footer__block__content-contact,
#footer .contact__infos {
  color: #9aa9bd !important;

  font-size: 12.5px;
  line-height: 1.65;
}

#footer .footer__block__content-contact a,
#footer .contact__infos a {
  color: #aebbd0 !important;

  text-decoration: none !important;
}

@media (hover: hover) {

  #footer .footer__block__content-contact a:hover,
  #footer .contact__infos a:hover {
    color: #ffffff !important;
  }
}


/* =========================================================
   DESPLEGABLES MOVIL
   ========================================================= */

#footer .footer__block__toggle {
  color: #ffffff;
}

#footer .footer__block__toggle .material-icons {
  color: #8291a8;

  font-size: 22px;

  transition: transform 0.2s ease;
}

#footer .footer__block__toggle[aria-expanded="true"]
.material-icons {
  transform: rotate(180deg);
}


/* =========================================================
   CERTIFICADO OPINIONES
   ========================================================= */

#footer #steavisgarantisFooterVerif {
  display: flex !important;

  align-items: center;
  justify-content: center;

  flex: 0 0 100%;

  width: 100%;

  margin: 28px 0 0 !important;

  padding: 20px 12px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#footer #steavisgarantisFooterVerif img {
  display: block;

  width: 20px !important;
  height: 20px !important;

  margin-right: 8px !important;
}

#footer #steavisgarantisFooterText {
  display: block !important;

  color: #8291a8 !important;

  font-size: 11.5px !important;
  line-height: 1.5;

  text-align: center !important;
}

#footer #steavisgarantisFooterText a {
  color: #aebbd0 !important;

  font-size: 11.5px !important;

  text-decoration: underline !important;

  text-underline-offset: 2px;
}

@media (hover: hover) {

  #footer #steavisgarantisFooterText a:hover {
    color: #ffffff !important;
  }
}


/* =========================================================
   COPYRIGHT
   ========================================================= */

#footer .copyright {
  margin: 28px 0 0;

  padding-top: 18px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: #64748b;

  font-size: 11.5px;
  line-height: 1.5;
}

#footer .copyright a {
  color: #94a3b8 !important;

  text-decoration: none !important;
}

@media (hover: hover) {

  #footer .copyright a:hover {
    color: #ffffff !important;
  }
}


/* =========================================================
   TABLET / MOVIL
   ========================================================= */

@media (max-width: 767.98px) {

  #footer .footer__main {
    padding: 18px 0 16px;
  }

  #footer .footer__main > .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  #footer .footer__main__top {
    row-gap: 0;
  }

  #footer .footer__block {
    width: 100%;
    max-width: 100%;
  }

  #footer .footer__block__toggle {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 52px;

    padding: 0;

    border-bottom:
      1px solid rgba(255, 255, 255, 0.08);
  }

  #footer .footer__block__toggle
  .footer__block__title {
    margin: 0;

    font-size: 13.5px;
  }

  #footer .footer__block__content {
    padding-top: 13px;
    padding-bottom: 8px;
  }

  #footer .footer__block__content-list li {
    margin-bottom: 10px;
  }

  #footer #steavisgarantisFooterVerif {
    margin-top: 20px !important;

    padding-top: 18px;

    padding-left: 0;
    padding-right: 0;
  }

  #footer .copyright {
    margin-top: 18px;

    padding-top: 16px;

    text-align: center;
  }
}


/* =========================================================
   MOVIL PEQUEÑO
   ========================================================= */

@media (max-width: 575.98px) {

  #footer .footer__block__content-list a,
  #footer .footer__block__content-contact,
  #footer .contact__infos {
    font-size: 12px;
  }

  #footer #steavisgarantisFooterVerif {
    align-items: flex-start;
  }

  #footer #steavisgarantisFooterText {
    max-width: 310px;

    font-size: 11px !important;
  }

  #footer #steavisgarantisFooterText a {
    font-size: 11px !important;
  }
}


/* =========================================================
   FACTORYINFORMATICA - HOME FINAL
   PASO 1: ARQUITECTURA DE ANCHOS
   ========================================================= */

@media (min-width: 1600px) {

  /* Bloques visuales/comerciales más amplios */

  #index .page-home-factoryinformatica
  .fi-home-hero .container,

  #index .page-home-factoryinformatica
  .fi-home-trust .container,

  #index .page-home-factoryinformatica
  .fi-home-universes .container,

  #index .page-home-factoryinformatica
  .fi-home-categories .container,

  #index .page-home-factoryinformatica
  .fi-home-needs .container,

  #index .page-home-factoryinformatica
  .fi-home-group .container,

  #index .featured-products-5cols
  .container-fluid {
    max-width: 1560px;
  }

}


/* =========================================================
   FACTORYINFORMATICA - HOME FINAL
   PASO 2: RITMO VISUAL Y FONDOS ALTERNOS
   ========================================================= */


/* ---------------------------------------------------------
   UNIVERSOS
   Primera sección de contraste después del Hero/Trust
   --------------------------------------------------------- */

#index .page-home-factoryinformatica
.fi-home-universes {
  margin-top: 34px;

  padding-top: 58px;
  padding-bottom: 54px;

  background: #f6f8fb;
}


/* ---------------------------------------------------------
   CATEGORIAS
   Volvemos a blanco
   --------------------------------------------------------- */

#index .page-home-factoryinformatica
.fi-home-categories {
  padding-top: 58px;
  padding-bottom: 34px;

  background: #ffffff;
}


/* ---------------------------------------------------------
   PRODUCTOS DESTACADOS
   Fondo gris muy suave para destacar tarjetas blancas
   --------------------------------------------------------- */

#index #content
section.featured-products.fi-product-cards {
  margin-top: 28px !important;
  margin-bottom: 0 !important;

  padding-top: 56px;
  padding-bottom: 48px;

  background: #f6f8fb;
}


/* ---------------------------------------------------------
   COMPRAR POR NECESIDAD
   --------------------------------------------------------- */

#index .page-home-factoryinformatica
.fi-home-needs {
  padding-top: 52px;
  padding-bottom: 34px;

  background: #ffffff;
}


/* ---------------------------------------------------------
   PROCESO REACONDICIONADO
   Mantiene su panel verde como protagonista
   --------------------------------------------------------- */

#index .page-home-factoryinformatica
.fi-home-refurb-process {
  padding-top: 38px;
  padding-bottom: 34px;

  background: #ffffff;
}


/* ---------------------------------------------------------
   POR QUE FACTORY
   Bloque editorial alterno
   --------------------------------------------------------- */

#index .page-home-factoryinformatica
.fi-home-why {
  padding-top: 58px;
  padding-bottom: 48px;

  background: #f6f8fb;
}


/* El sistema de líneas interiores queda más limpio
   sobre el fondo gris */

#index .page-home-factoryinformatica
.fi-home-why__reasons {
  border-color: #dce4ee;
}

#index .page-home-factoryinformatica
.fi-why-item:not(:last-child)::after {
  background: #dce4ee;
}


/* ---------------------------------------------------------
   CONFIANZA
   --------------------------------------------------------- */

#index .page-home-factoryinformatica
.fi-home-reviews {
  padding-top: 58px;
  padding-bottom: 40px;

  background: #ffffff;
}


/* ---------------------------------------------------------
   FACTORYINFORMATICA x FACTORYOFICINA
   Último bloque antes del footer
   --------------------------------------------------------- */

#index .page-home-factoryinformatica
.fi-home-group {
  padding-top: 36px;
  padding-bottom: 52px;

  background: #ffffff;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

  #index .page-home-factoryinformatica
  .fi-home-universes {
    margin-top: 24px;

    padding-top: 46px;
    padding-bottom: 42px;
  }

  #index #content
  section.featured-products.fi-product-cards {
    margin-top: 22px !important;

    padding-top: 46px;
    padding-bottom: 40px;
  }

  #index .page-home-factoryinformatica
  .fi-home-needs,
  #index .page-home-factoryinformatica
  .fi-home-why,
  #index .page-home-factoryinformatica
  .fi-home-reviews {
    padding-top: 46px;
  }
}


/* =========================================================
   MOVIL
   ========================================================= */

@media (max-width: 575.98px) {

  #index .page-home-factoryinformatica
  .fi-home-universes {
    margin-top: 18px;

    padding-top: 36px;
    padding-bottom: 30px;
  }

  #index .page-home-factoryinformatica
  .fi-home-categories {
    padding-top: 36px;
    padding-bottom: 20px;
  }

  #index #content
  section.featured-products.fi-product-cards {
    margin-top: 16px !important;

    padding-top: 36px;
    padding-bottom: 30px;
  }

  #index .page-home-factoryinformatica
  .fi-home-needs {
    padding-top: 34px;
    padding-bottom: 20px;
  }

  #index .page-home-factoryinformatica
  .fi-home-refurb-process {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  #index .page-home-factoryinformatica
  .fi-home-why {
    padding-top: 38px;
    padding-bottom: 30px;
  }

  #index .page-home-factoryinformatica
  .fi-home-reviews {
    padding-top: 38px;
    padding-bottom: 28px;
  }

  #index .page-home-factoryinformatica
  .fi-home-group {
    padding-top: 28px;
    padding-bottom: 34px;
  }
}


/* =========================================================
   FACTORYINFORMATICA - HOME FINAL
   PASO 3: RITMO VERTICAL DEFINITIVO
   ========================================================= */


/* HERO + TRUST */

#index .page-home-factoryinformatica
.fi-home-hero {
  padding-bottom: 6px;
}

#index .page-home-factoryinformatica
.fi-home-trust {
  padding-top: 6px;
}


/* UNIVERSOS */

#index .page-home-factoryinformatica
.fi-home-universes {
  margin-top: 28px;

  padding-top: 48px;
  padding-bottom: 42px;
}


/* CATEGORIAS */

#index .page-home-factoryinformatica
.fi-home-categories {
  padding-top: 46px;
  padding-bottom: 36px;
}


/* DESTACADOS */

#index #content
section.featured-products.fi-product-cards {
  margin-top: 0 !important;
  margin-bottom: 0 !important;

  padding-top: 48px;
  padding-bottom: 42px;
}


/* NECESIDADES */

#index .page-home-factoryinformatica
.fi-home-needs {
  padding-top: 44px;
  padding-bottom: 36px;
}


/* REACONDICIONADOS */

#index .page-home-factoryinformatica
.fi-home-refurb-process {
  padding-top: 38px;
  padding-bottom: 38px;
}


/* POR QUE FACTORY */

#index .page-home-factoryinformatica
.fi-home-why {
  padding-top: 50px;
  padding-bottom: 42px;
}


/* CONFIANZA */

#index .page-home-factoryinformatica
.fi-home-reviews {
  padding-top: 48px;
  padding-bottom: 34px;
}


/* FACTORYINFORMATICA x FACTORYOFICINA */

#index .page-home-factoryinformatica
.fi-home-group {
  padding-top: 30px;
  padding-bottom: 46px;
}


/* =========================================================
   CABECERAS DE SECCION
   Unificar distancia título -> contenido
   ========================================================= */

#index .page-home-factoryinformatica
.fi-home-universes__heading,

#index .page-home-factoryinformatica
.fi-home-categories__heading,

#index .page-home-factoryinformatica
.fi-home-needs__heading,

#index .page-home-factoryinformatica
.fi-home-reviews__heading,

#index .fi-featured-heading {
  margin-bottom: 28px;
}

#index .page-home-factoryinformatica
.fi-home-why__heading {
  margin-bottom: 36px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

  #index .page-home-factoryinformatica
  .fi-home-universes {
    margin-top: 22px;

    padding-top: 42px;
    padding-bottom: 36px;
  }

  #index .page-home-factoryinformatica
  .fi-home-categories {
    padding-top: 42px;
    padding-bottom: 30px;
  }

  #index #content
  section.featured-products.fi-product-cards {
    padding-top: 42px;
    padding-bottom: 36px;
  }

  #index .page-home-factoryinformatica
  .fi-home-needs {
    padding-top: 40px;
    padding-bottom: 30px;
  }

  #index .page-home-factoryinformatica
  .fi-home-refurb-process {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  #index .page-home-factoryinformatica
  .fi-home-why {
    padding-top: 44px;
    padding-bottom: 36px;
  }

  #index .page-home-factoryinformatica
  .fi-home-reviews {
    padding-top: 44px;
    padding-bottom: 30px;
  }

  #index .page-home-factoryinformatica
  .fi-home-group {
    padding-top: 28px;
    padding-bottom: 40px;
  }
}


/* =========================================================
   MOVIL
   ========================================================= */

@media (max-width: 575.98px) {

  #index .page-home-factoryinformatica
  .fi-home-universes {
    margin-top: 16px;

    padding-top: 32px;
    padding-bottom: 26px;
  }

  #index .page-home-factoryinformatica
  .fi-home-categories {
    padding-top: 32px;
    padding-bottom: 22px;
  }

  #index #content
  section.featured-products.fi-product-cards {
    padding-top: 32px;
    padding-bottom: 26px;
  }

  #index .page-home-factoryinformatica
  .fi-home-needs {
    padding-top: 30px;
    padding-bottom: 22px;
  }

  #index .page-home-factoryinformatica
  .fi-home-refurb-process {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  #index .page-home-factoryinformatica
  .fi-home-why {
    padding-top: 34px;
    padding-bottom: 28px;
  }

  #index .page-home-factoryinformatica
  .fi-home-reviews {
    padding-top: 34px;
    padding-bottom: 24px;
  }

  #index .page-home-factoryinformatica
  .fi-home-group {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  #index .page-home-factoryinformatica
  .fi-home-universes__heading,

  #index .page-home-factoryinformatica
  .fi-home-categories__heading,

  #index .page-home-factoryinformatica
  .fi-home-needs__heading,

  #index .page-home-factoryinformatica
  .fi-home-reviews__heading,

  #index .fi-featured-heading {
    margin-bottom: 22px;
  }

  #index .page-home-factoryinformatica
  .fi-home-why__heading {
    margin-bottom: 26px;
  }
}


/* =========================================================
   FACTORYINFORMATICA - HOME FINAL
   PASO 4: AJUSTE FACTORYINFORMATICA x FACTORYOFICINA
   Neutralizar residuos de la versión antigua
   ========================================================= */

#index .page-home-factoryinformatica
.fi-home-group__panel {
  gap: 0;
  padding: 0;
  align-items: stretch;
}


/* TABLET */

@media (max-width: 991.98px) {

  #index .page-home-factoryinformatica
  .fi-home-group__panel {
    gap: 0;
    padding: 0;
  }

  #index .page-home-factoryinformatica
  .fi-home-group__visual {
    width: 100%;
    max-width: none;
    margin: 0;
  }
}


/* MOVIL */

@media (max-width: 575.98px) {

  #index .page-home-factoryinformatica
  .fi-home-group__panel {
    gap: 0;
    padding: 0;
  }
}


/* =========================================================
   FACTORYINFORMATICA - CATEGORY PRODUCT CARDS
   Tarjetas catálogo iguales a Productos Destacados HOME
   ========================================================= */


/* Contenedor tarjeta */

body#category #js-product-list
.product-miniature {

  padding-left: 8px;
  padding-right: 8px;

}


body#category #js-product-list
.product-miniature > .card {

  display: flex;
  flex-direction: column;

  height: 100%;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #e2e8f0;

  border-radius: 16px;

  box-shadow:
    0 2px 8px rgba(15,23,42,.035);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;

}


@media (hover:hover) {

  body#category #js-product-list
  .product-miniature:hover > .card {

    transform: translateY(-3px);

    border-color: #cbd7e5;

    box-shadow:
      0 16px 38px rgba(15,23,42,.09);

  }

}



/* =========================================================
   IMAGEN
   ========================================================= */


body#category #js-product-list
.product-miniature__image-container {

  position: relative;

  display:flex;

  align-items:center;
  justify-content:center;

  height:260px;

  padding:18px;

  background:
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #ffffff 100%
    );

}


body#category #js-product-list
.product-miniature__image {

  width:100% !important;
  height:100% !important;

  object-fit:contain !important;

  transition:
    transform .25s ease;

}


@media (hover:hover){

  body#category #js-product-list
  .product-miniature:hover
  .product-miniature__image {

    transform:scale(1.035);

  }

}



/* =========================================================
   FAVORITO
   ========================================================= */


body#category #js-product-list
.wishlist-button-add {

  position:absolute !important;

  top:12px;
  right:12px;

  z-index:5;

  width:38px !important;
  height:38px !important;

  min-width:38px !important;

  display:flex !important;

  align-items:center;
  justify-content:center;

  padding:0 !important;

  background:#ffffff !important;

  border:1px solid #e2e8f0 !important;

  border-radius:50% !important;

  box-shadow:
    0 3px 10px rgba(15,23,42,.08);

}


body#category #js-product-list
.wishlist-button-add .material-icons {

  font-size:21px;

  color:#64748b;

}



/* =========================================================
   OCULTAR VISTA RAPIDA
   ========================================================= */


body#category #js-product-list
.product-miniature__quickview {

  display:none !important;

}



/* =========================================================
   CUERPO
   ========================================================= */


body#category #js-product-list
.product-miniature__infos {

  display:flex;

  flex-direction:column;

  flex:1;

  padding:17px !important;

}



/* =========================================================
   TITULO
   ========================================================= */


body#category #js-product-list
.product-miniature__title {

  display:-webkit-box;

  min-height:42px;

  margin:0 !important;

  overflow:hidden;

  -webkit-box-orient:vertical;

  -webkit-line-clamp:2;

  color:#0f172a !important;

  font-size:14px;

  line-height:1.45;

  font-weight:700;

}



/* =========================================================
   PRECIO
   ========================================================= */


body#category #js-product-list
.product-miniature__prices {

  margin-top:12px;

}


body#category #js-product-list
.product-miniature__price {

  color:#0f172a !important;

  font-size:20px !important;

  line-height:1.15;

  font-weight:800 !important;

}


body#category #js-product-list
.product-miniature__price-with-tax {

  margin-top:4px;

  color:#64748b !important;

  font-size:12px !important;

}



/* =========================================================
   STOCK
   ========================================================= */


body#category #js-product-list
.product-miniature__stock {

  display:inline-flex !important;

  align-items:center;

  width:max-content !important;

  margin-top:10px !important;

  padding:5px 10px;

  background:
    rgba(22,128,93,.08);

  border-radius:999px;

  color:#16805d !important;

  font-size:11.5px !important;

  font-weight:700;

}



/* =========================================================
   FORMULARIO COMPRA
   ========================================================= */


body#category #js-product-list
.product-miniature form {

  margin-top:auto !important;

  padding-top:14px;

  border-top:1px solid #eef2f7;

  gap:8px !important;

}


body#category #js-product-list
.quantity-button {

  flex:0 0 112px;

}



body#category #js-product-list
.quantity-button .input-group {

  height:42px;

  overflow:hidden;

  border:1px solid #d8e1eb;

  border-radius:10px;

}



/* Botón carrito */

body#category #js-product-list
button[data-button-action="add-to-cart"] {

  display:flex !important;

  align-items:center;

  justify-content:center;

  width:46px;

  min-width:46px;

  height:42px;

  padding:0 !important;

  background:#1463ff !important;

  border:1px solid #1463ff !important;

  border-radius:10px !important;

}


body#category #js-product-list
button[data-button-action="add-to-cart"]
.material-icons {

  font-size:21px;

  color:#ffffff;

}



/* =========================================================
   BADGES
   ========================================================= */


body#category #js-product-list
.product-flags {

  top:12px;

  left:12px;

}


body#category #js-product-list
.product-flags .badge {

  border-radius:999px;

  font-size:10px;

  font-weight:800;

}



/* =========================================================
   TABLET
   ========================================================= */


@media (max-width:991.98px){

  body#category #js-product-list
  .product-miniature__image-container {

    height:230px;

  }

}



/* =========================================================
   MOVIL
   ========================================================= */


@media (max-width:575.98px){

  body#category #js-product-list
  .product-miniature {

    padding-left:5px;
    padding-right:5px;

  }


  body#category #js-product-list
  .product-miniature__image-container {

    height:180px;

    padding:12px;

  }


  body#category #js-product-list
  .product-miniature__infos {

    padding:14px !important;

  }


  body#category #js-product-list
  .product-miniature__title {

    font-size:13.5px;

  }


  body#category #js-product-list
  .product-miniature__price {

    font-size:18px !important;

  }

}

/************************************************************
 * FACTORYINFORMATICA — CATEGORÍAS V2
 * Arquitectura visual alineada con la HOME
 * Requiere los overrides TPL incluidos en este paquete.
 ************************************************************/

/* =========================================================
   ESCENARIO GENERAL
   ========================================================= */

body#category main#wrapper {
  background:
    linear-gradient(
      180deg,
      #f5f7fb 0%,
      #f7f9fc 38%,
      #f4f7fb 100%
    );
  padding-bottom: 54px;
}

body#category .breadcrumb__wrapper {
  margin: 0;
  padding: 12px 0 16px;
  background: transparent;
}

body#category .breadcrumb {
  margin-bottom: 0;
}

body#category .breadcrumb-item,
body#category .breadcrumb-link {
  color: #64748b;
  font-size: 12.5px;
}

body#category .breadcrumb-link:hover {
  color: #1463ff;
  text-decoration: none;
}


/* =========================================================
   CABECERA FULL WIDTH
   ========================================================= */

body#category .fi-category-top {
  margin: 0 0 34px;
}

body#category .fi-category-header {
  width: 100%;
}

body#category .fi-category-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
  min-height: 292px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 72% 14%,
      rgba(20, 99, 255, .28) 0%,
      rgba(20, 99, 255, .08) 28%,
      rgba(20, 99, 255, 0) 52%
    ),
    linear-gradient(
      118deg,
      #0f172a 0%,
      #111d35 58%,
      #14264b 100%
    );
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 22px;
  box-shadow:
    0 22px 55px rgba(15, 23, 42, .16);
}

body#category .fi-category-hero::before {
  content: "";
  position: absolute;
  top: -130px;
  right: 18%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(255, 255, 255, .018),
    0 0 0 96px rgba(255, 255, 255, .012);
  pointer-events: none;
}

body#category .fi-category-hero__content {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 38px 38px 34px;
}

body#category .fi-category-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #9fc0ff;
  font-size: 11.5px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

body#category .fi-category-hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  background: #1463ff;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(20, 99, 255, .16);
}

body#category .fi-category-hero .page-title-section {
  margin: 0 0 17px !important;
  color: #ffffff !important;
  font-size: clamp(36px, 3.1vw, 52px);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -.035em;
}

body#category .fi-category-description {
  max-width: 930px;
  margin: 0;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.7;
}

body#category .fi-category-description p,
body#category .fi-category-description li {
  color: #cbd5e1 !important;
}

body#category .fi-category-description strong {
  color: #ffffff !important;
  font-weight: 750;
}

body#category .fi-category-description .lead {
  margin-bottom: 0;
  color: #dce6f5 !important;
  font-size: 16px !important;
  line-height: 1.65;
}

body#category .fi-category-description
.d-flex.flex-wrap.mt-3 {
  gap: 8px;
  margin-top: 18px !important;
}

body#category .fi-category-description
.d-flex.flex-wrap.mt-3 > span {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 11px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 999px;
  color: #e8eef8 !important;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  backdrop-filter: blur(7px);
}

body#category .fi-category-description
.d-flex.flex-wrap.mt-3 > span .material-icons {
  margin: 0 !important;
  color: #65d6a7 !important;
  font-size: 17px;
}

body#category .fi-category-description-toggle {
  display: none;
}


/* =========================================================
   VISUAL HERO
   ========================================================= */

body#category .fi-category-hero__visual {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 24px 28px 24px 8px;
}

body#category .fi-category-hero__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 244px;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

body#category .fi-category-hero__cover img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 244px;
  object-fit: cover;
}

body#category .fi-category-visual {
  position: relative;
  height: 100%;
  min-height: 244px;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .10) 0%,
      rgba(255, 255, 255, .045) 100%
    );
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 18px 40px rgba(0, 0, 0, .12);
  backdrop-filter: blur(12px);
}

body#category .fi-category-visual__glow {
  position: absolute;
  top: -68px;
  right: -46px;
  width: 190px;
  height: 190px;
  background: rgba(20, 99, 255, .32);
  border-radius: 50%;
  filter: blur(55px);
}

body#category .fi-category-visual__main {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  min-height: 104px;
  padding: 18px 66px 18px 18px;
  background: rgba(7, 14, 30, .38);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 15px;
}

body#category .fi-category-visual__main .fi-category-visual__label {
  display: block;
  margin-bottom: 7px;
  color: #90b5ff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body#category .fi-category-visual__main strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #ffffff;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 800;
  text-overflow: ellipsis;
}

body#category .fi-category-visual__main > .material-icons {
  position: absolute;
  top: 20px;
  right: 18px;
  color: #6fa0ff;
  font-size: 38px;
}

body#category .fi-category-visual__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, .93);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 12px;
  color: #334155;
  font-size: 11.5px;
  line-height: 1.15;
  font-weight: 750;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .15);
}

body#category .fi-category-visual__card .material-icons {
  color: #1463ff;
  font-size: 19px;
}

body#category .fi-category-visual__card--one {
  left: 24px;
  bottom: 28px;
}

body#category .fi-category-visual__card--two {
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
}

body#category .fi-category-visual__card--three {
  right: 24px;
  bottom: 28px;
}


/* =========================================================
   EXPLORA LA CATEGORÍA
   ========================================================= */

body#category .fi-category-explore {
  padding-top: 30px;
}

body#category .fi-category-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 15px;
}

body#category .fi-category-section-heading__eyebrow,
body#category .fi-category-catalog-heading__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #1463ff;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

body#category .fi-category-section-heading__title,
body#category .fi-category-catalog-heading__title {
  margin: 0;
  color: #0f172a;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 820;
  letter-spacing: -.02em;
}

body#category .fi-subcategories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  width: 100%;
}

body#category .fi-subcategory-card {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 14px 14px 14px 15px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe7f1;
  border-radius: 16px;
  color: inherit;
  text-decoration: none !important;
  box-shadow: 0 4px 13px rgba(15, 23, 42, .035);
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

body#category .fi-subcategory-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #1463ff;
  opacity: 0;
  transition: opacity .2s ease;
}

body#category .fi-subcategory-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  margin: 0 !important;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      #eef4ff 0%,
      #f8fbff 100%
    );
  border: 1px solid #e1eaf6;
  border-radius: 14px;
}

body#category .fi-subcategory-card__image img {
  display: block !important;
  width: 64px !important;
  max-width: 64px !important;
  height: 64px !important;
  max-height: 64px !important;
  margin: 0 !important;
  object-fit: contain !important;
  transform: none !important;
  transition: transform .2s ease;
}

body#category .fi-subcategory-card__content {
  min-width: 0;
}

body#category .fi-subcategory-card__kicker {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body#category .fi-subcategory-card__name {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
}

body#category .fi-subcategory-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #f1f5f9;
  border-radius: 50%;
  color: #1463ff;
  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

body#category .fi-subcategory-card__arrow .material-icons {
  font-size: 18px;
}

@media (hover: hover) {
  body#category .fi-subcategory-card:hover {
    transform: translateY(-3px);
    border-color: #bdd0eb;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
  }

  body#category .fi-subcategory-card:hover::before {
    opacity: 1;
  }

  body#category .fi-subcategory-card:hover
  .fi-subcategory-card__image img {
    transform: scale(1.055) !important;
  }

  body#category .fi-subcategory-card:hover
  .fi-subcategory-card__arrow {
    background: #1463ff;
    color: #ffffff;
    transform: translateX(2px);
  }
}


/* =========================================================
   TRANSICIÓN AL CATÁLOGO
   ========================================================= */

body#category .fi-category-catalog-heading {
  position: relative;
  margin: 0 0 17px;
  padding: 0 0 14px;
  border-bottom: 1px solid #dfe6ef;
}

body#category .fi-category-catalog-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 68px;
  height: 2px;
  background: #1463ff;
  border-radius: 999px;
}


/* =========================================================
   LAYOUT CATÁLOGO
   ========================================================= */

@media (min-width: 992px) {
  body#category #left-column.wrapper__left-column {
    padding-right: 9px;
  }

  body#category #content-wrapper.wrapper__content {
    padding-left: 20px !important;
    padding-right: 0 !important;
  }
}


/* =========================================================
   SIDEBAR
   ========================================================= */

body#category #left-column .left-block {
  margin-bottom: 15px;
  padding: 17px 15px;
  background: #ffffff;
  border: 1px solid #dfe7f0;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .03);
}

body#category #left-column .left-block__title {
  margin: 0 0 11px;
  padding: 0 0 11px;
  border-bottom: 1px solid #edf1f6;
  color: #0f172a;
  font-size: 13.5px;
  line-height: 1.25;
  font-weight: 800;
}

body#category #left-column .left-block__title__link {
  color: #0f172a !important;
  text-decoration: none !important;
}

body#category #left-column .category-tree__item__header {
  min-height: 36px;
  margin: 1px 0;
  border-radius: 8px;
}

body#category #left-column .category-tree__item__link {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 7px;
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  text-decoration: none !important;
}

body#category #left-column
.category-tree__list[data-depth="0"] >
.category-tree__item >
.category-tree__item__header >
.category-tree__item__link {
  color: #1e293b;
  font-weight: 700;
}

@media (hover: hover) {
  body#category #left-column .category-tree__item__header:hover {
    background: #f3f6fa;
  }

  body#category #left-column
  .category-tree__item__header:hover
  .category-tree__item__link {
    color: #1463ff;
  }
}

body#category #left-column .accordion-button {
  box-shadow: none !important;
}

body#category #search-filters
.search-filters-subtitle .accordion-button {
  min-height: 43px;
  padding-top: 9px !important;
  padding-bottom: 9px !important;
  color: #1e293b;
  font-size: 12.5px;
  font-weight: 800 !important;
  background: transparent;
  box-shadow: none !important;
}

body#category #search-filters
.search-filters-subtitle .accordion-button:not(.collapsed) {
  color: #1463ff;
}

body#category #search-filters .form-check-label,
body#category #search-filters .search-filters-link {
  color: #475569 !important;
  font-size: 12px;
}

body#category #search-filters .form-check-input:checked {
  background-color: #1463ff;
  border-color: #1463ff;
}

body#category #search-filters .select-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 10px;
  background: #f8fafc;
  border: 1px solid #d9e2ec;
  border-radius: 9px;
  color: #475569;
  font-size: 12px;
  text-decoration: none !important;
}

body#category #search-filters .noUi-target {
  height: 4px;
  background: #dce5ef;
  border: 0;
  box-shadow: none;
}

body#category #search-filters .noUi-connect {
  background: #1463ff;
}

body#category #search-filters .noUi-horizontal .noUi-handle {
  top: -7px;
  right: -9px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border: 3px solid #1463ff;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(20, 99, 255, .18);
}

body#category #search-filters .noUi-handle::before,
body#category #search-filters .noUi-handle::after {
  display: none;
}

body#category #search-filters .js-faceted-values {
  margin-top: 11px;
  color: #1463ff;
  font-size: 11.5px;
  font-weight: 800;
}


/* =========================================================
   ORDENACIÓN
   ========================================================= */

body#category #js-product-list-top {
  margin: 0 8px 18px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #dfe7f0;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .03);
}

body#category #js-product-list-top
.products-selections-filters {
  align-items: center;
}

body#category #js-product-list-top .total-products p {
  margin: 0;
  color: #475569;
  font-size: 12.5px;
  font-weight: 700;
}

body#category #js-product-list-top .sort-by {
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
}

body#category #js-product-list-top .sort-by .material-icons {
  margin-right: 5px;
  color: #1463ff;
  font-size: 18px;
}

body#category #js-product-list-top
.products-sort-order .select-title {
  min-height: 40px;
  padding: 0 11px !important;
  background: #f8fafc;
  border: 1px solid #d8e2ee;
  border-radius: 9px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}

body#category #js-product-list-top
.products-sort-order .dropdown-menu,
body#category #search-filters .dropdown-menu {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .10);
}

body#category #js-product-list-top
.products-sort-order .dropdown-item,
body#category #search-filters .dropdown-item {
  color: #475569;
  font-size: 12px;
}

body#category #js-product-list-top
.products-sort-order .dropdown-item:hover,
body#category #js-product-list-top
.products-sort-order .dropdown-item.current,
body#category #search-filters .dropdown-item:hover {
  background: #f0f5ff;
  color: #1463ff;
}

body#category #search_filter_toggler {
  min-height: 40px;
  border-color: #1463ff;
  border-radius: 9px;
  color: #1463ff;
  font-size: 12px;
  font-weight: 750;
}


/* =========================================================
   LISTADO / PAGINACIÓN
   ========================================================= */

body#category #js-product-list .products {
  row-gap: 16px;
}

body#category #js-product-list .pagination-container {
  align-items: center;
  margin: 28px 8px 0;
  padding: 13px 15px;
  background: #ffffff;
  border: 1px solid #dfe7f0;
  border-radius: 12px;
}

body#category #js-product-list .pagination-number {
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
}

body#category #js-product-list .pagination--custom {
  gap: 5px;
  margin: 0;
}

body#category #js-product-list
.pagination--custom .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 37px;
  min-height: 37px;
  padding: 6px 9px;
  background: #ffffff;
  border: 1px solid #d8e2ec;
  border-radius: 9px !important;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}

body#category #js-product-list
.pagination--custom .page-item.active .page-link {
  background: #1463ff;
  border-color: #1463ff;
  color: #ffffff;
}


/* =========================================================
   SEO INFERIOR
   ========================================================= */

body#category #js-product-list-footer {
  margin: 34px 8px 0;
}

body#category #js-product-list-footer
#category-footer-description {
  position: relative;
  padding: 30px 32px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe7f0;
  border-radius: 16px;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .035);
}

body#category #js-product-list-footer
#category-footer-description::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 82px;
  height: 3px;
  background: #1463ff;
  border-radius: 0 0 999px 0;
}

body#category #js-product-list-footer
#category-footer-description h2 {
  margin-top: 0;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 820;
  letter-spacing: -.015em;
}

body#category #js-product-list-footer
#category-footer-description h3 {
  margin-top: 24px;
  color: #0f172a;
  font-size: 17.5px;
  line-height: 1.3;
  font-weight: 800;
}

body#category #js-product-list-footer
#category-footer-description p,
body#category #js-product-list-footer
#category-footer-description li {
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

body#category #js-product-list-footer
#category-footer-description strong {
  color: #0f172a;
}


/* =========================================================
   FILTROS MÓVIL
   ========================================================= */

body#category #offcanvas-faceted {
  background: #f6f8fb;
}

body#category #offcanvas-faceted .offcanvas-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

body#category #offcanvas-faceted .offcanvas-title {
  color: #0f172a;
  font-weight: 800;
}

body#category #offcanvas-faceted .offcanvas-body {
  padding: 15px;
}

body#category #offcanvas-faceted #search-filters {
  padding: 15px;
  background: #ffffff;
  border: 1px solid #dfe7f0;
  border-radius: 13px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199.98px) {
  body#category .fi-category-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  }

  body#category .fi-category-visual__card {
    font-size: 10.5px;
  }
}

@media (max-width: 991.98px) {
  body#category .fi-category-hero {
    grid-template-columns: 1fr;
  }

  body#category .fi-category-hero__visual {
    padding: 0 26px 26px;
  }

  body#category .fi-category-visual,
  body#category .fi-category-hero__cover {
    min-height: 220px;
  }

  body#category #content-wrapper.wrapper__content {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767.98px) {
  body#category main#wrapper {
    padding-bottom: 38px;
  }

  body#category .breadcrumb__wrapper {
    padding: 8px 0 11px;
  }

  body#category .fi-category-top {
    margin-bottom: 26px;
  }

  body#category .fi-category-hero {
    min-height: 0;
    border-radius: 17px;
  }

  body#category .fi-category-hero__content {
    padding: 25px 19px 22px;
  }

  body#category .fi-category-hero__eyebrow {
    margin-bottom: 13px;
    font-size: 9.5px;
  }

  body#category .fi-category-hero .page-title-section {
    margin-bottom: 13px !important;
    font-size: 31px;
  }

  body#category .fi-category-description {
    position: relative;
    font-size: 13.5px;
    line-height: 1.6;
  }

  body#category .fi-category-description .lead {
    font-size: 14px !important;
    line-height: 1.58;
  }

  body#category .fi-category-description.is-collapsed {
    max-height: 132px;
    overflow: hidden;
  }

  body#category .fi-category-description.is-collapsed::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 62px;
    background:
      linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0),
        rgba(15, 23, 42, .97)
      );
    pointer-events: none;
  }

  body#category .fi-category-description-toggle.is-visible {
    display: inline-flex;
  }

  body#category .fi-category-description-toggle {
    align-items: center;
    gap: 2px;
    margin-top: 9px;
    padding: 5px 0;
    background: transparent;
    border: 0;
    color: #9fc0ff;
    font-size: 12px;
    font-weight: 750;
  }

  body#category .fi-category-description-toggle .material-icons {
    font-size: 18px;
    transition: transform .18s ease;
  }

  body#category .fi-category-description-toggle.is-expanded
  .material-icons {
    transform: rotate(180deg);
  }

  body#category .fi-category-hero__visual {
    padding: 0 18px 18px;
  }

  body#category .fi-category-visual,
  body#category .fi-category-hero__cover {
    min-height: 188px;
    border-radius: 14px;
  }

  body#category .fi-category-visual__main {
    top: 17px;
    left: 17px;
    right: 17px;
    min-height: 86px;
    padding: 15px 54px 14px 15px;
  }

  body#category .fi-category-visual__main strong {
    font-size: 19px;
  }

  body#category .fi-category-visual__main > .material-icons {
    top: 17px;
    right: 14px;
    font-size: 31px;
  }

  body#category .fi-category-visual__card {
    min-height: 38px;
    padding: 7px 9px;
    font-size: 9.5px;
  }

  body#category .fi-category-visual__card--one {
    left: 17px;
    bottom: 19px;
  }

  body#category .fi-category-visual__card--two {
    display: none;
  }

  body#category .fi-category-visual__card--three {
    right: 17px;
    bottom: 19px;
  }

  body#category .fi-category-explore {
    padding-top: 22px;
  }

  body#category .fi-category-section-heading {
    margin-bottom: 12px;
  }

  body#category .fi-category-section-heading__title,
  body#category .fi-category-catalog-heading__title {
    font-size: 21px;
  }

  body#category .fi-subcategories {
    gap: 9px;
  }

  body#category .fi-subcategories.fi-subcategories--balanced > .fi-subcategory-card {
    flex-basis: 100%;
    max-width: 100%;
  }

  body#category .fi-subcategory-card {
    grid-template-columns: 68px minmax(0, 1fr) 34px;
    min-height: 96px;
    padding: 12px;
    border-radius: 13px;
  }

  body#category .fi-subcategory-card__image {
    width: 68px;
    height: 68px;
    border-radius: 12px;
  }

  body#category .fi-subcategory-card__image img {
    width: 56px !important;
    max-width: 56px !important;
    height: 56px !important;
    max-height: 56px !important;
  }

  body#category .fi-category-catalog-heading {
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  body#category #content-wrapper.wrapper__content {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body#category #js-product-list-top {
    margin: 0 5px 15px;
    padding: 11px;
  }

  body#category #js-product-list-top .total-products {
    margin-top: 10px !important;
    text-align: center;
  }

  body#category #js-product-list .pagination-container {
    gap: 10px;
    margin: 22px 5px 0;
    padding: 12px 9px;
  }

  body#category #js-product-list .pagination-number,
  body#category #js-product-list
  .pagination-list-container {
    width: 100%;
    text-align: center !important;
  }

  body#category #js-product-list-footer {
    margin: 28px 5px 0;
  }

  body#category #js-product-list-footer
  #category-footer-description {
    padding: 23px 18px;
    border-radius: 14px;
  }

  body#category #js-product-list-footer
  #category-footer-description h2 {
    font-size: 21px;
  }
}

/* =========================================================
   FACTORYINFORMATICA - CATEGORÍAS V5 GLOBAL
   Sistema visual V4 extendido a todas las categorías.
   ========================================================= */

/* La navegación por familias ya está en la zona superior; el lateral queda para filtros. */
body#category #left-column .ps_categorytree {
  display: none;
}


/* Si una categoría no tiene filtros facetados, no dejamos una columna vacía. */
@media (min-width: 768px) {
  body#category #left-column:not(:has(#search_filters_wrapper)) {
    display: none !important;
  }

  body#category #left-column:not(:has(#search_filters_wrapper)) + #content-wrapper.wrapper__content {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0 !important;
  }
}

/* ---------------------------------------------------------
   HERO: sustituir visual genérico por datos concretos
   --------------------------------------------------------- */
body#category .fi-category-description .d-flex.flex-wrap.mt-3 {
  display: none !important;
}

body#category .fi-category-facts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 244px;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(20, 99, 255, .24) 0%, rgba(20, 99, 255, 0) 44%),
    rgba(255, 255, 255, .065);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
}

body#category .fi-category-facts__intro {
  margin-bottom: 18px;
}

body#category .fi-category-facts__intro > span {
  display: block;
  margin-bottom: 5px;
  color: #8fb5ff;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body#category .fi-category-facts__intro > strong {
  display: block;
  color: #fff;
  font-size: 20px;
  line-height: 1.18;
  font-weight: 820;
}

body#category .fi-category-facts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body#category .fi-category-fact {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 66px;
  padding: 10px;
  background: rgba(5, 12, 28, .28);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
}

body#category .fi-category-fact > .material-icons {
  color: #6fa0ff;
  font-size: 24px;
}

body#category .fi-category-fact span,
body#category .fi-category-fact strong,
body#category .fi-category-fact small {
  display: block;
}

body#category .fi-category-fact strong {
  color: #fff;
  font-size: 12.5px;
  line-height: 1.15;
  font-weight: 800;
}

body#category .fi-category-fact small {
  margin-top: 3px;
  color: #aebdd1;
  font-size: 10.5px;
  line-height: 1.2;
}

/* ---------------------------------------------------------
   SUBCATEGORÍAS: dock unido al hero
   --------------------------------------------------------- */
body#category .fi-category-top {
  margin-bottom: 28px;
}

body#category .fi-category-explore {
  position: relative;
  z-index: 4;
  margin: -14px 26px 0;
  padding: 0;
}

body#category .fi-category-section-heading {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  display: block;
  margin: 0;
  pointer-events: none;
}

body#category .fi-category-section-heading__eyebrow {
  margin: 0 0 2px;
  color: #1463ff;
  font-size: 9px;
}

body#category .fi-category-section-heading__title {
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

body#category .fi-subcategories {
  gap: 10px;
  padding: 50px 12px 12px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid #dde5ef;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .085);
}

/* Distribución equilibrada: la cantidad decide el número de columnas.
   Flex centra automáticamente una última fila incompleta. */
body#category .fi-subcategories.fi-subcategories--balanced {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

body#category .fi-subcategories.fi-subcategories--balanced > .fi-subcategory-card {
  flex: 0 0 calc(
    (100% - ((var(--fi-subcategory-cols) - 1) * 10px))
    / var(--fi-subcategory-cols)
  );
  max-width: calc(
    (100% - ((var(--fi-subcategory-cols) - 1) * 10px))
    / var(--fi-subcategory-cols)
  );
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  body#category .fi-subcategories.fi-subcategories--balanced > .fi-subcategory-card {
    flex-basis: calc((100% - 20px) / 3);
    max-width: calc((100% - 20px) / 3);
  }
}

@media (max-width: 991.98px) and (min-width: 768px) {
  body#category .fi-subcategories.fi-subcategories--balanced > .fi-subcategory-card {
    flex-basis: calc((100% - 10px) / 2);
    max-width: calc((100% - 10px) / 2);
  }
}

body#category .fi-subcategory-card {
  min-height: 92px;
  padding: 11px 12px;
  border-radius: 12px;
  box-shadow: none;
}

body#category .fi-subcategory-card__image {
  width: 62px;
  height: 62px;
  border-radius: 11px;
}

body#category .fi-subcategory-card__image img {
  width: 52px !important;
  max-width: 52px !important;
  height: 52px !important;
  max-height: 52px !important;
}

body#category .fi-subcategory-card__kicker {
  font-size: 8.5px;
}

body#category .fi-subcategory-card__name {
  font-size: 13.5px;
}

/* Catálogo más cerca de la navegación superior. */
body#category .fi-category-catalog-heading {
  margin-top: 0;
  margin-bottom: 14px;
}

/* ---------------------------------------------------------
   ZONA COMERCIAL: tres unidades cohesionadas
   --------------------------------------------------------- */
body#category .fi-cat-commerce {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
  color: #0f172a;
}

body#category .fi-cat-commerce__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #1463ff;
  font-size: 9.5px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------
   1) ASISTENTE DE COMPRA: uso + especificaciones en un panel
   --------------------------------------------------------- */
body#category .fi-cat-assistant {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.75fr);
  gap: 26px;
  padding: 30px;
  background: #fff;
  border: 1px solid #dfe7f0;
  border-radius: 18px;
  box-shadow: 0 7px 24px rgba(15, 23, 42, .045);
}

body#category .fi-cat-assistant__intro {
  align-self: center;
  padding-right: 8px;
}

body#category .fi-cat-assistant__intro h2,
body#category .fi-cat-choice__heading h2,
body#category .fi-cat-b2b h2,
body#category .fi-cat-faq__heading h2 {
  margin: 0;
  color: #0f172a;
  font-weight: 820;
  letter-spacing: -.025em;
}

body#category .fi-cat-assistant__intro h2 {
  max-width: 390px;
  font-size: 29px;
  line-height: 1.13;
}

body#category .fi-cat-assistant__intro p {
  max-width: 390px;
  margin: 11px 0 0;
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.6;
}

body#category .fi-cat-assistant__body {
  min-width: 0;
}

body#category .fi-cat-use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
}

body#category .fi-cat-use-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  min-height: 104px;
  padding: 13px;
  background: #f8fafc;
  border: 1px solid #e3e9f1;
  border-radius: 13px;
  color: inherit;
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

body#category .fi-cat-use-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #eaf2ff;
  border-radius: 11px;
  color: #1463ff;
}

body#category .fi-cat-use-card__icon .material-icons {
  font-size: 22px;
}

body#category .fi-cat-use-card__kicker {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 8px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .09em;
}

body#category .fi-cat-use-card strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.22;
  font-weight: 800;
}

body#category .fi-cat-use-card small {
  display: block;
  color: #64748b;
  font-size: 10.5px;
  line-height: 1.35;
}

body#category .fi-cat-use-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #1463ff;
}

body#category .fi-cat-use-card__arrow .material-icons {
  font-size: 17px;
}

@media (hover: hover) {
  body#category .fi-cat-use-card:hover {
    transform: translateY(-2px);
    background: #fff;
    border-color: #b9cceb;
  }
}

body#category .fi-cat-spec-strip {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  margin-top: 10px;
  overflow: hidden;
  background: #0f172a;
  border-radius: 13px;
}

body#category .fi-cat-spec-strip__lead,
body#category .fi-cat-spec-strip__item {
  min-height: 76px;
  padding: 13px 15px;
}

body#category .fi-cat-spec-strip__lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(20, 99, 255, .12);
}

body#category .fi-cat-spec-strip__label {
  margin-bottom: 3px;
  color: #8fb5ff;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .1em;
}

body#category .fi-cat-spec-strip__lead strong {
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
}

body#category .fi-cat-spec-strip__item {
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, .09);
}

body#category .fi-cat-spec-strip__item > .material-icons {
  color: #72a2ff;
  font-size: 22px;
}

body#category .fi-cat-spec-strip__item small,
body#category .fi-cat-spec-strip__item strong {
  display: block;
}

body#category .fi-cat-spec-strip__item small {
  margin-bottom: 2px;
  color: #94a3b8;
  font-size: 9px;
}

body#category .fi-cat-spec-strip__item strong {
  color: #fff;
  font-size: 11.5px;
  line-height: 1.2;
}

/* ---------------------------------------------------------
   2) NUEVO VS REACONDICIONADO: un solo bloque dividido
   --------------------------------------------------------- */
body#category .fi-cat-choice {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  background: #eef3f9;
  border: 1px solid #dce5ef;
  border-radius: 18px;
}

body#category .fi-cat-choice__heading {
  align-self: center;
  padding: 10px 12px;
}

body#category .fi-cat-choice__heading h2 {
  font-size: 27px;
  line-height: 1.12;
}

body#category .fi-cat-choice__heading p {
  margin: 9px 0 0;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.55;
}

body#category .fi-cat-choice__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body#category .fi-cat-choice-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe7f0;
  border-radius: 14px;
}

body#category .fi-cat-choice-card--new {
  border-top: 3px solid #1463ff;
}

body#category .fi-cat-choice-card--refurb {
  border-top: 3px solid #16805d;
}

body#category .fi-cat-choice-card__top {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}

body#category .fi-cat-choice-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

body#category .fi-cat-choice-card--new .fi-cat-choice-card__icon {
  background: #eaf2ff;
  color: #1463ff;
}

body#category .fi-cat-choice-card--refurb .fi-cat-choice-card__icon {
  background: #eaf7f1;
  color: #16805d;
}

body#category .fi-cat-choice-card__eyebrow {
  display: block;
  margin-bottom: 3px;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .1em;
}

body#category .fi-cat-choice-card--new .fi-cat-choice-card__eyebrow {
  color: #1463ff;
}

body#category .fi-cat-choice-card--refurb .fi-cat-choice-card__eyebrow {
  color: #16805d;
}

body#category .fi-cat-choice-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 820;
}

body#category .fi-cat-choice-card > p {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

body#category .fi-cat-choice-card__meta {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

body#category .fi-cat-choice-card__meta span {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #334155;
  font-size: 11px;
  line-height: 1.35;
}

body#category .fi-cat-choice-card__meta .material-icons {
  margin-top: 1px;
  font-size: 15px;
}

body#category .fi-cat-choice-card--new .fi-cat-choice-card__meta .material-icons {
  color: #1463ff;
}

body#category .fi-cat-choice-card--refurb .fi-cat-choice-card__meta .material-icons {
  color: #16805d;
}

body#category .fi-cat-choice-card > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
}

body#category .fi-cat-choice-card--new > a {
  color: #1463ff;
}

body#category .fi-cat-choice-card--refurb > a {
  color: #16805d;
}

body#category .fi-cat-choice-card > a .material-icons {
  font-size: 17px;
}

/* ---------------------------------------------------------
   3) CIERRE: B2B + FAQ juntos
   --------------------------------------------------------- */
body#category .fi-cat-close {
  display: grid;
  grid-template-columns: minmax(330px, .8fr) minmax(0, 1.2fr);
  gap: 12px;
  align-items: stretch;
}

body#category .fi-cat-b2b {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 8%, rgba(20, 99, 255, .28) 0%, rgba(20, 99, 255, 0) 44%),
    linear-gradient(135deg, #0f172a 0%, #111f3a 68%, #142b56 100%);
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .11);
}

body#category .fi-cat-b2b__eyebrow {
  order: 1;
  display: block;
  margin-bottom: 11px;
  color: #8fb5ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
}

body#category .fi-cat-b2b__icon {
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 14px;
  color: #8db2ff;
}

body#category .fi-cat-b2b__icon .material-icons {
  font-size: 28px;
}

body#category .fi-cat-b2b h2 {
  order: 3;
  color: #fff;
  font-size: 25px;
  line-height: 1.15;
}

body#category .fi-cat-b2b p {
  order: 4;
  margin: 9px 0 20px;
  color: #cbd5e1;
  font-size: 12.5px;
  line-height: 1.58;
}

body#category .fi-cat-b2b__cta {
  order: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  margin-top: auto;
  padding: 0 15px;
  background: #1463ff;
  border: 1px solid #1463ff;
  border-radius: 9px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
}

body#category .fi-cat-b2b__cta .material-icons {
  font-size: 17px;
}

body#category .fi-cat-faq {
  margin: 0;
  padding: 24px 24px 18px;
  background: #fff;
  border: 1px solid #dfe7f0;
  border-radius: 18px;
}

body#category .fi-cat-faq__heading {
  margin-bottom: 13px;
  text-align: left;
}

body#category .fi-cat-faq__heading h2 {
  font-size: 24px;
  line-height: 1.15;
}

body#category .fi-cat-faq__list {
  overflow: hidden;
  border-top: 1px solid #e6ebf2;
  border-bottom: 1px solid #e6ebf2;
}

body#category .fi-cat-faq__item {
  margin: 0;
  background: transparent;
}

body#category .fi-cat-faq__item + .fi-cat-faq__item {
  border-top: 1px solid #e8edf3;
}

body#category .fi-cat-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 12px 2px;
  color: #0f172a;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

body#category .fi-cat-faq__item summary::-webkit-details-marker {
  display: none;
}

body#category .fi-cat-faq__item summary .material-icons {
  flex: 0 0 auto;
  color: #1463ff;
  font-size: 19px;
  transition: transform .18s ease;
}

body#category .fi-cat-faq__item[open] summary .material-icons {
  transform: rotate(45deg);
}

body#category .fi-cat-faq__answer {
  padding: 0 2px 13px;
}

body#category .fi-cat-faq__answer p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.58;
}

/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */
@media (max-width: 1199.98px) {
  body#category .fi-cat-assistant {
    grid-template-columns: 1fr;
  }

  body#category .fi-cat-assistant__intro h2,
  body#category .fi-cat-assistant__intro p {
    max-width: 760px;
  }

  body#category .fi-cat-choice {
    grid-template-columns: 1fr;
  }

  body#category .fi-cat-choice__heading {
    padding: 6px 4px;
  }
}

@media (max-width: 991.98px) {
  body#category .fi-category-explore {
    margin-top: -10px;
  }

  body#category .fi-category-description .d-flex.flex-wrap.mt-3 {
    display: flex !important;
  }

  body#category .fi-category-explore {
    margin-left: 18px;
    margin-right: 18px;
  }

  body#category .fi-subcategories {
    grid-template-columns: 1fr;
  }

  body#category .fi-category-section-heading {
    position: static;
    margin: 0 0 9px;
    padding: 0 3px;
  }

  body#category .fi-subcategories {
    padding: 10px;
  }

  body#category .fi-cat-use-grid {
    grid-template-columns: 1fr;
  }

  body#category .fi-cat-spec-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body#category .fi-cat-spec-strip__item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .09);
  }

  body#category .fi-cat-spec-strip__item:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, .09);
  }

  body#category .fi-cat-close {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------
   MÓVIL
   --------------------------------------------------------- */
@media (max-width: 767.98px) {
  body#category .fi-category-facts {
    min-height: 0;
    padding: 17px;
  }

  body#category .fi-category-facts__grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  body#category .fi-category-fact {
    grid-template-columns: 28px minmax(0, 1fr);
    min-height: 58px;
    padding: 8px;
  }

  body#category .fi-category-fact > .material-icons {
    font-size: 20px;
  }

  body#category .fi-category-explore {
    margin-top: -8px;
    margin-left: 10px;
    margin-right: 10px;
  }

  body#category .fi-cat-commerce {
    gap: 12px;
    margin-top: 28px;
  }

  body#category .fi-cat-assistant {
    gap: 18px;
    padding: 21px 16px 16px;
    border-radius: 15px;
  }

  body#category .fi-cat-assistant__intro h2 {
    font-size: 24px;
  }

  body#category .fi-cat-assistant__intro p {
    font-size: 12.5px;
  }

  body#category .fi-cat-use-card {
    grid-template-columns: 40px minmax(0, 1fr) 22px;
    min-height: 88px;
    padding: 11px;
  }

  body#category .fi-cat-use-card small {
    font-size: 10px;
  }

  body#category .fi-cat-spec-strip {
    grid-template-columns: 1fr;
  }

  body#category .fi-cat-spec-strip__lead,
  body#category .fi-cat-spec-strip__item {
    min-height: 58px;
  }

  body#category .fi-cat-spec-strip__item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .09);
  }

  body#category .fi-cat-choice {
    gap: 13px;
    padding: 15px;
    border-radius: 15px;
  }

  body#category .fi-cat-choice__heading h2 {
    font-size: 23px;
  }

  body#category .fi-cat-choice__grid {
    grid-template-columns: 1fr;
  }

  body#category .fi-cat-choice-card {
    min-height: 0;
    padding: 17px;
  }

  body#category .fi-cat-close {
    gap: 10px;
  }

  body#category .fi-cat-b2b,
  body#category .fi-cat-faq {
    padding: 20px 17px;
    border-radius: 15px;
  }

  body#category .fi-cat-b2b h2 {
    font-size: 22px;
  }

  body#category .fi-cat-b2b__cta {
    width: 100%;
  }

  body#category .fi-cat-faq__heading h2 {
    font-size: 21px;
  }

  body#category .fi-cat-faq__item summary {
    min-height: 50px;
    font-size: 12px;
  }
}


/* =========================================================
   FACTORYINFORMATICA - CATEGORÍAS V7 CONTENIDO GLOBAL
   Un único sistema para description + additional_description
   ========================================================= */

/* Superior: la BD ya entrega una introducción breve; evitamos que el hero vuelva a crecer. */
body#category .fi-category-description .fi-category-intro {
  max-width: 720px;
}

body#category .fi-category-description .fi-category-intro p {
  margin: 0 0 10px;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.64;
}

body#category .fi-category-description .fi-category-intro p:last-child {
  margin-bottom: 0;
}

/* La información larga pasa a un bloque global a ancho completo. */
body#category .fi-category-bottom {
  margin: 46px -60px 0;
  padding: 52px 60px 58px;
  background: #f6f8fb;
  border-top: 1px solid #e2e8f0;
}

body#category .fi-category-bottom__inner {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

body#category .fi-cat-guide {
  display: grid;
  gap: 20px;
  color: #0f172a;
}

body#category .fi-cat-guide__intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(230px, .55fr);
  align-items: center;
  gap: 30px;
  padding: 32px 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 10%, rgba(20,99,255,.28), rgba(20,99,255,0) 42%),
    #0f172a;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(15,23,42,.11);
}

body#category .fi-cat-guide__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #77a7ff;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body#category .fi-cat-guide__intro h2,
body#category .fi-cat-guide__faq-heading h2 {
  margin: 0;
  font-weight: 820;
  letter-spacing: -.028em;
}

body#category .fi-cat-guide__intro h2 {
  max-width: 830px;
  color: #fff;
  font-size: clamp(28px, 2.3vw, 39px);
  line-height: 1.08;
}

body#category .fi-cat-guide__lead {
  max-width: 900px;
  margin-top: 13px;
}

body#category .fi-cat-guide__lead p,
body#category .fi-cat-guide__lead li {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.65;
}

body#category .fi-cat-guide__lead p:last-child {
  margin-bottom: 0;
}

body#category .fi-cat-guide__intro-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 138px;
  padding: 20px;
  color: #dbeafe;
  text-align: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 16px;
}

body#category .fi-cat-guide__intro-mark .material-icons {
  margin-bottom: 8px;
  color: #77a7ff;
  font-size: 34px;
}

body#category .fi-cat-guide__intro-mark span {
  font-size: 13px;
  font-weight: 800;
}

body#category .fi-cat-guide__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

body#category .fi-cat-guide__card {
  position: relative;
  min-width: 0;
  padding: 24px 23px 22px;
  background: #fff;
  border: 1px solid #dfe7f0;
  border-radius: 17px;
  box-shadow: 0 5px 18px rgba(15,23,42,.04);
}

body#category .fi-cat-guide__card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 27px;
  margin-bottom: 12px;
  padding: 0 8px;
  color: #1463ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  background: #edf4ff;
  border-radius: 999px;
}

body#category .fi-cat-guide__card h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 820;
  letter-spacing: -.015em;
}

body#category .fi-cat-guide__card h4 {
  margin: 17px 0 6px;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

body#category .fi-cat-guide__card p,
body#category .fi-cat-guide__card li {
  color: #5b687a;
  font-size: 13px;
  line-height: 1.62;
}

body#category .fi-cat-guide__card p:last-child,
body#category .fi-cat-guide__card ul:last-child,
body#category .fi-cat-guide__card ol:last-child {
  margin-bottom: 0;
}

body#category .fi-cat-guide__card ul,
body#category .fi-cat-guide__card ol {
  margin: 10px 0 0;
  padding-left: 19px;
}

body#category .fi-cat-guide__card li + li {
  margin-top: 6px;
}

body#category .fi-cat-guide__faq {
  display: grid;
  grid-template-columns: minmax(210px, .5fr) minmax(0, 1.5fr);
  gap: 28px;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid #dfe7f0;
  border-radius: 18px;
}

body#category .fi-cat-guide__faq-heading {
  align-self: start;
}

body#category .fi-cat-guide__faq-heading h2 {
  color: #0f172a;
  font-size: 25px;
  line-height: 1.12;
}

body#category .fi-cat-guide__faq-list {
  overflow: hidden;
  border-top: 1px solid #e7edf4;
  border-bottom: 1px solid #e7edf4;
}

body#category .fi-cat-guide__faq-item + .fi-cat-guide__faq-item {
  border-top: 1px solid #e7edf4;
}

body#category .fi-cat-guide__faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 14px 2px;
  color: #0f172a;
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

body#category .fi-cat-guide__faq-item summary::-webkit-details-marker {
  display: none;
}

body#category .fi-cat-guide__faq-item summary .material-icons {
  flex: 0 0 auto;
  color: #1463ff;
  font-size: 20px;
  transition: transform .18s ease;
}

body#category .fi-cat-guide__faq-item[open] summary .material-icons {
  transform: rotate(45deg);
}

body#category .fi-cat-guide__faq-answer {
  padding: 0 34px 16px 2px;
}

body#category .fi-cat-guide__faq-answer p,
body#category .fi-cat-guide__faq-answer li {
  margin-bottom: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.62;
}

body#category .fi-cat-guide__outro {
  padding: 18px 22px;
  background: #eef4ff;
  border: 1px solid #d9e6ff;
  border-radius: 14px;
}

body#category .fi-cat-guide__outro p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  body#category .fi-category-bottom {
    margin-left: 0;
    margin-right: 0;
    padding: 38px 18px 44px;
  }

  body#category .fi-cat-guide__intro,
  body#category .fi-cat-guide__faq {
    grid-template-columns: 1fr;
  }

  body#category .fi-cat-guide__intro-mark {
    display: none;
  }
}

@media (max-width: 767.98px) {
  body#category .fi-category-description .fi-category-intro p {
    font-size: 13.5px;
    line-height: 1.58;
  }

  body#category .fi-category-bottom {
    padding: 30px 10px 36px;
  }

  body#category .fi-cat-guide {
    gap: 13px;
  }

  body#category .fi-cat-guide__intro {
    padding: 23px 18px;
    border-radius: 16px;
  }

  body#category .fi-cat-guide__intro h2 {
    font-size: 27px;
  }

  body#category .fi-cat-guide__lead p,
  body#category .fi-cat-guide__lead li {
    font-size: 13px;
  }

  body#category .fi-cat-guide__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body#category .fi-cat-guide__card {
    padding: 19px 17px;
    border-radius: 14px;
  }

  body#category .fi-cat-guide__faq {
    gap: 12px;
    padding: 21px 17px;
    border-radius: 15px;
  }

  body#category .fi-cat-guide__faq-heading h2 {
    font-size: 22px;
  }

  body#category .fi-cat-guide__faq-item summary {
    min-height: 52px;
    font-size: 12.5px;
  }
}

/* =========================================================
   FACTORYINFORMATICA - PRODUCT PAGE V1 PILOT
   Scope: product page only. HOME and CATEGORY rules untouched.
   Visual language aligned with HOME + CATEGORY V7/V7.1.
   ========================================================= */

body#product {
  --fi-product-blue: #1463ff;
  --fi-product-ink: #0f172a;
  --fi-product-muted: #64748b;
  --fi-product-line: #e2e8f0;
  --fi-product-soft: #f8fafc;
  --fi-product-green: #16805d;
  --fi-product-radius: 18px;
}

/* Product uses the full useful content width. */
body#product:has(.fi-product-page) .wrapper > .container,
body#product:has(.fi-product-page) .wrapper > .container-fluid {
  width: 100% !important;
  max-width: 1480px !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  box-sizing: border-box;
}

body#product:has(.fi-product-page) #left-column.wrapper__left-column {
  display: none !important;
}

body#product:has(.fi-product-page) #content-wrapper.wrapper__content {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

body#product .fi-product-page {
  width: 100%;
  padding: 10px 0 64px;
  color: var(--fi-product-ink);
}

/* =========================================================
   HERO: GALLERY + BUY BOX
   ========================================================= */

body#product .fi-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: 34px;
  align-items: start;
}

body#product .fi-product-gallery-card,
body#product .fi-product-buybox,
body#product .fi-product-summary,
body#product .fi-product-content-card,
body#product .fi-product-data-card {
  background: #fff;
  border: 1px solid var(--fi-product-line);
  border-radius: var(--fi-product-radius);
  box-shadow: 0 5px 22px rgba(15, 23, 42, .045);
}

body#product .fi-product-gallery-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 48%);
}

body#product .fi-product-image-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 560px;
  aspect-ratio: 1 / 1;
  padding: 20px;
}

body#product .fi-product-image-stage picture {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

body#product .fi-product-main-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 720px !important;
  max-height: 720px !important;
  object-fit: contain !important;
}

body#product .fi-product-zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--fi-product-line);
  border-radius: 50%;
  color: var(--fi-product-ink);
  box-shadow: 0 5px 18px rgba(15,23,42,.10);
  transition: transform .18s ease, border-color .18s ease, color .18s ease;
}

body#product .fi-product-zoom:hover,
body#product .fi-product-zoom:focus-visible {
  transform: translateY(-1px);
  border-color: #b8c7da;
  color: var(--fi-product-blue);
}

body#product .fi-product-zoom .material-icons {
  font-size: 22px;
}

body#product .fi-product-gallery-control {
  top: 50%;
  bottom: auto;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border-radius: 50%;
  background: rgba(15,23,42,.68);
  opacity: .86;
}

body#product .fi-product-gallery-control.carousel-control-prev {
  left: 8px;
}

body#product .fi-product-gallery-control.carousel-control-next {
  right: 8px;
}

body#product .fi-product-thumbnails {
  margin-top: 14px;
}

body#product .fi-product-thumbnails .thumbnails__list {
  margin: 0;
  padding: 0;
}

body#product .fi-product-thumbnails .thumbnail {
  cursor: pointer;
}

body#product .fi-product-thumbnails .thumbnail picture {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 82px;
  padding: 7px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--fi-product-line);
  border-radius: 12px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

body#product .fi-product-thumbnails .thumbnail.active picture,
body#product .fi-product-thumbnails .thumbnail:hover picture {
  border-color: var(--fi-product-blue);
  box-shadow: 0 0 0 2px rgba(20, 99, 255, .08);
}

body#product .fi-product-thumbnails .js-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* BUY BOX */
body#product .fi-product-buybox {
  padding: 28px;
}

@media (min-width: 1200px) {
  body#product .fi-product-buybox {
    position: sticky;
    top: 116px;
  }
}

body#product .fi-product-brand {
  margin-bottom: 9px;
  color: var(--fi-product-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}

body#product .fi-product-title {
  margin: 0 !important;
  color: var(--fi-product-ink) !important;
  font-size: clamp(28px, 2.25vw, 38px) !important;
  line-height: 1.14 !important;
  font-weight: 800 !important;
  letter-spacing: -.025em;
  text-transform: none !important;
}

body#product .fi-product-identifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  align-items: center;
  margin-top: 13px;
  color: var(--fi-product-muted);
  font-size: 13px;
}

body#product .fi-product-identifiers strong {
  color: #334155;
  font-weight: 700;
}

body#product .fi-product-rating-slot:empty {
  display: none;
}

/* =========================================================
   PRICES + COMMERCE SIGNALS
   ========================================================= */

body#product .fi-product-prices {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #eef2f7;
}

body#product .product__prices .prices__wrapper {
  gap: 0 !important;
  margin-bottom: 0 !important;
}

body#product .fi-product-price-label {
  display: block;
  margin-bottom: 3px;
  color: var(--fi-product-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

body#product .product__current-price,
body#product .fi-product-price-main {
  color: var(--fi-product-ink) !important;
  font-size: clamp(32px, 3vw, 42px) !important;
  line-height: 1.04 !important;
  font-weight: 850 !important;
  letter-spacing: -.035em;
}

body#product .fi-product-price-tax,
body#product .product__tax-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-top: 7px;
  color: var(--fi-product-muted) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

body#product .fi-product-price-tax strong {
  color: #334155;
  font-size: 16px;
  font-weight: 750;
}

body#product .fi-product-discount {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

body#product .fi-product-commerce-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

body#product .fi-product-signal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--fi-product-line);
  border-radius: 999px;
  background: var(--fi-product-soft);
  color: #334155;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 650;
}

body#product .fi-product-signal .material-icons {
  font-size: 18px;
}

body#product .fi-product-signal--shipping {
  border-color: rgba(22,128,93,.18);
  background: rgba(22,128,93,.07);
  color: var(--fi-product-green);
}

body#product .fi-product-signal--new {
  border-color: rgba(20,99,255,.18);
  background: rgba(20,99,255,.07);
  color: #0e55dc;
}

body#product .fi-product-signal--refurbished,
body#product .fi-product-signal--used {
  border-color: rgba(22,128,93,.20);
  background: rgba(22,128,93,.08);
  color: var(--fi-product-green);
}

/* Neutralize the legacy badge wrappers only inside the new product pilot. */
body#product .fi-product-page .product__shipping-badge,
body#product .fi-product-page .product-condition {
  margin-top: 0 !important;
}

/* =========================================================
   STOCK, DELIVERY, QUANTITY, CTA
   ========================================================= */

body#product .fi-product-actions {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eef2f7;
}

body#product .fi-product-actions .product__add-to-cart > .mb-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px !important;
}

body#product .fi-product-actions #product-availability,
body#product .fi-product-actions .product__delivery__information {
  margin: 0 !important;
}

body#product .fi-product-actions #product-availability .alert {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px;
  margin: 0 !important;
  padding: 7px 11px !important;
  border: 1px solid rgba(22,128,93,.20) !important;
  border-radius: 999px !important;
  background: rgba(22,128,93,.08) !important;
  color: var(--fi-product-green) !important;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none !important;
}

body#product .fi-product-actions #product-availability .alert-danger {
  border-color: rgba(185,28,28,.18) !important;
  background: rgba(185,28,28,.06) !important;
  color: #b91c1c !important;
}

body#product .fi-product-actions #product-availability .alert-warning {
  border-color: rgba(180,83,9,.18) !important;
  background: rgba(180,83,9,.07) !important;
  color: #a64b08 !important;
}

body#product .fi-product-actions #product-availability .material-icons {
  color: currentColor !important;
  font-size: 18px !important;
}

body#product .fi-product-actions .product__delivery__information {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px;
  padding: 7px 11px !important;
  border: 1px solid #d9e3ef !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

body#product .fi-product-actions .product__add-to-cart .row {
  align-items: stretch;
}

body#product .fi-product-actions .quantity-button {
  flex: 0 0 126px;
}

body#product .fi-product-actions .quantity-button .input-group {
  height: 52px;
  overflow: hidden;
  border: 1px solid #d8e1eb;
  border-radius: 12px;
  background: #fff;
}

body#product .fi-product-actions .quantity-button .form-control,
body#product .fi-product-actions .quantity-button .btn {
  min-height: 50px;
  border: 0 !important;
}

body#product .fi-product-actions button[data-button-action="add-to-cart"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 22px !important;
  background: var(--fi-product-blue) !important;
  border: 1px solid var(--fi-product-blue) !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
  text-transform: none !important;
  box-shadow: 0 7px 18px rgba(20,99,255,.18) !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

body#product .fi-product-actions button[data-button-action="add-to-cart"]:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #0f57e8 !important;
  border-color: #0f57e8 !important;
  box-shadow: 0 10px 24px rgba(20,99,255,.24) !important;
}

body#product .fi-product-actions button[data-button-action="add-to-cart"]:disabled {
  opacity: .55;
  box-shadow: none !important;
}

body#product .fi-product-actions .wishlist-button-add {
  border-radius: 12px !important;
}

/* =========================================================
   SUMMARY
   ========================================================= */

body#product .fi-product-summary {
  position: relative;
  margin-top: 28px;
  padding: 24px 26px;
  overflow: hidden;
}

body#product .fi-product-summary__head {
  margin-bottom: 12px;
}

body#product .fi-product-section-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--fi-product-blue);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

body#product .fi-product-summary__title,
body#product .fi-product-section-heading h2,
body#product .fi-office-crosssell h2 {
  margin: 0;
  color: var(--fi-product-ink);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.015em;
}

body#product .fi-product-summary__content {
  position: relative;
  max-height: 150px;
  overflow: hidden;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.7;
}

body#product .fi-product-summary__content::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 82%);
  pointer-events: none;
}

body#product .fi-product-summary__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 11px;
  color: var(--fi-product-blue);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

body#product .fi-product-summary__link .material-icons {
  font-size: 17px;
}

/* =========================================================
   TRUST STRIP
   ========================================================= */

body#product .fi-product-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

body#product .fi-product-trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e7edf5;
  border-radius: 15px;
  color: var(--fi-product-ink);
  text-decoration: none;
}

body#product .fi-product-trust__item--link:hover {
  border-color: #bfd0e6;
  color: var(--fi-product-ink);
}

body#product .fi-product-trust__icon {
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(20,99,255,.08);
  color: var(--fi-product-blue);
}

body#product .fi-product-trust__icon .material-icons {
  font-size: 21px;
}

body#product .fi-product-trust strong,
body#product .fi-product-trust small {
  display: block;
}

body#product .fi-product-trust strong {
  font-size: 13.5px;
  line-height: 1.3;
  font-weight: 800;
}

body#product .fi-product-trust small {
  margin-top: 3px;
  color: var(--fi-product-muted);
  font-size: 11.5px;
  line-height: 1.4;
}

body#product .fi-product-native-reassurance:empty {
  display: none;
}

/* =========================================================
   PRODUCT INFORMATION
   ========================================================= */

body#product .fi-product-information {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
  margin-top: 30px;
  scroll-margin-top: 130px;
}

body#product .fi-product-content-card,
body#product .fi-product-data-card {
  padding: 28px;
}

body#product .fi-product-data-card {
  position: sticky;
  top: 116px;
}

body#product .fi-product-section-heading {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef2f7;
}

body#product .fi-product-section-heading--compact {
  margin-bottom: 10px;
}

body#product .fi-product-description {
  color: #334155;
  font-size: 15px;
  line-height: 1.72;
}

body#product .fi-product-description > *:first-child {
  margin-top: 0 !important;
}

body#product .fi-product-description h2 {
  margin: 30px 0 12px;
  color: var(--fi-product-ink);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.012em;
}

body#product .fi-product-description h3 {
  margin: 24px 0 10px;
  color: var(--fi-product-ink);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

body#product .fi-product-description p {
  margin: 0 0 15px;
}

body#product .fi-product-description ul,
body#product .fi-product-description ol {
  margin: 8px 0 18px;
  padding-left: 22px;
}

body#product .fi-product-description li {
  margin-bottom: 5px;
}

/* Supplier technical tables are dressed here instead of altering product data. */
body#product .fi-product-description table,
body#product .fi-product-description .tabla_caracteristicas,
body#product .fi-product-description .k-table {
  width: 100% !important;
  margin: 4px 0 8px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--fi-product-line);
  border-radius: 14px;
  background: #fff;
}

body#product .fi-product-description table tr:not(:last-child) td,
body#product .fi-product-description table tr:not(:last-child) th {
  border-bottom: 1px solid #edf2f7;
}

body#product .fi-product-description table td,
body#product .fi-product-description table th {
  padding: 12px 14px !important;
  border: 0 !important;
  vertical-align: top;
  color: #334155;
  line-height: 1.55;
}

body#product .fi-product-description table td:first-child,
body#product .fi-product-description table th:first-child {
  width: 31%;
  background: #f8fafc;
  color: var(--fi-product-ink);
  font-weight: 750;
}

body#product .fi-product-data-list {
  margin: 0;
}

body#product .fi-product-data-list > div {
  display: grid;
  grid-template-columns: minmax(90px, .8fr) minmax(0, 1.2fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f7;
}

body#product .fi-product-data-list > div:last-child {
  border-bottom: 0;
}

body#product .fi-product-data-list dt,
body#product .fi-product-data-list dd {
  margin: 0;
}

body#product .fi-product-data-list dt {
  color: var(--fi-product-muted);
  font-size: 12px;
  font-weight: 650;
}

body#product .fi-product-data-list dd {
  overflow-wrap: anywhere;
  color: var(--fi-product-ink);
  font-size: 13px;
  font-weight: 750;
  text-align: right;
}

body#product .fi-product-empty-copy {
  margin: 0;
  color: var(--fi-product-muted);
}

body#product .fi-product-attachments {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #eef2f7;
}

body#product .fi-product-attachments h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 800;
}

body#product .fi-product-attachment {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  color: var(--fi-product-ink);
  text-decoration: none;
}

body#product .fi-product-attachment .material-icons {
  color: var(--fi-product-blue);
}

body#product .fi-product-attachment small {
  display: block;
  margin-top: 2px;
  color: var(--fi-product-muted);
}

/* =========================================================
   EXTRA CONTENT / FUTURE REVIEWS
   ========================================================= */

body#product .fi-product-extra-content {
  margin-top: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--fi-product-line);
  border-radius: var(--fi-product-radius);
}

body#product .fi-product-extra-content .product__tabs {
  margin: 0;
  padding: 0 18px;
  background: #f8fafc;
  border-bottom: 1px solid var(--fi-product-line);
}

body#product .fi-product-extra-content .nav-link {
  padding: 15px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--fi-product-muted);
  font-size: 13px;
  font-weight: 750;
}

body#product .fi-product-extra-content .nav-link.active {
  background: transparent;
  border-bottom-color: var(--fi-product-blue);
  color: var(--fi-product-ink);
}

body#product .fi-product-extra-content .product__tab-content {
  padding: 24px;
}

/* =========================================================
   FACTORYOFICINA CROSS-SELL
   ========================================================= */

body#product .fi-office-crosssell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 22px 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 72%);
  border: 1px solid #dbe7f5;
  border-radius: var(--fi-product-radius);
}

body#product .fi-office-crosssell__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(20,99,255,.09);
  color: var(--fi-product-blue);
}

body#product .fi-office-crosssell__icon .material-icons {
  font-size: 26px;
}

body#product .fi-office-crosssell p {
  margin: 5px 0 0;
  color: var(--fi-product-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

body#product .fi-office-crosssell__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #b9cbe3 !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: var(--fi-product-blue) !important;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

body#product .fi-office-crosssell__cta:hover {
  border-color: var(--fi-product-blue) !important;
  background: #f7faff !important;
}

body#product .fi-office-crosssell__cta .material-icons {
  font-size: 17px;
}

/* =========================================================
   RELATED PRODUCTS - SAME CARD LANGUAGE AS CATEGORY V7
   ========================================================= */

body#product .fi-product-related,
body#product .fi-product-footer-modules {
  margin-top: 34px;
}

body#product .fi-product-related .product-miniature,
body#product .fi-product-footer-modules .product-miniature {
  padding: 0 7px 12px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body#product .fi-product-related .product-miniature > .card,
body#product .fi-product-footer-modules .product-miniature > .card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--fi-product-line);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(15,23,42,.035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

@media (hover:hover) {
  body#product .fi-product-related .product-miniature:hover > .card,
  body#product .fi-product-footer-modules .product-miniature:hover > .card {
    transform: translateY(-3px);
    border-color: #cbd7e5;
    box-shadow: 0 16px 38px rgba(15,23,42,.09);
  }
}

body#product .fi-product-related .product-miniature__image-container,
body#product .fi-product-footer-modules .product-miniature__image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
  padding: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

body#product .fi-product-related .product-miniature__image,
body#product .fi-product-footer-modules .product-miniature__image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* =========================================================
   IMAGE MODAL
   ========================================================= */

body#product .fi-product-images-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(15,23,42,.22);
}

body#product .fi-product-images-modal .modal-body {
  position: relative;
  padding: 18px;
  background: #fff;
}

body#product .fi-product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  padding: 10px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(15,23,42,.12);
}

body#product .fi-product-modal-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(78vh, 860px);
  padding: 22px 56px;
}

body#product .fi-product-modal-stage picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

body#product .fi-product-modal-image {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 78vh !important;
  object-fit: contain !important;
}

body#product .fi-product-images-modal .carousel-control-prev,
body#product .fi-product-images-modal .carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  bottom: auto;
  margin-top: -24px;
  border-radius: 50%;
  background: rgba(15,23,42,.72);
  opacity: .9;
}

body#product .fi-product-images-modal .carousel-control-prev {
  left: 8px;
}

body#product .fi-product-images-modal .carousel-control-next {
  right: 8px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199.98px) {
  body#product .fi-product-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    gap: 24px;
  }

  body#product .fi-product-image-stage {
    min-height: 470px;
  }

  body#product .fi-product-data-card {
    position: static;
  }
}

@media (max-width: 991.98px) {
  body#product:has(.fi-product-page) .wrapper > .container,
  body#product:has(.fi-product-page) .wrapper > .container-fluid {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body#product .fi-product-page {
    padding-bottom: 48px;
  }

  body#product .fi-product-hero {
    grid-template-columns: 1fr;
  }

  body#product .fi-product-image-stage {
    min-height: 0;
  }

  body#product .fi-product-buybox {
    padding: 24px;
  }

  body#product .fi-product-information {
    grid-template-columns: 1fr;
  }

  body#product .fi-product-trust {
    grid-template-columns: 1fr 1fr 1fr;
  }

  body#product .fi-office-crosssell {
    grid-template-columns: auto 1fr;
  }

  body#product .fi-office-crosssell__cta {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 767.98px) {
  body#product:has(.fi-product-page) .wrapper > .container,
  body#product:has(.fi-product-page) .wrapper > .container-fluid {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body#product .fi-product-gallery-card {
    padding: 12px;
    border-radius: 15px;
  }

  body#product .fi-product-image-stage {
    padding: 10px;
  }

  body#product .fi-product-buybox {
    padding: 20px 18px;
    border-radius: 15px;
  }

  body#product .fi-product-title {
    font-size: 26px !important;
    line-height: 1.17 !important;
  }

  body#product .product__current-price,
  body#product .fi-product-price-main {
    font-size: 34px !important;
  }

  body#product .fi-product-commerce-signals,
  body#product .fi-product-actions .product__add-to-cart > .mb-3 {
    gap: 7px;
  }

  body#product .fi-product-actions .product__add-to-cart .row {
    flex-wrap: nowrap;
  }

  body#product .fi-product-actions .quantity-button {
    flex: 0 0 112px;
  }

  body#product .fi-product-summary,
  body#product .fi-product-content-card,
  body#product .fi-product-data-card {
    padding: 20px 18px;
    border-radius: 15px;
  }

  body#product .fi-product-summary__content {
    max-height: 175px;
  }

  body#product .fi-product-trust {
    grid-template-columns: 1fr;
  }

  body#product .fi-product-trust__item {
    min-height: 72px;
  }

  body#product .fi-product-description {
    font-size: 14.5px;
  }

  body#product .fi-product-description table,
  body#product .fi-product-description .tabla_caracteristicas,
  body#product .fi-product-description .k-table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
  }

  body#product .fi-product-description table td,
  body#product .fi-product-description table th {
    min-width: 145px;
  }

  body#product .fi-office-crosssell {
    grid-template-columns: 1fr;
    padding: 20px 18px;
  }

  body#product .fi-office-crosssell__cta {
    grid-column: 1;
    width: 100%;
  }

  body#product .fi-product-modal-stage {
    min-height: 70vh;
    padding: 42px 10px 16px;
  }
}

@media (max-width: 420px) {
  body#product .fi-product-actions .product__add-to-cart .row {
    flex-wrap: wrap;
  }

  body#product .fi-product-actions .quantity-button,
  body#product .fi-product-actions .product-actions__button {
    flex: 0 0 100%;
    width: 100%;
  }

  body#product .fi-product-actions .quantity-button .input-group {
    width: 100%;
  }

  body#product .fi-product-thumbnails .thumbnail picture {
    height: 68px;
  }
}

/* =========================================================
   FACTORYINFORMATICA - PRODUCT PAGE V1.1 PILOT
   Visual refinement only. Scope: product page pilot structure.
   Keeps HOME + CATEGORY V7/V7.1 untouched.
   ========================================================= */

body#product .fi-product-buybox {
  position: relative;
  overflow: hidden;
  border-color: #d8e3f0;
  background:
    linear-gradient(180deg, rgba(20,99,255,.035) 0, rgba(20,99,255,0) 128px),
    #fff;
  box-shadow: 0 16px 42px rgba(15,23,42,.075);
}

body#product .fi-product-buybox::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fi-product-blue) 0%, #4b8cff 62%, rgba(75,140,255,.18) 100%);
}

body#product .fi-product-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-bottom: 11px;
  padding: 5px 9px;
  border: 1px solid rgba(20,99,255,.13);
  border-radius: 999px;
  background: rgba(20,99,255,.055);
  letter-spacing: .085em;
}

body#product .fi-product-brand::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fi-product-blue);
  box-shadow: 0 0 0 4px rgba(20,99,255,.08);
}

body#product .fi-product-prices {
  margin-top: 25px;
  padding: 20px;
  border: 1px solid #dce8f6;
  border-radius: 15px;
  background: linear-gradient(135deg, #f7faff 0%, #fbfdff 60%, #fff 100%);
}

body#product .fi-product-price-label {
  color: #53657d;
}

body#product .fi-product-price-tax strong {
  color: #233b5d;
}

body#product .fi-product-actions {
  margin-top: 18px;
  padding-top: 18px;
  border-top-color: #e4ebf4;
}

body#product .fi-product-actions button[data-button-action="add-to-cart"] {
  min-height: 55px;
  background: linear-gradient(135deg, #1463ff 0%, #0f57e8 100%) !important;
  box-shadow: 0 9px 22px rgba(20,99,255,.22) !important;
}

body#product .fi-product-actions button[data-button-action="add-to-cart"]:hover:not(:disabled) {
  background: linear-gradient(135deg, #0f5bed 0%, #0c4fd5 100%) !important;
  box-shadow: 0 12px 28px rgba(20,99,255,.27) !important;
}

body#product .fi-product-summary {
  border-color: #dce7f4;
  background:
    linear-gradient(110deg, rgba(20,99,255,.055) 0%, rgba(20,99,255,.018) 38%, rgba(255,255,255,1) 78%);
  box-shadow: 0 8px 26px rgba(15,23,42,.05);
}

body#product .fi-product-summary::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--fi-product-blue);
}

body#product .fi-product-summary__content::after {
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(250,252,255,.98) 82%);
}

body#product .fi-product-section-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
}

body#product .fi-product-section-kicker::before {
  content: '';
  flex: 0 0 18px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--fi-product-blue);
}

body#product .fi-product-trust__item {
  border-color: #dde7f2;
  background: linear-gradient(180deg, #fbfdff 0%, #f7faff 100%);
  box-shadow: 0 4px 14px rgba(15,23,42,.035);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

@media (hover:hover) {
  body#product .fi-product-trust__item:hover {
    transform: translateY(-2px);
    border-color: #c5d5e8;
    box-shadow: 0 9px 22px rgba(15,23,42,.065);
  }
}

body#product .fi-product-trust__item:first-child .fi-product-trust__icon {
  background: rgba(22,128,93,.09);
  color: var(--fi-product-green);
}

body#product .fi-product-content-card,
body#product .fi-product-data-card {
  border-color: #dde6f1;
  box-shadow: 0 8px 26px rgba(15,23,42,.045);
}

body#product .fi-product-data-card {
  border-top: 3px solid rgba(20,99,255,.78);
}

body#product .fi-office-crosssell {
  border-color: #cfdff2;
  background:
    radial-gradient(circle at 9% 16%, rgba(20,99,255,.10), transparent 23%),
    linear-gradient(135deg, #f4f8ff 0%, #fbfdff 54%, #fff 100%);
  box-shadow: 0 10px 30px rgba(15,23,42,.05);
}

body#product .fi-office-crosssell__icon {
  width: 54px;
  height: 54px;
  background: #fff;
  border: 1px solid rgba(20,99,255,.16);
  box-shadow: 0 7px 18px rgba(20,99,255,.09);
}

body#product .fi-office-crosssell__cta {
  border-color: rgba(20,99,255,.20) !important;
  box-shadow: 0 5px 14px rgba(15,23,42,.04);
}

@media (max-width: 767.98px) {
  body#product .fi-product-prices {
    padding: 17px;
    border-radius: 13px;
  }

  body#product .fi-product-summary::before {
    width: 3px;
  }

  body#product .fi-product-brand {
    padding: 4px 8px;
  }
}

/* Preserve the V1 desktop sticky buy box after V1.1 visual overrides. */
@media (min-width: 1200px) {
  body#product .fi-product-buybox {
    position: sticky;
    top: 116px;
  }
}

/* =========================================================
   FACTORYINFORMATICA - PRODUCT PAGE V1.2 PILOT
   Conversion refinement only. Scope: V1.3 pilot markup (IDs 4311 + 4766).
   ========================================================= */

body#product .fi-product-heading__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 11px;
}

body#product .fi-product-heading__topline .fi-product-brand {
  margin-bottom: 0;
}

body#product .fi-product-condition-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #dbe6f2;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 11.5px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .035em;
}

body#product .fi-product-condition-badge .material-icons {
  font-size: 16px;
}

body#product .fi-product-condition-badge--refurbished,
body#product .fi-product-condition-badge--used {
  border-color: rgba(22,128,93,.22);
  background: rgba(22,128,93,.075);
  color: #0f684c;
}

body#product .fi-product-condition-badge--new {
  border-color: rgba(20,99,255,.20);
  background: rgba(20,99,255,.065);
  color: #0f57df;
}

/* Secondary conversion paths: volume quote + live chat. */
body#product .fi-product-conversion-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 13px 0 2px;
}

body#product .fi-product-volume-cta,
body#product .fi-product-chat-cta {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid #d9e5f2;
  border-radius: 13px;
  background: #fff;
  color: #22324a;
  text-align: left;
  text-decoration: none !important;
  box-shadow: 0 3px 12px rgba(15,23,42,.035);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

body#product .fi-product-chat-cta {
  width: 100%;
  cursor: pointer;
  font: inherit;
}

body#product .fi-product-volume-cta:hover,
body#product .fi-product-volume-cta:focus-visible {
  border-color: rgba(20,99,255,.32);
  background: #f8fbff;
  color: #17345d;
  box-shadow: 0 7px 18px rgba(20,99,255,.09);
  transform: translateY(-1px);
}

body#product .fi-product-chat-cta:hover,
body#product .fi-product-chat-cta:focus-visible {
  border-color: rgba(22,128,93,.30);
  background: #f8fcfa;
  color: #173d31;
  box-shadow: 0 7px 18px rgba(22,128,93,.08);
  transform: translateY(-1px);
}

body#product .fi-product-conversion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(20,99,255,.075);
  color: var(--fi-product-blue);
}

body#product .fi-product-chat-cta .fi-product-conversion-icon {
  background: rgba(22,128,93,.08);
  color: var(--fi-product-green);
}

body#product .fi-product-conversion-icon .material-icons {
  font-size: 20px;
}

body#product .fi-product-volume-cta strong,
body#product .fi-product-volume-cta small,
body#product .fi-product-chat-cta strong,
body#product .fi-product-chat-cta small {
  display: block;
}

body#product .fi-product-volume-cta strong,
body#product .fi-product-chat-cta strong {
  margin-bottom: 2px;
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 800;
}

body#product .fi-product-volume-cta small,
body#product .fi-product-chat-cta small {
  color: #68788d;
  font-size: 10.75px;
  line-height: 1.25;
}

body#product .fi-product-conversion-arrow {
  color: #8aa0bc;
  font-size: 18px;
}

/* Keep payment trust visible but subordinate to the primary CTA. */
body#product .fi-product-actions #ps_checkout-payment-method-logo-block-container {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  margin: 9px 0 2px !important;
  padding: 8px 10px !important;
  border: 1px solid #e4ebf3;
  border-radius: 11px;
  background: #fafcff;
}

body#product .fi-product-actions #ps_checkout-payment-method-logo-block-title {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  margin: 0 !important;
  color: #5e6f84;
  font-size: 10.75px !important;
  line-height: 1.1;
  font-weight: 750;
  white-space: nowrap;
}

body#product .fi-product-actions #ps_checkout-payment-method-logo-block-img {
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
}

body#product .fi-product-actions #ps_checkout-payment-method-logos-container {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  min-width: 0;
}

body#product .fi-product-actions #ps_checkout-payment-method-logos-container > div {
  display: inline-flex !important;
  align-items: center;
}

body#product .fi-product-actions #ps_checkout-payment-method-logos-container .paypal-mark {
  min-height: 25px !important;
  margin: 1px 2px !important;
  padding: 2px 5px !important;
  border-color: #e0e6ee !important;
  box-shadow: none !important;
}

body#product .fi-product-actions #ps_checkout-payment-method-logos-container .paypal-mark img,
body#product .fi-product-actions #ps_checkout-payment-method-logos-container .cards-logo {
  width: auto !important;
  height: 16px !important;
  max-height: 16px !important;
}

body#product .fi-product-actions #ps_checkout-payment-method-logos-container .paypal-button-text {
  font-size: 10px !important;
}

/* Mobile purchase reminder. It sits above the Tawk bubble and only appears
   after the main Add to cart button leaves the viewport (JS controlled). */
body#product .fi-product-mobile-sticky {
  display: none;
}

@media (max-width: 767.98px) {
  body#product .fi-product-conversion-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body#product .fi-product-volume-cta,
  body#product .fi-product-chat-cta {
    min-height: 58px;
  }

  body#product .fi-product-actions #ps_checkout-payment-method-logo-block-container {
    gap: 5px;
    padding: 7px 8px !important;
  }

  body#product .fi-product-actions #ps_checkout-payment-method-logo-block-title {
    flex: 0 0 100%;
  }

  body#product .fi-product-mobile-sticky {
    position: fixed;
    right: 12px;
    bottom: 76px;
    left: 12px;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 9px 9px 13px;
    border: 1px solid rgba(20,99,255,.16);
    border-radius: 15px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 14px 34px rgba(15,23,42,.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  body#product .fi-product-mobile-sticky.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  body#product .fi-product-mobile-sticky__price {
    min-width: 0;
  }

  body#product .fi-product-mobile-sticky__price strong,
  body#product .fi-product-mobile-sticky__price small {
    display: block;
  }

  body#product .fi-product-mobile-sticky__price strong {
    color: #111d2d;
    font-size: 17px;
    line-height: 1.05;
    font-weight: 850;
  }

  body#product .fi-product-mobile-sticky__price small {
    margin-top: 3px;
    overflow: hidden;
    color: #6a788a;
    font-size: 9.5px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body#product .fi-product-mobile-sticky__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 auto;
    min-width: 106px;
    min-height: 44px;
    margin: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #1463ff 0%, #0f57e8 100%) !important;
    box-shadow: 0 7px 17px rgba(20,99,255,.22) !important;
    font-size: 12px;
    font-weight: 800;
  }

  body#product .fi-product-mobile-sticky__cta .material-icons {
    font-size: 18px;
  }

  body#product .fi-product-page {
    padding-bottom: 118px;
  }
}

@media (max-width: 380px) {
  body#product .fi-product-mobile-sticky {
    right: 8px;
    left: 8px;
  }

  body#product .fi-product-mobile-sticky__cta {
    min-width: 92px;
  }

  body#product .fi-product-mobile-sticky__price small {
    max-width: 150px;
  }
}

/* ============================================================
 * FACTORYINFORMATICA PRODUCT PILOT V1.2.1
 * Conversion CTAs: stronger visual presence without competing
 * with the primary Add to cart button. V1.3 dual pilot.
 * ============================================================ */
body#product .fi-product-conversion-options {
  gap: 12px;
  margin-top: 16px;
}

body#product .fi-product-volume-cta,
body#product .fi-product-chat-cta {
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 78px;
  padding: 14px 16px;
  border-width: 1px;
  border-radius: 14px;
  box-shadow: 0 5px 16px rgba(15,23,42,.05);
}

body#product .fi-product-volume-cta {
  border-color: rgba(20,99,255,.22);
  background: linear-gradient(135deg, rgba(20,99,255,.055), #fff 65%);
}

body#product .fi-product-chat-cta {
  border-color: rgba(22,128,93,.22);
  background: linear-gradient(135deg, rgba(22,128,93,.055), #fff 65%);
}

body#product .fi-product-conversion-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

body#product .fi-product-conversion-icon .material-icons {
  font-size: 23px;
}

body#product .fi-product-volume-cta strong,
body#product .fi-product-chat-cta strong {
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.01em;
}

body#product .fi-product-volume-cta small,
body#product .fi-product-chat-cta small {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
}

body#product .fi-product-conversion-arrow {
  font-size: 20px;
}

@media (max-width: 767.98px) {
  body#product .fi-product-conversion-options {
    gap: 10px;
  }

  body#product .fi-product-volume-cta,
  body#product .fi-product-chat-cta {
    min-height: 72px;
    padding: 12px 14px;
  }
}

/* =========================================================
   FACTORYINFORMATICA - HEADER / MENU V1
   2026-08-23
   Objetivo:
   - Navegacion horizontal comercial y curada.
   - Catalogo lateral completo, mas claro y mantenible.
   - Buscador prioritario.
   - Preparar hueco correcto para futuro logo sin escalar imagen.
   ========================================================= */

:root {
  --fi-header-ink: #0f172a;
  --fi-header-muted: #64748b;
  --fi-header-line: #e2e8f0;
  --fi-header-soft: #f8fafc;
  --fi-header-blue: #1463ff;
  --fi-header-blue-dark: #0f52d9;
  --fi-header-green: #16805d;
  --fi-header-green-soft: #ecf8f3;
}

header#header {
  background: #fff;
}

header#header .header-top {
  border-bottom: 1px solid #edf1f5;
  background: #fbfcfe;
}

header#header .header-top-desktop {
  min-height: 38px;
  align-items: center;
}

header#header .header-top,
header#header .header-top a,
header#header .header-top span {
  color: #526070;
  font-size: 13px;
}

header#header .header-top a:hover {
  color: var(--fi-header-blue);
}

header#header .header-bottom {
  background: #fff;
  border-bottom: 1px solid var(--fi-header-line);
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.035);
}

header#header .header-bottom__container,
header#header .header-top > .container-md {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

header#header .header-bottom__row {
  min-height: 78px;
  flex-wrap: nowrap;
  align-items: center !important;
  gap: 12px;
}

/* Orden limpio de la fila principal. */
header#header .fi-catalog-toggle-wrap { order: 0; }
header#header .fi-header-logo { order: 1; }
header#header .fi-main-menu { order: 2; }
header#header #_desktop_search { order: 3; }
header#header .search__mobile { order: 4; }
header#header #_mobile_user_info { order: 5; }
header#header #_mobile_cart { order: 6; }

/* ---------------------------------------------------------
   Logo actual: dimensionado real, sin transform/scale.
   El futuro logo podra sustituirse manteniendo este hueco.
   --------------------------------------------------------- */

header#header .fi-header-logo {
  flex: 0 0 auto;
  margin-right: 8px;
}

header#header .fi-header-logo .navbar-brand {
  display: flex !important;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
}

header#header .fi-header-logo .navbar-brand img.logo {
  display: block;
  width: auto;
  max-width: 208px;
  max-height: 54px;
  height: auto;
  transform: none !important;
  transform-origin: initial !important;
  object-fit: contain;
}

/* ---------------------------------------------------------
   Boton Catalogo desktop/tablet
   --------------------------------------------------------- */

header#header .fi-catalog-toggle-wrap {
  padding-right: 16px;
  margin-right: 2px !important;
  border-right: 1px solid var(--fi-header-line);
}

header#header .fi-catalog-toggle.header-block__action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  width: auto !important;
  height: auto !important;
  padding: 0 14px !important;
  border: 1px solid #dbe3ed !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--fi-header-ink) !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

header#header .fi-catalog-toggle.header-block__action-btn::before,
header#header .fi-catalog-toggle.header-block__action-btn::after {
  display: none !important;
}

header#header .fi-catalog-toggle .header-block__icon {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 23px !important;
  line-height: 1;
  color: var(--fi-header-blue);
  background: transparent !important;
  box-shadow: none !important;
}

header#header .fi-catalog-toggle .header-block__title {
  display: inline-block !important;
  margin: 0 !important;
  color: inherit;
  font-size: 14px !important;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none !important;
}

header#header .fi-catalog-toggle:hover,
header#header .fi-catalog-toggle:focus-visible,
header#header .fi-catalog-toggle.is-open {
  border-color: #b9ccff !important;
  background: #f3f7ff !important;
  color: var(--fi-header-blue-dark) !important;
  transform: translateY(-1px);
}

/* ---------------------------------------------------------
   Buscador: elemento prioritario de conversion/navegacion.
   --------------------------------------------------------- */

@media (min-width: 768px) {
  header#header #_desktop_search {
    flex: 0 1 360px;
    min-width: 250px;
    margin-left: auto !important;
  }

  header#header #search_widget,
  header#header .search-widgets {
    width: 100%;
    max-width: none;
  }

  header#header #search_widget form,
  header#header .search-widgets form {
    position: relative;
  }

  header#header #search_widget .js-search-input,
  header#header .search-widgets .js-search-input {
    min-height: 44px;
    padding-left: 44px;
    padding-right: 36px;
    border: 1px solid #dbe3ed;
    border-radius: 12px;
    background: var(--fi-header-soft);
    color: var(--fi-header-ink);
    box-shadow: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
  }

  header#header #search_widget .js-search-input:focus,
  header#header .search-widgets .js-search-input:focus {
    border-color: #9ebcff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(20, 99, 255, .08);
    outline: none;
  }

  header#header #search_widget .search,
  header#header .search-widgets .search {
    left: 14px;
    color: var(--fi-header-blue);
  }
}

/* ---------------------------------------------------------
   Navegacion horizontal curada (>= 1400px)
   --------------------------------------------------------- */

header#header .fi-main-menu {
  min-width: 0;
  padding: 0 !important;
}

header#header .fi-desktop-menu {
  position: static;
}

header#header .fi-desktop-menu__tree {
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin: 0;
  padding: 0;
}

header#header .fi-desktop-menu__item {
  position: static;
  margin: 0;
}

header#header .fi-desktop-menu__link {
  display: inline-flex;
  align-items: center;
  min-height: 78px;
  padding: 0 10px !important;
  border-radius: 8px;
  color: #243247 !important;
  font-size: 14px !important;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
  transition: color .18s ease, background .18s ease;
}

header#header .fi-desktop-menu__link:hover,
header#header .fi-desktop-menu__item.current > .fi-desktop-menu__link {
  color: var(--fi-header-blue) !important;
  background: #f6f9ff;
}

header#header .fi-desktop-menu__item--refurb > .fi-desktop-menu__link {
  color: var(--fi-header-green) !important;
}

header#header .fi-desktop-menu__item--refurb > .fi-desktop-menu__link::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--fi-header-green);
  box-shadow: 0 0 0 4px rgba(22, 128, 93, .09);
}

header#header .fi-desktop-menu__panel {
  padding: 0;
  border: 0;
  border-top: 1px solid var(--fi-header-line);
  background: #fff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .10) !important;
}

header#header .fi-desktop-menu__panel > .container {
  max-width: 1180px;
  padding: 24px 28px 28px;
}

header#header .fi-desktop-menu__panel-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 10px;
  border-bottom: 1px solid #edf1f5;
}

header#header .fi-desktop-menu__panel-head strong {
  color: var(--fi-header-ink);
  font-size: 17px;
  font-weight: 800;
}

header#header .fi-desktop-menu__panel-head span {
  color: var(--fi-header-muted);
  font-size: 13px;
}

header#header .fi-desktop-submenu-grid {
  margin: 0;
}

header#header .fi-desktop-submenu-grid > li {
  padding: 2px 8px;
}

header#header .fi-desktop-submenu-grid .main-menu__tree__link.dropdown-item {
  display: block;
  min-height: 0;
  padding: 10px 12px;
  border-radius: 9px;
  color: #334155;
  font-size: 14px !important;
  line-height: 1.3;
  font-weight: 600;
  white-space: normal;
}

header#header .fi-desktop-submenu-grid .main-menu__tree__link.dropdown-item:hover {
  color: var(--fi-header-blue);
  background: #f4f7fb;
}

/* ---------------------------------------------------------
   Catalogo lateral / offcanvas
   --------------------------------------------------------- */

header#header .fi-catalog-offcanvas {
  width: min(420px, 94vw);
  max-width: 100%;
  border-right: 0;
  background: #fff;
  box-shadow: 18px 0 46px rgba(15, 23, 42, .16);
}

header#header .fi-catalog-offcanvas__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--fi-header-line);
  background: #fff;
}

header#header .fi-catalog-offcanvas__header-left {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
}

header#header .fi-catalog-offcanvas__back .js-back-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  padding: 0 8px;
  color: var(--fi-header-ink);
  font-size: 13px;
  font-weight: 700;
}

header#header .fi-catalog-offcanvas__brand {
  display: inline-flex;
  align-items: center;
  max-width: 205px;
}

header#header .fi-catalog-offcanvas__brand img {
  display: block;
  width: auto;
  max-width: 205px;
  max-height: 47px;
  height: auto;
  object-fit: contain;
}

header#header .fi-catalog-offcanvas__close {
  flex: 0 0 auto;
  margin: 0;
}

header#header .fi-catalog-offcanvas__intro {
  padding: 22px 20px 18px;
  background:
    radial-gradient(circle at 92% 0%, rgba(20, 99, 255, .12), transparent 42%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  border-bottom: 1px solid #edf1f5;
}

header#header .fi-catalog-offcanvas__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--fi-header-blue);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

header#header .fi-catalog-offcanvas__intro strong {
  display: block;
  color: var(--fi-header-ink);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

header#header .fi-catalog-offcanvas__intro p {
  margin: 7px 0 0;
  color: var(--fi-header-muted);
  font-size: 13px;
  line-height: 1.5;
}

header#header .fi-catalog-offcanvas__body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 12px 6px;
}

header#header .fi-catalog-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

header#header .fi-catalog-menu__item {
  position: relative;
  margin: 2px 0;
  border-radius: 12px;
}

header#header .fi-catalog-menu__link {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  min-height: 54px;
  padding: 7px 52px 7px 8px !important;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #27364a !important;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

header#header .fi-catalog-menu__link:hover,
header#header .fi-catalog-menu__link:focus-visible,
header#header .fi-catalog-menu__item.current > .fi-catalog-menu__link {
  border-color: #e1e8f1;
  background: #f7f9fc;
  color: var(--fi-header-blue) !important;
}

header#header .fi-catalog-menu__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #eef4ff;
  color: var(--fi-header-blue);
}

header#header .fi-catalog-menu__icon .material-icons {
  font-size: 22px;
  line-height: 1;
}

header#header .fi-catalog-menu__item--refurb > .fi-catalog-menu__link .fi-catalog-menu__icon {
  background: var(--fi-header-green-soft);
  color: var(--fi-header-green);
}

header#header .fi-catalog-menu__item--link .fi-catalog-menu__icon {
  background: #f1f5f9;
  color: #475569;
}

header#header .fi-catalog-menu__item--link {
  margin-top: 8px;
}

header#header .fi-catalog-menu__item--link:first-of-type {
  border-top: 1px solid #edf1f5;
  padding-top: 8px;
}

header#header .fi-catalog-menu__label {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  white-space: normal;
}

header#header .fi-catalog-menu__child-toggle {
  position: absolute;
  top: 50%;
  right: 5px;
  z-index: 3;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
}

header#header .fi-catalog-menu__child-toggle:hover,
header#header .fi-catalog-menu__child-toggle:focus-visible {
  background: #eef2f7;
  color: var(--fi-header-blue);
}

header#header .fi-catalog-menu__child-toggle .material-icons {
  font-size: 22px;
}

/* Niveles internos: menos decoracion, mas lectura. */
header#header .fi-catalog-menu--level-2 .fi-catalog-menu__link,
header#header .fi-catalog-menu--level-3 .fi-catalog-menu__link,
header#header .fi-catalog-menu--level-1 .fi-catalog-menu__link {
  min-height: 48px;
  padding-left: 14px !important;
}

header#header .fi-catalog-menu__level-title {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0 0 8px;
  padding: 0 12px;
  border-radius: 11px;
  background: #f3f6fa;
  color: var(--fi-header-ink);
  font-size: 15px;
  font-weight: 800;
}

header#header .fi-catalog-offcanvas__footer {
  margin-top: auto;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--fi-header-line);
  background: #fbfcfe;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (min-width: 1400px) {
  header#header .header-bottom__container,
  header#header .header-top > .container-md {
    padding-left: 28px;
    padding-right: 28px;
  }

  header#header .fi-main-menu {
    flex: 1 1 auto;
  }

  header#header #_desktop_search {
    flex-basis: 320px;
  }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
  header#header .header-bottom__container,
  header#header .header-top > .container-md {
    padding-left: 24px;
    padding-right: 24px;
  }

  header#header .fi-main-menu {
    display: none !important;
  }

  header#header #_desktop_search {
    flex: 0 1 460px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  header#header .header-bottom__container,
  header#header .header-top > .container-md {
    padding-left: 18px;
    padding-right: 18px;
  }

  header#header .header-bottom__row {
    min-height: 70px;
  }

  header#header .fi-main-menu {
    order: 0;
  }

  header#header .fi-header-logo {
    order: 1;
  }

  header#header #_desktop_search {
    order: 2;
    flex: 1 1 320px;
    min-width: 210px;
  }

  header#header .fi-header-logo .navbar-brand img.logo {
    max-width: 180px;
    max-height: 48px;
  }
}

@media (max-width: 767.98px) {
  header#header .header-bottom__container {
    padding-left: 10px;
    padding-right: 10px;
  }

  header#header .header-bottom__row {
    min-height: 64px;
    gap: 2px;
  }

  header#header .fi-main-menu {
    order: 0;
    flex: 0 0 auto;
  }

  header#header .fi-header-logo {
    order: 1;
    flex: 1 1 auto;
    margin-left: 2px !important;
    margin-right: 2px !important;
  }

  header#header .fi-header-logo .navbar-brand img.logo {
    max-width: 154px;
    max-height: 42px;
  }

  header#header .search__mobile { order: 2; }
  header#header #_mobile_user_info { order: 3; }
  header#header #_mobile_cart { order: 4; }

  header#header .header-block__action-btn {
    min-width: 40px;
  }

  header#header .fi-mobile-menu-toggle .header-block__icon,
  header#header .search__mobile .header-block__icon,
  header#header #_mobile_user_info .header-block__icon,
  header#header #_mobile_cart .header-block__icon {
    font-size: 23px !important;
  }

  header#header .fi-catalog-offcanvas__intro {
    padding: 18px 16px 15px;
  }

  header#header .fi-catalog-offcanvas__intro strong {
    font-size: 20px;
  }

  header#header .fi-catalog-offcanvas__body {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 390px) {
  header#header .fi-header-logo .navbar-brand img.logo {
    max-width: 132px;
    max-height: 38px;
  }
}


/* =========================================================
 * FACTORYINFORMATICA - HEADER / MENU V1.1
 * Ajustes tras validacion visual real:
 * - logo y navegacion horizontal con mayor presencia;
 * - X del buscador correctamente posicionada/oculta en vacio;
 * - miniaturas reales de categoria con fallback iconografico;
 * - contacto visible en la cabecera del catalogo movil.
 * ========================================================= */

@media (min-width: 1400px) {
  header#header .header-bottom__row {
    min-height: 88px;
  }

  header#header .fi-header-logo {
    margin-right: 12px;
  }

  header#header .fi-header-logo .navbar-brand img.logo {
    max-width: 260px;
    max-height: 70px;
  }

  header#header .fi-desktop-menu__link {
    min-height: 88px;
    padding-left: 12px !important;
    padding-right: 12px !important;
    font-size: 16px !important;
    font-weight: 750;
  }

  header#header #_desktop_search {
    flex-basis: 330px;
  }
}

/* El icono clear de ps_searchbar pertenece al propio formulario. En V1
   podia caer bajo la barra. Lo anclamos dentro y solo se muestra con texto. */
@media (min-width: 768px) {
  header#header #search_widget .clear,
  header#header .search-widgets .clear {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    line-height: 1 !important;
    font-size: 20px !important;
    color: #64748b !important;
    cursor: pointer;
    z-index: 2;
  }

  header#header #search_widget .js-search-input:placeholder-shown ~ .clear,
  header#header .search-widgets .js-search-input:placeholder-shown ~ .clear {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  header#header #search_widget .js-search-input:not(:placeholder-shown) ~ .clear,
  header#header .search-widgets .js-search-input:not(:placeholder-shown) ~ .clear {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* Miniatura real de categoria en el primer nivel del catalogo. */
header#header .fi-catalog-menu__thumb {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e3e9f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .045);
}

header#header .fi-catalog-menu__thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  background: #fff;
}

header#header .fi-catalog-menu__thumb-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: var(--fi-header-blue);
}

header#header .fi-catalog-menu__thumb-fallback .material-icons {
  font-size: 23px;
}

header#header .fi-catalog-menu__thumb.is-fallback .fi-catalog-menu__thumb-img {
  display: none;
}

header#header .fi-catalog-menu__thumb.is-fallback .fi-catalog-menu__thumb-fallback {
  display: inline-flex;
}

header#header .fi-catalog-menu__thumb--refurb.is-fallback .fi-catalog-menu__thumb-fallback {
  background: var(--fi-header-green-soft);
  color: var(--fi-header-green);
}

header#header .fi-catalog-menu__link {
  min-height: 60px;
}

/* Contacto visible antes de entrar al arbol: especialmente importante en movil,
   donde la barra superior con telefono/email no se muestra. */
header#header .fi-catalog-offcanvas__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding: 10px 12px;
  border: 1px solid #dbe6f5;
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  color: var(--fi-header-ink);
  text-decoration: none !important;
  box-shadow: 0 5px 14px rgba(15, 23, 42, .045);
}

header#header .fi-catalog-offcanvas__contact:hover,
header#header .fi-catalog-offcanvas__contact:focus-visible {
  border-color: #b9ccff;
  color: var(--fi-header-blue-dark);
  background: #fff;
}

header#header .fi-catalog-offcanvas__contact-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eaf2ff;
  color: var(--fi-header-blue);
}

header#header .fi-catalog-offcanvas__contact-icon .material-icons {
  font-size: 21px;
}

header#header .fi-catalog-offcanvas__contact-copy {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  line-height: 1.2;
}

header#header .fi-catalog-offcanvas__contact-copy strong {
  font-size: 13.5px;
  font-weight: 800;
}

header#header .fi-catalog-offcanvas__contact-copy small {
  margin-top: 2px;
  color: var(--fi-header-muted);
  font-size: 11.5px;
}

header#header .fi-catalog-offcanvas__contact-arrow {
  flex: 0 0 auto;
  font-size: 19px;
  color: #64748b;
}

@media (min-width: 768px) and (max-width: 1399.98px) {
  header#header .fi-header-logo .navbar-brand img.logo {
    max-width: 205px;
    max-height: 58px;
  }
}

@media (max-width: 767.98px) {
  header#header .fi-header-logo .navbar-brand img.logo {
    max-width: 166px;
    max-height: 46px;
  }

  header#header .fi-catalog-offcanvas__intro {
    padding-bottom: 16px;
  }
}

@media (max-width: 390px) {
  header#header .fi-header-logo .navbar-brand img.logo {
    max-width: 144px;
    max-height: 41px;
  }
}


/* =========================================================
 * FACTORYINFORMATICA - HEADER / MENU V1.3
 * Correcciones de validacion real:
 * - buscador con layout grid: lupa/clear siempre dentro del campo;
 * - offcanvas con scroll completo;
 * - sticky de compra oculto mientras el catalogo movil esta abierto.
 * ========================================================= */

/* En desktop/tablet el formulario es una rejilla de una sola celda.
   Input, lupa y clear comparten esa celda, evitando que la lupa pueda
   saltar por encima del campo en resoluciones anchas. */
@media (min-width: 768px) {
  header#header #search_widget form,
  header#header .search-widgets form {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 44px !important;
  }

  header#header #search_widget .js-search-input,
  header#header .search-widgets .js-search-input {
    grid-area: 1 / 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    position: relative !important;
    z-index: 1 !important;
  }

  header#header #search_widget .search.js-search-icon,
  header#header .search-widgets .search.js-search-icon,
  header#header #search_widget i.search,
  header#header .search-widgets i.search {
    grid-area: 1 / 1 !important;
    position: static !important;
    align-self: center !important;
    justify-self: start !important;
    margin: 0 0 0 14px !important;
    transform: none !important;
    line-height: 1 !important;
    font-size: 21px !important;
    color: var(--fi-header-blue) !important;
    pointer-events: none !important;
    z-index: 3 !important;
  }

  header#header #search_widget .clear,
  header#header .search-widgets .clear {
    grid-area: 1 / 1 !important;
    position: static !important;
    align-self: center !important;
    justify-self: end !important;
    margin: 0 12px 0 0 !important;
    transform: none !important;
    line-height: 1 !important;
    z-index: 4 !important;
  }
}

header#header .fi-catalog-offcanvas {
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

header#header .fi-catalog-offcanvas__header,
header#header .fi-catalog-offcanvas__intro,
header#header .fi-catalog-offcanvas__footer {
  flex: 0 0 auto;
}

header#header .fi-catalog-offcanvas__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: 22px;
}

@media (max-width: 767.98px) {
  body.fi-catalog-open#product .fi-product-mobile-sticky,
  body.fi-catalog-open .fi-product-mobile-sticky {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

