@import url('https://fonts.googleapis.com/css2?family=Playwrite+DE+Grund:wght@100..400&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Playwrite DE Grund", cursive;
}

/* Estilos generales */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
header {
    margin-top: 53px;
}

.logo img {
  width: 100px;
}
#cars {
    top: -53px;
}
.nav-icons i {
    font-size: 24px;
    margin: 0 10px;
    cursor: pointer;
}

.menu-toggle {
    cursor: pointer;
}
.menu-toggle i {
    font-size: 24px;
}

/* Menú lateral */
.sidebar {
    position: fixed;
    left: -250px;
    top: 111px;
    width: 250px;
    height: 100%;
    background-color: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: left 0.3s;
    z-index: 1000;
}

.sidebar ul {
    list-style: none;
    padding: 20px;
}

.sidebar ul li {   
    margin: 20px 0;
    font-weight: bold;
}


.sidebar ul li a {
    width: 100%;
    text-decoration: none;
    color: rgb(2, 8, 14);
    font-size: 18px;
}
.sidebar ul li a:hover {
    background-color: transparent;
    border: 2px solid rgb(229, 26, 148);
    padding: 5px;
    width: 100%;
    color: rgb(246, 13, 145);
    border-radius: 10px;
}


.sidebar-active {
    left: 0;
}

/* Ocultar el contenedor de búsqueda por defecto */
/* Search bar */
.search-bar {
    display: none;
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 400px;
    padding: 10px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.search-bar input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.suggestions {
    margin-top: 5px;
}

.suggestions div {
    padding: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-top: none;
    background-color: white;
}

.suggestions div:hover {
    background-color: #f0f0f0;
}

.search-box {
    position: relative;
    width: 100%;
}

#search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
}

#search-input:focus {
    border-color: #ff4081;
    box-shadow: 0 0 5px rgba(255,77,109,0.3);
}

#search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: linear-gradient(135deg, #ff4081, #ff6fa8);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

#search-btn:hover {
    background: #e63950;
}

/* estilos al header principal o menu , para movil*/
@media (max-width: 768px) {
    header {
        margin-top: 40px;
    }
    .banner img {
    margin-top: -20px;
}
    #cars {
        top: -40px;
    }
    .sidebar {
        margin-top: -14px;
    }

    .search-bar {
        margin-top: -23px;
    }
    
    
}



/* Banner */
.banner {
    margin-top: 55px;
}
.banner img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

/* Estilos para la sección de 'Quiénes Somos' */
#quienes-somos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 20px;
    background-color: #f7f7f7;
}

.quienes-somos-contenido {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.quienes-somos-contenido .imagen {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.quienes-somos-contenido .imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.quienes-somos-contenido .texto {
    flex: 1;
    padding: 20px;
}

.quienes-somos-contenido .texto h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

.quienes-somos-contenido .texto p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
}

.nombres .titulo h1 {
    text-align: center;
    font-size: 25px;
}





/* estilos a la seccion de publicidad de popup */


#promo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.5s ease;
}

/* Fondo borroso */
.promo-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.promo-content {
  position: relative;
  z-index: 2;
  background: white;
  border-radius: 20px;
  text-align: center;
  padding: 25px;
  width: 90%;
  max-width: 400px;
  animation: slideUp 0.6s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.promo-content h2 {
  color: #d63384;
  font-size: 1.4rem;
  margin-top: 10px;
}

.promo-content p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 10px;
}

.promo-img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 10px;
}

.promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff4081, #ff6fa8);
  color: white;
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 64, 129, 0.3);
}

.promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(255, 64, 129, 0.5);
}

.promo-close {
  position: absolute;
  top: 8px;
  right: 15px;
  font-size: 1.6rem;
  cursor: pointer;
  color: #888;
  transition: color 0.3s ease;
}

.promo-close:hover {
  color: #d63384;
}

.promo-timer {
  font-weight: bold;
  color: #e91e63;
  margin-top: 5px;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 500px) {
  .promo-content {
    padding: 20px;
    width: 85%;
  }
  .promo-content h2 {
    font-size: 1.2rem;
  }
  .promo-content p {
    font-size: 0.95rem;
  }
}


/* Sección productos */
.productos {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    margin-top: 40px;
    animation: fadeIn 0.8s ease-in-out;
}

.producto {
    text-align: center;
}

.producto img {
    width: 150px;
    height: 150px;
    cursor: pointer;
    object-fit: cover;
    transition: transform 0.3s ease-in-out; /* Animación suave */
    border-radius: 5px;
}
.producto img:hover {
    transform: scale(1.1); /* Aumenta el tamaño de la imagen al pasar el mouse */
}

