/*
* Hoja de estilos personalizados para PrestaShop 1.7.8.11
* Tema: Leo Radist (Checkboxes optimizados para máxima visibilidad)
*/
/* IMPORTA LA FUENTE ROBOTO DESDE GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* APLICA ROBOTO A TODO EL SITIO */
body, html, p, h1, h2, h3, h4, h5, h6, span, div, li, a, td, th, input, select, textarea, button, label, strong, b, em,  small {
}

/* === FAVORITOS OCULTOS EN ps_categoryproducts === */
/*#category-products.related a.leo-wishlist-button,
#category-products.related a.addToWishlist,
#category-products.related a.product-wishlist-button,
#category-products.related a.quick-view {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}
*/
/* === CATEGORÍA EN MÓDULO === */
#category-products .category-default a {
  text-transform: uppercase !important;
  color: #0B7ACB !important;
  font-size: 14px !important;
  font-weight: bold !important;
  letter-spacing: 0.5px;
}

/* === REDES SOCIALES === */
.product-additional-info.js-product-additional-info i,
.product-additional-info.js-product-additional-info svg {
  font-size: 42px !important;
  width: 42px !important;
  height: 42px !important;
}

.product-additional-info.js-product-additional-info .social-sharing button,
.product-additional-info.js-product-additional-info .social-sharing a {
  font-size: 22px !important;
  padding: 12px 18px !important;
}

/* === INPUT DE BÚSQUEDA MODERNO === */
#leo_search_block_top form {
  position: relative;
  max-width: 720px;
  margin: 20px auto;
}

#leo_search_query_top {
  width: 100%;
  padding: 14px 48px 14px 20px;
  font-size: 16px;
  border: 1px solid #BBBBBB;
  border-radius: 8px;
  background-color: #f5f5f5;
  color: #000000;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  outline: none;
  transition: all 0.2s ease-in-out;
}

#leo_search_query_top:hover,
#leo_search_query_top:focus {
  background-color: #eeeeee;
  border-color: #0B7ACB;
  box-shadow: 0 0 6px rgba(11, 122, 203, 0.4);
}

#leo_search_block_top form::after {
  content: 'search';
  font-family: 'Material Icons';
  font-size: 22px;
  color: #333;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* === TITULO DE GRUPO === */
.title_block.title-ap-group {
  background-color: #f0f0f0;
  padding: 15px 20px;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  text-align: left;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: bold;
  color: #0B7ACB;
}

/* === ESTILO UNIFICADO #left-column === */
#left-column .block,
#left-column .block-categories,
#left-column .facet,
#left-column .custom,
#left-column .highlighted,
#left-column .products {
  background-color: #ffffff;
  border: 2px solid #7BAFDD;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(123, 175, 221, 0.25);
}

#left-column h4.title_block,
#left-column h4 {
  font-size: 20px;
  font-weight: bold;
  color: #7BAFDD;
  border-bottom: 2px solid #7BAFDD;
  padding-bottom: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

#left-column a {
  display: block;
  padding: 8px 12px;
  color: #333;
  background-color: #f7f7f7;
  border: 1px solid #ccc;
  margin-bottom: 6px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

#left-column a:hover {
  background-color: #eaf4fd;
  color: #7BAFDD;
  border-color: #7BAFDD;
}

#left-column ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#left-column ul ul {
  padding-left: 12px;
}

#left-column .collapse-icons i {
  margin-left: 10px;
  color: #7BAFDD;
  font-size: 14px;
}

#left-column .facet-label {
  padding-left: 0 !important;       /* Elimina cualquier sangría previa */
  margin-left: -8px;                /* Ajusta hacia la izquierda con precisión */
}

/* === SECCIÓN DE FILTROS ACTIVOS === */
#js-active-search-filters {
  background-color: #ffffff;
  border: 2px solid #7BAFDD;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(123, 175, 221, 0.25);
}

#js-active-search-filters h4 {
  font-size: 18px;
  font-weight: bold;
  color: #0B7ACB;
  margin-bottom: 18px;
}

#js-active-search-filters .filter-block {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#js-active-search-filters .facet-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid #ddd;
  min-width: 260px;
  max-width: 100%;
  font-size: 14px;
  color: #333;
  transition: background-color 0.2s ease;
}

