body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

/* inicio HERO */
html {
  scroll-behavior: smooth;
}

.tienda__hero {
  background: linear-gradient(135deg, #e4572e, #ff7a3d);
  min-height: 100vh;
  color: #f8e8c7;
  padding: 60px 0;
  overflow: hidden;
  position: relative;
}

/* TEXTO */
.tienda__tagline {
  letter-spacing: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

.tienda__title {
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  font-size: 5rem;
  line-height: 1;
  margin: 0;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.2s;
}

.tienda__subtitle {
  margin: 20px 0;
  font-size: 1.1rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.4s;
}

/* BOTÓN */
.tienda__btn {
  background-color: #f2efea;
  color: #12372A;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.6s;
}

.tienda__btn:hover {
  background-color: #12372A;
  color: #fff;
  transform: scale(1.05);
}

/* IMAGEN */
.tienda__hero-img {
  max-width: 600px;
  width: 100%;
  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.4));
  animation: float 4s ease-in-out infinite;
}

/* EFECTO DECORATIVO */

.tienda__hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  border-radius: 50%;
  z-index: 0;
}

.tienda__hero img {
  position: relative;
  z-index: 1;
}

/* animaciones del Hero */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* fin HERO */

/* NAVBAR - Autor: Manuel */
.tienda__header .navbar {
  background-color: #e4572e !important;
  padding: 15px 0;
}

.tienda__logo {
  font-weight: 900;
  font-size: 1.3rem;
  color: #FBFADA !important;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: #FBFADA !important;
  font-weight: 600;
}

.tienda__cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #f8e8c7;
  color: #e4572e !important;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

/* SECCIÓN PRODUCTOS - Autor: Manuel */
.tienda__categorias,
.tienda__categorias2 {
  background-color: #FBFADA;
  padding: 70px 20px;
}

.tienda__categorias h2,
.tienda__categorias2 h2 {
  font-weight: 900;
  font-size: 2rem;
  color: #12372A;
  margin-bottom: 10px;
}

