/* === RESET GENERAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Arial', sans-serif;
  background-color: #fffafa;
  color: #333;
}

/* === HEADER === */
.header {
  background-color: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid #eee;
}
.logo-titulo {
  display: flex;
  align-items: center;
  gap: 15px;
}
.logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .logo {
    width: 70px;
    height: 70px;
  }
}
.titulo-container {
  display: flex;
  flex-direction: column;
}
.titulo {
  font-size: 2em;
  font-weight: bold;
  color: #d63384;
}
.subtitulo {
  font-size: 0.85em;
  color: #888;
}
.subtitulo:hover {
  color: #d63384;
  text-decoration: underline;
}
#buscador {
  flex: 1;
  max-width: 400px;
  padding: 10px 15px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin: 1em;
}

/* === MENÚ === */
.menu {
  position: relative;
}
.menu-btn {
  background-color: #d63384;
  color: white;
  padding: 10px 16px;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.menu-content {
  display: none;
  position: absolute;
  right: 0;
  top: 60px;
  background-color: #fff;
  min-width: 180px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 1000;
  flex-direction: column;
}
.menu-content a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
  font-size: 1em;
  border-radius: 6px;
}
.menu-content a:hover {
  background-color: #f3f3f3;
}

.menu-content.visible {
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .menu-content {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
  }
  .menu-btn {
    width: 100%;
    text-align: left;
  }
}

/* === LAYOUT GENERAL === */
.main-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  padding: 1em;
}

/* === SIDEBAR CATEGORÍAS === */
.sidebar {
  width: 220px;
  background: #ffe6f0;
  padding: 1em;
  border-radius: 10px;
}
.sidebar button {
  display: block;
  width: 100%;
  padding: 0.6em;
  margin-bottom: 0.5em;
  background-color: #f8bbd0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #d63384;
  font-weight: bold;
}
.sidebar button:hover {
  background-color: #f48fb1;
  color: white;
}
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    order: 2;
  }
}

/* === CONTENIDO TIENDA === */
.contenido-tienda {
  flex: 1;
  min-width: 300px;
}
#titulo-categoria {
  text-align: center;
  font-size: 1.8em;
  color: #d63384;
  margin-bottom: 1em;
}
#productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2em;
  padding: 2em;
}

.producto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 10px;
  padding: 1em;
  text-align: center;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.producto img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}




.producto h3 {
  font-size: 1em;
  margin: 0.3em 0;
  color: #333;
}

.producto p {
  font-weight: bold;
  color: #d63384;
  margin: 0.3em 0;
}

.producto button {
  margin-top: auto;
  padding: 0.5em 1em;
  background-color: #f48fb1;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
  max-width: 130px;
}

.producto button:hover {
  background-color: #d63384;
}


/* === CARRITO === */
#carrito {
  max-width: 400px;
  margin: 2em auto;
  background: white;
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
#carrito ul {
  list-style: none;
  padding: 0;
}
#carrito li {
  background-color: #fff;
  border: 1px solid #f4c2d7;
  padding: 0.8em;
  border-radius: 6px;
  margin-bottom: 0.5em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#carrito button {
  padding: 0.4em 0.7em;
  background-color: #f44336;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#carrito select {
  width: 100%;
  padding: 0.5em;
  margin: 1em 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* === FOOTER === */
.footer {
  background-color: #fce4ec;
  padding: 2em;
  text-align: center;
  border-top: 1px solid #f8bbd0;
  margin-top: 2em;
}
.footer p {
  margin: 0.5em;
  font-size: 0.9em;
  color: #555;
}
.footer-links a {
  margin: 0 10px;
  color: #d63384;
  font-weight: 500;
}
.footer-links a:hover {
  text-decoration: underline;
}
/* Separación entre título y categorías */
#titulo-categoria {
  margin-bottom: 1em;
  margin-top: 1em;
  text-align: center;
  font-size: 1.6em;
  color: #d63384;
}

/* Contenedor de categorías vertical */
#categorias {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  padding: 1em;
}

#categorias button {
  padding: 0.6em 1em;
  background-color: #ffe6f0;
  border: 1px solid #f8bbd0;
  border-radius: 6px;
  color: #d63384;
  cursor: pointer;
  transition: background 0.3s;
}

#categorias button:hover {
  background-color: #f8bbd0;
  color: white;
}
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }

  .sidebar {
    order: 1;
    width: 100%;
  }

  .contenido-tienda {
    order: 2;
  }
}
.icono-carrito {
  position: relative;
  display: inline-block;
}

