/* === ÍCONO HAMBURGUESA ANIMADO === */
.multicel-hamburguesa {
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  z-index: 1001;
  margin: 15px;
  transition: all 0.3s ease;
}
.multicel-hamburguesa span {
  position: absolute;
  height: 4px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  left: 0;
}
.multicel-hamburguesa span:nth-child(1) {
  top: 0;
}
.multicel-hamburguesa span:nth-child(2) {
  top: 10px;
}
.multicel-hamburguesa span:nth-child(3) {
  top: 20px;
}

/* Estado activo: convertir en "X" */
body.menu-open .multicel-hamburguesa span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}
body.menu-open .multicel-hamburguesa span:nth-child(2) {
  opacity: 0;
}
body.menu-open .multicel-hamburguesa span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* === MENÚ LATERAL === */
.multicel-menu-lateral {
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100vh;
  background: linear-gradient(to bottom, #0a0a0a, #00ff00);
  transition: left 0.4s ease;
  z-index: 1000;
  padding: 20px;
  box-shadow: 5px 0 15px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
}

body.menu-open .multicel-menu-lateral {
  left: 0;
}

/* === FONDO OSCURO DETRÁS === */
body.menu-open::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

/* === ENCABEZADO DEL MENÚ === */
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.menu-cerrar {
  cursor: pointer;
  font-size: 24px;
  color: white;
  transition: transform 0.2s;
}
.menu-cerrar:hover {
  transform: scale(1.1);
}

/* === LISTA DE ENLACES === */
.menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}
.menu-links li {
  margin: 14px 0;
  font-size: 17px;
}
.menu-links li::before {
  content: "➤";
  margin-right: 10px;
  color: #00ff00;
}
.menu-links a {
  color: white;
  text-decoration: none;
}
.menu-links a:hover {
  text-decoration: underline;
  color: #00ff00;
}

/* === BUSCADOR FIBOSEARCH === */
.menu-search {
  margin-top: auto;
  margin-bottom: 10px;
}
.menu-search input[type="search"] {
  border-radius: 8px;
  padding: 8px 12px;
  border: none;
  width: 100%;
  font-size: 16px;
}
.multicel-header-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
  background: #000;
  z-index: 1001;
}

.multicel-header-search {
  flex-grow: 1;
}

.multicel-header-search input[type="search"] {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
}

/* === multicel-boton-categoria === */
.multicel-boton-categoria {
  text-align: center;
  margin: 30px auto 20px;
}

.multicel-boton-categoria a {
  display: inline-block;
  background: linear-gradient(135deg, #00ff00, #009900);
  color: white;
  font-weight: bold;
  font-size: 18px;
  padding: 12px 26px;
  border: 2px solid black;
  border-radius: 40px;
  text-shadow: 1px 1px 2px black;
  box-shadow: 0 0 10px rgba(0,255,0,0.6);
  text-decoration: none;
  transition: 0.3s ease;
}

.multicel-boton-categoria a:hover {
  background: #00cc00;
  color: black;
  transform: scale(1.05);
}

/* === Slider multicel personalizado === */
.multicel-slider {
  position: relative;
  margin: 20px 0;
  padding: 10px 0;
}

.multicel-slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.multicel-slider .swiper-slide {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  width: 220px !important;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.multicel-slider .swiper-slide img {
  height: 180px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 10px;
}

.multicel-slider .product-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
  height: 38px;
  overflow: hidden;
}

.multicel-slider .price {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  color: #111;
}

.multicel-slider .price:empty {
  color: #888;
}

.multicel-slider .add-to-cart {
  display: inline-block;
  background: #00c853;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}

.multicel-slider .add-to-cart:hover {
  background: #009624;
}

/* === Diseño general de tarjetas === */
.multicel-slider .product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Imagen del producto */
.multicel-slider .swiper-slide img {
  height: 140px !important;
  width: 100%;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Precio grande */
.multicel-slider .price {
  font-size: 18px;
  font-weight: bold;
  color: #1a1a1a;
  margin: 4px 0 6px;
  line-height: 1.2;
}

/* Título más chico */
.multicel-slider .product-card h4 {
  font-size: 13px;
  font-weight: 500;
  color: #444;
  margin: 0;
  line-height: 1.2;
  height: 34px;
  overflow: hidden;
}

/* Botón agregar al carrito */
.multicel-slider .add-to-cart {
  background: #00c853;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 13px;
  text-decoration: none;
  transition: 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

.multicel-slider .add-to-cart:hover {
  background: #009624;
}

.multicel-slider .swiper-slide {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
  padding: 8px;
  width: 160px !important;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  height: auto !important;
}
.multicel-slider .swiper-slide img {
  height: 120px !important;
  width: 100%;
  object-fit: contain;
  margin-bottom: 8px;
}

.multicel-slider .add-to-cart {
  background: #00c853;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 13px;
  text-decoration: none;
  transition: 0.3s ease;
  display: inline-block;
  margin-top: 10px;
  border: 2px solid black;
}

.multicel-slider .add-to-cart:hover {
  background: #009624;
  border-color: black;
  transform: scale(1.05);
}
#multicel-carrito-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.carrito-boton {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #00c853;
  color: white;
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border: 2px solid black;
  transition: 0.3s ease;
}

.carrito-boton:hover {
  background: #009624;
  transform: scale(1.05);
}

#carrito-contador {
  margin-left: 6px;
  background: black;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 13px;
}
.btn-sin-stock {
  display: inline-block;
  background: rgba(213, 0, 0, 0.85); /* rojo translúcido */
  color: white;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border: 2px solid black;
  border-radius: 20px;
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  margin-top: auto; /* para que quede alineado abajo */
  margin-bottom: 8px;
  cursor: default;
  transition: all 0.2s ease-in-out;
  min-height: 36px; /* asegura altura constante */
}

/* Efecto visual al pasar el mouse */
.btn-sin-stock:hover {
  background: rgba(170, 0, 0, 0.85);
  transform: scale(1.03);
}

/* Animación */
@keyframes scroll-oferta {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.whatsapp-flotante {
  position: fixed;
  bottom: 20px;
  left: 12px;
  z-index: 9999;
}

.whatsapp-boton {
  display: inline-block;
  background: #25D366;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  text-align: center;
  line-height: 52px;
  transition: transform 0.2s ease-in-out;
  border: 2px solid black;
}

.whatsapp-boton img {
  width: 26px;
  height: 26px;
  margin-top: 12px;
}

.whatsapp-boton:hover {
  transform: scale(1.1);
  background: #128c7e;
}
.btn-sin-stock-carrusel {
  display: inline-block;
  background: #d50000;
  color: white !important;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 20px;
  border: 2px solid #880000;
  text-transform: uppercase;
  margin: 10px auto 0;
  text-align: center;
  line-height: 1.2;
  height: auto;
  width: fit-content;
  max-width: 90%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}