#js-active-search-filters .facet-label:hover {
  background-color: #eef7ff;
  border-color: #0B7ACB;
}

#js-active-search-filters .facet-label .close {
  margin-left: 12px;
  font-size: 13px;
  background-color: #eeeeee;
  color: #2445A2;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

#js-active-search-filters .facet-label .close:hover {
  background-color: #0B7ACB;
  color: white;
  border-color: #0B7ACB;
  transform: scale(1.15);
}

/* === SELECTOR DE ORDENAMIENTO === */
#js-product-list-top {
  background-color: #f7faff;
  border: 1px solid #c3d9ec;
  padding: 12px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

#js-product-list-top .grid-list {
  display: flex;
  gap: 8px;
}

#js-product-list-top .grid-list .btn {
  border: 1px solid #c3d9ec;
  border-radius: 6px;
  background: #ffffff;
  padding: 6px 10px;
  transition: all 0.2s ease;
}

#js-product-list-top .grid-list .btn:hover {
  background-color: #eaf4fd;
  color: #0B7ACB;
  border-color: #0B7ACB;
}

#js-product-list-top .sort-by-row {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-left: auto;
}

#js-product-list-top .hidden-sm-down {
  white-space: nowrap;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #0B7ACB;
  font-weight: 500;
  min-width: 90px;
}

#js-product-list-top select {
  flex-shrink: 0;
  height: auto;
  white-space: nowrap;
  margin: 0;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #7BAFDD;
  background-color: #ffffff;
  color: #0B7ACB;
  transition: all 0.2s ease-in-out;
}

#js-product-list-top select:hover {
  background-color: #f0f8ff;
  border-color: #0B7ACB;
}

/* ====================== */
/* CHECKBOXES OPTIMIZADOS */
/* ====================== */

/* Estilo base para checkboxes personalizados */
.ps-shown-by-js .material-icons.checkbox-checked {
  font-family: 'Material Icons';
  font-style: normal;
  font-size: 18px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  border: 2px solid #0B7ACB !important;
  border-radius: 3px;
  background-color: #FFFFFF;
  color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(11, 122, 203, 0.3);
  position: relative;
  outline: 1px solid rgba(255, 255, 255, 0.8);
  outline-offset: -2px;
  cursor: pointer;
}

/* Hover state */
.ps-shown-by-js .material-icons.checkbox-checked:hover {
  border-color: #094D8C !important;
  background-color: #F0F8FF;
  box-shadow: 0 2px 6px rgba(11, 122, 203, 0.4);
}

/* Focus state (accesibilidad) */
.ps-shown-by-js .material-icons.checkbox-checked:focus {
  box-shadow: 0 0 0 3px rgba(11, 122, 203, 0.3);
}

/* Checkbox marcado */
.ps-shown-by-js.checked .material-icons.checkbox-checked {
  background-color: #0B7ACB;
  border-color: #0B7ACB !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(11, 122, 203, 0.5);
}

/* Icono de check (mejorado) */
.ps-shown-by-js.checked .material-icons.checkbox-checked::before {
  content: '✓';
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  color: white;
}

/* Estado deshabilitado (pero visible) */
.ps-shown-by-js.disabled .material-icons.checkbox-checked {
  border-color: #A0C4E4 !important;
  background-color: #F5F9FF;
  opacity: 0.8;
  box-shadow: none;
  cursor: not-allowed;
}

/* Checkboxes nativos en filtros (optimizados) */
#left-column .facet-label input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border: 2px solid #0B7ACB !important;
  border-radius: 3px;
  background: #FFFFFF;
  cursor: pointer;
  position: relative;
  top: 2px;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(11, 122, 203, 0.3);
}

#left-column .facet-label input[type="checkbox"]:checked {
  background-color: #0B7ACB;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

#left-column .facet-label input[type="checkbox"]:hover {
  border-color: #094D8C !important;
  background-color: #F0F8FF;
}

#left-column .facet-label input[type="checkbox"]:disabled {
  border-color: #A0C4E4 !important;
  background-color: #F5F9FF;
  cursor: not-allowed;
}

#left-column .facet-label input[type="checkbox"]:focus {
  box-shadow: 0 0 0 3px rgba(11, 122, 203, 0.3);
  outline: none;
}

