/* ==========================================================================
   Header
   ========================================================================== */
/*  -------------------------------------------------------------------------- */

.dropdown-menu-listing .col-2 {
  max-width: 175px;
}

.nav-item.dropdown>a.dropdown-toggle::after {
  display: none !important;
}


.browse-categories-dropdown:hover>.dropdown-menu {
  display: none;
  pointer-events: none;
}


.main-header.navbar-dark .toggle-icon {
  background-color: white;
}


.main-header.navbar-light-sticky .toggle-icon {
  background-color: black;
}





.topbar-border {
  border-bottom: 1px solid #ededed;
}

/* En Home (header con navbar-dark) */
.main-header.navbar-dark .topbar-border {
  border-bottom: 1px solid rgba(255, 255, 255, 0.178);
}


.css-zindex30{z-index: 30}

.search-icon-circle {
  width: 80px;
  height: 80px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #000;
  border: 2px solid #fff;
  position: relative;
  z-index: 20;
  transition: all 0.3s ease;
}

.search-icon-circle i {
  transition: transform 0.3s ease;
}

.search-icon-circle:hover {
  background-color: #f5f5f5;
  color: #333;
}

.search-icon-circle:hover i {
  transform: scale(1.2);
}



.dropdown-link.d-flex {
  align-items: center;
  gap: 12px;
}

.align-fix {
  margin-top: -13px;
}

.align-fix2 {
  margin-top: -6px;
}








.card.categorias {
  height: 300px;
}

.card-img {
  object-fit: cover;
  height: 100%;
}


.nav-tabs {
  justify-content: center;
}


.tab-content {
  margin-top: 20px;
}






.nav-tabs {
  border-bottom: 1px solid #ddd;
}

.nav-tabs .nav-link {
  border: none;
  color: #999;
  font-weight: 500;
  font-size: 18px;
}

.nav-tabs .nav-link.active {
  border: none;
  color: #000;
  font-weight: bold;
  border-bottom: 3px solid #000;
}






.dropdown-link {
  min-width: 120px;
}

.dropdown-link.link-contacto {
  min-width: 120px;
}

section.pt-8.pb-7.border-bottom .slick-slider img {
  max-width: 120px;
  height: auto;
}

html {
  scroll-behavior: smooth;
}


/* Estilos para el buscador */





/* ICOS CATEGORIES */
 .container-limited {
    max-width: 1340px;
    margin: 0 auto;
  }

  .slick-slider .box .icono-catalogo {
    width: 70px;
    height: auto;
  }

  /* Enlace envolvente */
  .categoria-hover {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
  }

  /* Nombre oculto inicialmente */
  .nombre-categoria-hover {
    margin-top: 4px;
    font-size: 12px;
    color: #333;
    font-weight: 500;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  /* Mostrar el nombre al hacer hover */
  .categoria-hover:hover .nombre-categoria-hover {
    opacity: 1;
    transform: translateY(0);
  }





/* mascara productos */
.mask-item {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.06);
  width: 100%;
  height: 100%;
  z-index: 10;
  overflow: hidden;
}

.position-absolute {
  position: absolute !important;
  z-index: 20;
}

.card-img-wrapper {
  position: relative;
}








.ribbon {
  position: absolute;
  top: 3%;
  left: 0;
  width: 55%;
  background: #e63946;
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: 11px;
  padding: 2px 0;
  z-index: 15;
  pointer-events: none;

}

/* Colores personalizados siguen igual */
.ribbon.liquidacion {
  background: #e63946;
}

.ribbon.enstock {
  background: #2a9d8f;
}

.ribbon.feria {
  background: #1d1d1d;
}

.ribbon.novedad {
  background: #007bff;
}












/*MODAL CATALOGO*/
.modal-header {
  border-bottom: none;
}

/*BLOG*/
.blog-destacados {
  margin-top: 130px;
}

.blog-destacados .card {
  height: auto;
}

.blog-destacados .slick-list {
  height: auto !important;
  overflow: visible !important;
}

.blog-destacados .card-img-top img {
  max-height: 300px;
  object-fit: cover;
  width: 100%;
  display: block;
}

.seccion-reseñas .box {
  min-height: 290px;
}

/* FAVORITOS COMPARADOR*/
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-body .mr-auto {
  min-height: 60px;
  /* ajusta según necesidad */
}

