/* Linea superior */
#header .header-body {
  border-top: 3px solid #B61016 !important;
  border-top: 1px solid #000 !important;
}

.onhot {
  background-color: aquamarine;
  font-size: 1em;
  font-weight: 600;
  border: 1px solid #ccc;
}

html .badge-secondary {
  background-color: #ffc107 !important;
  color: black !important;
}

html .badge-primary {
  background-color: #198754 !important;
}

html .badge-quaternary {
  background-color: #B60F16 !important;
}

/* 1. Fondo Blanco y Tamaño 100% para contenedores de imagen */
.product-thumb-info {
  background-color: #fff !important;
  border: 2px solid #eee !important;
  transition: all 0.2s ease-in-out !important;
}

.product-thumb-info-image,
.product-thumb-info-image1 {
  width: 100% !important;
  height: 250px !important;
  /* Altura consistente */
  background-color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: relative !important;
}

.product-thumb-info-image img,
.product-thumb-info-image1 img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
}

/* 2. Efecto Hover: Borde negro 2px y SIN filtro gris */
.product:hover .product-thumb-info {
  border: 1px solid #B61016 !important;
  background-color: #fff !important;
}

.product:hover .product-thumb-info .product-thumb-info-image:before,
.product:hover .product-thumb-info .product-thumb-info-image1:before {
  opacity: 0 !important;
  /* Elimina el velo gris de theme-shop.css */
}

section.section-primary {
  background-color: var(--primary) !important;
  border-color: #000 !important;
}

.heading.heading-middle-border:before {
  border-top: 2px solid #000 !important;
}


.heading.heading-middle-border2:before {
  border-top: 2px solid #B60F16 !important;
  content: "";
  height: 0;
  left: auto;
  position: absolute;
  right: 0;
  top: 13%;
  width: 100%;
}

.heading.heading-middle-border2 h2 {
  position: relative;
  background: #B60F16 !important;
  display: inline-block;
}

.shop .products .product .quick-view {
  background: #B60F16;
}

.shop .products .product:hover .quick-view:hover {
  background: #B60F16;
}

.shop .products .product .quick-view2 {
  background: #000;
}

.shop .products .product:hover .quick-view2:hover {
  background: #000;
}

.shop .products .product .quick-view2 {
  transition: ease transform 300ms, ease background 300ms;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 12px 10px;
  font-size: 0.85em !important;
  color: var(--light);
  background: rgba(0, 0, 0, 0.7);
  z-index: 3;
  opacity: 0;
  transform: translate3d(0, 100%, 0);
}

.shop .products .product .quick-view2 [class*="fa-"],
.shop .products .product .quick-view .icons {
  margin-right: 3px;
  font-size: 0.85em !important;
}

.shop .products .product:hover .quick-view2 {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

ul.nav-list li a {
  border-bottom: 1px solid #B60F16;
}


.icon-header-item {
  position: relative;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.icon-header-noti::after {
  content: attr(data-notify);
  font-family: Poppins-Regular;
  font-size: 12px;
  color: #fff;
  line-height: 15px;
  text-align: center;
  display: block;
  position: absolute;
  top: -12px;
  right: -10px;
  width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 20px;
  background-color: #000;
}

#header .header-nav-features .header-nav-features-cart .totals {
  padding: 7px 0 7px;
  overflow: hidden;
}

#header .header-nav-features .header-nav-features-cart .totals .label {
  float: left;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  color: #292929;
}

#header .header-nav-features .header-nav-features-cart .totals .price-total {
  float: right;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  color: #3b3a3a;
}

#header .price-total .price {
  font-size: 13px;
}

.header-top-simple-border-bottom {
  border-bottom: 1px solid #000 !important;
}

.enlace-deshabilitado {
  pointer-events: none !important;
  /* Inhabilita el clic */
  color: gray !important;
  /* Aporta un aspecto visual deshabilitado */
  cursor: default !important;
  /* Cambia el cursor */
  text-decoration: none !important;
  /* Opcional: quita el subrayado */
}

/* ===== FIX: Menu mobile - evita que header-body acumule altura ===== */
@media (max-width: 991px) {
  #header .header-body {
    height: auto !important;
  }
}


ul.nav-list li a {
  padding: 10px 0 10px 5px;
}

.brands {
  overflow: hidden;
  background: #fff;
  padding: 20px 0;
}

.brands-wrapper {
  width: 100%;
  overflow: hidden;
}

.brands-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

/* Cada logo */
.brand {
  flex: 0 0 auto;
  width: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px 10px;
}

.brand img {
  max-width: 180px;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: 0.3s;
}

.brand img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* CLAVE: mover exactamente la mitad */
@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.brands::before,
.brands::after {
  content: "";
  position: absolute;
  top: 0;
  width: 280px;
  height: 100%;
  z-index: 2;
}

.shop_table .product-thumbnail .product-thumbnail-wrapper .product-thumbnail-remove {
  font-size: 10px !important;
  font-size: 0.6rem !important;
}

.shop_table th {
  padding: 5px 7px !important;
}

.shop_table td {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 5px 3px !important;
}


/********** modulo importar **********/

.progress-container {
  display: none;
  margin-top: 20px;
}

.progress {
  height: 30px;
  border-radius: 5px;
}

.progress-bar {
  font-size: 14px;
  font-weight: bold;
  line-height: 30px;
  transition: width 0.4s ease;
}

.result-container {
  display: none;
  margin-top: 25px;
}

.result-card {
  padding: 20px;
  border-radius: 8px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
}

.result-card h5 {
  margin-bottom: 15px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-value {
  font-weight: bold;
  font-size: 18px;
}

.stat-value.success {
  color: #28a745;
}

.stat-value.warning {
  color: #ffc107;
}

.stat-value.danger {
  color: #dc3545;
}

.aclaracion {
  margin-top: 25px;
  font-size: 14px;
  color: #555;
  max-width: 600px;
  border: 1px solid #000;
}

.aclaracion p {
  margin: 0;
  padding: 10px;
}

/* Estilo para el scroll del carrito */
.mini-products-list::-webkit-scrollbar {
  width: 6px;
}
.mini-products-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.mini-products-list::-webkit-scrollbar-thumb {
  background-color: #B61016;
  border-radius: 4px;
}
.mini-products-list::-webkit-scrollbar-thumb:hover {
  background-color: #900d11;
}

.price .sale + .amount {
	font-size: 0.7em;
	font-weight: 500;
	margin-right: 4px;
	text-decoration: line-through !important;
}