/*/*/

/* CHECKBOXES PARA FILTROS - VERSIÓN ALTAMENTE VISIBLE */
.facet-label input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 18px !important;
  height: 18px !important;
  border: 2px solid #0B7ACB !important;
  border-radius: 3px !important;
  background: white !important;
  cursor: pointer;
  margin-right: 10px;
  position: relative;
  top: 2px;
  box-shadow: 
    0 0 0 1px rgba(255,255,255,0.8) inset,
    0 1px 4px rgba(11, 122, 203, 0.3);
  transition: all 0.2s ease;
}

/* Checkbox NO seleccionado - MÁXIMA VISIBILIDAD */
.facet-label input[type="checkbox"]:not(:checked) {
  border-color: #0B7ACB !important;
  background-color: #F0F8FF !important; /* Fondo azul muy claro */
}

/* Checkbox seleccionado */
.facet-label input[type="checkbox"]:checked {
  background: #0B7ACB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center !important;
  background-size: 12px !important;
}

/* Hover - Efecto interactivo */
.facet-label input[type="checkbox"]:hover {
  transform: scale(1.05);
  box-shadow: 0 1px 6px rgba(11, 122, 203, 0.5);
}

/* Focus - Accesibilidad */
.facet-label input[type="checkbox"]:focus {
  outline: 2px solid #0B7ACB55;
  outline-offset: 2px;
}

/* Texto asociado - Mejor alineación */
.facet-label {
  display: flex !important;
  align-items: center !important;
}

/*==================*/
.facet-label {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between;
  padding: 5px 10px;
}

.facet-label input[type="checkbox"] {
  margin-left: 0;           /* Alinear checkbox lo más a la izquierda posible */
  margin-right: 6px;        /* Espacio entre checkbox y texto */
  flex-shrink: 0;
}

.facet-label .custom-checkbox {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.facet-label .custom-checkbox span {
  margin-right: 10px;
}

.facet-label .quantity {
  font-size: 13px;
  color: #555;
  margin-left: auto;
}

.facet-label {
  display: flex;
  align-items: center;
  padding-left: 0 !important; /* Ajuste lateral sin romper diseño */
}

.facet-label .magnitude {
  font-size: 13px;
  color: #666;
  flex-shrink: 0;
}

.facet-label .custom-checkbox label {
  margin-right: 8px;        /* Separación entre texto y cantidad */
}

#left-column .facet-label input[type="checkbox"] {
  margin-left: 0;
  margin-right: 8px;
  transform: scale(1.1);            /* Tamaño consistente */
}

/* === REDUCE ESPACIO VERTICAL ENTRE BLOQUES EN LEFT COLUMN === */
#left-column .block,
#left-column .block-categories,
#left-column .facet,
#left-column .custom,
#left-column .highlighted,
#left-column .products {
  margin-bottom: 10px !important; /* Antes era 20px, ahora más compacto */
  padding-top: 12px;
  padding-bottom: 12px;
}

/* === SEPARACIÓN MINIMAL ENTRE INPUTS EN LEFT COLUMN === */
#left-column .facet-label {
  padding-top: 1px !important;
  padding-bottom: 1px !important;
}

/* === Ancho mejorado para selector de orden y su menú === */
#js-product-list-top select {
  min-width: 400px !important;   /* Más ancho del input select */
  max-width: 100%;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #7BAFDD;
  background-color: #ffffff;
  color: #0B7ACB;
  transition: all 0.2s ease-in-out;
  appearance: none;
}

@media (max-width: 768px) {
  #js-product-list-top select {
    width: 100% !important; /* Ocupa todo el ancho en móviles */
}

}


/* === Ensanchar input y menú desplegable del ordenamiento === */
#js-product-list-top select {
  min-width: 180px !important;
  max-width: 100%;
  padding: 8px 14px !important;
  font-size: 15px !important;
}

/* Contenedor del selector (opcional para responsive) */
.sort-by-row .select-wrapper {
  min-width: 180px;
}

/* Estilo del menú desplegable */
.sort-by-row .dropdown-menu {
  min-width: 200px !important;
  font-size: 15px;
  white-space: normal;
  padding: 6px 10px;
  border: 1px solid #C3D9EC;           /* ✅ Borde azul suave */
  border-radius: 6px;                  /* Esquinas redondeadas */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* Sombra para contraste */
  background-color: #ffffff;          /* Asegura fondo blanco */
  z-index: 9999;
}