.icono-carrito .badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background-color: crimson;
  color: white;
  font-size: 0.75em;
  padding: 2px 6px;
  border-radius: 50%;
}
/* === CONTENIDO CARRITO === */
.contenido-tienda {
  max-width: 700px;
  margin: 2em auto;
  padding: 2em;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(214, 51, 132, 0.08);
}

.contenido-tienda h2 {
  font-size: 2em;
  color: #d63384;
  margin-bottom: 1em;
  text-align: center;
}

#lista-carrito {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5em;
}

#lista-carrito li {
  background-color: #fff0f6;
  border: 1px solid #f8bbd0;
  padding: 1em;
  margin-bottom: 1em;
  border-radius: 8px;
  font-size: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#lista-carrito button {
  padding: 5px 10px;
  background-color: #d63384;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

#lista-carrito button:hover {
  background-color: #ad1457;
}

#total {
  font-weight: bold;
  font-size: 1.3em;
  color: #d63384;
}

select#metodo-pago {
  display: block;
  width: 100%;
  margin: 1.2em 0;
  padding: 0.7em;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
  background-color: #fff0f6;
}

button#finalizar,
button#vaciar {
  padding: 0.8em 1.5em;
  font-size: 1em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 0.5em;
}

button#finalizar {
  background-color: #f48fb1;
  color: white;
}

button#finalizar:hover {
  background-color: #d63384;
}

button#vaciar {
  background-color: #f44336;
  color: white;
  margin-left: 10px;
}

button#vaciar:hover {
  background-color: #c62828;
}

/* Responsive */
@media (max-width: 600px) {
  .contenido-tienda {
    padding: 1.5em 1em;
  }

  #lista-carrito li {
    flex-direction: column;
    align-items: flex-start;
  }

  #total {
    text-align: center;
  }
}
.metodos-pago {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.metodos-pago li {
  background: #fff;
  margin-bottom: 1.5em; /* aumentamos el espacio */
  padding: 1.2em;
  border-radius: 10px;
  box-shadow: 0 0 5px #eee;
  font-size: 1.05em;
  color: #444;
  line-height: 1.6;
}
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}
.notificacion {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #d63384;
  color: white;
  padding: 1em 1.5em;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.notificacion.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
#notificacion {
  position: fixed;
  top: 1em;
  right: 1em;
  background-color: #d63384;
  color: white;
  padding: 1em 1.5em;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  display: none;
  z-index: 9999;
  font-weight: bold;
  animation: aparecer 0.3s ease-in-out;
}

@keyframes aparecer {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


.menu-content a {
  text-decoration: none;
  color:#d63384 ;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 0;
  transition: color 0.2s;
}.menu-content a:hover {
  color: black;
}

.menu-content.show {
  display: flex;
}
.buscador{
  border:2px solid #f5c2da;
  border-radius: 10px;
  background-color: #fff0f6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition:border 0.3s,box-shadow 0.3s;
  display: block;
  color: white;
  font-family: inherit;
}
.banner-promocional {
  background-image: url('css/banner-fondo.jpg'); /* podés subir una imagen suave o con productos */
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 3em 1em;
  color: white;
  border-radius: 12px;
  margin: 2em auto;
}

.banner-promocional h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
  text-shadow: 0 0 5px rgba(0,0,0,0.4);
}

.banner-promocional p {
  font-size: 1.2em;
  margin-bottom: 1em;
  text-shadow: 0 0 5px rgba(0,0,0,0.4);
}

