/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #fff0f7;
  color: #333;
}

/* HEADER */
header {
  background: linear-gradient(135deg, #ff9acb, #ffb6d9);
  padding: 20px;
  text-align: center;
}

header h1 {
  color: white;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 15px;
  list-style: none;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* SECCIONES */
section {
  padding: 40px 15px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.banner {
  max-width: 280px;
  margin: 20px auto;
}

/* PRODUCTOS */
.categoria {
  margin-top: 40px;
}

.categoria h3 {
  color: #ff5fa2;
  margin-bottom: 20px;
}

.producto {
  background: white;
  border-radius: 20px;
  width: 220px;
  padding: 15px;
  display: inline-block;
  margin: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.producto img {
  width: 100%;
  border-radius: 15px;
}

.producto button {
  background: #ff5fa2;
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  margin: 5px;
  cursor: pointer;
}

.producto button:hover {
  background: #ff3c90;
}

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;

  background: linear-gradient(135deg, #25d366, #1ebc5a);
  color: white;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  text-decoration: none;

  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.45);
  z-index: 1000;

  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 18px 32px rgba(37, 211, 102, 0.6);
}

.carrito-float {
  position: fixed;
  bottom: 90px;
  right: 22px;

  width: 56px;
  height: 56px;

  background: linear-gradient(135deg, #ff5fa2, #ff2f92);
  color: white;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;
  cursor: pointer;

  box-shadow: 0 12px 25px rgba(255, 95, 162, 0.45);
  z-index: 1000;

  transition: all 0.3s ease;
}

/* Hover carrito */
.carrito-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 18px 32px rgba(255, 95, 162, 0.6);
}

#contador-carrito {
  position: absolute;
  top: -6px;
  right: -6px;

  background: white;
  color: #ff2f92;

  width: 22px;
  height: 22px;

  font-size: 12px;
  font-weight: bold;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* PANEL */
#panel-carrito {
  position: fixed;
  right: -100%;
  top: 0;
  width: 320px;
  height: 100%;
  background: #fff;
  padding: 20px;
  transition: 0.3s;
  z-index: 2000;
  overflow-y: auto;
}

#panel-carrito.activo {
  right: 0;
}

.item-carrito {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.item-carrito img {
  width: 50px;
  border-radius: 10px;
}

.item-carrito button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

/* REDES */
.redes-sociales a {
  font-size: 30px;
  color: #ff5fa2;
  margin: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .producto {
    width: 90%;
  }
}

/* BOTÓN CARRITO FLOTANTE */
.carrito-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #ff5fa2;
  color: white;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  border: none;
  cursor: pointer;
  z-index: 3000;
}

#contador-carrito {
  position: absolute;
  top: -6px;
  right: -6px;
  background: white;
  color: #ff5fa2;
  font-size: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

/* PANEL CARRITO */
#panel-carrito {
  position: fixed;
  top: 0;
  right: -100%;
  width: 360px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: -5px 0 20px rgba(0,0,0,0.25);
  padding: 20px;
  transition: right 0.35s ease;
  z-index: 4000;
  overflow-y: auto;
}

/* CUANDO SE ABRE */
#panel-carrito.activo {
  right: 0;
}

/* CERRAR */
.cerrar-carrito {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 26px;
  cursor: pointer;
  color: #ff5fa2;
}
/* TABLETS */
@media (max-width: 1024px) {
  #panel-carrito {
    width: 340px;
  }
}

/* CELULARES */
@media (max-width: 768px) {
  #panel-carrito {
    width: 100%;
  }

  .carrito-float {
    right: 15px;
    bottom: 80px;
  }
}
/* MÉTODOS DE PAGO */
.metodos-pago {
  margin-top: 15px;
  text-align: center;
}

.metodos-pago p {
  font-weight: bold;
  color: #ff5fa2;
  margin-bottom: 10px;
}

/* Botones Yape / Plin */
.btn-yape,
.btn-plin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 22px;
  font-size: 15px;
  cursor: pointer;
}

/* Logos */
.btn-yape img,
.btn-plin img {
  width: 28px;      /* 👈 TAMAÑO IDEAL */
  height: auto;
  object-fit: contain;
}

/* Colores */
.btn-yape {
  background: #7b1fa2;
  color: white;
}

.btn-plin {
  background: #00c853;
  color: white;
}
@media (max-width: 768px) {
  .btn-yape img,
  .btn-plin img {
    width: 24px;   /* un poco más pequeño en móvil */
  }

  .btn-yape,
  .btn-plin {
    font-size: 14px;
    padding: 9px;
  }
}
/* =========================
   YAPE / PLIN – TAMAÑO FINAL
========================= */

/* Contenedor */
.metodos-pago {
  margin-top: 12px;
  text-align: center;
}

/* Botones */
.btn-yape,
.btn-plin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px;          /* 👈 más compacto */
  margin-bottom: 6px;
  border-radius: 18px;
  font-size: 14px;       /* 👈 texto más pequeño */
}

/* LOGOS (AQUÍ ESTÁ LA CLAVE) */
.btn-yape img,
.btn-plin img {
  width: 18px !important;   /* 👈 MUCHO MÁS PEQUEÑO */
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  object-fit: contain;
}

/* Colores */
.btn-yape {
  background: #7b1fa2;
  color: white;
}