/* Opciones del menú */
.sort-by-row .dropdown-menu li {
  padding: 6px 8px !important;
  line-height: 1.4;
  word-wrap: break-word;
  cursor: pointer;
}

.sort-by-row .dropdown-menu li:hover {
  background-color: #f0f8ff;
  color: #0B7ACB;
}

.js-search-filters-clear-all {
  text-transform: none !important;
}

/* === BOTÓN MODERNO: LIMPIAR FILTROS === */
.js-search-filters-clear-all {
  background-color: #ffffff;
  color: #0B7ACB;
  border: 2px solid #0B7ACB;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: bold;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(11, 122, 203, 0.15);
}

.js-search-filters-clear-all:hover {
  background-color: #0B7ACB;
  color: #ffffff;
  border-color: #0B7ACB;
  box-shadow: 0 4px 8px rgba(11, 122, 203, 0.3);
}

.js-search-filters-clear-all i.material-icons {
  font-size: 18px;
  margin-right: 4px;
}

/* === PAGINACIÓN MODERNA ESTILO LEO RADIST === */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
  padding: 10px 0;
}

.pagination li {
  list-style: none;
}

.pagination a,
.pagination span {
  display: inline-block;
  min-width: 36px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: bold;
  color: #0B7ACB;
  text-align: center;
  text-decoration: none;
  background-color: #ffffff;
  border: 2px solid #0B7ACB;
  border-radius: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(11, 122, 203, 0.1);
}

.pagination a:hover,
.pagination a:focus {
  background-color: #0B7ACB;
  color: #ffffff;
  border-color: #0B7ACB;
  box-shadow: 0 4px 8px rgba(11, 122, 203, 0.2);
}

/*
* Hoja de estilos personalizados para PrestaShop 1.7.8.11
* Tema: Leo Radist (Checkboxes optimizados para máxima visibilidad)
*/

/* === FAVORITOS OCULTOS EN ps_categoryproducts ===
#category-products.related a.leo-wishlist-button,
#category-products.related a.addToWishlist,
#category-products.related a.product-wishlist-button,
#category-products.related a.quick-view {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}
*/

.pagination .current {
  background-color: #0B7ACB !important;
  color: #ffffff !important;
  border: 2px solid #0B7ACB !important;
  pointer-events: none;
  box-shadow: none !important;
  transform: none !important;
  position: relative;
  z-index: 1;
}

.pagination .disabled {
  opacity: 0.5;
  pointer-events: none;
}

.pagination .current::before,
.pagination .current::after {
  display: none !important;
  content: none !important;
}

.pagination li.current a {
  background-color: #0B7ACB !important;
  color: #ffffff !important;
  border: 2px solid #0B7ACB !important;
  box-shadow: none !important;
  pointer-events: none !important;
  cursor: default !important;
  transform: none !important;
  z-index: 1;
}

.pagination li.current {
  margin: 0 !important;
  padding: 0 !important;
}

.pagination li.current a.disabled {
  background-color: #0B7ACB !important;
  color: #ffffff !important;
  border: 2px solid #0B7ACB !important;
  box-shadow: none !important;
  pointer-events: none !important;
  cursor: default !important;
  padding: 8px 12px !important;
  min-width: 36px !important;
  display: inline-block !important;
  text-align: center !important;
  line-height: 1.2 !important;
  transform: none !important;
  vertical-align: middle !important;
  border-radius: 6px !important;
}

