body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
}

/* Top notice bar */
.top-msg {
  background: #f5f7fb;
  color: #6b7280;
  font-size: 12px
}

.top-msg a {
  color: #6b7280;
  text-decoration: none
}

a {
  text-decoration: none;
}

/* Header */
.logo {
  font-weight: 800;
  font-size: 28px;
  color: #ff7a00
}

.logo span {
  color: #111
}

.search-wrap .custom-select {
  max-width: 180px;
  border-right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0
}

/*.search-wrap .form-control{border-left:0}*/
/*.search-wrap .input-group>.form-control{border-top-left-radius:0;border-bottom-left-radius:0}*/
.input-buscador {
  border-width: 2px 0 2px 2px;
  border-color: #ff7a00;
}

.input-buscador-mobile {
  border-width: 1px 0 1px 1px;
  border-color: #ff7a00;
}

.act {
  display: flex;
  align-items: center
}

.act .item {
  display: flex;
  align-items: center;
  color: #111;
  margin-left: 22px;
  white-space: nowrap
}

.act .item i {
  font-size: 18px;
  margin-right: 8px
}

.act .cart-badge {
  position: absolute;
  top: -6px;
  right: -8px
}

/* Dark navbar */
.mainnav {
  background: #2a2a2a
}

.mainnav .nav-link {
  color: #e5e5e5
}

.mainnav .nav-link.active,
.mainnav .nav-link:hover {
  color: #fff
}

.btn-browse {
  background: #005596;
  color: #fff;
  font-weight: 600;
  border: none
}

.btn-browse:hover {
  background: #0365af;
  color: #fff
}

/* Mega menu (full width) */
.dropdown-mega {
  position: static;
}

/* importante para full width */
.dropdown-mega .dropdown-menu {
  width: 100%;
  left: 0;
  right: 0;
  margin-top: 0;
  border: none;
  border-radius: 0;
  padding: 1.25rem 0;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.dropdown-menu.show {
  z-index: 10000;
}

.mega-title {
  font-size: .75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: .04em
}

.dropdown-mega .dropdown-item {
  padding-left: 0;
  color: #212529
}

.dropdown-mega .dropdown-item:hover {
  background: #f8f9fa
}

.mega-banner {
  position: relative;
  border-radius: 8px;
  overflow: hidden
}

.mega-banner .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent);
}

.mega-kicker {
  font-size: .75rem;
  opacity: .95
}

.mega-head {
  font-weight: 800;
  font-size: 1.1rem
}

/* Left categories panel + hero */
.cat-panel {
  background: #f5f5f5;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  font-size: 14px;
}

.cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .35rem 1rem;
  border-bottom: 1px solid #d4d4d4;
  color: #111;
  text-decoration: none;
}

.cat-item:last-child {
  border-bottom: 0
}

.cat-item i {
  color: #9aa0a6;
  margin-right: 0rem
}

.cat-item:hover {
  text-decoration: none;
  color: #bf2020
}

.hero-card {
  border-radius: 8px;
  overflow: hidden
}

.hero-img {
  height: 420px;
  background: url('https://picsum.photos/seed/men-fashion/1200/700') center/cover no-repeat
}

.hero-overlay {
  position: absolute;
  inset: 0;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff
}

.hero-overlay .kicker {
  color: #ffae6a;
  font-weight: 700;
  font-size: 26px
}

.hero-overlay h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin: .25rem 0 1rem
}

.hero-overlay p {
  opacity: .9
}

.btn-ghost {
  border: 2px solid rgba(255, 255, 255, .9);
  color: #fff
}

.btn-ghost:hover {
  background: #fff;
  color: #111
}



.text-muted-2 {
  color: #9aa0a6
}

@media (max-width:991.98px) {
  .search-wrap {
    margin-top: 12px
  }

  .act {
    margin-top: 12px
  }
}

/* Botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  /* verde WhatsApp */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .4);
  z-index: 1051;
  /* por encima del contenido */
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 211, 102, .55);
  color: #fff;
  text-decoration: none;
}

/* Opcional: efecto “pulse” suave */
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .45);
  animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 575.98px) {
  .whatsapp-float {
    bottom: 14px;
    right: 14px;
  }
}

/* CARROUSEL*/
.carousel-caption {
  position: absolute;
  right: 15%;
  bottom: 155px;
}

.carousel-inner {
  border-radius: 8px;
}

.icono-personalizado {
  width: 60px;
  height: 60px;
  fill: #ff5722;
  /* color principal */
  transition: fill 0.3s ease;
}

.icono-personalizado:hover {
  fill: #009688;
  /* cambia color al pasar el mouse */
}



/* --- Mega menu lateral para categorías (izquierda) --- */
.cat-panel {
  position: relative;
  overflow: visible;
}

/* contenedor ancla */
.cat-row {
  position: relative;
}

.cat-row.has-mega {
  position: static !important;
}

.cat-row .cat-item {
  cursor: pointer;
}

/* panel mega que sale a la derecha del menú izquierdo */
.mega-cat {
  position: absolute;
  /* ahora toma a .cat-panel como referente */
  top: 0;
  /* estíralo hasta abajo del panel */
  left: 100%;
  /*height: auto !important;     /* por si tenías una altura fija previa */
  max-height: 300px !important;
  /*max-height: none !important; /* asegúrate que no esté limitada */
  width: 400px;
  /* ajusta a tu diseño */
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  padding: 1.25rem 1.5rem;
  display: none;
  z-index: 2000;
  overflow-y: auto;
  /* si el contenido excede */

}

.cat-row.show>.mega-cat {
  display: block;
}

.mega-cat .col-title {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: .03em;
  margin-bottom: .5rem;
}

.mega-cat ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.mega-cat ul li a {
  display: block;
  padding: .25rem 0;
  color: #212529;
  text-decoration: none;
}

.mega-cat ul li a:hover {
  color: #bf2020;
  text-decoration: none;
}

.mega-cat .promo {
  border-radius: 8px;
  overflow: hidden;
}

.cat-row:hover {
  background-color: #ffffff;
}

.cat-row:first-child:hover {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.cat-row:last-child:hover {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}


.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
  --bs-btn-active-bg: #065c9e;
  --bs-btn-active-color: #fff;
  color: var(--bs-btn-active-color);
  background-color: var(--bs-btn-active-bg);
  border-color: var(--bs-btn-active-border-color);
}

#especificaciones table {
  width: 100% !important;
  border: 1px solid #ccc;
  /* contorno gris */
  border-collapse: collapse;
  /* para que no se dupliquen bordes */
  font-size: 14px;
}

#especificaciones table tr:not(:last-child) {
  border-bottom: 1px solid #ccc;
  /* borde gris en las filas excepto la última */
  text-align: center !important;
}

#especificaciones table td,
#especificaciones table th {
  padding: 10px;
  text-align: center !important;
}

#especificaciones table td:nth-child(odd),
#especificaciones table th:nth-child(odd) {
  background-color: #ededed;
  /* columnas impares con gris claro */
  font-weight: bold;
}



/*  -   buscador --- */

/* en tu app.css */
.search-suggest {
  position: absolute;
  top: calc(100% + .25rem);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: .375rem;
  max-height: 360px;
  overflow-y: auto;
  z-index: 1050;
}

.search-suggest .item {
  display: flex;
  gap: .75rem;
  padding: .5rem .75rem;
  border-bottom: 1px solid #f1f3f5;
  text-decoration: none;
  color: inherit;
}

.search-suggest .item:last-child {
  border-bottom: 0;
}

.search-suggest .item:hover {
  background: #f8f9fa;
}

.search-suggest .thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: .25rem;
}

.search-suggest .title {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: .125rem;
}

.search-suggest .muted {
  font-size: .8125rem;
  color: #6c757d;
}