.card-body {
  min-height: 100px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.card-body .mr-auto {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
}

.card .btn {
  margin-top: auto;
}

.card .list-group {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.list-group-item {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.materiales {
  min-height: 80px;
}

.cnt_measures {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 8px;
}


.iconos {
  min-width: 50px;
  justify-content: center;
}



/*
    .card-img-top .card-img {
      width: 70%;
      height: 290px;
    }
*/


/*CATEGORIAS*/
.card-img-overlay span,
.card-img-overlay a {
  font-size: 1.225rem;
  /* equivalente a fs-18 */
  color: #000;
}

  .categoria-subcategorias-vertical {
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.categoria-subcategorias-vertical li {
  margin-bottom: 6px;
}

.categoria-subcategorias-vertical a {
  font-size: 14px;              /* más pequeño */
  color: #888;                  /* gris más suave */
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.categoria-subcategorias-vertical a:hover {
  color: #000;                  /* negro al pasar el ratón */
}

  .filtro-bajo {
  margin-top: -60px;   /* o incluso 0 si lo quieres pegado */
  margin-bottom: 4rem;
  margin-left: 20px;  /* más separación hacia abajo */
}



/* Recomendaciones */

.gap-5-bootstrap4>* {
  margin: 0.75rem;
}



/* ==========================================================================
   detalle-pruducto STYLES
   ========================================================================== */
/* Aquí se incluyen los estilos específicos para la sección CONTRACT
   (servicios, ventajas competitivas, iconografía, etc.)
   -------------------------------------------------------------------------- */
.espacio-boton {
  margin-top: 3rem !important;
  margin-bottom: 5rem;
}


.accordion-content-box {
  background-color: #ECECEC;
  padding: 2rem 1.5rem;
}

/* Imágenes dentro de los collapse: máximo 150px de ancho, centradas */
.accordion-content-box img {
  max-width: 90px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Ajuste de espacio entre filas de imágenes */
.accordion-content-box .row>div {
  display: flex;
  justify-content: center;
}



/* SWITCH */


.switch-wrapper {
  display: flex;
  justify-content: flex-end;
  padding: 0 1rem 1rem;
}

.custom-switch-minimal {
  position: relative;
  width: 46px;
  height: 24px;
  background: #ccc;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: inset 0 0 0 1px #999;
  /* Borde más fino y claro */
}

.custom-switch-minimal::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  top: 3px;
  left: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.15);
  /* Más sutil */
}

.custom-switch-minimal.checked {
  background: #000;
  box-shadow: inset 0 0 0 1px #000;
  /* Borde negro fino */
}

.custom-switch-minimal.checked::before {
  transform: translateX(22px);
}



.bloque-botones-producto {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 598px;
  max-width: 100%;
  justify-content: flex-start;
}

.boton-producto {
  width: 110px;
  height: 100px;
  border: 1px solid #ddd;
  background: white;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  text-align: center;
}

.boton-producto i {
  font-size: 22px;
  margin-bottom: 5px;
}

.boton-producto small {
  font-size: 12px;
  line-height: 1;
}

.boton-producto strong {
  font-size: 13px;
  font-weight: 700;
}

/* ==========================================================================
   CONTRACT SECTION STYLES
   ========================================================================== */
/* Aquí se incluyen los estilos específicos para la sección CONTRACT
   (servicios, ventajas competitivas, iconografía, etc.)
   -------------------------------------------------------------------------- */


/* Fondo seccion que nos diferencia */
.purpura {
  background-color: #F7F4F2;
}


/* -----TEXTOS---------*/
.textomorado {
  color: #000000;
  font-size: 20px;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: .5rem;
  line-height: 1.2;
  font-weight: bold;
}


.textomoradonumero {
  color: #000000;
  font-size: 61px;
  font-weight: 500;
  letter-spacing: -3px;
}




/* -----ICONOS---------*/
.icono-servicio {
  width: 90px;
  height: 90px;
}


.services-text {
  color: #000;
  font-weight: bold;
  font-size: 1.3rem;
}

.services-title {
  color: #000;
  font-weight: bold;
  font-size: 2rem;
}



/* ==========================================================================
   CONTACTO SECTION STYLES
   ========================================================================== */
/* Aquí se incluyen los estilos específicos para la sección CONTACTO
   (banner superior, formulario de contacto, mapa de localización, 
   disposición del contenido, tipografía, iconografía, etc.)
   -------------------------------------------------------------------------- */

.contacto-banner-section {
  background: url('../images/contacto/header.jpg');
  background-size: auto 300px;
  height: 300px;
  width: 100%;
  margin-bottom: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;

}




@media (max-width: 1360px) {
  .contacto-banner-section {
    background: none;
    background-color: #ECECEC;
  }
}





.contacto-banner-section h2 {
  color: #000000;
}

.contacto-banner-section .breadcrumb {
  font-size: 1rem;
  /* o 18px si prefieres en px */
}

.contacto-banner-section .breadcrumb a {
  font-size: 1rem;
}

.contacto-banner-section .breadcrumb-item.active {
  font-size: 1rem;
}



#contact-map {
  height: 400px;
  width: 100%;
}


.mapa-contacto {
  margin-bottom: 6.5rem;
}


.contacto-info a {
  color: inherit;
  text-decoration: none;
  font-weight: normal;
}

.contacto-info a:hover {
  color: #000;
}

select.form-control {
  font-weight: normal;
  color: #6c757d;
  line-height: 1.5;
  padding-top: .375rem;
  padding-bottom: .375rem;
}

/* ==========================================================================
   WEB VIEJA – Estilos heredados del sitio anterior
   Estos estilos pueden ser obsoletos o requerir revisión.
   ========================================================================== */

.cnt_iconos {
  float: left;
  width: 100%;
  padding: 20px 0;
}


.cnt_measuresB {
  float: left;
  width: auto;
  margin-bottom: 60px;
}

.iconos {
  width: 30px;
  height: 30px;
  float: left;
  margin: 0 10px;
}

.btn-primary {
  color: #fff !important;
  background-color: #000000;
  border-color: #000000;
  box-shadow: none;
}