@font-face {
  font-family: 'Averta';
  src: url('../fonts/AvertaDemoPE-Regular.woff2') format('woff2'),
       url('../fonts/AvertaDemoPE-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


/* Aplicar a todo el desplegable */
select {
    font-family: 'Averta', sans-serif;
}

/* Aplicar específicamente a las opciones */
option {
    font-family: 'Averta', sans-serif;
}

/* O solo a los de tipo texto y email */
input[type="text"], input[type="email"] {
    font-family: 'Averta', sans-serif;
}

/* Fuente base */
body {
    font-family: 'Averta', sans-serif;
    background-color: #202225; /* beige */
    margin: 0;
    padding: 0;
    color: #202225; /* negro */
}

/* Encabezado */
h1, h2 {
    text-align: center;
    color: #ffffff; /* negro */
}

/* Contenedor principal */
.container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #9EA3AB; /* beige claro */
    border: 1px solid #202225; /* negro */
    border-radius: 8px;
}

.container1 {
    max-width: 100%;
    margin: 20px auto;
    padding: 20px;
    background-color: #9EA3AB; /* beige claro */
    border: 1px solid #202225; /* negro */
    border-radius: 8px;
}
/* Formularios y campos */
.regisFrm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.regisFrm select,
.regisFrm input[type="date"],
.regisFrm input[type="email"],
.regisFrm input[type="password"],
.regisFrm input[type="text"] {
    padding: 10px;
    border: 1px solid #202225;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fdf6e3; /* beige suave */
    color: #202225;
}

/* Botón de envío */
.send-button input[type="submit"] {
    background-color: #202225;
    color: #f5f5dc; /* beige */
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.send-button input[type="submit"]:hover {
    background-color: #333333; /* gris oscuro */
}

/* Enlaces */
a {
    color: #202225;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Mensajes de estado */
.success {
    color: #006400; /* verde oscuro */
    text-align: center;
}

.error {
    color: #8b0000; /* rojo oscuro */
    text-align: center;
}

/* CAPTCHA */
.captcha-image {
    display: block;
    margin: 10px 0;
    max-width: 100%;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .container {
        margin: 10px;
        padding: 15px;
    }

    .regisFrm {
        gap: 10px;
    }

    .send-button input[type="submit"] {
        font-size: 14px;
        padding: 10px;
    }
}
/* Grid Layout for Products */
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding-bottom: 2rem;
}

.product-card {
    background-color: var(--dark-gray);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(245, 245, 220, 0.1);
    border-color: var(--beige);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #222;
}

.product-details {
    padding: 15px;
}

.product-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: var(--beige);
    font-weight: 500;
}

.total-inventory {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #ccc;
}

.inventory-count {
    font-weight: bold;
    color: var(--beige);
}

.variants-list {
    margin-top: 10px;
    border-top: 1px solid #333;
    padding-top: 10px;
    font-size: 0.85rem;
}

.variant-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: #aaa;
}

.variant-stock {
    color: var(--beige);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .inventory-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}