.btn-ver-tienda {
  display: inline-block;
  background-color: #d63384;
  color: white;
  padding: 0.7em 1.5em;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-ver-tienda:hover {
  background-color: #b92c6e;
}
.oferta-tiempo-limitado {
  background-color: #ffe4ef;
  padding: 1em;
  text-align: center;
  color: #b92c6e;
  font-family: inherit;
  border-radius: 10px;
  margin: 1em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#cuenta-regresiva {
  font-size: 1.3em;
  font-weight: bold;
}
.btn-ver-productos {
  display: inline-block;
  margin-top: 1em;
  padding: 0.6em 1.2em;
  background-color: #d63384;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.btn-ver-productos:hover {
  background-color: #b92c6e;
}
.destacados {
  text-align: center;
  margin: 2em auto;
  padding: 1em;
  background-color: #fff0f5;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  max-width: 100%;
  overflow: hidden;
}

.carrusel {
  display: flex;
  gap: 1em;
  overflow-x: auto;
  padding: 1em;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carrusel::-webkit-scrollbar {
  display: none;
}

.carrusel img {
  flex: 0 0 auto;
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  scroll-snap-align: center;
  transition: transform 0.3s;
}

.carrusel img:hover {
  transform: scale(1.05);
}

/* Responsive para tablet */
@media (max-width: 768px) {
  .carrusel img {
    width: 180px;
    height: 180px;
  }
}

/* Responsive para celular */
@media (max-width: 480px) {
  .carrusel {
    gap: 0.5em;
    padding: 1em 0.5em;
  }

  .carrusel img {
    width: 140px;
    height: 140px;
  }
}
.beneficios {
  text-align: center;
  background-color: #fff7fb;
  margin: 2em;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.beneficios h2 {
  color: #d63384;
  margin-bottom: 1em;
}

.beneficios ul {
  list-style: none;
  padding: 0;
  font-size: 1.1em;
}

.beneficios li {
  margin: 0.6em 0;
}
.categorias-visual {
  text-align: center;
  padding: 2em;
}

.grid-categorias {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
}

.card {
  width: 160px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  margin-top: 2em;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card p {
  background-color: #fff0f5;
  margin: 0;
  padding: 0.8em;
  font-weight: bold;
  color: #d63384;
}

.card:hover {
  transform: scale(1.05);
}
.cats{
  color: #d63384;
}

.titulo {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  color: #d63384;
  margin: 0.5em 0;
  padding: 0.3em 0.8em;
  background: linear-gradient(to right, #ffe6f0, #fff0f5);
  border-left: 8px solid #d63384;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: inline-block;
}
.titulo {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  color: #d63384;
  margin: 0.8em 0;
  padding: 0.4em 1em;
  border-radius: 12px;
  background: #ffe6f8;
  box-shadow:
    0 0 12px #ffb6d9,
    0 0 20px #ffb6d9;
  text-shadow:
    0 0 3px #d63384,
    0 0 6px #f8a6c8;
  display: inline-block;
}
.testimonios {
  padding: 2em 1em;
  text-align: center;
  background-color: #fefefe;
}

.testimonios h2 {
  margin-bottom: 1.5em;
  color: #d63384;
}

.contenedor-testimonios {
  max-width: 600px; /* ✅ ancho máximo controlado */
  margin: 0 auto;    /* ✅ centrado en PC */
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.testimonio {
  display: flex;
  align-items: center;
  gap: 1em;
  background-color: #fff;
  padding: 1em;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.testimonio img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonio p {
  margin: 0;
  font-size: 0.95rem;
  text-align: left;
}

.testimonio strong {
  color: #d63384;
  font-size: 0.9rem;
  display: block;
  margin-top: 0.3em;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  padding: 15px;
  font-size: 30px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebd5b;
}
.sellos-confianza {
  background-color: #fef6f9;
  padding: 2em;
  text-align: center;
}
.sellos {
  display: flex;
  justify-content: center;
  gap: 2em;
  margin-top: 1em;
}
.sellos div {
  text-align: center;
}
.sellos i {
  font-size: 2em;
  color: #d63384;
}
.sellos p {
  margin-top: 0.5em;
  color: #444;
}
@media(max-width: 600px) {
  .sellos {
    flex-direction: column;
    gap: 1.5em;
  }
}
.video-card:hover {
  box-shadow: 0 0 15px rgba(214, 51, 132, 0.3);
  transform: scale(1.02);
  transition: all 0.3s ease;
}
#metodo-pago {
  padding: 10px;
  margin-bottom: 1em;
  width: 100%;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.menu-carrito-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.5em;
  padding: 1em;
}

.carrito-fijo .boton-carrito {
  background-color: #d63384;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.carrito-fijo .badge {
  background: white;
  color: #d63384;
  padding: 2px 6px;
  border-radius: 50%;
  font-size: 0.8em;
  margin-left: 4px;
}

@media (max-width: 600px) {
  .menu-carrito-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1em;
  }

  .carrito-fijo {
    text-align: left;
  }
}
@keyframes rebote {
  0% { transform: scale(1); }
  30% { transform: scale(1.4); }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.badge.rebote {
  animation: rebote 0.4s ease;
}
.banner-bienvenida {
  background: linear-gradient(to right, #ffb6c1, #ffe6f0);
  text-align: center;
  padding: 1em;
  font-size: 1.1em;
  color: #d63384;
  font-weight: bold;
  animation: aparecer 1s ease-in-out;
  border-bottom: 2px solid #d63384;
}

@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.banner-bienvenida {
  background: linear-gradient(to right, #ffb6c1, #ffe6f0);
  text-align: center;
  padding: 1em;
  font-size: 1.1em;
  color: #d63384;
  font-weight: bold;
  animation: aparecer 1s ease-in-out;
  border-bottom: 2px solid #d63384;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.banner-bienvenida.oculto {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}