/* BOTÓN ACTIVO DE PAGINACIÓN: Elimina sombra azul residual */
.pagination li.current a.disabled,
.pagination li.current a.js-search-link {
  background-color: #0B7ACB !important;
  color: #ffffff !important;
  border: 2px solid #0B7ACB !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  font-weight: bold !important;
  min-width: 36px;
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Fuerza eliminación de pseudoelementos y efectos residuales */
.pagination li.current a.disabled::before,
.pagination li.current a.js-search-link::before,
.pagination li.current::before {
  content: none !important;
  display: none !important;
  box-shadow: none !important;
  background: none !important;
}

.pagination .current-page {
  display: inline-block;
  min-width: 36px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  background-color: #0B7ACB;
  border: 2px solid #0B7ACB;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(11, 122, 203, 0.25);
}

/* === PÁGINA ACTIVA EN PAGINACIÓN === */
.pagination .current,
.pagination span.current {
  background-color: #0B7ACB !important;*
  color: #ffffff !important;
  border-color: #0B7ACB !important;
  box-shadow: 0 4px 8px rgba(11, 122, 203, 0.2);
}

/* === ESTILO VISUAL PARA BOTÓN ACTIVO DE PAGINADOR === */
.pagination li.current span.current-page {
  display: inline-block;
  min-width: 36px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: bold;
  background-color: #0B7ACB !important;
  color: #ffffff !important;
  border: 2px solid #0B7ACB !important;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(11, 122, 203, 0.2);
}
/* === BOTÓN ACTIVO DEL PAGINADOR === */
.pagination .current-page {
  background-color: #0B7ACB !important;
  color: #ffffff !important;
  border-color: #0B7ACB !important;
  box-shadow: 0 4px 8px rgba(11, 122, 203, 0.3) !important;
  pointer-events: none; /* evita que se pueda hacer clic */
}
.pagination .current,
.pagination span.current {
  background-color: #0B7ACB !important;
  color: #ffffff !important;
  border-color: #0B7ACB !important;
  font-weight: bold;
  cursor: default;
  box-shadow: none !important;         /* 🔴 elimina sombra azul */
  position: relative;                  /* 🔧 clave si hay ::before */
  z-index: 1;                          /* asegura que esté por encima */
}
.pagination .current::before,
.pagination .current::after,
.pagination span.current::before,
.pagination span.current::after {
  content: none !important;
  display: none !important;
}
/* === BOTÓN ACTIVO PAGINADOR SIN BORDES RESALTADOS NI DESBORDES === */
.pagination .current,
.pagination span.current {
  background-color: #0B7ACB !important;
  color: #ffffff !important;
  border: none !important;               /* 🔥 elimina borde azul */
  font-weight: bold;
  box-shadow: none !important;           /* elimina cualquier sombra */
  padding: 8px 12px !important;          /* asegura coherencia visual */
  min-width: 36px;                       /* evita que colapse */
  display: inline-block;
  border-radius: 6px;
  box-sizing: border-box;                /* asegura que padding no desborde */
  position: relative;
  z-index: 1;
}
.pagination .current::before,
.pagination .current::after,
.pagination span.current::before,
.pagination span.current::after {
  content: none !important;
  display: none !important;
}
/* 🔧 Eliminación total de efectos visuales erróneos en botón activo del paginador */
.pagination .current,
.pagination span.current {
  background-color: #0B7ACB !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

/* 🧹 Eliminar cualquier pseudo que sobresalga visualmente */
.pagination .current::before,
.pagination .current::after,
.pagination span.current::before,
.pagination span.current::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.pagination li.current {
  box-shadow: none !important;
  background: none !important;
  border: none !important;
  outline: none !important;
}
/* === TEXTO RESUMEN CENTRADO Y ESTILIZADO === */
.pagination .col-md-6:first-child {
  text-align: center !important;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  color: #0B7ACB; /* Azul Easy.cl */
  padding-bottom: 10px;
  margin-bottom: 5px;
  border-bottom: 1px solid #DDDDDD; /* Línea tenue para separación */
}

/* === CENTRAR BOTONES DE PAGINACIÓN === */
.pagination .col-md-6:last-child {
  text-align: center !important;
  width: 100%;
}

/* === AJUSTES VISUALES DE LA LISTA DE BOTONES === */
.pagination .page-list {
  display: inline-block;
  float: none !important;
}
/* === Paginación fija al fondo de la pantalla === */
.pagination {
  position: sticky;
  bottom: 0;
  background-color: #ffffff;
  padding: 10px 0;
  z-index: 99;
  border-top: 1px solid #DDDDDD;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
}
/*17-07-2025*/
.breadcrumb-leo {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #444;
}

.breadcrumb-leo li {
  margin-right: 5px;
}

.breadcrumb-leo li a {
  color: #0B7ACB;
  text-decoration: none;
}

.breadcrumb-leo li::after {
  content: "›";
  margin-left: 5px;
  margin-right: 5px;
  color: #999;
}

.breadcrumb-leo li:last-child::after {
  content: "";
}

.breadcrumb-leo li.current {
  font-weight: bold;
  color: #333;
}

/* FORMATO FICHA DE PRODUCTOS */

.ficha-titulo {
  background-color: #D9D9D9;
  color: #000000;
  padding: 10px;
  font-size: 20px;
  margin: 0;
}
.ficha-parrafo {
  padding-left: 10px;
  margin-top: 15px;
}
.ficha-parrafo ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}
.ficha-parrafo li::before {
  content: "✔ ";
}
.ficha-tabla {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.ficha-tabla th {
  background-color: #E6E6E6;
  color: #000000;
  padding: 10px;
  border: 1px solid #DDDDDD;
}
.ficha-tabla td {
  padding: 10px;
  border: 1px solid #DDDDDD;
}
.ficha-tabla .titulo {
  font-weight: bold;
  padding-left: 10px;
}
.fila-blanca {
  background-color: #FFFFFF;
}
.fila-gris {
  background-color: #F2F2F2;
}
/* ENCABEZADO PERSONALIZADO PARA FICHAS MAKITA */
.makita .ficha-titulo {
  background-color: #01859E;
  color: #FFFFFF;
  padding: 10px;
}
.makita .ficha-titulo h2 {
  color: #FFFFFF;
  margin: 0;
}

/* ENCABEZADO PERSONALIZADO PARA FICHAS STANLEY */
.stanley .ficha-titulo {
  background-color: #FFD600;
  color: #000000;
  padding: 10px;
}

.stanley .ficha-titulo h2 {
  color: #000000;
  margin: 0;
}
/* ENCABEZADO PERSONALIZADO PARA FICHAS BLACK & DECKER */
.blackndecker .ficha-titulo {
  background-color: #F05220;
  color: #FFFFFF;
  padding: 10px;
}

.blackndecker .ficha-titulo h2 {
  color: #FFFFFF;
  margin: 0;
}
/* ENCABEZADO PERSONALIZADO PARA FICHAS BOSCH */
.bosch .ficha-titulo {
  background-color: #003399;
  color: #FFFFFF;
  padding: 10px;
}

.bosch .ficha-titulo h2 {
  color: #FFFFFF;
  margin: 0;
}
/* ENCABEZADO PERSONALIZADO PARA FICHAS DEWALT */
.dewalt .ficha-titulo {
  background-color: #FDB417; /* Amarillo DeWalt */
  color: #FFFFFF; /* Texto blanco por defecto */
  padding: 10px;
}

.dewalt .ficha-titulo h2 {
  color: #FFFFFF;
  font-weight: bold;
  margin: 0;
}
/* ENCABEZADO PERSONALIZADO PARA FICHAS INDURA */
.indura .ficha-titulo {
  background-color: #01C801;
  color: #FFFFFF;
  padding: 10px;
}

.indura .ficha-titulo h2 {
  color: #FFFFFF;
  margin: 0;
}


/* Oculta botones solo en el módulo "Productos de la misma categoría" */
#category-products.same-category .leo-wishlist-button,
#category-products.same-category .quick-view {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}


/* Oculta cualquier botón .btn-primary solo dentro del módulo #category-products */
#category-products .btn-primary {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}
.material-icons {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
.material-icons {
  font-family: 'Material Icons' !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  display: inline-block !important;
  text-transform: none !important;
  white-space: nowrap !important;
  word-wrap: normal !important;
  direction: ltr !important;
  -webkit-font-feature-settings: 'liga' !important;
  -webkit-font-smoothing: antialiased !important;
}

/* === ESTILOS RESPONSIVOS ADICIONALES === */

@media (max-width: 768px) {
  .facet-label {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .pagination {
    flex-direction: column;
    gap: 6px;
  }

  .pagination a,
  .pagination span,
  .pagination .current-page {
    padding: 10px 14px !important;
    font-size: 16px !important;
  }

  .product-description,
  .ficha-parrafo,
  .ficha-tabla {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .ficha-tabla td,
  .ficha-tabla th {
    padding: 8px !important;
    font-size: 14px !important;
  }

  .ficha-titulo {
    font-size: 18px !important;
    padding: 8px !important;
  }
}