/* Efecto combinado: zoom + sombra */
.producto img:hover {
    transform: scale(1.1); /* Zoom */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Sombra más intensa */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animación suave */
}

.producto p {
    font-weight: bold;
}


.btn-comprar {
    background-color: #000;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 10px;
    cursor: pointer;
}

.btn-carrito {
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 50%;
    padding: 8px;
    cursor: pointer;
}

.btn-carrito i {
    font-size: 16px;
}

.resumen {
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #f7d9e6;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Título */
.resumen h1 {
  text-align: center;
  color: #d74886;
  margin-bottom: 25px;
}

/* Bloque de productos (carrito) */
#carrito-items .carrito-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #f2bfd2;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.carrito-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
}

/* Controles de cantidad */
.cantidad-controles {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cantidad-controles button {
  background: #d74886;
  color: white;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
}
.cantidad-controles button:hover {
  background: #b8376e;
}

.btn-eliminar {
  background: transparent;
  border: none;
  color: #b8376e;
  cursor: pointer;
  margin-top: 8px;
}

/* Resumen de compra */
.resumen-compra {
  background: #ffe6f3;
  padding: 18px;
  border-radius: 14px;
  margin-top: 20px;
  border: 1px solid #f2bfd2;
}

.resumen-compra h3 {
  margin-top: 0;
  color: #b03a70;
}

/* ✅ Lista de productos dentro del resumen */
#resumen-productos p {
  margin: 5px 0;
  font-size: 14px;
  color: #6c3b56;
}

/* Total */
.total {
  margin-top: 20px;
  text-align: center;
}

.btn-finalizar {
  width: 100%;
  padding: 14px;
  background: linear-gradient(to right, #d74886, #b8376e);
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}
.btn-finalizar:disabled {
  background: #caa0b3;
  cursor: not-allowed;
}
.btn-finalizar:hover:not(:disabled) {
  transform: translateY(-2px);
}



/* estilos al pequeño formulario de envio */
#formulario-compra {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
}

#formulario-compra label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#formulario-compra input, 
#formulario-compra select {
    width: 100%;
    margin-bottom: 15px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#formulario-compra button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

#formulario-compra button:hover {
    background-color: #2980b9;
}




.customer-reviews {
    text-align: center;
    margin: 50px 0;
    padding: 20px;
}

.reviews-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.5s ease;
}

.carousel-item img {
    width: 100%;
    max-width: 300px; /* Limita el tamaño máximo de la imagen */
    height: auto;
    margin-bottom: 15px;
    object-fit: contain; /* Mantén el aspecto de la imagen sin distorsionarla */
}

.review-text {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px; /* Limita el ancho del texto */
}

.review-text p {
    margin: 10px 0;
    font-size: 18px;
}

.stars {
    color: rgb(255, 0, 85);
    font-size: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #0c0108;
    border-radius: 50%;
    font-size: 20px;
    display: inline-block;
    margin: 0 5px;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #f30885;
}


/* Media queries para mejorar la experiencia en pantallas más grandes */
@media (min-width: 768px) {
  .carousel-item {
        flex-direction: row; /* Coloca la imagen y el texto en una fila */
        justify-content: center;
    }

    .carousel-item img {
        margin-right: 20px; /* Espaciado entre la imagen y el texto */
        max-width: 200px; /* Limita más el tamaño de la imagen en pantallas más grandes */
    }

    .review-text {
        max-width: 400px; /* Ajusta el tamaño máximo del texto */
    }

}

/* estilos para la suscripcion */

.suscripcion {
    text-align: center;
    padding: 20px;
    background-color: #fff; /* Fondo blanco */
    color: #000; /* Texto negro */
    font-family: Arial, sans-serif;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.suscripcion h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.form-suscripcion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.form-suscripcion input[type="email"] {
    padding: 12px;
    width: 100%;
    max-width: 350px;
    border: 1px solid #000;
    border-radius: 30px;
    font-size: 1rem;
}

.form-suscripcion button {
    background-color: #000;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    max-width: 350px;
    width: 100%;
}

.informacion-contacto {
    margin-top: 20px;
    text-align: left;
}

.informacion-contacto ul {
    list-style: none;
    padding: 0;
}

.informacion-contacto ul li {
    margin-bottom: 10px;
    font-size: 13px;
}

.informacion-contacto a {
    color: #000;
    text-decoration: none;
}

.informacion-contacto a:hover {
    text-decoration: underline;
}

/* Responsivo para dispositivos móviles */
@media (max-width: 768px) {
    .suscripcion {
        padding: 10px;
        margin: 10px auto;
    }

    .suscripcion h2 {
        font-size: 1.5rem;
    }

    .form-suscripcion input[type="email"],
    .form-suscripcion button {
        max-width: 100%;
    }

    .informacion-contacto {
        font-size: 0.9rem;
    }
}


/* estilos a la section de soprte al cliente */
.menu-seccion {
    margin: 20px;
}

.menu-item {
    margin-bottom: 20px;
}

.menu-titulo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #f1f1f1;
    padding: 10px;
    
}

