a{
    text-decoration: none;
    transition: all 0.7s ease;
}

.bg__breadcrumb{
    /* background: var(--Celeste, #F7F9FC); */
    padding: 10px 0;
}
.breadcrumb-item{
    color: var(--color-black);
    font-family: var(--font-primary);
    font-size: 13px;
    font-style: normal;
    font-weight: var(--font-weight-medium);
    line-height: normal;
}

.breadcrumb-item .active{
    color: grey !important;
    font-family: var(--font-primary);
    font-size: 13px !important;
    font-style: normal;
    font-weight: var(--font-weight-light) !important;
    line-height: normal;
}

.breadcrumb-titulo{
    color: var(--color-secondary);
    font-family: var(--font-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: var(--font-weight-regular);
    line-height: normal;
    text-transform: uppercase;          
}

.titulo-secciones{
   font-family: 'Open Sans';
    font-weight: 700;
    font-style: Bold;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.subtitulo-inicio {
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 16px;
    line-height: 170%; /* antes 150% */
    letter-spacing: 0.5px; /* sutilmente más separado */
    color: #E20000;
    margin-bottom: 10px; /* pequeño espacio inferior */
    text-transform: uppercase;
}

.titulo-inicio {
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 36px; /* antes 32px */
    line-height: 130%; /* más espacio entre líneas */
    letter-spacing: 0.5px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.descripcion-inicio {
    font-family: 'Open Sans';
    font-weight: 400;
    font-size: 17px; /* un poco más grande */
    line-height: 170%; /* más respiración */
    letter-spacing: 0.3px;
    color: #FFFFFF;
    margin-bottom: 30px; /* separa del botón */
}


/* Base styles para todos los botones */
.btn {
    font-family: var(--font-primary);
    font-size: 16px;
    font-style: normal;
    font-weight: var(--font-weight-medium);
    line-height: normal;
    letter-spacing: 1px;
    padding: 10px 20px;
    border: 1px solid var(--color-primary);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    display: inline-block;
    text-decoration: none;
    user-select: none;
}

/* Botón Principal: fondo primary, texto blanco */
.btn__principal {
    font-family: var(--font-secondary);
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn__principal:hover,
.btn__principal:focus {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn__principal:active {
    transform: translateY(0);
}

/* Botón Blanco: fondo blanco, texto primary */
.btn__white {
    font-family: var(--font-secondary);
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn__white:hover,
.btn__white:focus {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn__white:active {
    transform: translateY(0);
}









/* Carousel Styles */
.carousel-item {
    height: 680px;
    background-size: cover;
    background-position: left;
    position: relative;
}

/* Overlay para añadir opacidad al carousel */
.carousel-item::before,
.carousel-video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 1;
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    /* padding-left: 10%; */
    z-index: 2; /* Asegurar que el contenido esté por encima del overlay */
}

.carousel__titulo {
    font-size: 45px;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #001052; /* Cambiado a blanco para mejor contraste con el overlay */
}

.carousel__descripcion {
    font-size: 1.2rem;
    color: #E20000; /* Cambiado a blanco para mejor contraste con el overlay */
    max-width: 80%;
}


.empresa__descripcion{
    font-family: 'Open Sans';
font-weight: 400;
font-style: 'Regular';
font-size: 16px;
color: #000;
line-height: 150%;
letter-spacing: 0%;

}


.home-image{
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;
    min-height:300px;
}

.texto-rojo{
    font-family: 'Open Sans';
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    color: #E20000;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;
}

.texto-azul{
    font-family: 'Open Sans';
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    color: #001052;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;
}


.contenido__descripcion {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    font-size: 20px;
    font-style: normal;
    line-height: 130%; /* 31.2px */
    color: var(--color-black);
}


/* ===== PÁGINA DE NOVEDADES ===== */
      /* <!--noticas--> */
  .card-titulo{
    font-family: 'Open Sans';
    font-weight: 700;
    font-style: Bold;
    font-size: 14px;
    text-transform: uppercase;
    color: #001052;
    line-height: 150%;
    letter-spacing: 0%;

    }
    .card-subtitulo{
    font-family: 'Open Sans';
    font-weight: 400;
    font-style: 'Regular';
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
     color: #000000;   
    }
    .card-texto{
   font-family: 'Open Sans';
    font-weight: 400;
    font-style: 'Regular';
    font-size: 16px;
    color: #000000;   
    line-height: 150%;
    letter-spacing: 0%;

    }
    
    /* Estilos para el efecto hover con sombra */
    .noticia-card {
        transition: all 0.3s ease-in-out;
        overflow: hidden;
        margin-bottom: 20px;
    }
    
    .noticia-card:hover {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        transform: translateY(-5px);
    }
    
    .noticia-link {
        text-decoration: none;
        color: inherit;
        display: block;
    }
    
    .noticia-link:hover {
        color: inherit;
        text-decoration: none;
    }


    

.list-group-item {
  background-color: #f8f9fa;
  transition: all 0.2s ease;
}

.menu-novedades {
  font-family: 'Open Sans';
    font-weight: 400;
    font-style: 'Regular';
    font-size: 16px;
    color: #00000080;
    line-height: 150%;
    letter-spacing: 0%;

}

.list-group-item:hover {
  background-color: #e9ecef;
}

.badge {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
}
/* ===== PÁGINA DE EMPRESA ===== */
.bg-grey{
    background-color: #F7F9FC;
    padding: 50px 0;
}
.bg__card {
    background-color: #fff;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra verticalmente */
    align-items: center;     /* centra horizontalmente */
    text-align: center;      /* centra el texto */
    border-radius: 12px;     /* opcional, mejora el diseño */
    padding: 2rem;           /* asegura espacio interno */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* opcional: sombra sutil */
}

.card__titulo {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 20px 0 10px 0;
}

.card__texto {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    color: #1A1A1A;
    line-height: 1.6;
}




/* servicios */
.servicio-texto {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    font-size: 16px;
    font-style: normal;
    line-height: 130%; /* 20.8px */
    color: var(--color-black);
    margin-top: 20px;
}

.custom-list ul {
    list-style-type: none;
    padding: 0;
}

.custom-list ul li {
    display: flex; /* Para alinear el ícono y el texto en línea */
    align-items: center; /* Para centrar verticalmente el contenido */
    margin-bottom: 10px; /* Espacio entre cada elemento de la lista */
}

.custom-list ul li::before {
    content: ''; /* Contenido generado antes del texto del li */
    display: inline-block; /* Convertir en un bloque en línea */
    width: 24px; /* Ancho del ícono */
    height: 24px; /* Altura del ícono */
    margin-right: 8px; /* Espacio entre el ícono y el texto */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cg clip-path='url(%23clip0_4006_1047)'%3E%3Cpath d='M5.99992 7.99998L7.33325 9.33331L9.99992 6.66665M14.6666 7.99998C14.6666 11.6819 11.6818 14.6666 7.99992 14.6666C4.31802 14.6666 1.33325 11.6819 1.33325 7.99998C1.33325 4.31808 4.31802 1.33331 7.99992 1.33331C11.6818 1.33331 14.6666 4.31808 14.6666 7.99998Z' stroke='%23D20F26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_4006_1047'%3E%3Crect width='16' height='16' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    background-repeat: no-repeat; /* Evitar la repetición del ícono */
    padding: 10px;
}





/* ===== PÁGINA DE PRODUCTO ===== */

.menu-categoria {
        font-family: 'Open Sans';
        font-weight: 400;
        font-style: 'Regular';
        font-size: 18px;
        text-decoration: none;
      color: #000000;
        line-height: normal;
        letter-spacing: 0%;

    }

.menu-categoria:hover {
        color: #E74C3C; /* Cambia el color al pasar el mouse */
        text-decoration: none; /* Opcional: elimina el subrayado al pasar el mouse */
        
    }







/* ===== CARD DE PRODUCTO ===== */
.producto-item {
  --pf-red: #E20000;
  --pf-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  transition: transform 0.35s var(--pf-ease), box-shadow 0.35s var(--pf-ease), border-color 0.35s ease;
}

/* Línea de acento que crece desde la izquierda */
.producto-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--pf-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--pf-ease);
}

.producto-img {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.producto-img img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: contain;
  transition: transform 0.6s var(--pf-ease), opacity 0.45s ease;
}

/* Segunda imagen apilada sobre la principal */
.producto-img .producto-img__alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
}

/* Botón "Ver producto" que sube desde abajo */
.producto-cta {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--pf-red);
  color: #fff;
  font-family: 'Open Sans';
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  box-shadow: 0 8px 18px -6px rgba(226, 0, 0, 0.55);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s ease, transform 0.4s var(--pf-ease);
  pointer-events: none;
}

.producto-cta svg {
  transition: transform 0.3s var(--pf-ease);
}

.productos-titulo a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.producto-item:has(.stretched-link:focus-visible) {
  outline: 2px solid var(--pf-red);
  outline-offset: 2px;
}

.productos-titulo a:focus-visible {
  outline: none;
}

@media (hover: hover) {
  .producto-item:hover {
    transform: translateY(-4px);
    border-color: rgba(226, 0, 0, 0.25) !important;
    box-shadow: 0 18px 32px -16px rgba(26, 24, 28, 0.35);
  }

  .producto-item:hover::after {
    transform: scaleX(1);
  }

  /* Sin segunda imagen: zoom suave de la principal */
  .producto-item:hover .producto-img__main {
    transform: scale(1.05);
  }

  /* Con segunda imagen: crossfade a la imagen de la galería */
  .producto-item.has-hover-img:hover .producto-img__main {
    opacity: 0;
    transform: scale(1.02);
  }

  .producto-item.has-hover-img:hover .producto-img__alt {
    opacity: 1;
    transform: scale(1);
  }

  .producto-item:hover .producto-cta {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .producto-item:hover .producto-cta svg {
    transform: translateX(3px);
  }

  .producto-item:hover .productos-titulo a {
    color: var(--pf-red);
  }
}

@media (prefers-reduced-motion: reduce) {
  .producto-item,
  .producto-item::after,
  .producto-img img,
  .producto-cta,
  .producto-cta svg {
    transition-duration: 0.01ms;
  }

  .producto-item:hover {
    transform: none;
  }
}

.producto-body {
  text-align: center;
  padding: 15px;
  height:100px;
}

.productos-categoria {
  font-family: 'Open Sans';
  font-weight: 700;
  font-size: 12px;
  color: #E74C3C;
  line-height: 150%;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.productos-titulo {
  font-family: 'Open Sans';
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
}


/* ===== SIDEBAR DE CATEGORÍAS / PRODUCTOS ===== */
.cat-nav {
  --pf-red: #E20000;
  --pf-ink: #1A181C;
  --pf-muted: #6b6b70;
  --pf-line: #ececee;
  --pf-hover: #f6f6f7;
  --pf-tint: rgba(226, 0, 0, 0.05);
  --pf-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  padding: 8px;
  border: 1px solid var(--pf-line);
  border-radius: 12px;
  background: #fff;
  font-family: 'Open Sans';
}

@media (min-width: 768px) {
  .cat-nav {
    position: sticky;
    top: 24px;
  }
}

.cat-nav__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 12px 10px;
  color: var(--pf-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cat-nav__title::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--pf-red);
}

.cat-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 6px 0 0;
  padding: 6px 0 0;
  border-top: 1px solid var(--pf-line);
  list-style: none;
}

/* Fila de categoría: nombre (link) + flecha (toggle) */
.cat-nav__row {
  display: flex;
  align-items: center;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.cat-nav__row:hover {
  background: var(--pf-hover);
}

.cat-nav__cat {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 6px 11px 12px;
  border-radius: 8px;
  color: var(--pf-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.cat-nav__cat:hover {
  color: var(--pf-red);
}

/* "Todas las categorías" */
.cat-nav__cat--all {
  padding-right: 12px;
}

.cat-nav__cat--all:hover {
  background: var(--pf-hover);
}

.cat-nav__icon {
  flex-shrink: 0;
  color: var(--pf-muted);
  transition: color 0.2s ease;
}

.cat-nav__cat--all:hover .cat-nav__icon {
  color: var(--pf-red);
}

.cat-nav__label {
  flex: 1;
  min-width: 0;
}

.cat-nav__count {
  flex-shrink: 0;
  min-width: 26px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f1f2;
  color: var(--pf-muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cat-nav__toggle {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 4px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--pf-muted);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cat-nav__toggle:hover {
  background: rgba(26, 24, 28, 0.07);
  color: var(--pf-ink);
}

.cat-nav__chevron {
  transition: transform 0.3s var(--pf-ease);
}

.cat-nav__cat:focus-visible,
.cat-nav__toggle:focus-visible,
.cat-nav__link:focus-visible {
  outline: 2px solid var(--pf-red);
  outline-offset: 2px;
}

/* Desplegada: solo gira la flecha (puede ser un "vistazo" sin estar en esa categoría) */
.cat-nav__item.is-open .cat-nav__chevron {
  transform: rotate(180deg);
}

.cat-nav__item.is-open .cat-nav__toggle {
  color: var(--pf-red);
}

/* Categoría actual (o la que se está abriendo al hacer click): fila resaltada */
.cat-nav__item.is-current > .cat-nav__row,
.cat-nav__item.is-loading > .cat-nav__row,
.cat-nav__cat--all.is-current {
  background: var(--pf-tint);
}

.cat-nav__item.is-current .cat-nav__cat,
.cat-nav__item.is-loading .cat-nav__cat,
.cat-nav__cat--all.is-current,
.cat-nav__cat--all.is-current .cat-nav__icon {
  color: var(--pf-red);
}

.cat-nav__item.is-current .cat-nav__count,
.cat-nav__item.is-loading .cat-nav__count,
.cat-nav__cat--all.is-current .cat-nav__count {
  background: var(--pf-red);
  color: #fff;
}

.cat-nav__item.is-loading .cat-nav__cat {
  cursor: progress;
}

/* Panel desplegable: anima el alto con grid 0fr -> 1fr.
   Solo se colapsa con JS activo; sin JS queda todo abierto y navegable */
.cat-nav.is-enhanced .cat-nav__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.35s var(--pf-ease), visibility 0s linear 0.35s;
}

.cat-nav.is-enhanced .cat-nav__item.is-open .cat-nav__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.35s var(--pf-ease), visibility 0s;
}

.cat-nav__panel-inner {
  min-height: 0;
  overflow: hidden;
}

/* Lista con alto acotado y scroll propio para que el sidebar no se desborde */
.cat-nav__products {
  position: relative;
  max-height: clamp(180px, 42vh, 340px);
  margin: 6px 0 10px 20px;
  padding: 0 4px 0 0;
  border-left: 2px solid var(--pf-line);
  list-style: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d6d6d9 transparent;
}

.cat-nav__products.has-more {
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
}

.cat-nav__products::-webkit-scrollbar {
  width: 6px;
}

.cat-nav__products::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: #d6d6d9;
}

.cat-nav__link {
  display: block;
  margin-left: -2px;
  padding: 7px 12px;
  border-left: 2px solid transparent;
  color: #4a4a4f;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cat-nav__link:hover {
  border-left-color: #c4c4c8;
  background: #fafafa;
  color: var(--pf-ink);
}

.cat-nav__link.is-active {
  border-left-color: var(--pf-red);
  background: rgba(226, 0, 0, 0.04);
  color: var(--pf-red);
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .cat-nav {
    margin-bottom: 24px;
  }

  .cat-nav__products {
    max-height: 260px;
  }

  /* Área táctil más cómoda para la flecha */
  .cat-nav__toggle {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cat-nav *,
  .cat-nav.is-enhanced .cat-nav__panel,
  .cat-nav.is-enhanced .cat-nav__item.is-open .cat-nav__panel {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
