@import url('https://fonts.googleapis.com/css2?family=Playwrite+DE+Grund:wght@100..400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Playwrite DE Grund", cursive;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}


/* hasta aqui */
/* Contenedor del loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Contenedor de las bolitas */
.loader {
    display: flex;
    justify-content: space-between;
    width: 100px;
}

/* Estilos de las bolitas */
.dot {
    width: 20px;
    height: 20px;
    background-color: #f30d5e; /* Color de la bolita */
    border-radius: 50%;
    animation: wave 1s ease-in-out infinite;
    animation-delay: calc(0.1s * var(--i));
}

/* Animación de ola para las bolitas */
@keyframes wave {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-15px);
    }
}

/* Texto de "Cargando..." */
.loading-text {
    margin-top: 10px;
    font-size: 15px;
    color: #f20d55;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
}

/* Animación de ola para el texto */
.loading-text span {
    display: inline-block;
    animation: wave-text 1s ease-in-out infinite;
    animation-delay: calc(0.1s * var(--i));
}

@keyframes wave-text {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

/* Header */
.menus {
    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);
}

.logo img {
  width: 100px;
}

.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: 56px;
    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;
}

.sidebar ul li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
}

.sidebar-active {
    left: 0;
}


/* Ocultar el contenedor de búsqueda por defecto */
/* Search bar */
.search-bar {
    display: none;
    position: absolute;
    top: 60px;
    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;
}

.header_hombre{
  text-align: center;
}
.header_hombre p {
   
    opacity: 0.7;
}
.header_hombre {

    margin-top: 50px;
}

/* Container */
.header_hombre {
  padding: 20px;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

/* Card producto */
.card {
  background: #fcfbfb;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.7);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 15px;
}

.card-body h3 {
  margin: 0;
  font-size: 18px;
}

.price {
  margin: 10px 0;
  color: #ff4081;
  font-weight: bold;
}

.btn {
  display: block;
  text-align: center;
  padding: 10px;
  background: #180109;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: background .3s;
}

.btn:hover {
  background: #ff1f6d;
}

/* Responsive */
@media (max-width: 600px) {
    .grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        padding: 20px;
    }
}
  .header h1 {
    font-size: 24px;
  }



  
/* Footer */
footer {
    display: grid;
    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;
}