/* ── Tarjetas ── */
.tienda__categoria-card {
    display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  border: none !important;
  background-color: #E25D29;
  text-decoration: none;
  color: #1C2B1A;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tienda__categoria-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(228, 87, 46, 0.25);
}
.tienda__categoria-card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* FOOTER - Autor: Manuel */
.tienda__footer {
  background: linear-gradient(135deg, #e4572e, #ff7a3d);
  color: #FBFADA;
  padding: 50px 20px;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 200px;
}

.tienda__footer-content {
  position: relative;
  z-index: 2;
}

.tienda__footer-logo {
  font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: 6px;
  color: #FBFADA;
  margin-bottom: 20px;
}

.tienda__footer-redes {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.tienda__footer-equipo {
  font-size: 0.9rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.tienda__footer-copy {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Hamburguesas laterales */
.tienda__footer-burger {
  position: absolute;
  bottom: 0;
  width: 400px;
  object-fit: contain;
}

.tienda__footer-burger--left {
  left: -80px;
  bottom: -100px;
  transform-origin: bottom left;
  animation: girarIzquierda 6s ease-in-out infinite;
}

.tienda__footer-burger--right {
  right: -80px;
  bottom: -100px;
  transform-origin: bottom right;
  animation: girarDerecha 6s ease-in-out infinite;
}
/* OCULTAR HAMBURGUESAS EN PANTALLAS PEQUEÑAS */
@media (max-width: 768px) {
  .tienda__footer-burger {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
  }
}

@keyframes girarIzquierda {
  0%   { transform: rotate(0deg); }
  50%  { transform: rotate(-15deg); }
  100% { transform: rotate(0deg); }
}

@keyframes girarDerecha {
  0%   { transform: rotate(0deg); }
  50%  { transform: rotate(15deg); }
  100% { transform: rotate(0deg); }
}

/* Iconos redes sociales */
.tienda__icon {
  color: #FBFADA;
  font-size: 1.3rem;
  margin: 0 8px;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.tienda__icon:hover {
  opacity: 0.7;
}


   /* inicio SECCIÓN PRODUCTOS */

.tienda__categorias2 {
  background-color: #fdf3e7;
  padding: 60px 0;
}

/* TARJETAS */
.tienda__categoria-card {
  border: none;
  border-radius: 20px;
  transition: all 0.3s ease;
  background-color: #fff;
}

.tienda__categoria-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

/* BOTÓN AGREGAR */
.tienda__categoria-card .btn {
  background-color: #E4572E;
  border: none;
  border-radius: 30px;
   margin-top: auto;
}

.tienda__categoria-card .btn:hover {
  background-color: #000;
  
}




@media (max-width: 992px) {
  .tienda__carrito {
    margin-top: 30px;
    position: static;
  }
}
  /* fin inicio SECCIÓN PRODUCTOS */



  /* carrito nuevo  */
  .tienda__cart-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  background: orange;
  border-radius: 50%;
  padding: 3px 7px;
  font-size: 12px;
}












.carrito-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.carrito-offcanvas .offcanvas-title {
  font-weight: 800;
  letter-spacing: 1px;
}

.carrito-offcanvas .offcanvas-body {
  background-color: #fff;
  color: #12372A;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 20px;
}


/* interacion al agregar al carrito  */
.shake {
  animation: pop 0.3s ease;
}

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}





/* ================= CARRITO MODERNO ================= */

/* OFFCANVAS */
.carrito-offcanvas {
  background: linear-gradient(135deg, #e4572e, #ff7a3d);
  color: #fff;
}

.carrito-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.carrito-offcanvas .offcanvas-body {
  background: #fff;
  color: #12372A;
  border-radius: 20px 20px 0 0;
  padding: 20px;
}

/* ITEM */
.carrito-item {
  display: grid;
  grid-template-columns: 50px 1fr auto auto; /* 👈 4 columnas reales */
  gap: 12px;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
  background: #f9f9f9;
  border-radius: 12px;
}

.carrito-item:hover {
  transform: scale(1.02);
}

/* IMG */
.carrito-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

/* INFO */
.carrito-info {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.carrito-info strong {
  font-size: 0.9rem;
}

.carrito-info span {
  opacity: 0.7;
}

/* CONTROLES */
.cantidad-control {
  display: flex;
  align-items: center;
  justify-content: center; /* 👈 centra dentro de su columna */
  gap: 6px;
}

/* BOTONES + / - */
.btn-cantidad {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #E4572E;
  color: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cantidad:hover {
  background: #000;
  transform: scale(1.1);
}

/* NUMERO */
.cantidad-control span {
  font-size: 0.85rem;
  min-width: 18px;
  text-align: center;
}

/* ACCIONES (derecha) */
.carrito-acciones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center; /* 👈 CLAVE */
  gap: 4px;
}

/* SUBTOTAL */
.subtotal {
  font-size: 0.8rem;
  font-weight: 600;
}

/* BOTON ELIMINAR */
.btn-eliminar {
  background: transparent;
  border: none;
  color: #999;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-eliminar:hover {
  color: crimson;
  transform: scale(1.2);
}

/* TOTAL */
#total-carrito {
  font-size: 1.2rem;
  font-weight: 700;
}

#btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #1ebe5d);
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 12px;
  padding: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* Hover */
#btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, #1ebe5d, #25D366);
}

/* Click */
#btn-whatsapp:active {
  transform: scale(0.98);


}

/* BOTÓN VACIAR CARRITO PRO */
#btn-vaciar {
  background: linear-gradient(135deg, #ff4d4d, #cc0000);
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 12px;
  padding: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Hover */
#btn-vaciar:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, #cc0000, #ff4d4d);
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}

/* Click */
#btn-vaciar:active {
  transform: scale(0.97);
}