.menu-titulo h2 {
    margin: 0;
    font-size: 1.2rem;
}

.menu-titulo .icono {
    font-size: 1.5rem;
}

.menu-contenido {
    display: none;
    padding: 10px;
    border-top: none;
    border: none;
    background-color: #fff;
}

.menu-contenido ul {
    list-style-type: none;
    padding: 0;
}

.menu-contenido ul li {
    padding: 5px 0;
}

.menu-contenido ul li a {
    text-decoration: none;
    color: #000;
}

.menu-contenido ul li a:hover {
    text-decoration: underline;
}


/* Loader pequeño dentro del botón */
.cart-notification {
    position: absolute;
    top: 10px;
    right: 8px;
    background-color: rgb(246, 18, 121);
    color: white;
    padding: 5px 8px;
    border-radius: 100%;
    font-size: 12px;
    font-weight: bold;
}

.notification {
   
    position: absolute;
    top: 10px; /* Ajusta según la posición del carrito en tu página */
    right: 10px;
    background-color: #d51a4f;
    color: white;
    padding: 2px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.notification.hidden {
    opacity: 0;
    visibility: visible;
}

.notification.show {
    opacity: 1;
    visibility: visible;
}

.notification-buttons {
    margin-top: 10px;
    display: block;
}

.notification-buttons button {
    margin: 5px;
    padding: 5px 10px;
    background-color: #f6eeee;
    color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.notification-buttons button:hover {
    background-color: #f0f0f0;
}

/* Ocultar elementos */
.hidden {
    display: none;
}

/* Mensaje de error */
.mensaje-error {
    color: rgb(245, 240, 240);
    font-size: 12px;
    margin-top: 10px;
    text-align: center;
}

#mensaje-compra-minima {
    margin-top: 10px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

/* Loader para el botón "Finalizar Compra" */

/* Animación del loader */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Desactivar botón de compra si no cumple mínimo */
button.disabled {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed;
}

/* --- BOTÓN WHATSAPP PREMIUM (Dark + Glass + Bounce) --- */

/* --- BOTÓN WHATSAPP PREMIUM PRO --- */

.btn-whatsapp-premium {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 70px;
  height: 70px;

  background: linear-gradient(135deg, #ff4081, #ff6fa8);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  cursor: pointer;

  animation: float 3s ease-in-out infinite;
  transition: transform .25s ease, box-shadow .25s ease;

  z-index: 9999;
}

/* Ícono */
.btn-whatsapp-premium img {
  width: 65%;
  height: 65%;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.4));
}

/* Hover */
.btn-whatsapp-premium:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 28px rgba(0,0,0,0.6);
}

/* Tooltip */
.tooltip {
  position: absolute;
  right: 80px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  opacity: 0;
  transform: translateX(10px);
  transition: 0.3s;
  white-space: nowrap;
}

.btn-whatsapp-premium:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Animación flotante suave */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}


@media (max-width: 768px) {
  .btn-whatsapp-premium {
    width: 60px;
    height: 60px;
    bottom: 15px;
    right: 15px;
  }

  .tooltip {
    display: none; /* Ocultar tooltip en móvil */
  }
}


/* Footer */
footer {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: auto; /* Empuja el footer hacia el final de la página */
}


.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.social-media {
    margin-bottom: 15px;
}

.social-media a {
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #1da1f2;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 16px;
}

.footer-links a:hover {
    text-decoration: underline;
}

footer p {
    font-size: 14px;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .social-media a {
        font-size: 20px;
        margin: 0 5px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
    }

    .footer-links a {
        margin-bottom: 10px;
    }
}




@media  (max-width: 600px) {
    /* Sección productos */
.productos {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    flex-wrap: wrap; /* Para que los productos se acomoden en varias filas si la pantalla es pequeña */
}

.producto {
    text-align: center;
    flex-basis: 45%; /* Asegura que los productos ocupen un 45% del ancho disponible */
    margin: 10px 0;
}



}

/* Responsivo para dispositivos móviles */
@media (max-width: 768px) {
    #quienes-somos {
        padding: 20px;
    }

    .quienes-somos-contenido {
        flex-direction: column;
    }

    .quienes-somos-contenido .imagen, .quienes-somos-contenido .texto {
        flex: none;
        width: 100%;
        padding: 10px;
    }

    .quienes-somos-contenido .texto h2 {
        font-size: 1.5em;
    }

    .quienes-somos-contenido .texto p {
        font-size: 13px;
    }
}