
body { font-family: sans-serif; margin: 0; display: flex; flex-direction: column; height: 100vh; }
header { background: #333; color: white; padding: 1rem; display: flex; justify-content: space-between; }

.container { display: flex; flex: 1; overflow: hidden; }
.sidebar { width: 200px; order: 2; background: #f4f4f4; padding: 1rem; border-left: 2px solid #ddd; }
.products-display { flex: 1; order: 1; padding: 2rem; overflow-y: auto; }

.store-tab { 
    display: block; padding: 10px; margin-bottom: 5px; 
    background: #fff; cursor: pointer; border: 1px solid #ccc; text-align: center;
}
.store-tab:hover { background: #e0e0e0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
.product-card { border: 1px solid #eee; padding: 10px; text-align: center; border-radius: 8px; }
.product-card img { max-width: 100%; height: 100px; object-fit: cover; }

.btn-green { background-color: #28a745; color: white; border: none; padding: 10px; cursor: pointer; width: 100%; border-radius: 5px; }
.btn-green:hover { background-color: #218838; }

/* Estilos básicos para el Modal */
.modal { display: none; position: fixed; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.modal-content { background: white; margin: 10% auto; padding: 20px; width: 300px; border-radius: 10px; }
