/* Estilos Generales */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Encabezado */
header {
    background-color: #007bff;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 0 0 10px 10px;
    width: 100%;
    box-sizing: border-box;
}

header h1 {
    font-size: 2rem;
    margin: 0;
}

header p {
    font-size: 1rem;
    margin: 10px 0 0 0;
}

/* Formularios */
.form-section {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #495057;
    font-weight: 500;
}

input[type="text"],
input[type="password"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.submit-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #0056b3;
}

/* Grid de Productos */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #343a40;
}

.product-card p {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.product-card .price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #e91e63;
}

/* Compartir en WhatsApp */
.share-section {
    margin: 20px;
    text-align: center;
}

.share-button {
    padding: 12px 20px;
    background-color: #25D366;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.share-button:hover {
    background-color: #1ebe57;
}

/* Pie de Página */
footer {
    background-color: #343a40;
    color: white;
    padding: 15px 20px;
    text-align: center;
    border-radius: 10px 10px 0 0;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}
