@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}
.menu-1{
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
    color: #ffffff;
}

#products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .body{
    background-color: #5e2129;
    font-family: 'Poppins', sans-serif;
  }
  
  .product {
    margin: 20px;
    padding: 20px;
    border: 1px solid #ffffff;
    border-radius: 10px;
    width: 200px;
  }
  
  .product img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
  }
  
  .product h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
  }
  
  .product p {
    font-size: 14px;
    color: #ffffff;
  }
  
  .color{
    color: #ffffff;
  }

  .color1{
    color: #ffffff;
    position: relative;
    left: 350px;
    bottom: 3px;
  } 
  .color2{
    color: #ffffff;
    position: relative;
    left: 600px;
    bottom: 20px;
  }
   .color3{
    color: #ffffff;
    position: relative;
    left: 460px;
    bottom: 38px;
  }

  .tit{
    position: relative;
    left: 498px;
    color:#ffffff;
  }


  .envio{
    margin: 15px 5px;
    width: 500px;
    font-size: 16px;
  }

  .h1{
    text-align: center;
  }

  .label{
    display: block;
    margin-bottom: 5px;
  }

  .envio input, form textarea{
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    box-sizing: border-box;
    resize: vertical;
  }

  .boton{

    background-color: #5e2129;
    color: white;
    padding: 10px 15px;
    margin-top: 5px;
    border: none;
    cursor: pointer;
  }

  .boton:hover{
    background: green ;
  }

  .form-content{
    background: linear-gradient(
      50deg,
      rgba(40,42,55,1) 20%,
      rgba(40,42,55,0.7)
    ),
    url(imagenes/semillas.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px;
    width: 1px;
    border-radius: 25px;
 position: relative;
 top: 50px;
  }
  .form-content1{
    background: linear-gradient(
      50deg,
      rgba(40,42,55,1) 20%,
      rgba(40,42,55,0.7)
    ),
    url(imagenes/semillas.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px;
    width: 100%;
    border-radius: 25px;
 position: relative;
 top: 70px;
  }
   
  .form-content1 h2{
    color: #ffffff;
    font-size: 40px;
    margin-bottom: 25px;
  }
  
  .form-content h2{
    color: #ffffff;
    font-size: 40px;
    margin-bottom: 25px;
  }
  
  form{
  
    display: flex;
    flex-direction: column;
    width: 50%;
  }
  
  label{
  
    font-size: 17px;
    color: gray;
    margin-bottom: 10px;
  }
  
  
  input , textarea{
    padding: 17px 14px;
    background-color: #333646;
    border: 0;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 20px;
    border-radius: 10px;
  }
  
  :focus{
    outline: 1px solid #1E92E9;
  
  }
  
  .btn4{
    background-color: #1E92E9;
    width: 150px;
    align-self: flex-end;
    cursor: pointer;  
  }
  
  .btn4:hover{
    background-color: #219BF9;
  }
  
  @media(max-width: 10000px) {
    body{
      padding: 30px;
    }
  
    .form-content{
      width: 100%;
    }
  
    form{
      width: 100%;
    }
    
  }

  .abarrotes{
    position: relative;
    left: 575px;
    color: #ffffff;
  }
  .aceites{
    position: relative;
    left: 300pxpx;
    color: #ffffff;
  }

  .product {
    position: relative;
    overflow: hidden; /* Para ocultar el desbordamiento */
}

.product-image {
    width: 50%; /* Asegúrate de que la imagen se ajuste al contenedor */
    height: 100%; /* Mantiene la proporción de la imagen */
    transition: transform 0.3s ease; /* Transición suave */
    
}

.product-image:hover {
    transform: scale(1.1); /* Aumenta el tamaño al pasar el cursor */
}

.imagen-uniforme {
  width: 300px; /* Ancho fijo */
  height: 500px; /* Alto fijo */
  object-fit: cover; /* Mantiene la proporción y recorta si es necesario */
}

@media (max-width: 991px) {
    /* 1. RESET DE TÍTULOS Y MENÚ */
    /* Anulamos todos los "left" que sacan el texto de la pantalla */
    .color1, .color2, .color3, .tit, .abarrotes, .aceites {
        position: static !important;
        display: block !important;
        text-align: center !important;
        margin: 10px auto !important;
        left: 0 !important;
        bottom: 0 !important;
    }

    .menu-1 {
        position: static !important;
        flex-direction: column;
        padding: 20px 0;
    }

    
    #products-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 90% !important;
        max-width: 300px;
        margin: 15px 0 !important;
    }

    .imagen-uniforme {
        width: 100% !important;
        height: 250px !important;
    }

    .form-content, .form-content1 {
        width: 100% !important;
        top: 20px !important;
        padding: 15px !important;
    }

    form {
        width: 100% !important; 
    }

    input, textarea {
        width: 100% !important;
    }

    .btn4 {
        width: 100% !important; 
        align-self: center;
    }


    .form-content h2, .form-content1 h2 {
        font-size: 28px !important;
        text-align: center;
    }
}


body {
    overflow-x: hidden;
    width: 100%;
}
@media (max-width: 991px) {
    


 
    .color1 {
        position: static !important; 
        margin: 0 !important;
      margin-left: 350px !important;
        bottom: 0 !important;
        font-size: 14px !important; 
    }

    .color2{
     position: static !important; 
        margin: 0 !important;
        margin-left: 40px !important;
        bottom: 0 !important;
        font-size: 14px !important; 
    }

    .color3{
        position: static !important; 
        margin: 0 !important;
        margin-left: 30px !important;
        bottom: 0 !important;
        font-size: 14px !important; 
    }

  
    .tit, .abarrotes {
        display: block !important;
        position: static !important;
        text-align: center;
        width: 100%;
        margin-top: 10px !important;
    }
}

@media (max-width: 768px) {
    .menu-1 {
        top: 15px;      /* Un poco más arriba en celular */
        right: 15px;    /* Un poco más pegado al borde */
    }
    
    .menu-1 ul {
        gap: 12px;      /* Reducimos el espacio entre palabras para que no se amontonen */
    }

    .menu-1 a {
        font-size: 0.75rem; /* Letra un poco más pequeña para pantallas angostas */
    }
}

/* 1. Posicionamos el contenedor en la esquina superior derecha */
.menu-1 {
    position: absolute;
    top: 20px;          /* Espacio desde el borde superior */
    right: 20px;        /* Espacio desde el borde derecho */
    display: flex;      /* Los pone en fila automáticamente */
    flex-direction: row;/* Asegura que siempre sea una fila */
    z-index: 1000;      /* Para que flote sobre el video */
}

/* 2. Estilo de los enlaces y el espacio de 2cm */
.color1 {
    font-family: Arial, Helvetica, sans-serif !important;
    color: #fffdfd !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    left: 400px;
    
    /* El espacio de 2cm entre elementos */
    margin-left: 75px; 
}

.color2 {
    font-family: Arial, Helvetica, sans-serif !important;
    color: #fffdfd !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    left: 500px;
    top: -4px;
    
    /* El espacio de 2cm entre elementos */
    margin-left: 75px; 
}

.color3 {
    font-family: Arial, Helvetica, sans-serif !important;
    color: #fffdfd !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    left: 200px;
    top: -4px;
    
    /* El espacio de 2cm entre elementos */
    margin-left: 75px; 
}

/* 3. Ajuste para que en CELULARES no se amontonen ni se salgan */
@media (max-width: 768px) {
    .menu-1 {
        top: 15px;
        right: 15px;
    }
    
    .menu-1 a {
        /* En celulares 2cm es mucho, lo bajamos un poco para que quepan */
        margin-left: 25px; 
        font-size: 0.75rem;
    }
}
.search-container {
    position: fixed;
    top: 15px;      /* Distancia desde arriba */
    left: 15px;     /* CAMBIO: Ahora a la izquierda */
    z-index: 1000;  /* Para que siempre esté por encima de todo */
    display: flex;
    background: white;
    padding: 5px 10px;
    border-radius: 30px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    align-items: center;
}

#searchInput {
    border: none;
    padding: 8px;
    outline: none;
    width: 130px; /* Tamaño ideal para móvil */
    font-size: 14px;
    transition: width 0.3s;
}

#searchInput:focus {
    width: 180px; /* Se expande al escribir */
}

.search-container button {
    background: #25d366; /* Verde WhatsApp */
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
}

/* Ajuste extra para celulares pequeños */
@media (max-width: 480px) {
    .search-container {
        top: 10px;
        left: 10px;
        padding: 3px 8px;
    }
    #searchInput {
        width: 100px;
    }
}


      /* Estilos básicos para el formulario único */
        .form-content {
            max-width: 500px;
            margin: 20px auto;
            padding: 20px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            color: white;
            backdrop-filter: blur(10px);
        }
        .form-group { margin-bottom: 15px; }
        .form-group label { display: block; margin-bottom: 5px; }
        .form-group input, .form-group select, .form-group textarea {
            width: 100%;
            padding: 10px;
            border-radius: 5px;
            border: none;
            box-sizing: border-box;
        }
        .btn-whatsapp {
            background-color: #25D366;
            color: white;
            border: none;
            padding: 15px;
            width: 100%;
            font-weight: bold;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            margin-top: 10px;
        }
        .btn-whatsapp:hover { background-color: #128C7E; }
        
        /* Centrar el captcha en móviles */
        .g-recaptcha {
            display: flex;
            justify-content: center;
            margin: 10px 0;
        }