:root { 
    --verde: #2d5a27; 
    --tema: #2d5a27;
    --texto: #333333;
    --fuente-base: 'Poppins', sans-serif;
    --size-base: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: var(--fuente-base); 
    background: #fff; 
    color: var(--texto);
    font-size: var(--size-base);
    text-align: center !important; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.playfair { font-family: 'Playfair Display', serif; font-style: italic; }

.header-app { 
    width: 100%; 
    padding: 40px 20px; 
    display: flex; 
    flex-direction: column; 
    align-items: center !important; 
}
.logo-app { width: 70px; height: 70px; border-radius: 50%; margin-bottom: 10px; cursor: pointer; }
#txt-logo { font-family: 'Playfair Display', serif; color: var(--tema); font-size: 1.8rem; }

.nav-app { width: 100%; border-bottom: 1px solid #eee; padding: 15px; background: #fff; position: sticky; top: 0; z-index: 100; }
#menu-cats { display: flex; justify-content: center; gap: 15px; overflow-x: auto; }
.nav-item { font-size: 11px; font-weight: 600; text-transform: uppercase; color: #999; cursor: pointer; letter-spacing: 1px; white-space: nowrap; }

.hero-app { 
    padding: 100px 20px; 
    width: 100%; 
    display: flex !important; 
    flex-direction: column !important; 
    align-items: center !important; 
    justify-content: center !important; 
}
.hero-app h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-style: italic; color: var(--tema); }
.linea { width: 40px; height: 1px; background: var(--tema); margin: 25px 0; }
.hero-app p { font-size: 10px; letter-spacing: 3px; color: #bbb; text-transform: uppercase; }

.capa-flotante {
    position: fixed !important; 
    top: 0 !important; left: 0 !important; 
    width: 100vw !important; height: 100vh !important; 
    background: rgba(255,255,255,0.98) !important;
    z-index: 10000 !important; 
    display: none; 
    align-items: center !important; 
    justify-content: center !important;
}

.caja-blanca { 
    background: #fff; padding: 30px; 
    width: 85%; max-width: 380px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); 
    border-radius: 10px; 
}

.grid-app { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; padding: 20px; width: 100%; max-width: 1000px; }
.card { text-align: center; }
.card img { width: 100%; height: 200px; object-fit: cover; border-radius: 5px; }
.precio { color: var(--tema); font-weight: 600; margin-top: 5px; }
.stock { font-size: 10px; color: #aaa; }

.btn-negro { background: var(--tema); color: #fff; border: none; padding: 12px; width: 100%; cursor: pointer; margin-top: 10px; border-radius: 5px; text-transform: uppercase; font-size: 11px; letter-spacing: 1px; }
.btn-cerrar { background: #666; color: #fff; border: none; padding: 8px; width: 100%; margin-top: 20px; border-radius: 5px; }
.btn-link { background: none; border: none; cursor: pointer; text-decoration: underline; font-size: 12px; margin-top: 10px; color: #999; }
.flex-row { display: flex; gap: 10px; align-items: center; }

input, select, textarea { 
    width: 100%; 
    padding: 10px; 
    margin: 8px 0; 
    border: 1px solid #eee; 
    border-radius: 5px; 
    font-family: inherit; 
}

/* --- NUEVAS REGLAS AGREGADAS AQUÍ --- */

.campos-entrega input, .campos-entrega select {
    margin-bottom: 12px;
    background: #fcfcfc;
}

.label-carrito {
    font-size: 10px;
    font-weight: 600;
    color: var(--tema);
    margin-top: 5px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.item-carrito {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f9f9f9;
}

.controles-qty { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.btn-qty { 
    background: #f0f0f0; 
    border: none; 
    width: 25px; 
    height: 25px; 
    border-radius: 50%; 
    cursor: pointer; 
    font-weight: bold; 
}