.btn-plin {
  background: #00c853;
  color: white;
}
@media (max-width: 768px) {
  .btn-yape img,
  .btn-plin img {
    width: 16px !important;
    height: 16px !important;
  }

  .btn-yape,
  .btn-plin {
    font-size: 13px;
    padding: 7px;
  }
}
/* =========================
   MÉTODOS DE PAGO – ESTÉTICO
========================= */

.metodos-pago {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Tarjeta base */
.btn-yape,
.btn-plin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  background: #fff;
  border-radius: 16px;
  padding: 10px 12px;

  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;

  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);

  cursor: pointer;
  transition: all 0.25s ease;
}

/* Hover suave */
.btn-yape:hover,
.btn-plin:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* Logos */
.btn-yape img,
.btn-plin img {
  width: 18px !important;
  height: 18px !important;
  object-fit: contain;
}

/* Colores delicados */
.btn-yape {
  color: #7b1fa2;
  border-left: 4px solid #7b1fa2;
}

.btn-plin {
  color: #00a152;
  border-left: 4px solid #00a152;
}
@media (max-width: 768px) {
  .btn-yape,
  .btn-plin {
    font-size: 13px;
    padding: 9px 10px;
    border-radius: 14px;
  }

  .btn-yape img,
  .btn-plin img {
    width: 16px !important;
    height: 16px !important;
  }
}
.btn-yape img,
.btn-plin img {
  transition: transform 0.25s ease, filter 0.25s ease;
}

/* Hover */
.btn-yape:hover img {
  transform: scale(1.15);
  filter: brightness(1.15);
}

.btn-plin:hover img {
  transform: scale(1.15);
  filter: brightness(1.15);
}
.redes-sociales a i {
  font-size: 26px;
  color: #ff7abf;
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Hover suave */
.redes-sociales a:hover i {
  transform: scale(1.18);
  color: #ff4fa0;
}
.producto {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover en tarjeta */
.producto:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 28px rgba(255, 122, 191, 0.35);
}
.producto img {
  transition: transform 0.35s ease;
  border-radius: 14px;
}

/* Zoom SOLO imagen */
.producto:hover img {
  transform: scale(1.08);
}
.producto h4 {
  transition: color 0.3s ease;
}

.producto:hover h4 {
  color: #ff4fa0;
}
.producto p {
  transition: transform 0.3s ease, color 0.3s ease;
}

.producto:hover p {
  transform: scale(1.05);
  color: #ff2f92;
}
.producto button {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.producto button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
@media (hover: hover) {
  /* efectos solo para dispositivos con mouse */
}
footer {
  background: linear-gradient(135deg, #ff9acb, #ffb6d9);
  padding: 18px 10px;
  margin-top: 50px;
}

footer p {
  text-align: center;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0.5px;
  font-weight: 500;
}
footer::before {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #ff5fa2, #ffd1e8);
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .whatsapp-float,
  .carrito-float {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }
}
/* =========================
   SLIDER DE PRODUCTOS
========================= */

.slider-producto {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.slider-producto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.slider-producto img.activo {
  opacity: 1;
  transform: scale(1);
}

/* Indicador suave (opcional) */
.slider-producto::after {
  content: "↔ Desliza";
  position: absolute;
  bottom: 6px;
  right: 10px;
  font-size: 11px;
  color: white;
  background: rgba(0,0,0,0.35);
  padding: 2px 8px;
  border-radius: 10px;
}
/* =========================
   EXPLORA POR CATEGORÍAS
========================= */

.categorias-explora {
  margin: 60px auto;
  text-align: center;
}

.categorias-explora h2 {
  font-size: 26px;
  color: #ff4fa0;
  margin-bottom: 30px;
}

/* Grid */
.categorias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: auto;
}

/* Tarjeta */
.categoria-card {
  background: #fff;
  border-radius: 22px;
  padding: 20px 15px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  text-decoration: none;
  color: #444;

  box-shadow: 0 10px 25px rgba(255, 122, 191, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover elegante */
.categoria-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 18px 38px rgba(255, 122, 191, 0.35);
}

/* Icono */
.categoria-card .icono {
  font-size: 34px;
  transition: transform 0.3s ease;
}

.categoria-card:hover .icono {
  transform: scale(1.2);
}

/* Texto */
.categoria-card .texto {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
@media (max-width: 768px) {
  .categorias-explora h2 {
    font-size: 22px;
  }

  .categoria-card {
    padding: 18px 10px;
  }

  .categoria-card .icono {
    font-size: 30px;
  }
}
.categorias-explora h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.8px;
}
.categoria-card .texto {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.6px;
}
.categoria-card .icono {
  font-size: 32px;
  line-height: 1;
}
@media (max-width: 768px) {
  .categorias-explora h2 {
    font-size: 24px;
    letter-spacing: 0.6px;
  }
.descripcion {
  font-size: 13px;
  color: #777;
  margin: 5px 0 10px;
  font-style: italic;
}
  .categoria-card .texto {
    font-size: 14px;
  }
}
.descripcion-larga {
  display: none;
  font-size: 13px;
  color: #666;
}

.btn-vermas {
  background: none;
  border: none;
  color: #ff69b4;
  cursor: pointer;
  font-size: 13px;
  margin-bottom: 10px;
}
